refactorer receives gate_results its charter never names; drop it from both poodr maps #687

Closed
opened 2026-09-24 17:11:24 +00:00 by jared · 2 comments
Owner

#687 refactorer receives gate_results its charter never names; drop it from both poodr maps (open)

@jared created 2026-09-24 13:11

Problem

poodr-implementation.yaml:131 and poodr-ticket-implementation.yaml:142 give the refactorer gate_results. The refactorer charter lists its inputs at agents/refactorer.md:11: "Input (given to you in the prompt): the ticket brief, lint_offense_history, test_changes, and the contract-auditor handoff that requested this correction." gate_results is absent. The role gets fresh gate output by running os-sdlc-runner gate <dispatch_id> itself (refactorer.md:33). Measured gate_results: median 3,812 chars, max 240,397, against a 10,000-unit hook cap.

Reproduce

n/a: design audit finding, not a runtime defect.

Approach

Remove gate_results from the two refactorer enrich lists. No resolver change.

Required work:

  1. Map edits at the two lines above.
  2. Existing map tests stay green; add none unless a test enumerates enrich lists.

Acceptance criteria

  1. The refactorer node in plugins/os-sdlc/maps/poodr-implementation.yaml has an enrich list without gate_results.
  2. The refactorer node in plugins/os-sdlc/maps/poodr-ticket-implementation.yaml has an enrich list without gate_results.
  3. The map tests that assert refactorer enrich lists pass with the new lists.

Owner sketch

Maps: plugins/os-sdlc/maps/poodr-implementation.yaml, plugins/os-sdlc/maps/poodr-ticket-implementation.yaml. Tests: plugins/os-sdlc/tests/poodr_implementation_map_test.rb and plugins/os-sdlc/tests/poodr_ticket_implementation_map_test.rb (whichever asserts the refactorer enrich list). No resolver change.

Evidence

Audit row from #676: refactorer | gate_results | DROP | refactorer.md:11 Input sentence omits it; refactorer.md:33 runs its own gate.

Origin

• Trigger: #676 enrich-fact audit, run in session 9434289b
• Improvised this session: none
• Chain: oversized or duplicated brief facts <- enrich lists chosen per node without a per-role byte audit <- DESIGN (map enrich model)
• Root candidate: this ticket
• Where: the map/charter/composer paths named in the draft
• Parent: #676
• Session: 9434289b-c48f-4a8a-8add-0d82068e2c3f
• Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os/9434289b-c48f-4a8a-8add-0d82068e2c3f.jsonl

Skeptic verdict: CREATE (os-backlog:ticket-skeptic, session 9434289b, citations verified).

# #687 refactorer receives gate_results its charter never names; drop it from both poodr maps (open) @jared created 2026-09-24 13:11 ## Problem poodr-implementation.yaml:131 and poodr-ticket-implementation.yaml:142 give the refactorer gate_results. The refactorer charter lists its inputs at agents/refactorer.md:11: "Input (given to you in the prompt): the ticket brief, lint_offense_history, test_changes, and the contract-auditor handoff that requested this correction." gate_results is absent. The role gets fresh gate output by running os-sdlc-runner gate <dispatch_id> itself (refactorer.md:33). Measured gate_results: median 3,812 chars, max 240,397, against a 10,000-unit hook cap. ## Reproduce n/a: design audit finding, not a runtime defect. ## Approach Remove gate_results from the two refactorer enrich lists. No resolver change. Required work: 1. Map edits at the two lines above. 2. Existing map tests stay green; add none unless a test enumerates enrich lists. ## Acceptance criteria 1. The refactorer node in plugins/os-sdlc/maps/poodr-implementation.yaml has an enrich list without gate_results. 2. The refactorer node in plugins/os-sdlc/maps/poodr-ticket-implementation.yaml has an enrich list without gate_results. 3. The map tests that assert refactorer enrich lists pass with the new lists. ## Owner sketch Maps: plugins/os-sdlc/maps/poodr-implementation.yaml, plugins/os-sdlc/maps/poodr-ticket-implementation.yaml. Tests: plugins/os-sdlc/tests/poodr_implementation_map_test.rb and plugins/os-sdlc/tests/poodr_ticket_implementation_map_test.rb (whichever asserts the refactorer enrich list). No resolver change. ## Evidence Audit row from #676: refactorer | gate_results | DROP | refactorer.md:11 Input sentence omits it; refactorer.md:33 runs its own gate. ## Origin • Trigger: #676 enrich-fact audit, run in session 9434289b • Improvised this session: none • Chain: oversized or duplicated brief facts <- enrich lists chosen per node without a per-role byte audit <- DESIGN (map enrich model) • Root candidate: this ticket • Where: the map/charter/composer paths named in the draft • Parent: #676 • Session: 9434289b-c48f-4a8a-8add-0d82068e2c3f • Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os/9434289b-c48f-4a8a-8add-0d82068e2c3f.jsonl Skeptic verdict: CREATE (os-backlog:ticket-skeptic, session 9434289b, citations verified).
Author
Owner

Work started on branch ticket-687 via /os-sdlc:implement, session 9434289b.

Work started on branch ticket-687 via /os-sdlc:implement, session 9434289b.
Author
Owner

Resolution

Done: Removed gate_results from the refactorer enrich list in poodr-implementation.yaml and poodr-ticket-implementation.yaml. Two tests assert the new lists.

Evidence: os-sdlc implementation 24, 8 dispatches all pass, 0 retries, 399s; suite gate green (35,987 ms); branch ticket-687, 4 files, +10 -2.

Follow-ups: none

## Resolution **Done:** Removed gate_results from the refactorer enrich list in poodr-implementation.yaml and poodr-ticket-implementation.yaml. Two tests assert the new lists. **Evidence:** os-sdlc implementation 24, 8 dispatches all pass, 0 retries, 399s; suite gate green (35,987 ms); branch ticket-687, 4 files, +10 -2. **Follow-ups:** none
jared closed this issue 2026-09-24 18:27:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#687
No description provided.