Commit Graph

7 Commits

Author SHA1 Message Date
Trevin Chow
d3aff58d9e fix(skills): strengthen autonomous mode to prevent blocking on user input
- Restructure Phase 3 with explicit autonomous skip section that says
  "do not ask, do not present, do not wait" before any interactive
  instructions
- Add autonomous caveats to Core Rules 4, 7, 8 which previously had
  unconditional "ask the user" language
- Clarify that missing referenced files is unambiguous Archive evidence,
  not a doubt case requiring user input
2026-03-15 14:44:34 -07:00
Trevin Chow
684814d951 fix(skills): autonomous mode adapts to available permissions
Instead of requiring write permissions, autonomous mode attempts
writes and gracefully falls back to recommendations when denied.
Report splits into Applied (succeeded) and Recommended (could not
write) sections. Read-only invocations produce a maintenance plan.
2026-03-15 14:44:34 -07:00
Trevin Chow
699f484033 feat(skills): add autonomous mode to ce:compound-refresh
Support mode:autonomous argument for unattended/scheduled runs.
In autonomous mode: skip all user questions, apply safe actions
directly, mark ambiguous cases as stale with conservative confidence,
and generate a detailed report for after-the-fact human review.
2026-03-15 14:44:34 -07:00
Trevin Chow
95ad09d3e7 feat(skills): add smart triage, drift classification, and replacement subagents to ce:compound-refresh
- Broad scope triage: inventory + impact clustering + spot-check drift
  for 9+ docs, recommends highest-impact area instead of blind ask
- Drift classification: sharp boundary between Update (fix references
  in-skill) and Replace (subagent writes successor learning)
- Replacement subagents: sequential subagents write new learnings using
  ce:compound's document format with investigation evidence already
  gathered, avoiding redundant research
- Stale fallback: when evidence is insufficient for a confident
  replacement, mark as stale and recommend ce:compound later
2026-03-15 14:44:34 -07:00
Trevin Chow
187571ce97 fix(skills): steer compound-refresh subagents toward file tools over shell commands
Avoids unnecessary permission prompts during investigation by
preferring dedicated file search and read tools instead of bash.
2026-03-15 14:44:34 -07:00
Trevin Chow
0dff9431ce fix(skills): improve ce:compound-refresh interaction and auto-archive behavior
- Use platform-agnostic interactive question tool phrasing with examples
  for Claude Code and Codex instead of hardcoding AskUserQuestion
- Fix contradiction between Phase 2 auto-archive criteria and Phase 3
  always-ask-before-archive rule so unambiguous archives proceed without
  unnecessary user prompts
2026-03-15 14:44:34 -07:00
Trevin Chow
bd3088a851 feat(skills): add ce:compound-refresh skill for learning and pattern maintenance
Adds a new skill that reviews existing docs/solutions/ learnings against the
current codebase and decides whether to keep, update, replace, or archive them.
Also enhances ce:compound with Phase 2.5 selective refresh checks.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-15 14:44:34 -07:00