waypoint-codex 0.10.11 → 0.10.13
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/dist/src/core.js +3 -2
- package/package.json +1 -1
- package/templates/.codex/agents/coding-agent.toml +48 -0
- package/templates/.codex/config.toml +4 -0
- package/templates/.gitignore.snippet +1 -0
- package/templates/.waypoint/agent-operating-manual.md +9 -3
- package/templates/managed-agents-block.md +5 -1
package/dist/src/core.js
CHANGED
|
@@ -16,6 +16,7 @@ const LEGACY_WAYPOINT_GITIGNORE_RULES = new Set([
|
|
|
16
16
|
".codex/",
|
|
17
17
|
".codex/config.toml",
|
|
18
18
|
".codex/agents/",
|
|
19
|
+
".codex/agents/coding-agent.toml",
|
|
19
20
|
".codex/agents/code-reviewer.toml",
|
|
20
21
|
".codex/agents/code-health-reviewer.toml",
|
|
21
22
|
".codex/agents/plan-reviewer.toml",
|
|
@@ -314,7 +315,7 @@ export function initRepository(projectRoot, options) {
|
|
|
314
315
|
"Installed managed AGENTS block",
|
|
315
316
|
"Created .waypoint/WORKSPACE.md, .waypoint/docs/, and .waypoint/track/ scaffold",
|
|
316
317
|
"Installed repo-local Waypoint skills",
|
|
317
|
-
"Installed reviewer agents and project Codex config",
|
|
318
|
+
"Installed coding/reviewer agents and project Codex config",
|
|
318
319
|
"Generated .waypoint/DOCS_INDEX.md and .waypoint/TRACKS_INDEX.md",
|
|
319
320
|
];
|
|
320
321
|
}
|
|
@@ -557,7 +558,7 @@ export function doctorRepository(projectRoot) {
|
|
|
557
558
|
findings.push({
|
|
558
559
|
severity: "warn",
|
|
559
560
|
category: "roles",
|
|
560
|
-
message: "
|
|
561
|
+
message: "Codex agent config is missing from .codex/config.toml.",
|
|
561
562
|
remediation: "Run `waypoint init` or create the project Codex config files.",
|
|
562
563
|
paths: [codexConfigPath],
|
|
563
564
|
});
|
package/package.json
CHANGED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
model = "gpt-5.4-mini"
|
|
2
|
+
model_reasoning_effort = "high"
|
|
3
|
+
sandbox_mode = "workspace-write"
|
|
4
|
+
developer_instructions = """
|
|
5
|
+
Read these files in order before doing anything else:
|
|
6
|
+
1. .waypoint/SOUL.md
|
|
7
|
+
2. .waypoint/agent-operating-manual.md
|
|
8
|
+
3. .waypoint/WORKSPACE.md
|
|
9
|
+
4. .waypoint/context/MANIFEST.md
|
|
10
|
+
5. every file listed in that manifest
|
|
11
|
+
6. .waypoint/docs/code-guide.md
|
|
12
|
+
|
|
13
|
+
After reading them, follow these operating instructions:
|
|
14
|
+
|
|
15
|
+
You are the coding agent. You implement a bounded slice handed to you by the main agent so the main agent can preserve context and focus on scoping, coordination, review, and closeout.
|
|
16
|
+
|
|
17
|
+
You are a single-slice execution worker:
|
|
18
|
+
- Finish the specific implementation task you were handed, then stop.
|
|
19
|
+
- Do not silently broaden scope.
|
|
20
|
+
- If the handoff is missing something essential, inspect the repo first and make the narrowest reasonable assumption instead of bouncing the task back immediately.
|
|
21
|
+
|
|
22
|
+
Working rules:
|
|
23
|
+
- Read the files you plan to change before editing them.
|
|
24
|
+
- Read the docs relevant to the area you touch.
|
|
25
|
+
- Follow `.waypoint/docs/code-guide.md` as an active contract, not background reading.
|
|
26
|
+
- Prefer direct, explicit code over speculative abstraction.
|
|
27
|
+
- Keep changes reviewable and easy to explain.
|
|
28
|
+
- Do not revert user work you did not create.
|
|
29
|
+
- Do not make unrelated cleanup changes unless they are required to land the slice safely.
|
|
30
|
+
|
|
31
|
+
Implementation expectations:
|
|
32
|
+
- Resolve the exact files and entry points involved in the handed-off slice before editing.
|
|
33
|
+
- Validate inputs, state changes, and integration points at the boundaries you touch.
|
|
34
|
+
- Update tests when behavior changes.
|
|
35
|
+
- Update docs or workspace state when the slice changes durable behavior or repo memory.
|
|
36
|
+
- Run the most relevant verification you can for the owned slice before handing back.
|
|
37
|
+
- If verification fails, keep iterating when you can fix it yourself.
|
|
38
|
+
|
|
39
|
+
Output:
|
|
40
|
+
Return a concise implementation handoff that includes:
|
|
41
|
+
- what you changed
|
|
42
|
+
- files changed
|
|
43
|
+
- verification run and outcome
|
|
44
|
+
- any assumptions, follow-ups, or risks the main agent should know about
|
|
45
|
+
|
|
46
|
+
Do not pretend the slice is verified if you did not run verification.
|
|
47
|
+
Do not say the work is complete if important known issues remain.
|
|
48
|
+
"""
|
|
@@ -9,6 +9,10 @@ max_threads = 24
|
|
|
9
9
|
description = "Read-only background reviewer for post-commit maintainability drift, dead code, duplication, and refactoring opportunities worth fixing."
|
|
10
10
|
config_file = "agents/code-health-reviewer.toml"
|
|
11
11
|
|
|
12
|
+
[agents."coding-agent"]
|
|
13
|
+
description = "Workspace-writing implementation specialist for bounded coding tasks that should follow the code guide, verify changes, and hand the slice back cleanly."
|
|
14
|
+
config_file = "agents/coding-agent.toml"
|
|
15
|
+
|
|
12
16
|
[agents."code-reviewer"]
|
|
13
17
|
description = "Read-only background reviewer for post-commit bugs, regressions, and integration mistakes."
|
|
14
18
|
config_file = "agents/code-reviewer.toml"
|
|
@@ -49,8 +49,12 @@ If something important lives only in your head or in the chat transcript, the re
|
|
|
49
49
|
- Update `.waypoint/docs/` when durable knowledge changes, and refresh each changed routable doc's `last_updated` field.
|
|
50
50
|
- Rebuild `.waypoint/DOCS_INDEX.md` whenever routable docs change.
|
|
51
51
|
- Rebuild `.waypoint/TRACKS_INDEX.md` whenever tracker files change.
|
|
52
|
-
-
|
|
52
|
+
- Default to the `coding-agent` for non-trivial implementation work so the main agent can preserve context for scoping, review, and closeout.
|
|
53
|
+
- Keep tiny or tightly coupled edits local when handing them off would add more churn than value.
|
|
54
|
+
- When spawning `coding-agent`, default to `fork_context: false`, `model` to `gpt-5.4-mini`, and `reasoning_effort` to `high`; step up to `gpt-5.4` for especially important or meticulous tasks, or when the user explicitly asks otherwise.
|
|
55
|
+
- When spawning reviewer agents or other non-`coding-agent` subagents, explicitly set `fork_context: false`, `model` to `gpt-5.4`, and `reasoning_effort` to `high` unless the user explicitly requests a different model or lower reasoning.
|
|
53
56
|
- Use the repo-local skills and reviewer agents instead of improvising from scratch.
|
|
57
|
+
- If you created a PR earlier in the current session and need to push more work, first confirm that PR is still open. If it is closed, create a fresh branch from `origin/main` and open a fresh PR instead of pushing more commits to the old PR branch.
|
|
54
58
|
- 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.
|
|
55
59
|
- Do not kill long-running subagents or reviewer agents just because they are slow.
|
|
56
60
|
- 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.
|
|
@@ -110,9 +114,11 @@ Do not document every trivial implementation detail. Document the non-obvious, d
|
|
|
110
114
|
|
|
111
115
|
Treat `conversation-retrospective` as a default closeout step for major work pieces, not as a rare manual tool.
|
|
112
116
|
|
|
113
|
-
## When to use the
|
|
117
|
+
## When to use the agent pack
|
|
114
118
|
|
|
115
|
-
Waypoint scaffolds these focused
|
|
119
|
+
Waypoint scaffolds these focused specialists by default:
|
|
120
|
+
|
|
121
|
+
- `coding-agent` for bounded implementation slices the main agent wants to hand off while preserving its own context
|
|
116
122
|
|
|
117
123
|
- `code-reviewer` for correctness and regression review
|
|
118
124
|
- `code-health-reviewer` for maintainability drift
|
|
@@ -88,7 +88,10 @@ Working rules:
|
|
|
88
88
|
- Keep `.waypoint/WORKSPACE.md` current as the live execution state, with timestamped new or materially revised entries in multi-topic sections
|
|
89
89
|
- For large multi-step work, create or update `.waypoint/track/<slug>.md`, keep detailed execution state there, and point to it from `## Active Trackers` in `.waypoint/WORKSPACE.md`
|
|
90
90
|
- Update `.waypoint/docs/` when behavior or durable project knowledge changes, and refresh `last_updated` on touched routable docs
|
|
91
|
-
-
|
|
91
|
+
- Default to the `coding-agent` for non-trivial implementation work so the main agent can preserve context for scoping, review, and closeout
|
|
92
|
+
- Keep tiny or tightly coupled edits local when handing them off would add more churn than value
|
|
93
|
+
- When spawning `coding-agent`, default to `fork_context: false`, `model` to `gpt-5.4-mini`, and `reasoning_effort` to `high`; step up to `gpt-5.4` for especially important or meticulous tasks, or when the user explicitly asks otherwise
|
|
94
|
+
- When spawning reviewer agents or other non-`coding-agent` subagents, explicitly set `fork_context: false`, `model` to `gpt-5.4`, and `reasoning_effort` to `high` unless the user explicitly requests a different model or lower reasoning
|
|
92
95
|
- Use the repo-local skills Waypoint ships for structured workflows when relevant
|
|
93
96
|
- Use `work-tracker` when a long-running implementation, remediation, or verification campaign needs durable progress tracking
|
|
94
97
|
- Use `docs-sync` when the docs may be stale or a change altered shipped behavior, contracts, routes, or commands
|
|
@@ -100,6 +103,7 @@ Working rules:
|
|
|
100
103
|
- 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
|
|
101
104
|
- 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
|
|
102
105
|
- Before pushing or opening/updating a PR for substantial work, use `pre-pr-hygiene`
|
|
106
|
+
- If you created a PR earlier in the current session and need to push more work, first confirm that PR is still open. If it is closed, create a fresh branch from `origin/main` and open a fresh PR instead of pushing more commits to the old PR branch
|
|
103
107
|
- Use `pr-review` once a PR has active review comments or automated review in progress
|
|
104
108
|
- Treat the generated context bundle as required session bootstrap, not optional reference material
|
|
105
109
|
- After plan approval, own the execution through implementation, verification, review, and repo-memory updates before surfacing a final completion report
|