waypoint-codex 0.10.6 → 0.10.7

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.
package/README.md CHANGED
@@ -157,9 +157,9 @@ Waypoint scaffolds these reviewer agents by default:
157
157
  - `code-reviewer`
158
158
  - `plan-reviewer`
159
159
 
160
- The intended workflow is closeout-based: run `code-reviewer` before considering any non-trivial implementation slice complete, and run `code-health-reviewer` before considering medium or large changes complete, especially when they add structure, duplicate logic, or introduce new abstractions. If both apply, run them in parallel. A recent self-authored commit is the preferred scope anchor when one cleanly represents the slice, but it is not the only valid trigger.
160
+ The intended workflow is closeout-based: run `code-reviewer` before considering any non-trivial implementation slice complete, and run `code-health-reviewer` before considering medium or large changes complete, especially when they add structure, duplicate logic, or introduce new abstractions. If both apply, run them in parallel. A recent self-authored commit is the preferred scope anchor when one cleanly represents the slice, but it is not the only valid trigger. Reviewer agents are one-shot workers: once a reviewer returns findings, close it, and if another pass is needed later, spawn a fresh reviewer instead of reusing the old thread.
161
161
 
162
- For planning work, run `plan-reviewer` before presenting a non-trivial implementation plan to the user and iterate until it has no meaningful review findings left.
162
+ For planning work, run `plan-reviewer` before presenting a non-trivial implementation plan to the user and iterate until it has no meaningful review findings left. Each pass should use a fresh `plan-reviewer` agent rather than reusing a previous reviewer thread.
163
163
 
164
164
  When the user approves a reviewed plan or explicitly says to proceed, the intended Waypoint behavior is autonomous execution: keep going through implementation, verification, review, and repo-memory updates unless a real blocker or materially risky unresolved decision requires a pause. If reviewers, subagents, CI, or other external work are still running, Waypoint should wait as long as necessary rather than interrupting them for speed. For PR work, placeholder automated-review states like CodeRabbit's "review in progress" do not count as a completed review.
165
165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waypoint-codex",
3
- "version": "0.10.6",
3
+ "version": "0.10.7",
4
4
  "description": "Codex-native repository operating system: scaffolding, docs routing, repo-local skills, doctor, and sync.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -10,6 +10,8 @@ Read these files in order before doing anything else:
10
10
 
11
11
  After reading them, follow these operating instructions:
12
12
 
13
+ This reviewer agent is single-use: return one review pass, then stop. If the main agent wants another pass later, it should spawn a fresh reviewer instead of reusing you.
14
+
13
15
  You are a Code Health specialist. You find maintainability issues and technical debt that accumulate during iterative development.
14
16
 
15
17
  Read the docs relevant to the area under review.
@@ -10,6 +10,8 @@ Read these files in order before doing anything else:
10
10
 
11
11
  After reading them, follow these operating instructions:
12
12
 
13
+ This reviewer agent is single-use: return one review pass, then stop. If the main agent wants another pass later, it should spawn a fresh reviewer instead of reusing you.
14
+
13
15
  You are a code reviewer. Find bugs that matter - logic errors, data flow issues, edge cases, pattern inconsistencies. Not checklist items.
14
16
 
15
17
  Read the docs relevant to the changed area.
@@ -10,6 +10,8 @@ Read these files in order before doing anything else:
10
10
 
11
11
  After reading them, follow these operating instructions:
12
12
 
13
+ This reviewer agent is single-use: return one review pass, then stop. If the main agent wants another pass later, it should spawn a fresh reviewer instead of reusing you.
14
+
13
15
  You are an elite Plan Review Architect. Your reviews are the last line of defense before resources are committed.
14
16
 
15
17
  Read the docs relevant to the area the plan touches.
@@ -50,6 +50,7 @@ If something important lives only in your head or in the chat transcript, the re
50
50
  - Rebuild `.waypoint/DOCS_INDEX.md` whenever routable docs change.
51
51
  - Rebuild `.waypoint/TRACKS_INDEX.md` whenever tracker files change.
52
52
  - Use the repo-local skills and reviewer agents instead of improvising from scratch.
53
+ - Treat reviewer agents as one-shot workers: once a reviewer returns findings, read the result and close it. If another review pass is needed later, spawn a fresh reviewer instead of reusing the same thread.
53
54
  - Do not kill long-running subagents or reviewer agents just because they are slow.
54
55
  - When waiting on reviewers, subagents, CI, automated review, or external jobs, wait as long as required. There is no fixed timeout where waiting itself becomes the problem.
55
56
  - Never interrupt in-flight work just to force a partial result, salvage something quickly, or avoid making the user wait longer.
@@ -121,6 +122,7 @@ Run `plan-reviewer` before presenting a non-trivial implementation plan to the u
121
122
 
122
123
  - Use it when the plan includes meaningful design choices, multiple work phases, migrations, or non-obvious tradeoffs.
123
124
  - Skip it for tiny obvious plans or when no plan will be presented.
125
+ - Use a fresh `plan-reviewer` agent for each pass. After you read its findings, close it instead of reusing the old reviewer thread.
124
126
  - Read the reviewer result, strengthen the plan, and rerun `plan-reviewer` until there are no meaningful issues left before showing the plan to the user.
125
127
 
126
128
  ## Review Loop
@@ -130,12 +132,14 @@ Use reviewer agents before considering the work complete, not just as a reflex a
130
132
  1. Run `code-reviewer` before considering any non-trivial implementation slice complete.
131
133
  2. Run `code-health-reviewer` before considering medium or large changes complete, especially when they add structure, duplicate logic, or introduce new abstractions.
132
134
  3. If both apply, launch `code-reviewer` and `code-health-reviewer` in parallel as background, read-only reviewers.
133
- 4. If you have a recent self-authored commit that cleanly represents the reviewable slice, use it as the default review scope anchor. Otherwise scope the reviewers to the current changed slice.
134
- 5. Widen only when surrounding files are needed to validate a finding.
135
- 6. Do not call the work finished before you read the required reviewer results.
136
- 7. Wait for reviewer outputs even if that requires repeated or long waits. Do not interrupt them just because they are still running.
137
- 8. Fix real findings, rerun the relevant verification, update workspace/docs if needed, and make a follow-up commit when fixes change the repo.
138
- 9. Do not call a PR clear, ready, or done until the required reviewer-agent passes for the current slice have actually run.
135
+ 4. Treat reviewer agents as one-shot workers. Once a reviewer returns its findings, read the result and close it.
136
+ 5. If you need another review pass after changes, spawn a fresh reviewer agent rather than reusing the old thread.
137
+ 6. If you have a recent self-authored commit that cleanly represents the reviewable slice, use it as the default review scope anchor. Otherwise scope the reviewers to the current changed slice.
138
+ 7. Widen only when surrounding files are needed to validate a finding.
139
+ 8. Do not call the work finished before you read the required reviewer results.
140
+ 9. Wait for reviewer outputs even if that requires repeated or long waits. Do not interrupt them just because they are still running.
141
+ 10. Fix real findings, rerun the relevant verification, update workspace/docs if needed, and make a follow-up commit when fixes change the repo.
142
+ 11. Do not call a PR clear, ready, or done until the required reviewer-agent passes for the current slice have actually run.
139
143
 
140
144
  ## Quality bar
141
145
 
@@ -85,6 +85,7 @@ Working rules:
85
85
  - Before presenting a non-trivial implementation plan to the user, run `plan-reviewer` and iterate on the plan until it has no meaningful review findings left
86
86
  - Before considering a non-trivial implementation slice complete, run `code-reviewer`; use a recent self-authored commit as the default scope anchor when one cleanly represents that slice
87
87
  - Before considering medium or large changes complete, run `code-health-reviewer`, especially when they add structure, duplicate logic, or introduce new abstractions
88
+ - Treat `plan-reviewer`, `code-reviewer`, and `code-health-reviewer` as one-shot agents: once a reviewer returns findings, close it; if another pass is needed later, spawn a fresh reviewer instead of reusing the old thread
88
89
  - Before pushing or opening/updating a PR for substantial work, use `pre-pr-hygiene`
89
90
  - Use `pr-review` once a PR has active review comments or automated review in progress
90
91
  - Treat the generated context bundle as required session bootstrap, not optional reference material