Commit Graph

37 Commits

Author SHA1 Message Date
Trevin Chow 9b45a83d7e feat(ce-compound): add mode:headless for non-interactive use (#813) 2026-05-10 12:50:12 -07:00
Trevin Chow 62279b0583 refactor(skills): extract conditional content to references (#804) 2026-05-08 13:51:56 -07:00
Trevin Chow 04031a5a54 refactor(skill-descriptions): trim top 7 by ~55% (#802) 2026-05-08 09:26:49 -07:00
Trevin Chow e806522caa fix(ce-compound-refresh): check inbound links before deletion (#713) 2026-04-28 01:08:06 -07:00
Trevin Chow 7eea2d1cfe feat(ce-compound): add frontmatter parser-safety validator (#697) 2026-04-25 21:37:57 -07:00
Trevin Chow 7ddfbed33b feat(pi): first-class support via pi-subagents + pi-ask-user (#651)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 10:26:29 -07:00
Trevin Chow d359cc7e2f fix(question-tool): stop silent skips when tool looks unavailable (#620) 2026-04-21 01:27:52 -07:00
Trevin Chow d8436b9a3c fix(ce-compound): quote YAML array items starting with reserved indicators (#613)
Co-authored-by: Nathan Vale <hi@nathanvale.com>
2026-04-20 14:01:11 -07:00
Trevin Chow c1f68d4d55 feat(doc-review, learnings-researcher): tiers, chain grouping, rewrite (#601)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 20:25:47 -07:00
Trevin Chow 5c0ec9137a refactor(cli)!: rename all skills and agents to consistent ce- prefix (#503)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-18 15:44:22 -07:00
Trevin Chow 821c69c567 fix(ce-compound-refresh): restore ce:compound hand-off (#591) 2026-04-18 01:47:05 -07:00
Trevin Chow 0b3d4b283c fix(ce-compound, ce-compound-refresh): use injected memory block (#569)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 17:41:51 -07:00
Trevin Chow 949bdef909 fix(review,work): omit mode parameter in subagent dispatch to respect user permissions (#522)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 12:12:31 -07:00
Trevin Chow 5ac8a2c2c8 feat(ce-compound): add discoverability check for docs/solutions/ in instruction files (#456)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 16:49:26 -07:00
Trevin Chow 739109c03c feat(ce-compound): add track-based schema for bug vs knowledge learnings (#445)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 14:21:13 -07:00
Trevin Chow d2b24e07f6 feat(skills): clean up argument-hint across ce:* skills (#436)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 01:25:20 -07:00
Trevin Chow daddb7d72f fix: consolidate compound-docs into ce-compound skill (#390) 2026-03-26 11:41:19 -07:00
Trevin Chow fe27f85810 feat: add consolidation support and overlap detection to ce:compound and ce:compound-refresh skills (#372) 2026-03-25 00:37:45 -07:00
Trevin Chow 5c1452d4cc feat: integrate claude code auto memory as supplementary data source for ce:compound and ce:compound-refresh (#311) 2026-03-18 11:55:19 -07:00
Trevin Chow c2582fab67 fix(skill): align compound-refresh question tool guidance 2026-03-15 15:01:52 -07:00
Trevin Chow b7e43910fb fix(skills): require specific branch names based on what was refreshed 2026-03-15 14:44:34 -07:00
Trevin Chow a47f7d67a2 fix(skills): use actual branch name in commit options instead of 'this branch' 2026-03-15 14:44:34 -07:00
Trevin Chow 0c333b08c9 fix(skills): allow direct commit on main as non-default option 2026-03-15 14:44:34 -07:00
Trevin Chow 6969014532 fix(skills): enforce branch creation when committing on main
The model was offering "commit to current branch" on main instead
of "create a branch and PR." Added explicit branch detection step
and "Do NOT commit directly to main" instruction.
2026-03-15 14:44:34 -07:00
Trevin Chow e3e7748c56 fix(skills): remove prescriptive branch naming in compound-refresh
Let the agent generate a reasonable branch name based on context
and repo conventions instead of prescribing a date-based format
that would collide on multiple runs per day.
2026-03-15 14:44:34 -07:00
Trevin Chow d4c12c39fd feat(skills): add Phase 5 commit workflow to ce:compound-refresh
Handles committing changes at the end of a refresh run so doc
maintenance doesn't sit uncommitted. Detects git context and adapts:
autonomous mode uses sensible defaults (branch + PR on main, separate
commit on feature branches), interactive mode presents options. Always
selectively stages only compound-refresh files to avoid mixing with
in-progress feature work.
2026-03-15 14:44:34 -07:00
Trevin Chow db8c84acb4 fix(skills): include tool constraint in subagent task prompts
The file-tools-over-bash instruction was in the orchestrator's
context but not passed to spawned subagents. Changed to an explicit
quoted instruction block that must be included in each subagent's
task prompt so it's visible to the subagent, not just the orchestrator.
2026-03-15 14:44:34 -07:00
Trevin Chow 42013612bd fix(skills): prevent auto-archive when problem domain is still active
Auto-archive now requires both the implementation AND the problem
domain to be gone. If referenced files are deleted but the application
still deals with the same problem (auth, payments, migrations), the
learning should be Replace'd not Archive'd — the knowledge gap needs
to be filled. Uses agent reasoning about concepts, not mechanical
keyword searches.
2026-03-15 14:44:34 -07:00
Trevin Chow c271bd4729 fix(skills): specify markdown format for autonomous report output 2026-03-15 14:44:34 -07:00
Trevin Chow 2ae6fc4458 fix(skills): enforce full report output in autonomous mode
The model was generating findings internally then outputting a
one-line summary. Added explicit instructions that the full report
must be printed as text output — every file, every classification,
every action. In autonomous mode, the report is the sole deliverable
and must be self-contained and complete.
2026-03-15 14:44:34 -07:00
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