Promote responsibility-auditor to a map node feeding refactorer (phase 2) #559
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#559
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Promote responsibility-auditor to a map node feeding refactorer (phase 2) [capture]
Context
On 2026-09-11 the user adopted a two-phase plan for the Codex-built responsibility-audit plugin. Phase 1 is an audit-only agent
os-sdlc:responsibility-auditorand skill/os-sdlc:responsibility-audit. It was added on branchresponsibility-auditand is not yet wired into any map. It reads whole files, inventories responsibilities, searches the codebase for owners, and proposes existing or new owners. It ignores ADRs by design.Observed
Design agents in os-sdlc (contract-auditor, refactorer) are diff-scoped by ADR-0160. Nothing detects a domain operation implemented in several places or an invariant enforced by callers instead of the owning object. ADR-0174 (Git::Repo consolidation) was a manual fix for exactly that failure mode.
Reproduce
n/a: design ticket
Expected
Blocked until the user is confident in phase 1 audit output on plugins/os-sdlc/lib/os_sdlc/project.rb and then a full directory. Expected timeline: days to weeks.
Origin
Design note from responsibility-audit tuning, 2026-09-12. Not for build now; the auditor is still being dialed in.
Problem: once a file is settled, the auditor keeps finding something. It must never be told "you may find nothing" (that makes it inconsistent). Worth must be decided outside the auditor.
Proposal, two parts:
Scored gate. A deterministic scorer reads the audit report and gives each capability a number from the report's own signals: evidence-row count (duplication), callers-that-would-delegate count (blast radius), defect rows that change runtime behavior (bug vs style), gain bullets that name a bug or a one-line change. A fixed threshold, like a flay score, decides go-ahead vs ignore. The auditor never sees the rubric; it receives go-ahead/ignore per capability, the same way runner agents receive gate results. Rejected: ticket-skeptic as the gate, because it has not been observed to reject a ticket.
Stop rule by change, not by run count. One ledger line per audited file: path, content hash, last run, accepted findings. Same hash means skip. A file re-enters the queue only when it changes or an accepted refactor lands.