Skip to content

claude-config: audit-instructions — evaluate pre-computed !-injected surface inventory (absorb candidate from audit-model-fit) #888

Description

@kyle-sexton

Context

Absorb candidate recorded in PR #870 (which shipped claude-config:audit-instructions and superseded audit-model-fit, issue #800). The superseded skill pre-computed an instruction-surface inventory at invocation time via !-injection in its SKILL.md (shell: bash frontmatter + !-backtick call to its scan script), so the model started with the surface list already in context. audit-instructions deliberately shipped without shell: bash and without !-injection — its Phase A inventory is model-driven. Leaving this unevaluated means the absorb decision from the supersede is silently dropped; the candidate needs an honest cost/benefit design read, then implement or close-as-rejected with rationale here.

Cost side to weigh honestly: !-injection runs on every invocation (including model-invoked runs), adds shell: bash to a skill that currently needs no shell frontmatter, executes before scope-filter parsing (inventory may cover surfaces the requested scope excludes), and couples the SKILL.md to the scan script's output shape. Benefit side: Phase A becomes deterministic and cheaper, and the existing scripts/instruction-scan.sh spine already exists to build on.

Proposed work

  • Design read: weigh pre-computed !-injected inventory against the current model-driven Phase A (invocation cost, scope-filter interaction, frontmatter surface, drift coupling).
  • Decision: implement (add shell: bash + injection block + inventory mode on the scan spine) OR close this item as rejected with the rationale recorded in the closing comment.
  • If implemented: patch/minor-bump claude-config with CHANGELOG entry; check-skill, validate-plugin-contracts, changelog-parity green.

Acceptance criteria

  • A written cost/benefit read exists (issue comment or PR body) covering invocation cost, scope interaction, and coupling.
  • Either the injection ships (gates green) or the item is closed-as-rejected with rationale — no silent drop.

References

Metadata

Field Value
Category unspecified
Area unspecified
Ecosystem unspecified

Metadata

Metadata

Assignees

Labels

priority: lowNice-to-have, cosmetic, or speculative; opportunistic.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions