Repository navigation
docs(#116): document scaffolded-to-embedded file mapping - #117
Conversation
|
🤖 Review · Commit: |
|
🤖 Finished Review · ✅ Success · Started 9:53 AM UTC · Completed 10:05 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $4.10 |
|
Risk Assessment: moderate (2/5) DetailsDocumentation-only PR by a bot adding 69 lines to AGENTS.md; risk is moderate because AGENTS.md is a protected governance document with 4 distinct recent authors and 6 fix/revert commits in 90 days, offset by the small, additive, docs-only nature of the change. All Tier 1 and Tier 2 signals unchanged from prior assessment, confirming the prior score of 2. Previous runRisk Assessment: moderate (2/5) DetailsDocumentation-only PR by a bot adding a file-mapping section to AGENTS.md; risk is moderate because AGENTS.md is a protected governance document with 4 distinct recent authors and 6 fix/revert commits in 90 days, indicating active multi-author contention on a sensitive file despite the additive, low-blast-radius nature of the change itself. |
ReviewFindingsMedium
Previous runReviewFindingsMedium
Low
Next steps:
|
|
🤖 Finished Fix · ✅ Success · Started 10:06 AM UTC · Completed 10:12 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $0.93 |
🔧 Fix agent — iteration 1 (bot-triggered)Addressed all three review findings: qualified the blanket CI coverage claim to accurately reflect that only 3 of 15 mirrored pairs have drift detection tests, added a sync reminder for documented test function names, and recorded the protected-path note as a process concern requiring no code change. Fixed (2):
Disagreed (1):
Tests: passed Decision points
Next steps:
|
Clarify that only 3 of 15 mirrored file pairs currently have drift detection test coverage. The "When Reviewing or Implementing" section now accurately reflects that CI catches drift only for the three covered skills, and that manual review is needed for the remaining pairs until issue #70 expands coverage. Also adds a sync reminder to the Test Coverage subsection. Addresses #117
|
🤖 Finished Review · ✅ Success · Started 10:13 AM UTC · Completed 10:24 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $3.44 |
Clarify that only 3 of 15 mirrored file pairs currently have drift detection test coverage. The "When Reviewing or Implementing" section now accurately reflects that CI catches drift only for the three covered skills, and that manual review is needed for the remaining pairs until issue #70 expands coverage. Also adds a sync reminder to the Test Coverage subsection. Addresses #117
fbe456d to
7709c98
Compare
Add a Drift Detection (Mirrored Files) section to AGENTS.md listing all 15 file pairs (7 skills, 5 commands, 3 agents) that must be kept byte-identical between .opencode/ and internal/agentkit/content/. PR #109 updated a scaffolded skill copy without syncing the embedded copy, breaking CI. The mapping was implicit discoverable only by reading test code. Making it explicit in AGENTS.md ensures reviewers and agents check both locations when either changes. Documents current drift detection test coverage (3 of 15 files) and references issue #70 for planned expansion. Closes #116
Clarify that only 3 of 15 mirrored file pairs currently have drift detection test coverage. The "When Reviewing or Implementing" section now accurately reflects that CI catches drift only for the three covered skills, and that manual review is needed for the remaining pairs until issue #70 expands coverage. Also adds a sync reminder to the Test Coverage subsection. Addresses #117
7709c98 to
4ea9ef2
Compare
Summary
.opencode/files have no embedded copy (avoiding false positives from wildcard assumptions)Motivation
PR #109 updated
.opencode/skills/always-on-guidance/SKILL.mdbut did not sync the embedded copy atinternal/agentkit/content/skills/always-on-guidance/SKILL.md, breaking drift detection tests in CI. The mapping was only discoverable by reading test code. This documentation makes it explicit.Testing
grep -r "Drift Detection\|Mirrored Files" AGENTS.mdreturns the new section (validation criterion 2)TestScaffold_FreshDirectoryfile list andTestSkillFiles_DriftDetectionassertions (validation criterion 3)go vet ./...passesTestSkillFiles_DriftDetection,TestForgeCoordinationSkill_StructuralHardening)Closes #116
Post-script verification
agent/116-document-drift-mapping)c110dc1b4974cd3b05b29076bfc31d526606289d..HEAD)