Skip to content

Remove the rule-advisor lineage and reduce the diagnosis entry - #179

Merged
shinpr merged 2 commits into
mainfrom
refactor/remove-rule-advisor-lineage
Sep 12, 2026
Merged

shinpr merged 2 commits into
mainfrom
refactor/remove-rule-advisor-lineage

Conversation

@shinpr

@shinpr shinpr commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Changes

Removed

  • agents/rule-advisor.md
  • skills/task-analyzer/ (including references/skills-index.yaml)
  • skills/recipe-task/
  • scripts/check-skills-index.mjs and the lefthook job and npm script that only ran it

rule-advisor returned skill and section names, but recipe-task then read each selected skill completely, so the round trip saved no context. investigator, verifier, and solver already declare ai-development-guide and coding-principles in their own frontmatter, so the rules reached them without the agent.

recipe-diagnose

  • Dropped the rule-advisor call in Step 0.3.
  • Dropped Problem Type Determination and Information Supplementation. Nothing downstream consumed the type, and the scope envelope already records the phenomenon, its occurrence conditions, and history as an evidence axis. This also removes the two AskUserQuestion gates that stopped diagnosis before investigation began.
  • Step 0 is now the scope envelope; downstream references updated.

Other prompts

  • Removed the **CRITICAL** restatement in recipe-implement and recipe-fullstack-implement. Each repeated the numbered flow directly above it, stop points included.

Docs and version

  • Removed the /recipe-task and rule-advisor rows from the six READMEs.
  • Bumped to 0.26.0.

Verification

pnpm sync:check in sync. claude plugin validate passes for the marketplace manifest and all four plugins. No references to rule-advisor, task-analyzer, recipe-task, or skills-index remain.

Net: 26 insertions, 1992 deletions.

🤖 Generated with Claude Code

shinpr and others added 2 commits September 12, 2026 14:47
rule-advisor selected skills and returned section names, but recipe-task
read each selected skill completely, so the selection round trip saved no
context. Skill descriptions already drive that selection, and the
metacognitive warnings duplicated ai-development-guide, coding-principles,
and testing-principles. Remove the agent, task-analyzer, recipe-task, and
the skills index whose only consumer was that lineage, along with the
pre-commit check that kept the index in sync.

recipe-diagnose consumed rule-advisor in Step 0.3 and stopped for
AskUserQuestion whenever the change type or change details were unclear.
Resolve those from the report and repository evidence, carry what stays
unresolved into the investigator prompt as investigation targets, and
renumber the scope envelope to 0.3.

Drop the two enforcement restatements in recipe-implement and
recipe-fullstack-implement; each repeated the numbered flow directly above
it without adding an observable condition.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Step 0 classified the problem type and collected change details to decide
whether the investigator prompt carried three extra fields. Nothing
downstream consumed the type, and the scope envelope already records the
phenomenon, its occurrence conditions, and history as an evidence axis.
Remove the classification, the supplementation block, and the conditional
prompt fields, leaving the envelope as Step 0.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@shinpr shinpr self-assigned this Sep 12, 2026
@shinpr
shinpr merged commit 9b7f687 into main Sep 12, 2026
1 check passed
@shinpr
shinpr deleted the refactor/remove-rule-advisor-lineage branch September 12, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant