waypoint-codex 0.9.8 → 0.10.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.
- package/README.md +6 -1
- package/dist/src/core.js +1 -0
- package/package.json +1 -1
- package/templates/.agents/skills/conversation-retrospective/SKILL.md +98 -0
- package/templates/.agents/skills/conversation-retrospective/agents/openai.yaml +4 -0
- package/templates/.agents/skills/planning/SKILL.md +1 -0
- package/templates/.agents/skills/pr-review/SKILL.md +3 -0
- package/templates/.gitignore.snippet +1 -0
- package/templates/.waypoint/SOUL.md +2 -0
- package/templates/.waypoint/agent-operating-manual.md +28 -1
- package/templates/managed-agents-block.md +4 -0
package/README.md
CHANGED
|
@@ -137,6 +137,7 @@ Waypoint ships a strong default skill pack for real coding work:
|
|
|
137
137
|
- `docs-sync`
|
|
138
138
|
- `code-guide-audit`
|
|
139
139
|
- `break-it-qa`
|
|
140
|
+
- `conversation-retrospective`
|
|
140
141
|
- `frontend-ship-audit`
|
|
141
142
|
- `backend-ship-audit`
|
|
142
143
|
- `workspace-compress`
|
|
@@ -144,7 +145,7 @@ Waypoint ships a strong default skill pack for real coding work:
|
|
|
144
145
|
- `pr-review`
|
|
145
146
|
|
|
146
147
|
These are repo-local, so the workflow travels with the project.
|
|
147
|
-
`break-it-qa`, `frontend-ship-audit`, and `backend-ship-audit` are
|
|
148
|
+
`conversation-retrospective`, `break-it-qa`, `frontend-ship-audit`, and `backend-ship-audit` are on-demand skills, not default autonomous agent steps.
|
|
148
149
|
|
|
149
150
|
## Reviewer agents
|
|
150
151
|
|
|
@@ -156,6 +157,10 @@ Waypoint scaffolds these reviewer agents by default:
|
|
|
156
157
|
|
|
157
158
|
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.
|
|
158
159
|
|
|
160
|
+
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.
|
|
161
|
+
|
|
162
|
+
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.
|
|
163
|
+
|
|
159
164
|
## What makes it different
|
|
160
165
|
|
|
161
166
|
Waypoint is not trying to hide everything behind hooks and background machinery.
|
package/dist/src/core.js
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: conversation-retrospective
|
|
3
|
+
description: Analyze the active conversation for durable repo knowledge, skill improvements, and repeated workflow patterns. Use when the user asks to save what was learned from the current conversation, update memory/docs without more prompting, improve skills that were used or exposed gaps, or propose new skills based on repetitive work in the live thread.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Conversation Retrospective
|
|
7
|
+
|
|
8
|
+
Use this skill to harvest the active conversation into the repo's existing memory system.
|
|
9
|
+
|
|
10
|
+
This skill works from the live conversation already in context. Do not go hunting through archived session files unless the user explicitly asks for that.
|
|
11
|
+
|
|
12
|
+
This is a closeout and distillation workflow, not a generic planning pass or a broad docs audit.
|
|
13
|
+
|
|
14
|
+
## Read First
|
|
15
|
+
|
|
16
|
+
Before persisting anything:
|
|
17
|
+
|
|
18
|
+
1. Read the repo's main agent guidance and project-context files
|
|
19
|
+
2. Read the repo's current durable memory surfaces, such as docs, workspace/handoff files, trackers, decision logs, or knowledge files
|
|
20
|
+
3. Read the exact docs, notes, and skill files that the conversation touched
|
|
21
|
+
|
|
22
|
+
Do not assume the repo uses Waypoint. Adapt to the memory structure that already exists.
|
|
23
|
+
|
|
24
|
+
## Step 1: Distill Durable Knowledge
|
|
25
|
+
|
|
26
|
+
Review the current conversation and separate:
|
|
27
|
+
|
|
28
|
+
- durable project knowledge
|
|
29
|
+
- live execution state
|
|
30
|
+
- transient chatter
|
|
31
|
+
|
|
32
|
+
Persist without asking follow-up questions when the correct destination is clear.
|
|
33
|
+
|
|
34
|
+
Write durable knowledge to the smallest truthful home the repo already uses:
|
|
35
|
+
|
|
36
|
+
- the main docs or knowledge layer for architecture, behavior, decisions, debugging knowledge, durable plans, and reusable operating guidance
|
|
37
|
+
- the repo's standing guidance file for durable project context or long-lived working rules
|
|
38
|
+
- the repo's live handoff or workspace file for current state, blockers, and immediate next steps
|
|
39
|
+
- the repo's tracker or execution-log layer when the conversation created or materially changed a long-running workstream
|
|
40
|
+
|
|
41
|
+
If the repo uses doc metadata such as `last_updated`, refresh it when needed.
|
|
42
|
+
|
|
43
|
+
If the repo has no obvious durable home but the need is clear, create the smallest coherent doc or note that fits the surrounding patterns instead of leaving the learning only in chat.
|
|
44
|
+
|
|
45
|
+
Do not leave important truths only in chat.
|
|
46
|
+
|
|
47
|
+
## Step 2: Improve Existing Skills
|
|
48
|
+
|
|
49
|
+
Identify which skills were actually used in this conversation, or which existing skills clearly should have covered the workflow but left avoidable gaps.
|
|
50
|
+
|
|
51
|
+
For each affected skill:
|
|
52
|
+
|
|
53
|
+
- read the existing skill before editing it
|
|
54
|
+
- update only reusable guidance, not one-off transcript details
|
|
55
|
+
- add missing guardrails, path hints, failure modes, decision rules, or references that would have made the conversation easier to complete
|
|
56
|
+
- keep `SKILL.md` concise; prefer targeted structural improvements over turning the skill into a diary
|
|
57
|
+
|
|
58
|
+
If the environment has both a source-of-truth skill and one or more mirrored or installed copies, update the source-of-truth version and any copies the user expects to stay in sync.
|
|
59
|
+
|
|
60
|
+
Do not assume there is only one skill location, and do not assume there are many.
|
|
61
|
+
|
|
62
|
+
## Step 3: Propose New Skills
|
|
63
|
+
|
|
64
|
+
When the conversation revealed repetitive work that existing skills do not cover well:
|
|
65
|
+
|
|
66
|
+
- do not silently scaffold a new skill unless the user asked for implementation
|
|
67
|
+
- record the proposal in the repo's existing docs or idea-capture layer
|
|
68
|
+
|
|
69
|
+
If there is no obvious place for durable skill proposals, create a small doc such as `skill-ideas.md` in the repo's normal docs area.
|
|
70
|
+
|
|
71
|
+
Each proposal should include:
|
|
72
|
+
|
|
73
|
+
- the repeated workflow or problem
|
|
74
|
+
- likely trigger phrases
|
|
75
|
+
- expected outputs or side effects
|
|
76
|
+
- why existing skills were insufficient
|
|
77
|
+
|
|
78
|
+
Skip this doc when there is no real new-skill candidate.
|
|
79
|
+
|
|
80
|
+
## Step 4: Refresh Repo Memory
|
|
81
|
+
|
|
82
|
+
After changing docs, handoff state, trackers, or skills:
|
|
83
|
+
|
|
84
|
+
- run whatever repo-local refresh or index step the project uses, if one exists
|
|
85
|
+
- otherwise make sure the edited memory surfaces are internally consistent and discoverable
|
|
86
|
+
|
|
87
|
+
Do not invent a refresh command when the repo does not have one.
|
|
88
|
+
|
|
89
|
+
## Step 5: Report
|
|
90
|
+
|
|
91
|
+
Summarize:
|
|
92
|
+
|
|
93
|
+
- what durable knowledge you saved and where
|
|
94
|
+
- which skills you improved
|
|
95
|
+
- which new skill ideas you recorded, if any
|
|
96
|
+
- what you intentionally left unpersisted because it was transient
|
|
97
|
+
|
|
98
|
+
If no substantive persistence changes were needed, say that explicitly instead of inventing updates.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Conversation Retrospective"
|
|
3
|
+
short_description: "Harvest the live conversation into repo memory"
|
|
4
|
+
default_prompt: "Use this skill to analyze the active conversation, save durable knowledge into the repo's existing docs, memory, guidance, handoff, or tracker surfaces, improve any skills that were used or exposed gaps, and record new skill ideas without asking follow-up questions when the correct destination is clear."
|
|
@@ -145,6 +145,7 @@ When the plan doc is written:
|
|
|
145
145
|
- give a short chat summary
|
|
146
146
|
- include the doc path
|
|
147
147
|
- call out any unresolved decisions that still need the user's input
|
|
148
|
+
- if there are no unresolved decisions and the user approves the plan, treat that approval as authorization to execute the plan end to end rather than asking again at each obvious next step
|
|
148
149
|
|
|
149
150
|
## Quality Bar
|
|
150
151
|
|
|
@@ -10,8 +10,10 @@ Use this skill to drive the PR through review instead of treating review as a on
|
|
|
10
10
|
## Step 1: Wait For Review To Settle
|
|
11
11
|
|
|
12
12
|
- Check the PR's current review and CI status.
|
|
13
|
+
- If CI is red or pending, inspect the failed check logs before triaging review comments so you do not chase comment fixes while a separate blocker is breaking the branch.
|
|
13
14
|
- If automated review is still running, wait for it to finish instead of racing it.
|
|
14
15
|
- If comments are still arriving, do not prematurely declare the loop complete.
|
|
16
|
+
- For stacked or non-`main` PRs, explicitly compare the PR head against its base branch and make sure later fixes on the base branch have actually been merged or rebased forward. Do not assume a sibling/base PR fix is already present in the dependent PR.
|
|
15
17
|
|
|
16
18
|
## Step 2: Read Every Review Comment
|
|
17
19
|
|
|
@@ -33,6 +35,7 @@ Do not leave comments unanswered.
|
|
|
33
35
|
|
|
34
36
|
- Make the needed fixes.
|
|
35
37
|
- rerun the relevant verification
|
|
38
|
+
- if the PR is stacked, repeat the base-vs-head sanity check after pushes so you catch missing forward-merges before the next CI cycle
|
|
36
39
|
- push follow-up commit(s)
|
|
37
40
|
- return to the PR and continue the loop
|
|
38
41
|
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
.agents/skills/backend-context-interview/
|
|
13
13
|
.agents/skills/frontend-ship-audit/
|
|
14
14
|
.agents/skills/backend-ship-audit/
|
|
15
|
+
.agents/skills/conversation-retrospective/
|
|
15
16
|
.agents/skills/workspace-compress/
|
|
16
17
|
.agents/skills/pre-pr-hygiene/
|
|
17
18
|
.agents/skills/pr-review/
|
|
@@ -20,6 +20,8 @@ You're direct, opinionated, and evidence-driven. You read before you write. You
|
|
|
20
20
|
|
|
21
21
|
**Correctness beats theater.** No fake verification. No fake confidence. No pretending a shallow answer is good enough.
|
|
22
22
|
|
|
23
|
+
**Approval means ownership.** Once the human approves a plan or tells you to proceed, keep driving until the work is actually complete unless a real blocker or risky unresolved decision requires a pause.
|
|
24
|
+
|
|
23
25
|
## How You Work
|
|
24
26
|
|
|
25
27
|
**Read before you write.** Never modify code you haven't read.
|
|
@@ -43,6 +43,7 @@ If something important lives only in your head or in the chat transcript, the re
|
|
|
43
43
|
|
|
44
44
|
- Read code before editing it.
|
|
45
45
|
- Follow the repo's documented patterns when they are healthy.
|
|
46
|
+
- If the user approves a plan or explicitly tells you to proceed, treat that as authorization to finish the approved work end to end.
|
|
46
47
|
- Update `.waypoint/WORKSPACE.md` as live execution state when progress meaningfully changes. In multi-topic sections, prefix new or materially revised bullets with a local timestamp like `[2026-03-06 20:10 PST]`.
|
|
47
48
|
- For large multi-step work, create or update a tracker in `.waypoint/track/`, keep detailed execution state there, and point at it from `## Active Trackers` in `.waypoint/WORKSPACE.md`.
|
|
48
49
|
- Update `.waypoint/docs/` when durable knowledge changes, and refresh each changed routable doc's `last_updated` field.
|
|
@@ -51,6 +52,24 @@ If something important lives only in your head or in the chat transcript, the re
|
|
|
51
52
|
- Use the repo-local skills and reviewer agents instead of improvising from scratch.
|
|
52
53
|
- Do not kill long-running subagents or reviewer agents just because they are slow. Wait unless they are clearly stuck, failed, or the user redirects the work.
|
|
53
54
|
|
|
55
|
+
## Execution autonomy
|
|
56
|
+
|
|
57
|
+
Once the user has approved a plan or otherwise told you to continue, own the work until the slice is genuinely complete.
|
|
58
|
+
|
|
59
|
+
That means:
|
|
60
|
+
|
|
61
|
+
- continue through implementation, verification, reviewer passes, and required docs/workspace updates without asking for incremental permission
|
|
62
|
+
- use commentary for short progress updates, not as a handoff back to the user
|
|
63
|
+
- do not stop just to announce the next obvious step and ask whether to do it
|
|
64
|
+
|
|
65
|
+
Pause only when:
|
|
66
|
+
|
|
67
|
+
- a real blocker prevents forward progress
|
|
68
|
+
- a hidden-risk or non-obvious decision would materially change scope, behavior, cost, or data safety
|
|
69
|
+
- the user explicitly redirects, pauses, or narrows the work
|
|
70
|
+
|
|
71
|
+
If none of those are true, keep going.
|
|
72
|
+
|
|
54
73
|
## Documentation expectations
|
|
55
74
|
|
|
56
75
|
Document the things the next agent cannot safely infer from raw code alone:
|
|
@@ -82,7 +101,15 @@ Waypoint scaffolds these focused second-pass specialists by default:
|
|
|
82
101
|
|
|
83
102
|
- `code-reviewer` for correctness and regression review
|
|
84
103
|
- `code-health-reviewer` for maintainability drift
|
|
85
|
-
- `plan-reviewer` to challenge
|
|
104
|
+
- `plan-reviewer` to challenge non-trivial implementation plans before they are shown to the user
|
|
105
|
+
|
|
106
|
+
## Plan Review
|
|
107
|
+
|
|
108
|
+
Run `plan-reviewer` before presenting a non-trivial implementation plan to the user.
|
|
109
|
+
|
|
110
|
+
- Use it when the plan includes meaningful design choices, multiple work phases, migrations, or non-obvious tradeoffs.
|
|
111
|
+
- Skip it for tiny obvious plans or when no plan will be presented.
|
|
112
|
+
- 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.
|
|
86
113
|
|
|
87
114
|
## Review Loop
|
|
88
115
|
|
|
@@ -66,6 +66,8 @@ If some uncertainty still remains after checking persisted context and interview
|
|
|
66
66
|
|
|
67
67
|
Prefer existing persisted context over re-interviewing the user.
|
|
68
68
|
|
|
69
|
+
If the user approves a plan or explicitly tells you to proceed, treat that as authorization to execute the work end to end. Do not stop mid-implementation for incremental permission unless a real blocker, hidden-risk decision, or explicit user redirect requires a pause.
|
|
70
|
+
|
|
69
71
|
Working rules:
|
|
70
72
|
- Keep `.waypoint/WORKSPACE.md` current as the live execution state, with timestamped new or materially revised entries in multi-topic sections
|
|
71
73
|
- 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`
|
|
@@ -75,9 +77,11 @@ Working rules:
|
|
|
75
77
|
- Use `docs-sync` when the docs may be stale or a change altered shipped behavior, contracts, routes, or commands
|
|
76
78
|
- Use `code-guide-audit` for a targeted coding-guide compliance pass on a specific feature, file set, or change slice
|
|
77
79
|
- Do not invoke `break-it-qa`, `frontend-ship-audit`, or `backend-ship-audit` yourself from the managed AGENTS block workflow; they are user-facing skills for explicit human-requested QA or ship-readiness audits, not default agent steps
|
|
80
|
+
- 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
|
|
78
81
|
- 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
|
|
79
82
|
- Before considering medium or large changes complete, run `code-health-reviewer`, especially when they add structure, duplicate logic, or introduce new abstractions
|
|
80
83
|
- Before pushing or opening/updating a PR for substantial work, use `pre-pr-hygiene`
|
|
81
84
|
- Use `pr-review` once a PR has active review comments or automated review in progress
|
|
82
85
|
- Treat the generated context bundle as required session bootstrap, not optional reference material
|
|
86
|
+
- After plan approval, own the execution through implementation, verification, review, and repo-memory updates before surfacing a final completion report
|
|
83
87
|
<!-- waypoint:end -->
|