Repository navigation
fix: drift the prompt audit found in the instruction files - #35
Merged
Merged
Conversation
A prompt audit of the framework's 55 instruction files found no dated prompting patterns, but text later decisions had left behind, and two habits that cost tokens: - /orchestrate named Haiku for the reviewers and @architect, and priced a review from Haiku-sized contexts; the agents run on Sonnet and Opus since decision 0012. Its plan, example, and cost note now match the frontmatter and the cost model. - COST-MODEL.md recommended Haiku for "most reviews", against its own per-agent table. - All eight agents began by reading AGENTS.md and CLAUDE.md, which Claude Code already loads into a subagent's context. - deep-spec-analysis and deep-review put the shared context first, so one run's agents can reuse a cached prefix. - code-quality.md's "explain why, not what" contradicted git-workflow.md and /commit; deployment.md's caps NEVER is a plain rule with its reason. - The root CLAUDE.md now lists the reference docs among the plugin's generated files and in the rebuild rule (decision 0019). Plugin copies regenerated with scripts/build-aplyca-adf.sh; static evals pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
deployment.md said "Tests must pass before merge"; git-workflow.md called red checks "information". Both now say: tests pass before merge; a failure the reviewer accepts is explained in the pull request. The human review stays the gate. Resolves the prompt audit's L1 flag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mauricios
marked this pull request as ready for review
October 6, 2026 04:48
mauricios
added a commit
that referenced
this pull request
Oct 6, 2026
A patch release: fixes to the framework's instruction files (#35), with nothing new to adopt. Unreleased becomes v1.2.1, with the upgrade from v1.2.0: /aplyca-adf:upgrade moves the pin; a packaged project updates the three rule files it commits. plugin.json 1.2.1; both READMEs name the release. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A prompt audit (
/claude-api prompt-audit) of the framework's 55 instruction files found no dated prompting patterns. There's no pressure language beyond one line, and no thinking scaffolds, word caps, narration bans, formatting bans, or retired model names. Every command, agent, path, and named section the files cite resolves. What it did find is text that later decisions left behind, and two habits that cost tokens. This PR fixes the 10 findings the audit rated high or medium confidence, and the one flag that needed a decision (L1).Audit assumptions:
GEMINI.mdand.cursor/rules/, which non-Claude tools read.High confidence: contradicted by the repository
skeleton/.claude/skills/orchestrate/SKILL.md:52-55@architectrun onhaiku, and@spec-analyzeronsonnet. The frontmatter it cites,CLAUDE.md:62,COST-MODEL.md's table, and decision 0012 (reviewers "fromhaikutosonnet") disagree:62-67(haiku)agents, "~3 Haiku-tier invocations (~minimal)", and "<30s":110-115COST-MODEL.md:77(newer) says each subagent starts from ~50–60k tokensskeleton/docs/COST-MODEL.md:177CLAUDE.md:20.generatednow includes (decision 0019). An agent could hand-edit themCLAUDE.md:35skeleton/.claude/, but the build also reads four docs inskeleton/docs/skeleton/.claude/rules/code-quality.md:91git-workflow.md, and both that file and/commit(both newer) say the subject says what changedMedium confidence
skeleton/.claude/agents/*/agent.mdAGENTS.mdandCLAUDE.md. Claude Code already loads both into a custom subagent's starting context, so every invocation paid for them twicedeep-spec-analysis.js:87,deep-review.js:97deep-spec-analysiscontext now carries ~10 KB of spec model${context}firstskeleton/.claude/rules/deployment.md:27Decided: L1, do failing tests block a merge?
deployment.md:41said "Tests must pass before merge".git-workflow.md:69-70said CI "is a signal, not the gate … red ones are information". Decided: tests pass before merge; a failure the reviewer accepts is explained in the pull request. Both files now say this. The human review stays the gate, asAGENTS.md,CONTRIBUTING.md, and the constitution example already say.Not changed: low-confidence flags
/orchestrate's no-auto-progression rule appears six times. This is the deliberate template from decision 0013.Verification
scripts/build-aplyca-adf.sh..generated, the build script'sREFERENCE_DOCS, andgit blame.CLAUDE.mdandAGENTS.mdcomes from Claude Code's subagent docs, § What loads at startup.plugin-docssuite'sagent-spec-model, to see an agent work without the re-read;/deep-spec-analysisrun, comparing its agents'cache_read_input_tokens.Upgrade impact: in the CHANGELOG under Unreleased. In short: overwrite the agents,
orchestrate, the two workflows,code-quality.md,git-workflow.md, andCOST-MODEL.md, and merge two lines indeployment.md. The rootCLAUDE.mdis framework-internal.🤖 Generated with Claude Code