Skip to content

fix(audit): resolve WARN findings AUD-001 through AUD-005#45

Merged
MacAttak merged 6 commits intomainfrom
fix/audit-warn-findings
Feb 24, 2026
Merged

fix(audit): resolve WARN findings AUD-001 through AUD-005#45
MacAttak merged 6 commits intomainfrom
fix/audit-warn-findings

Conversation

@MacAttak
Copy link
Contributor

Summary

  • AUD-001: Rewrote executor agent prompt to match GREEN-only role (receives failing tests, doesn't write them)
  • AUD-002: Fixed evidence path convention to use {currentWork.workDir}/evidence/ consistently
  • AUD-003: Replaced hardcoded Constitution X1-X4 section IDs with dynamic language in gate-security
  • AUD-004: Added SKIP to evidence protocol status values with explanatory note
  • AUD-005: Removed half-implemented baselines feature from gate-verdict protocol and sw-init directory creation

Test plan

  • Grep confirms no remaining baselines references in tracked files
  • Grep confirms no remaining Constitution X\d patterns in tracked files
  • Review each changed file for correctness against audit recommendations

🤖 Generated with Claude Code

MacAttak and others added 6 commits February 24, 2026 22:25
Use {currentWork.workDir}/ for spec.md Input and evidence/ Output paths
across sw-verify, gate-spec, gate-build, gate-tests, gate-security,
and gate-wiring.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Display active unit ID when set, show PLANNED status alongside existing
statuses, and include workDir paths in queue entries.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use {currentWork.workDir}/ for evidence/ and plan.md Input references.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace hardcoded .specwright/work/${work.id}/ path construction with
work.workDir. Show unitId in status output when present. Falls back
to .specwright/work/${work.id}/ when workDir is absent (old state).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update runtime directory diagram to show units/{unit-id}/ pattern for
multi-unit work. Update sw-plan description to mention per-unit specs
with individual user approval. Update Design/Plan Split section.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- AUD-001: Rewrite executor agent prompt to match GREEN-only role
- AUD-002: Use {currentWork.workDir} path convention in evidence protocol
- AUD-003: Replace hardcoded Constitution X1-X4 section IDs with dynamic language
- AUD-004: Add SKIP to evidence protocol status values
- AUD-005: Remove half-implemented baselines feature from gate-verdict and sw-init

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MacAttak MacAttak merged commit 27f31f9 into main Feb 24, 2026
2 checks passed
@MacAttak MacAttak deleted the fix/audit-warn-findings branch February 24, 2026 22:11
@github-actions github-actions bot mentioned this pull request Feb 24, 2026
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