devflow-kit 3.5.0 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/CHANGELOG.md +98 -0
  2. package/README.md +4 -4
  3. package/dist/agents/{diagnose.md → debug.md} +4 -4
  4. package/dist/agents/{code-fix.md → fix.md} +2 -2
  5. package/dist/agents/{scrutinize.md → harden.md} +6 -6
  6. package/dist/agents/{code-edit.md → refactor.md} +3 -3
  7. package/dist/cli/agents-view/render.js +1 -1
  8. package/dist/cli/commands/init.js +3 -3
  9. package/dist/cli/commands/learning.js +12 -12
  10. package/dist/cli/commands/legacy-hooks.js +1 -1
  11. package/dist/cli/commands/uninstall.js +111 -5
  12. package/dist/commands/bug-analysis.md +19 -15
  13. package/dist/commands/code-review.md +13 -22
  14. package/dist/commands/debug.md +15 -15
  15. package/dist/commands/dynamic-build.md +51 -55
  16. package/dist/commands/dynamic-plan.md +11 -9
  17. package/dist/commands/dynamic-profile.md +7 -5
  18. package/dist/commands/dynamic-tickets.md +11 -9
  19. package/dist/commands/explore.md +13 -13
  20. package/dist/commands/implement.md +58 -127
  21. package/dist/commands/plan.md +19 -41
  22. package/dist/commands/release.md +9 -5
  23. package/dist/commands/research.md +12 -8
  24. package/dist/commands/resolve.md +42 -86
  25. package/dist/commands/self-review.md +42 -42
  26. package/dist/core/agent-models.js +47 -11
  27. package/dist/core/{learning-tuning-config.js → curate-tuning-config.js} +14 -14
  28. package/dist/core/learning-queue-cleanup.js +1 -1
  29. package/dist/core/migrations.js +63 -44
  30. package/dist/core/plugins.js +14 -12
  31. package/dist/core/project-paths.js +3 -3
  32. package/dist/hud/codex-usage.js +247 -0
  33. package/dist/hud/components/codex-quota.js +37 -0
  34. package/dist/hud/components/usage-quota.js +1 -1
  35. package/dist/hud/config.js +1 -0
  36. package/dist/hud/index.js +16 -3
  37. package/dist/hud/render.js +3 -1
  38. package/dist/learning-off/agents/{diagnose.md → debug.md} +4 -4
  39. package/dist/learning-off/agents/{code-fix.md → fix.md} +2 -2
  40. package/dist/learning-off/agents/{scrutinize.md → harden.md} +6 -6
  41. package/dist/learning-off/agents/{code-edit.md → refactor.md} +3 -3
  42. package/dist/learning-off/commands/bug-analysis.md +9 -9
  43. package/dist/learning-off/commands/code-review.md +2 -15
  44. package/dist/learning-off/commands/debug.md +4 -8
  45. package/dist/learning-off/commands/dynamic-build.md +45 -51
  46. package/dist/learning-off/commands/dynamic-plan.md +5 -5
  47. package/dist/learning-off/commands/dynamic-profile.md +1 -1
  48. package/dist/learning-off/commands/dynamic-tickets.md +5 -5
  49. package/dist/learning-off/commands/explore.md +2 -6
  50. package/dist/learning-off/commands/implement.md +46 -119
  51. package/dist/learning-off/commands/plan.md +8 -33
  52. package/dist/learning-off/commands/release.md +4 -2
  53. package/dist/learning-off/commands/research.md +2 -2
  54. package/dist/learning-off/commands/resolve.md +31 -79
  55. package/dist/learning-off/commands/self-review.md +30 -34
  56. package/dist/skills/git/references/pr/check-merge-readiness.md +2 -0
  57. package/dist/skills/git/references/pr/update-pr-evidence.md +4 -6
  58. package/dist/targets/claude-code/installer.js +117 -84
  59. package/dist/targets/claude-code/tracker-servers.js +1 -1
  60. package/package.json +1 -1
  61. package/src/assets/agents/_partials/_code.mds +2 -2
  62. package/src/assets/agents/code.mds +2 -2
  63. package/src/assets/agents/{learning.md → curate.md} +4 -4
  64. package/src/assets/agents/{diagnose.mds → debug.mds} +4 -4
  65. package/src/assets/agents/evaluate.md +4 -4
  66. package/src/assets/agents/{code-fix.mds → fix.mds} +5 -5
  67. package/src/assets/agents/{scrutinize.mds → harden.mds} +6 -6
  68. package/src/assets/agents/{simplify.md → polish.md} +4 -4
  69. package/src/assets/agents/{code-edit.mds → refactor.mds} +6 -6
  70. package/src/assets/agents/test.md +2 -2
  71. package/src/assets/commands/_partials/_compliance.mds +1 -1
  72. package/src/assets/commands/_partials/_decisions.mds +26 -6
  73. package/src/assets/commands/_partials/_engine.mds +15 -15
  74. package/src/assets/commands/_partials/_evidence_policy.mds +0 -17
  75. package/src/assets/commands/_partials/_knowledge.mds +14 -9
  76. package/src/assets/commands/_partials/_preamble.mds +4 -2
  77. package/src/assets/commands/_partials/_roster.mds +4 -4
  78. package/src/assets/commands/bug-analysis.mds +7 -7
  79. package/src/assets/commands/code-review.mds +1 -14
  80. package/src/assets/commands/debug.mds +2 -2
  81. package/src/assets/commands/dynamic-build.mds +26 -32
  82. package/src/assets/commands/implement.mds +45 -102
  83. package/src/assets/commands/plan.mds +7 -37
  84. package/src/assets/commands/release.mds +5 -1
  85. package/src/assets/commands/resolve.mds +28 -76
  86. package/src/assets/commands/self-review.mds +27 -27
  87. package/src/assets/mds/git/_pr.mds +6 -6
  88. package/src/assets/scripts/hooks/assets/orchestrator-charter.md +4 -3
  89. package/src/assets/scripts/hooks/capture-prompt +1 -1
  90. package/src/assets/scripts/hooks/capture-question +1 -1
  91. package/src/assets/scripts/hooks/capture-turn +1 -1
  92. package/src/assets/scripts/hooks/json-helper.cjs +2 -2
  93. package/src/assets/scripts/hooks/lib/learning-store.cjs +1 -1
  94. package/src/assets/scripts/hooks/lib/project-paths.cjs +4 -4
  95. package/src/assets/scripts/hooks/preamble +1 -1
  96. package/src/assets/scripts/hooks/session-start-context +58 -45
  97. package/src/assets/scripts/verify-evidence.cjs +726 -9
  98. package/src/assets/skills/agent-references/SKILL.md +9 -5
  99. package/src/assets/skills/agent-references/references/commands/implement-evidence-asks.md +35 -0
  100. package/src/assets/skills/agent-references/references/commands/implement-revalidate.md +15 -0
  101. package/src/assets/skills/agent-references/references/synthesize/bug-analysis.md +1 -1
  102. package/src/assets/skills/apply-decisions/SKILL.md +6 -4
  103. package/src/assets/skills/docs-framework/SKILL.md +3 -3
  104. package/src/assets/skills/qa/SKILL.md +1 -1
  105. package/src/assets/skills/quality-gates/SKILL.md +7 -7
  106. package/src/assets/skills/quality-gates/references/report-template.md +7 -7
  107. /package/src/assets/skills/agent-references/references/{learning → curate}/maintain.md +0 -0
@@ -11,22 +11,26 @@ allowed-tools: Read
11
11
  <!-- D-AGENT-REFS: a reference-only skill. It holds text that one agent mode needs and the
12
12
  other modes do not, so the agent body stays small and the spawn reads one file on demand.
13
13
  D-MODE-BY-PATH: Synthesize reads exactly one synthesize/{mode}.md by explicit path.
14
- D-MAINTAIN-ON-DUE: Learning reads learning/maintain.md only after claim-due hands out an entry. -->
14
+ D-MAINTAIN-ON-DUE: Curate reads curate/maintain.md only after claim-due hands out an entry.
15
+ D-CMD-REF-HAND: a command moves a rare branch here (hand-authored, byte for byte) and keeps only
16
+ the condition and the read path, so a run that never takes the branch never carries its text.
17
+ Only text with no learning arm and no Git-spawn fence moves. -->
15
18
 
16
19
  ## Iron Law
17
20
 
18
21
  > **READ BY EXPLICIT PATH ONLY; NEVER PRELOAD**
19
22
  >
20
- > An agent that owns a file here names its full path in its own body and reads it with the
21
- > Read tool when its mode needs it. No agent `skills:` list and no plugin preload names this
22
- > skill: a preload would put every file in every spawn and undo the saving.
23
+ > An agent or command that owns a file here names its full path in its own body and reads it with
24
+ > the Read tool when its mode or branch needs it. No agent `skills:` list, no plugin `requires:`
25
+ > and no preload names this skill: a preload would put every file in every spawn and undo the saving.
23
26
 
24
27
  ## Files
25
28
 
26
29
  | Path under `references/` | Owner | Read when |
27
30
  |--------------------------|-------|-----------|
28
31
  | `synthesize/{mode}.md` | Synthesize | The prompt's `Mode:` line names `{mode}` |
29
- | `learning/maintain.md` | Learning | `claim-due` hands out at least one entry |
32
+ | `curate/maintain.md` | Curate | `claim-due` hands out at least one entry |
33
+ | `commands/{name}.md` | The command named in the file | The command's condition for that branch holds |
30
34
 
31
35
  The installed directory is `${CLAUDE_CONFIG_DIR:-$HOME/.claude}/skills/devflow:agent-references/`.
32
36
  The model never invokes this skill: `disable-model-invocation: true` keeps it out of the
@@ -0,0 +1,35 @@
1
+ # Implement: evidence asks
2
+
3
+ Read by `/implement` Phase 1 (D-CMD-REF-HAND). "The grammar below", "the exception grammar above" and "the record above" name sections of this file. Any other "above" means the Phase 1 text before the step that sent you here.
4
+
5
+ ## Ticket link ask
6
+
7
+ **Ticket link, only when `ISSUE_REQUIRED` is `true`:** when the capture above holds no `ISSUE_PR_LINK` (absent, or `(none)`), ask with AskUserQuestion before any Code spawn — "No tracker issue is linked to this task. Record a self-attested exception, or stop?" — offering exactly these two options:
8
+ - **Record an exception** — the user gives the reason as free text. Render it with the grammar below, as kind `ticket-link`; when the rendered reason is empty, ask for it once more, and stop as below if it is empty again.
9
+ - **Stop** — report `BLOCKED (no ticket link)`, name the branch setup-task created (`TASK_ID`) and `BASE_BRANCH` so it can be reused or removed, and give the remedy: create or link the tracker issue and re-run `/implement` with its reference, or — for a team that does not want ticket links — commit `.devflow/project.json` as `{"version":1,"evidence":"standard"}` on the default branch; a machine with compliance enabled still resolves `required` whatever that file says. Spawn nothing further.
10
+
11
+ ## Exception grammar
12
+
13
+ **Render each evidence exception** as one line under a `## Evidence Exceptions` heading, in exactly this shape:
14
+
15
+ ```markdown
16
+ ## Evidence Exceptions
17
+ - `<kind>` self-attested by @<login> at <utc>: <reason>
18
+ ```
19
+
20
+ - `<kind>` is one of `ticket-link` or `test-plan` — a closed set; no other kind is ever rendered, and the section holds each kind at most once.
21
+ - `@<login>` is `@` followed by the output of `gh api user --jq .login` when that output matches `^[A-Za-z0-9][A-Za-z0-9-]{0,38}$`. On any other output, or a failed call, it is `(login unavailable)` instead, with no `@`.
22
+ - `<utc>` is the output of `date -u +%Y-%m-%dT%H:%M:%SZ`.
23
+ - `<reason>` is the user's own words, made inert: replace every character outside printable ASCII (newlines and tabs included) with a space, remove every `<`, `>`, `` ` ``, `[`, `]`, `\`, `/`, `#`, `@`, `&` and `$`, collapse runs of spaces, trim, keep the first 200 characters, and trim again. A reason that is empty after this is no reason.
24
+
25
+ Note: the section reaches a public PR body. The Code agent re-checks every line against this shape before it pastes, and the body's D11 scrub is the reason's secret scrub — rendering filters no secrets. A rendered reason carries no HTML or comment markers, link or image syntax, @-mentions, `#N` or full-URL references (no `/` survives), entities or shell-expansion characters; plain emphasis and `www.` or `GH-N` autolinks can remain — the requester authors the reason.
26
+
27
+ ## Record the exception
28
+
29
+ **Record the exception at once**, before any Code spawn: write the rendered section as the `## Evidence Exceptions` section of `{worktree}/.devflow/docs/handoff-{branch_slug}.md`, creating the file if absent, and set `PR_EXCEPTIONS` to that section. The file is its one home until the PR exists: every later write to the file keeps the section byte-identical, the Phase 9 Git spawn passes it verbatim as `PR_EXCEPTIONS`, and the file is deleted only once the PR exists — after Phase 9, under every strategy. With no exception recorded, `PR_EXCEPTIONS` is `(none)`.
30
+
31
+ ## Missing test plan ask
32
+
33
+ **Missing test plan, only when `EVIDENCE_POLICY` is `required`:** when the check above leaves the test plan missing, ask with AskUserQuestion before any Code spawn — "No test plan could be written for this task. Record a self-attested exception, or stop?" — offering exactly these two options:
34
+ - **Record an exception** — the user gives the reason as free text. Render it with the exception grammar above, as kind `test-plan`; when the rendered reason is empty, ask for it once more, and stop as below if it is empty again. Add the rendered line to the `## Evidence Exceptions` section of `{worktree}/.devflow/docs/handoff-{branch_slug}.md` — after any `ticket-link` line, creating the section and the file when absent — and set `PR_EXCEPTIONS` to that section, under the same rules as the record above.
35
+ - **Stop** — report `BLOCKED (no test plan)`, name `TASK_ID` and `BASE_BRANCH` so the branch can be reused or removed, and give the remedy: state the acceptance criteria in the task, the issue or a `/plan` document (its `## Test Plan` section is copied) and re-run `/implement`, or — for a team that does not want test plans enforced — commit `.devflow/project.json` as `{"version":1,"evidence":"standard"}` on the default branch; a machine with compliance enabled still resolves `required` whatever that file says. Spawn nothing further.
@@ -0,0 +1,15 @@
1
+ # Implement: re-validation
2
+
3
+ Read by `/implement` when the user asks to re-validate (D-CMD-REF-HAND).
4
+
5
+ ## Continuation path
6
+
7
+ When the user explicitly asks to re-validate, re-check, or re-run quality gates after making their own changes:
8
+
9
+ 1. **Branch safety check**: If on a protected branch (main, master, develop, etc.), run Phase 1 to create/switch to a work branch. If already on a work branch, skip Phase 1.
10
+ 2. **Skip Phase 2** — no Code agent needed, user already made changes.
11
+ 3. **Detect FILES_CHANGED**: `git diff --name-only {base_branch}...HEAD`
12
+ 4. **Run Phases 3-8** — Polish, Self-Review, Alignment, the one full Validate, QA Testing and the conditional Re-Validate, on the detected changes.
13
+ 5. **Proceed to Phase 9** (Open PR), **Phase 11** (Evidence) and **Phase 12** (Report).
14
+
15
+ If the user prompt does NOT match re-validation, proceed with the full pipeline below.
@@ -1,6 +1,6 @@
1
1
  ## Mode: Bug Analysis
2
2
 
3
- Synthesize outputs from multiple Diagnose agents into a single actionable bug report.
3
+ Synthesize outputs from multiple Debug agents into a single actionable bug report.
4
4
 
5
5
  **Input:**
6
6
  - **ANALYSIS_BASE_DIR**: Timestamped directory containing `{focus}.md` files and `static-findings.md`
@@ -14,12 +14,14 @@ allowed-tools: Read, Bash
14
14
  > Cite only IDs that appear verbatim in DECISIONS_CONTEXT. If an ADR/PF ID is not
15
15
  > in the index, do not cite it. If an entry looks relevant but you haven't Read its
16
16
  > full body, do not cite it. Fabricated citations are worse than no citations.
17
+ >
18
+ > DECISIONS_CONTEXT may be a slice; read the full index at the named path only when your work leaves the slice's scope.
17
19
 
18
20
  ## 5-Step Algorithm
19
21
 
20
22
  ### Step 1: Scan the index
21
23
 
22
- One line per active entry: its ID (`ADR-NNN` or `PF-NNN`), a title, then a status tag and/or, after `—`, its area or scope. The footer names the decisions and pitfalls files.
24
+ One line per active entry: its ID (`ADR-NNN` or `PF-NNN`), a title, then a status tag and/or, after `—`, its area or scope. A slice leads with `(slice: N of M entries — full index: <path>)`.
23
25
 
24
26
  ### Step 2: Identify plausibly-relevant entries
25
27
 
@@ -27,13 +29,13 @@ Pick entries whose title, area or scope overlaps the files you touch (a matching
27
29
 
28
30
  ### Step 3: Read the full body
29
31
 
30
- Find the entry's heading line in the file the footer names, then Read only that section:
32
+ Find the entry's heading in the file the footer names:
31
33
 
32
34
  ```bash
33
35
  command grep -nF '## ADR-NNN:' "{worktree-from-footer}/.devflow/learning/decisions.md"
34
36
  ```
35
37
 
36
- For a pitfall use `## PF-NNN:` and `pitfalls.md`. Read with `offset` at the printed line and a `limit` of about 25, stopping at the next `## `. The footer is the single source of truth for paths; the ledger is git-ignored, so only a shell search finds the line. A `verified` date is when the entry was last confirmed true; none means unconfirmed. Cite only after reading the body and confirming it applies.
38
+ For a pitfall use `## PF-NNN:` and `pitfalls.md`. Read with `offset` at the printed line and a `limit` of about 25, stopping at the next `## `. The footer is the single source of truth for paths; the ledger is git-ignored, so search by shell. A `verified` date is the last confirmation; none means unconfirmed.
37
39
 
38
40
  ### Step 4: Cite inline — in-session handoffs only
39
41
 
@@ -43,7 +45,7 @@ Anything committed, pushed or posted states the rule in words, never its ID (cod
43
45
 
44
46
  ### Step 5: Use verbatim IDs only
45
47
 
46
- Cite only IDs in `DECISIONS_CONTEXT`; never guess or rebuild one. When nothing clearly applies, cite nothing.
48
+ Cite only IDs in the index; never guess or rebuild one. When nothing clearly applies, cite nothing.
47
49
 
48
50
  ## Skip Guard
49
51
 
@@ -38,7 +38,7 @@ All generated documentation lives under `.devflow/docs/` at the checkout's tople
38
38
  ├── bug-analysis/{branch-slug}/ # /bug-analysis, per branch
39
39
  │ ├── .last-analysis-head # HEAD SHA of the last analysis (incremental)
40
40
  │ └── {timestamp}/
41
- │ ├── {focus}.md # Diagnose agent report
41
+ │ ├── {focus}.md # Debug agent report
42
42
  │ ├── static-findings.md # Raw static analysis tool output
43
43
  │ ├── bug-analysis-summary.md # Synthesize agent output
44
44
  │ └── resolution-summary.md # /resolve (evidence.md and stale-plan.md as in reviews)
@@ -142,7 +142,7 @@ ensure_docs_dir() { mkdir -p "$(get_docs_root)/.devflow/docs/$1"; }
142
142
  ### Who Writes What
143
143
 
144
144
  - **Reviews**: the Review agents and the Synthesize agent (review mode) write into `reviews/{branch-slug}/{timestamp}/`; `/resolve` adds `resolution-summary.md` (Phase 5); `/code-review` overwrites `.last-review-head` with the HEAD SHA.
145
- - **Bug analysis**: the Diagnose agents and the Synthesize agent (bug-analysis mode) write into `bug-analysis/{branch-slug}/{timestamp}/`; `/bug-analysis` overwrites `.last-analysis-head` with the HEAD SHA.
145
+ - **Bug analysis**: the Debug agents and the Synthesize agent (bug-analysis mode) write into `bug-analysis/{branch-slug}/{timestamp}/`; `/bug-analysis` overwrites `.last-analysis-head` with the HEAD SHA.
146
146
  - **Research**: the Research agents write `{type}.md`, and the Synthesize agent (research mode) writes `research-summary.md` through `RESEARCH_BASE_DIR`, both into `research/{topic-slug}/{timestamp}/`.
147
147
  - **Design**: `/plan` writes the design document; `/dynamic-plan` writes `design/{slug}/{timestamp}/`, `/dynamic-tickets` `tickets/{slug}/{timestamp}/`, `/dynamic-build` `waves/{slug}/{timestamp}/` and `evidence-wave-{slug}.md`.
148
148
  - **Handoff and evidence**: `/implement` writes `evidence-{branch-slug}.md`, which stays after the PR, and the handoff file, to which each Code agent appends one phase section and which is deleted once the PR exists.
@@ -176,7 +176,7 @@ This framework is used by:
176
176
  - **`/plan` and `/research`**: load it at the step that names the document, and build the path by its rules
177
177
  - **Commands that hand paths to agents** (`/code-review`, `/bug-analysis`, `/implement`, `/resolve`, the `/dynamic-*` commands): follow it, with the exceptions above
178
178
  - **Working Memory hooks**: Auto-maintains `.devflow/memory/WORKING-MEMORY.md`
179
- - **Learning agent**: background LLM agent (spawned via the session-start directive) promotes observations to ADRs/PFs via `assign-anchor`, which renders `decisions.md` / `pitfalls.md`
179
+ - **Curate agent**: background LLM agent (spawned via the session-start directive) promotes observations to ADRs/PFs via `assign-anchor`, which renders `decisions.md` / `pitfalls.md`
180
180
 
181
181
  ---
182
182
 
@@ -109,7 +109,7 @@ When implementation includes web-facing changes (.tsx, .jsx, .html, routes, page
109
109
 
110
110
  | Level | Meaning | Action |
111
111
  |-------|---------|--------|
112
- | **BLOCKING** | Acceptance criterion violated — feature does not work as requested | Report FAIL — Code agent must fix |
112
+ | **BLOCKING** | Acceptance criterion violated — feature does not work as requested | Report FAIL — Fix agent must fix |
113
113
  | **WARNING** | Edge case concern — feature works but edge behavior is unexpected | Report PASS with warnings — note for improvement |
114
114
 
115
115
  ---
@@ -7,7 +7,7 @@ allowed-tools: Read, Grep, Glob, Edit, Write, Bash
7
7
 
8
8
  # Self-Review Framework
9
9
 
10
- Systematic self-review for the Scrutinize agent. Evaluate implementation against 9 pillars. **Fix issues, don't just report them.**
10
+ Systematic self-review for the Harden agent. Evaluate implementation against 9 pillars. **Fix issues, don't just report them.**
11
11
 
12
12
  Based on [Google Engineering Practices](https://google.github.io/eng-practices/review/reviewer/looking-for.html).
13
13
 
@@ -26,7 +26,7 @@ Based on [Google Engineering Practices](https://google.github.io/eng-practices/r
26
26
  |----------|--------|---------|
27
27
  | **P0** | MUST fix | Design, Functionality, Security |
28
28
  | **P1** | SHOULD fix | Complexity, Error Handling, Tests |
29
- | **P2** | FIX if straightforward | Documentation (Naming and Consistency belong to the Simplify agent: report them as SKIP) |
29
+ | **P2** | FIX if straightforward | Documentation (Naming and Consistency belong to the Polish agent: report them as SKIP) |
30
30
 
31
31
  ### P0 - Design
32
32
  Does the implementation fit the architecture? Follows existing patterns, respects layer boundaries, dependencies injected.
@@ -49,7 +49,7 @@ Errors handled explicitly? No swallowed exceptions, helpful messages, resources
49
49
  New code tested? Covers happy path, errors, edges. Tests behavior, not implementation.
50
50
 
51
51
  ### P2 - Naming and Consistency
52
- Owned by the Simplify agent, which applies the project's naming and style standards. Report both as SKIP; do not judge or fix them here.
52
+ Owned by the Polish agent, which applies the project's naming and style standards. Report both as SKIP; do not judge or fix them here.
53
53
 
54
54
  ### P2 - Documentation
55
55
  Will others understand? Complex logic commented, public APIs documented, no outdated comments.
@@ -96,7 +96,7 @@ Check Design, Functionality, Security. If issues found and fixable, fix immediat
96
96
  Check Complexity, Error Handling, Tests. Fix issues found.
97
97
 
98
98
  ### Step 4: Evaluate P2 Pillars
99
- Check Documentation and fix it if straightforward. Naming and Consistency are the Simplify agent's: SKIP.
99
+ Check Documentation and fix it if straightforward. Naming and Consistency are the Polish agent's: SKIP.
100
100
 
101
101
  ### Step 5: Generate Report
102
102
  Document status of each pillar, fixes applied, and overall readiness.
@@ -119,8 +119,8 @@ Document status of each pillar, fixes applied, and overall readiness.
119
119
  - Tests: PASS/FIXED
120
120
 
121
121
  ### P2 Pillars
122
- - Naming: SKIP (Simplify agent)
123
- - Consistency: SKIP (Simplify agent)
122
+ - Naming: SKIP (Polish agent)
123
+ - Consistency: SKIP (Polish agent)
124
124
  - Documentation: PASS/FIXED
125
125
 
126
126
  ### Summary
@@ -144,6 +144,6 @@ For complete report templates and examples:
144
144
  ## Integration
145
145
 
146
146
  Used by:
147
- - **Scrutinize agent**: Dedicated self-review in fresh context after the Code agent completes
147
+ - **Harden agent**: Dedicated self-review in fresh context after the Code agent completes
148
148
 
149
149
  The self-review ensures implementations meet quality standards before external review, catching issues early.
@@ -48,8 +48,8 @@ Use this template when generating your self-review report.
48
48
 
49
49
  | Pillar | Status | Notes |
50
50
  |--------|--------|-------|
51
- | Naming | SKIP | Simplify agent |
52
- | Consistency | SKIP | Simplify agent |
51
+ | Naming | SKIP | Polish agent |
52
+ | Consistency | SKIP | Polish agent |
53
53
  | Documentation | PASS/FIXED | {details if fixed} |
54
54
 
55
55
  **Fixes Applied** (if any):
@@ -109,8 +109,8 @@ Add user profile update endpoint
109
109
 
110
110
  | Pillar | Status | Notes |
111
111
  |--------|--------|-------|
112
- | Naming | SKIP | Simplify agent |
113
- | Consistency | SKIP | Simplify agent |
112
+ | Naming | SKIP | Polish agent |
113
+ | Consistency | SKIP | Polish agent |
114
114
  | Documentation | PASS | JSDoc on public methods |
115
115
 
116
116
  ---
@@ -169,8 +169,8 @@ Implement order cancellation flow
169
169
 
170
170
  | Pillar | Status | Notes |
171
171
  |--------|--------|-------|
172
- | Naming | SKIP | Simplify agent |
173
- | Consistency | SKIP | Simplify agent |
172
+ | Naming | SKIP | Polish agent |
173
+ | Consistency | SKIP | Polish agent |
174
174
  | Documentation | FIXED | Added JSDoc explaining cancellation rules |
175
175
 
176
176
  **Fixes Applied**:
@@ -237,7 +237,7 @@ before implementing refund feature.
237
237
  |--------|--------|------------------------|
238
238
  | PASS | No issues found for this pillar | No change was needed |
239
239
  | FIXED | Issue found and resolved | Fixes were committed and every P0 and P1 is fixed |
240
- | SKIP | Naming and Consistency only - owned by the Simplify agent | - |
240
+ | SKIP | Naming and Consistency only - owned by the Polish agent | - |
241
241
  | BLOCKED | Cannot fix - requires escalation | A P0 cannot be fixed in scope |
242
242
 
243
243
  ---