waypoint-codex 0.11.0 → 0.12.1
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 +2 -2
- package/dist/src/core.js +19 -3
- package/package.json +1 -1
- package/templates/.codex/agents/coding-agent.toml +1 -1
- package/templates/.gitignore.snippet +11 -3
- package/templates/.waypoint/README.md +1 -1
- package/templates/.waypoint/agent-operating-manual.md +3 -3
- package/templates/managed-agents-block.md +2 -2
- /package/templates/{MEMORY.md → .waypoint/MEMORY.md} +0 -0
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ That keeps the default conversation focused on diagnosis, progress, and verifica
|
|
|
55
55
|
Waypoint scaffolds a Codex-friendly repo around a few core pieces:
|
|
56
56
|
|
|
57
57
|
- `AGENTS.md` for the startup contract
|
|
58
|
-
-
|
|
58
|
+
- `.waypoint/MEMORY.md` for durable user/team preferences and collaboration context
|
|
59
59
|
- `.waypoint/WORKSPACE.md` for live operational state
|
|
60
60
|
- `.waypoint/docs/` for durable project memory
|
|
61
61
|
- `.waypoint/DOCS_INDEX.md` for docs routing
|
|
@@ -97,7 +97,6 @@ That gives you a repo that looks roughly like this:
|
|
|
97
97
|
```text
|
|
98
98
|
repo/
|
|
99
99
|
├── AGENTS.md
|
|
100
|
-
├── MEMORY.md
|
|
101
100
|
├── .codex/
|
|
102
101
|
│ ├── agents/
|
|
103
102
|
│ └── config.toml
|
|
@@ -105,6 +104,7 @@ repo/
|
|
|
105
104
|
│ └── skills/
|
|
106
105
|
└── .waypoint/
|
|
107
106
|
├── DOCS_INDEX.md
|
|
107
|
+
├── MEMORY.md
|
|
108
108
|
├── TRACKS_INDEX.md
|
|
109
109
|
├── WORKSPACE.md
|
|
110
110
|
├── docs/
|
package/dist/src/core.js
CHANGED
|
@@ -7,6 +7,7 @@ import { readTemplate, renderWaypointConfig, MANAGED_BLOCK_END, MANAGED_BLOCK_ST
|
|
|
7
7
|
const DEFAULT_CONFIG_PATH = ".waypoint/config.toml";
|
|
8
8
|
const DEFAULT_DOCS_DIR = ".waypoint/docs";
|
|
9
9
|
const DEFAULT_DOCS_INDEX = ".waypoint/DOCS_INDEX.md";
|
|
10
|
+
const DEFAULT_MEMORY = ".waypoint/MEMORY.md";
|
|
10
11
|
const DEFAULT_TRACK_DIR = ".waypoint/track";
|
|
11
12
|
const DEFAULT_TRACKS_INDEX = ".waypoint/TRACKS_INDEX.md";
|
|
12
13
|
const DEFAULT_WORKSPACE = ".waypoint/WORKSPACE.md";
|
|
@@ -37,11 +38,20 @@ const LEGACY_WAYPOINT_GITIGNORE_RULES = new Set([
|
|
|
37
38
|
".agents/skills/workspace-compress/",
|
|
38
39
|
".agents/skills/pre-pr-hygiene/",
|
|
39
40
|
".agents/skills/pr-review/",
|
|
41
|
+
".waypoint/config.toml",
|
|
42
|
+
".waypoint/README.md",
|
|
43
|
+
".waypoint/SOUL.md",
|
|
44
|
+
".waypoint/WORKSPACE.md",
|
|
45
|
+
".waypoint/agent-operating-manual.md",
|
|
40
46
|
".waypoint/",
|
|
41
47
|
".waypoint/DOCS_INDEX.md",
|
|
48
|
+
".waypoint/TRACKS_INDEX.md",
|
|
42
49
|
".waypoint/state/",
|
|
43
50
|
".waypoint/context/",
|
|
51
|
+
".waypoint/scripts/",
|
|
52
|
+
".waypoint/track/",
|
|
44
53
|
".waypoint/*",
|
|
54
|
+
"!.waypoint/MEMORY.md",
|
|
45
55
|
"!.waypoint/docs/",
|
|
46
56
|
"!.waypoint/docs/**",
|
|
47
57
|
".waypoint/docs/README.md",
|
|
@@ -97,7 +107,13 @@ function migrateLegacyRootFiles(projectRoot) {
|
|
|
97
107
|
if (existsSync(legacyWorkspace) && !existsSync(newWorkspace)) {
|
|
98
108
|
writeText(newWorkspace, readFileSync(legacyWorkspace, "utf8"));
|
|
99
109
|
}
|
|
110
|
+
const legacyMemory = path.join(projectRoot, "MEMORY.md");
|
|
111
|
+
const newMemory = path.join(projectRoot, DEFAULT_MEMORY);
|
|
112
|
+
if (existsSync(legacyMemory) && !existsSync(newMemory)) {
|
|
113
|
+
writeText(newMemory, readFileSync(legacyMemory, "utf8"));
|
|
114
|
+
}
|
|
100
115
|
removePathIfExists(legacyWorkspace);
|
|
116
|
+
removePathIfExists(legacyMemory);
|
|
101
117
|
removePathIfExists(path.join(projectRoot, "DOCS_INDEX.md"));
|
|
102
118
|
}
|
|
103
119
|
function appendGitignoreSnippet(projectRoot) {
|
|
@@ -293,7 +309,7 @@ export function initRepository(projectRoot, options) {
|
|
|
293
309
|
writeText(path.join(projectRoot, ".waypoint/README.md"), readTemplate(".waypoint/README.md"));
|
|
294
310
|
writeText(path.join(projectRoot, ".waypoint/SOUL.md"), readTemplate(".waypoint/SOUL.md"));
|
|
295
311
|
writeText(path.join(projectRoot, ".waypoint/agent-operating-manual.md"), readTemplate(".waypoint/agent-operating-manual.md"));
|
|
296
|
-
writeIfMissing(path.join(projectRoot,
|
|
312
|
+
writeIfMissing(path.join(projectRoot, DEFAULT_MEMORY), readTemplate(".waypoint/MEMORY.md"));
|
|
297
313
|
scaffoldWaypointOptionalTemplates(projectRoot);
|
|
298
314
|
writeText(path.join(projectRoot, DEFAULT_CONFIG_PATH), renderWaypointConfig({
|
|
299
315
|
profile: options.profile,
|
|
@@ -314,7 +330,7 @@ export function initRepository(projectRoot, options) {
|
|
|
314
330
|
return [
|
|
315
331
|
"Initialized Waypoint scaffold",
|
|
316
332
|
"Installed managed AGENTS block",
|
|
317
|
-
"Created MEMORY.md, .waypoint/WORKSPACE.md, .waypoint/docs/, and .waypoint/track/ scaffold",
|
|
333
|
+
"Created .waypoint/MEMORY.md, .waypoint/WORKSPACE.md, .waypoint/docs/, and .waypoint/track/ scaffold",
|
|
318
334
|
"Installed repo-local Waypoint skills",
|
|
319
335
|
"Installed coding/reviewer agents and project Codex config",
|
|
320
336
|
"Generated .waypoint/DOCS_INDEX.md and .waypoint/TRACKS_INDEX.md",
|
|
@@ -426,7 +442,7 @@ export function doctorRepository(projectRoot) {
|
|
|
426
442
|
}
|
|
427
443
|
}
|
|
428
444
|
for (const requiredFile of [
|
|
429
|
-
path.join(projectRoot,
|
|
445
|
+
path.join(projectRoot, DEFAULT_MEMORY),
|
|
430
446
|
path.join(projectRoot, ".waypoint", "SOUL.md"),
|
|
431
447
|
path.join(projectRoot, ".waypoint", "agent-operating-manual.md"),
|
|
432
448
|
path.join(projectRoot, ".waypoint", "scripts", "prepare-context.mjs"),
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ sandbox_mode = "workspace-write"
|
|
|
4
4
|
developer_instructions = """
|
|
5
5
|
Read these files in order before doing anything else:
|
|
6
6
|
1. .waypoint/SOUL.md
|
|
7
|
-
2. MEMORY.md if it exists
|
|
7
|
+
2. .waypoint/MEMORY.md if it exists
|
|
8
8
|
3. .waypoint/agent-operating-manual.md
|
|
9
9
|
4. .waypoint/WORKSPACE.md
|
|
10
10
|
5. .waypoint/context/MANIFEST.md
|
|
@@ -19,9 +19,17 @@
|
|
|
19
19
|
.agents/skills/workspace-compress/
|
|
20
20
|
.agents/skills/pre-pr-hygiene/
|
|
21
21
|
.agents/skills/pr-review/
|
|
22
|
-
.waypoint
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
.waypoint/config.toml
|
|
23
|
+
.waypoint/README.md
|
|
24
|
+
.waypoint/SOUL.md
|
|
25
|
+
.waypoint/WORKSPACE.md
|
|
26
|
+
.waypoint/agent-operating-manual.md
|
|
27
|
+
.waypoint/DOCS_INDEX.md
|
|
28
|
+
.waypoint/TRACKS_INDEX.md
|
|
29
|
+
.waypoint/context/
|
|
30
|
+
.waypoint/scripts/
|
|
31
|
+
.waypoint/state/
|
|
32
|
+
.waypoint/track/
|
|
25
33
|
.waypoint/docs/README.md
|
|
26
34
|
.waypoint/docs/code-guide.md
|
|
27
35
|
# End Waypoint state
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Repo-local Waypoint configuration and project memory files.
|
|
4
4
|
|
|
5
|
-
-
|
|
5
|
+
- `MEMORY.md` — durable user/team preferences, collaboration context, and stable product defaults
|
|
6
6
|
- `config.toml` — Waypoint feature toggles and file locations
|
|
7
7
|
- `WORKSPACE.md` — live operational state; new or materially revised entries in multi-topic sections are timestamped
|
|
8
8
|
- `DOCS_INDEX.md` — generated docs routing map
|
|
@@ -18,7 +18,7 @@ Bootstrap sequence:
|
|
|
18
18
|
|
|
19
19
|
1. Run `node .waypoint/scripts/prepare-context.mjs`
|
|
20
20
|
2. Read `.waypoint/SOUL.md`
|
|
21
|
-
3. Read
|
|
21
|
+
3. Read `.waypoint/MEMORY.md` if it exists
|
|
22
22
|
4. Read this file
|
|
23
23
|
5. Read `.waypoint/WORKSPACE.md`
|
|
24
24
|
6. Read `.waypoint/context/MANIFEST.md`
|
|
@@ -35,7 +35,7 @@ Do not skip this sequence.
|
|
|
35
35
|
|
|
36
36
|
The repository should contain the context the next agent needs.
|
|
37
37
|
|
|
38
|
-
-
|
|
38
|
+
- `.waypoint/MEMORY.md` is the durable user/team memory layer: collaboration preferences, stable defaults, and long-lived context that should survive across sessions
|
|
39
39
|
- `.waypoint/WORKSPACE.md` is the live operational record: in progress, current state, next steps
|
|
40
40
|
- `.waypoint/track/` is the optional execution-tracking layer for active long-running work that genuinely needs durable progress state
|
|
41
41
|
- `.waypoint/docs/` is the durable project memory: architecture, decisions, integration notes, debugging knowledge, and durable plans
|
|
@@ -51,7 +51,7 @@ If something important lives only in your head or in the chat transcript, the re
|
|
|
51
51
|
- When the user shows a bug, screenshot, or broken behavior, investigate first. Lead with what is happening, why it is likely happening, what you checked, and what you are doing next.
|
|
52
52
|
- Do not lead with readiness disclaimers such as "I can't call this done yet" unless the user explicitly asked whether the work is ready, shippable, or complete.
|
|
53
53
|
- Honesty means accurate diagnosis, explicit uncertainty, and clear verification limits. It does not mean substituting process language for investigation.
|
|
54
|
-
- Update
|
|
54
|
+
- Update `.waypoint/MEMORY.md` only when you learned a durable user/team preference, collaboration rule, or stable product default.
|
|
55
55
|
- 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]`.
|
|
56
56
|
- For large multi-step work that is likely to span sessions or needs durable progress state, create or update a tracker in `.waypoint/track/`, keep detailed execution state there, and point at it from `## Active Trackers` in `.waypoint/WORKSPACE.md`.
|
|
57
57
|
- Update `.waypoint/docs/` when durable knowledge changes, and refresh each changed routable doc's `last_updated` field.
|
|
@@ -17,7 +17,7 @@ Run the Waypoint bootstrap only in these cases:
|
|
|
17
17
|
Bootstrap sequence:
|
|
18
18
|
1. Run `node .waypoint/scripts/prepare-context.mjs`
|
|
19
19
|
2. Read `.waypoint/SOUL.md`
|
|
20
|
-
3. Read
|
|
20
|
+
3. Read `.waypoint/MEMORY.md` if it exists
|
|
21
21
|
4. Read `.waypoint/agent-operating-manual.md`
|
|
22
22
|
5. Read `.waypoint/WORKSPACE.md`
|
|
23
23
|
6. Read `.waypoint/context/MANIFEST.md`
|
|
@@ -91,7 +91,7 @@ Delivery expectations:
|
|
|
91
91
|
|
|
92
92
|
Working rules:
|
|
93
93
|
- Keep `.waypoint/WORKSPACE.md` current as the live execution state, with timestamped new or materially revised entries in multi-topic sections
|
|
94
|
-
- Keep
|
|
94
|
+
- Keep `.waypoint/MEMORY.md` for durable user/team preferences, collaboration context, and stable product defaults; keep task status and active execution state out of it
|
|
95
95
|
- Update `.waypoint/docs/` when behavior or durable project knowledge changes, and refresh `last_updated` on touched routable docs
|
|
96
96
|
- Keep most work in the main agent. Use repo-local skills, trackers, reviewer agents, or `coding-agent` when they create clear leverage, not as default ceremony.
|
|
97
97
|
- Use `work-tracker` when work is likely to span sessions or needs durable progress tracking.
|
|
File without changes
|