os-sdlc: add a dedicated lint-fix agent role (modeled on programmer) #264

Closed
opened 2026-08-04 17:00:26 +00:00 by jared · 3 comments
Owner

The implement pipeline's residual-lint phase (step 7 / fix-lints residual-phase.md) prescribes "one fresh cheap-tier agent per file" but os-sdlc defines no agent role for it, so drivers fall back to a general-purpose agent. Add a dedicated os-sdlc:lint-fixer agent modeled after os-sdlc:programmer, with the analogous single-job discipline: fixes the offenses in its one assignment file, verifies via rubocop (and may run the test suite to prove behavior preserved), never edits tests, never touches files outside its assignment.

Motivation observed live: during cc-plugins ticket #52, the residual phase dispatched a general-purpose agent to refactor dispatch for Metrics offenses — worked, but with none of the role fencing the other pipeline stages get.


Discoverer: /home/jared/dev/cc-plugins, session f5ddde9c-d7ed-4bda-bc17-a955aa39cec3, 2026-08-04. Residual-lint phase has no dedicated os-sdlc agent role; GP fallback observed mid-pipeline.

The implement pipeline's residual-lint phase (step 7 / fix-lints residual-phase.md) prescribes "one fresh cheap-tier agent per file" but os-sdlc defines no agent role for it, so drivers fall back to a general-purpose agent. Add a dedicated `os-sdlc:lint-fixer` agent modeled after `os-sdlc:programmer`, with the analogous single-job discipline: fixes the offenses in its one assignment file, verifies via rubocop (and may run the test suite to prove behavior preserved), never edits tests, never touches files outside its assignment. Motivation observed live: during cc-plugins ticket #52, the residual phase dispatched a general-purpose agent to refactor `dispatch` for Metrics offenses — worked, but with none of the role fencing the other pipeline stages get. -------- **Discoverer:** /home/jared/dev/cc-plugins, session f5ddde9c-d7ed-4bda-bc17-a955aa39cec3, 2026-08-04. Residual-lint phase has no dedicated os-sdlc agent role; GP fallback observed mid-pipeline.
Author
Owner

Triage: verified against source. residual-phase.md:11 prescribes 'one fresh cheap-tier agent per file'; agents/ has only programmer/reviewer/test-writer/wiring — no lint-fix role. programmer.md is a well-specified template. ready-for-agent.

Triage: verified against source. residual-phase.md:11 prescribes 'one fresh cheap-tier agent per file'; agents/ has only programmer/reviewer/test-writer/wiring — no lint-fix role. programmer.md is a well-specified template. ready-for-agent.
Author
Owner

Work started: adding agents/lint-fixer.md + dispatch wiring in residual-phase.md

Work started: adding agents/lint-fixer.md + dispatch wiring in residual-phase.md
Author
Owner

Resolution

Done: Added plugins/os-sdlc/agents/lint-fixer.md modeled on programmer.md (tools incl. Bash for rubocop/test verification, single-assignment-file fencing, fixed return format); residual-phase.md and implement SKILL.md steps 7+8 now dispatch os-sdlc:lint-fixer by name.

Evidence: New agents/lint-fixer.md; one-line dispatch edits in skills/fix-lints/references/residual-phase.md and skills/implement/SKILL.md; plugin cache refreshed via bin/refresh-plugins.

Follow-ups: none

## Resolution **Done:** Added plugins/os-sdlc/agents/lint-fixer.md modeled on programmer.md (tools incl. Bash for rubocop/test verification, single-assignment-file fencing, fixed return format); residual-phase.md and implement SKILL.md steps 7+8 now dispatch os-sdlc:lint-fixer by name. **Evidence:** New agents/lint-fixer.md; one-line dispatch edits in skills/fix-lints/references/residual-phase.md and skills/implement/SKILL.md; plugin cache refreshed via bin/refresh-plugins. **Follow-ups:** none
jared closed this issue 2026-08-04 17:47:14 +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#264
No description provided.