@dotdotgod/codex 0.1.16 → 0.1.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotdotgod/codex",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "Codex adapter for dotdotgod project memory workflows.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -16,15 +16,15 @@
16
16
  "project-memory",
17
17
  "planning"
18
18
  ],
19
+ "scripts": {
20
+ "verify": "node -e \"const fs=require('fs'); const req=['.codex-plugin/plugin.json','skills/project-load/SKILL.md','skills/doc-first-planning/SKILL.md','skills/project-initializer/SKILL.md','skills/project-initializer/scripts/init_project.sh','hooks/README.md']; JSON.parse(fs.readFileSync('.codex-plugin/plugin.json','utf8')); for (const f of req) { if (!fs.existsSync(f)) throw new Error('missing '+f); } console.log('codex adapter ok')\"",
21
+ "pack:dry-run": "pnpm pack --dry-run --json"
22
+ },
19
23
  "files": [
20
24
  ".codex-plugin",
21
25
  "skills",
22
26
  "hooks",
23
27
  "README.md",
24
28
  "LICENSE"
25
- ],
26
- "scripts": {
27
- "verify": "node -e \"const fs=require('fs'); const req=['.codex-plugin/plugin.json','skills/project-load/SKILL.md','skills/doc-first-planning/SKILL.md','skills/project-initializer/SKILL.md','skills/project-initializer/scripts/init_project.sh','hooks/README.md']; JSON.parse(fs.readFileSync('.codex-plugin/plugin.json','utf8')); for (const f of req) { if (!fs.existsSync(f)) throw new Error('missing '+f); } console.log('codex adapter ok')\"",
28
- "pack:dry-run": "pnpm pack --dry-run --json"
29
- }
30
- }
29
+ ]
30
+ }
@@ -31,6 +31,7 @@ Prefer live repository docs in this order:
31
31
  - If the session is long or noisy, suggest a user-initiated planning-focused compaction before writing or revising the plan; do not compact automatically because compaction is lossy.
32
32
  2. Gather evidence before planning.
33
33
  - When the request contains explicit project-memory refs such as `[[PLAN_MODE]]`, run `dotdotgod expand <root> "<request>" --json` before broad `grep` or `find` scans, then read the resolved candidates selectively.
34
+ - When the request uses high-signal natural refs such as `PLAN_MODE`, `docs/spec/PLAN_MODE.md`, or quoted doc names, run `dotdotgod expand <root> "<request>" --fuzzy --json`; skip fuzzy expansion for generic low-signal words alone and respect configured fuzzy low-signal add/remove terms.
34
35
  - Search docs by domain terms from the user request.
35
36
  - Read nearest README indexes and relevant focused docs.
36
37
  - For behavior changes, prefer specs with CLI-enforced fenced `json dotdotgod` traceability blocks in the final section; use their source, test, related-doc, and verification-command mappings before editing code.
@@ -18,6 +18,7 @@ Do not modify files during the load pass unless the user explicitly asks for edi
18
18
  - Mention user changes and avoid reverting or cleaning them.
19
19
  2. Prefer the bounded CLI snapshot when available.
20
20
  - If the user prompt contains explicit project-memory refs such as `[[PLAN_MODE]]`, run `dotdotgod expand <root> "<prompt>" --json` before broad `grep` or `find` scans, then read the resolved candidates selectively.
21
+ - If the prompt has high-signal natural refs such as `PLAN_MODE`, `docs/spec/PLAN_MODE.md`, or quoted doc names, use `dotdotgod expand <root> "<prompt>" --fuzzy --json` before broad scans; avoid fuzzy expansion for low-signal generic words alone and respect configured fuzzy low-signal add/remove terms.
21
22
  - If `dotdotgod` is installed or available in the repository, run `dotdotgod load-snapshot <root> --json`.
22
23
  - If the local environment allows package execution but no `dotdotgod` binary is available, optionally run `npx @dotdotgod/cli load-snapshot <root> --json`.
23
24
  - Treat the snapshot as the first-pass project-memory map for cache status, graph size, memory areas, related communities, and archive inclusion policy.