Skip to content

feat(integrations): re-discover knowledge and audit orphans at review - #86

Merged
jlrickert merged 1 commit into
mainfrom
feat/review-knowledge-rediscovery
Aug 8, 2026
Merged

feat(integrations): re-discover knowledge and audit orphans at review#86
jlrickert merged 1 commit into
mainfrom
feat/review-knowledge-rediscovery

Conversation

@jlrickert

Copy link
Copy Markdown
Owner

Summary

Adds two requirements to the developer review stage in the tapper-dev skill workflow, sourced from pkg/integrations/renderdata/developer/workflow.md and rendered into both the Claude and Codex plugin skills.

1. Recompute knowledge discovery before assigning a verdict. Review previously trusted the plan's original cover. Now discovery is recomputed against the final tree, starting from the touched KEG subjects and the vocabulary and behavior the diff changed, via targeted backlinks / links / grep calls in the active flight's covered KEGs. Informative knowledge guides interpretation; only applicable active or stale interfaces and verifications enter the gating cover. A contract discovered late expands the cover and sends the work back through any newly required gates.

2. Audit artifacts that outlived their subject. Every retained comment, test, document, config value, fixture, telemetry hook, and generated artifact referring to removed, deprecated, or legacy behavior needs a surviving subject or consumer — current observable behavior, an accepted decision, a compatibility or migration boundary, a security or protocol prohibition, or an active invariant. If its only owner is the removal itself, it is orphaned noise and the work is returned. Artifacts are rewritten around the broader surviving invariant when that is the real contract, and are not rejected merely for using the word legacy.

The guidance is deliberately keg-agnostic — it names the active flight's covered KEGs rather than any specific one.

Changes

File Change
pkg/integrations/renderdata/developer/workflow.md Source guidance: two new paragraphs in the review stage
integrations/rendered/{claude,codex}/tapper-dev/skills/tapper-dev/SKILL.md Regenerated via task render-integrations
pkg/integrations/adapters/{claude,codex}_test.go Assert the rendered workflow carries the new guidance and hardcodes no project-specific KEG

Testing

  • go build ./...
  • go test ./pkg/integrations/... — passing
  • task render-integrations is clean: re-rendering reproduces the committed SKILL.md byte-for-byte (the only re-render delta was the plugin.json version stamp, which the release pipeline owns, so it is not included here)

The review gate trusted the plan's original knowledge cover and let
artifacts outlive the behavior they described. Recompute discovery
against the final tree before assigning a verdict, so a contract found
late expands the gating cover, and audit retained comments, tests,
docs, config, fixtures, telemetry, and generated files for a surviving
subject or consumer.
@jlrickert
jlrickert merged commit 0ef5343 into main Aug 8, 2026
1 check passed
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