@dotdotgod/codex 0.1.17 → 0.1.19

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.
Files changed (2) hide show
  1. package/README.md +45 -12
  2. package/package.json +18 -5
package/README.md CHANGED
@@ -1,19 +1,50 @@
1
1
  # @dotdotgod/codex
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@dotdotgod/codex.svg)](https://www.npmjs.com/package/@dotdotgod/codex) [![GitHub](https://img.shields.io/badge/GitHub-dotdotgod%2Fdotdotgod-181717?logo=github)](https://github.com/dotdotgod/dotdotgod/tree/main/packages/codex) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](../../LICENSE)
4
+
3
5
  > **Change a file, know what else must be checked.**
4
6
 
5
- Codex adapter for dotdotgod's context curation workflow. It packages reusable skills that help Codex load curated project memory, plan from docs before implementation, and initialize the shared agent documentation scaffold so changes start with the right specs, tests, plans, and archive map.
7
+ ```bash
8
+ $ dotdotgod graph impact . --changed packages/cli/src/core.mjs --compact
9
+ ```
10
+
11
+ ```text
12
+ docs:
13
+ - docs/spec/REFERENCE_EXPANSION.md (91; incoming:implemented_by, semantic_similarity)
14
+ - docs/test/REFERENCE_EXPANSION.md (65.3; verified_by, semantic_similarity)
15
+ - docs/spec/LOAD_PROJECT.md (35.8; related_doc, semantic_similarity)
16
+
17
+ tests:
18
+ - packages/cli/test/core.test.mjs (78.6; semantic_similarity, incoming:semantic_similarity, verified_by)
19
+ - packages/cli/test/e2e.test.mjs (51.4; verified_by)
20
+
21
+ files:
22
+ - packages/cli/src/core.mjs (100; changed-file)
23
+ - packages/pi/extensions/plan-mode/index.ts (45; implemented_by, semantic_similarity)
24
+ ```
25
+
26
+ `graph impact` ranks the specs, tests, architecture notes, config docs, and source files most likely to matter for a change. `--compact` keeps the result agent-facing: grouped by docs/tests/files and annotated with the reasons each item is likely relevant. It uses the project-memory graph built from Markdown links, README routes, headings, traceability blocks, package metadata, memory areas, and deterministic routing hints.
27
+
28
+ Codex adapter for dotdotgod's context curation workflow. It packages reusable skills that help Codex initialize shared agent docs, load bounded project memory, and plan from docs before implementation.
6
29
 
7
30
  ## What Gets Better?
8
31
 
9
32
  - Codex can start from `AGENTS.md` and the dotdotgod docs map.
10
33
  - Load guidance prefers `dotdotgod load-snapshot <root> --json` when the CLI is available, then falls back to README-index reads.
11
34
  - Codex can use docs structure as retrieval intent: specs for behavior, architecture for rationale, tests for verification, plans for current work, and archive indexes for past decisions.
12
- - Product intent, design rationale, and verification standards stay in durable docs.
13
35
  - Planning work captures current intent in `docs/plan/<task-slug>/README.md` before implementation.
14
36
  - Completed plans and temporary reports use the same archive structure as Pi and Claude Code, turning outcomes into future context.
15
37
  - `dd:load`, `dd:plan`, and `dd:init` can be used as command-like trigger phrases where direct slash commands are unavailable.
16
38
 
39
+ ## Shared Memory and Traceability Model
40
+
41
+ By default, `docs/spec/**` has two roles: it is stable shared/fresh project memory, and it is the traceability-enforced behavior-spec path. These concepts are independent:
42
+
43
+ - `memory.areas` customizes memory classification, freshness, local/shared scope, priorities, and archive-body inclusion.
44
+ - `traceability.required` / `traceability.exclude` customizes which markdown paths must end with `json dotdotgod` blocks.
45
+
46
+ `docs/archive/README.md` is the history map. Archive bodies remain targeted historical memory and should not be read broadly by default.
47
+
17
48
  ## Included
18
49
 
19
50
  - Codex plugin manifest: `.codex-plugin/plugin.json`
@@ -30,6 +61,15 @@ Codex can run lifecycle hooks from trusted Codex configuration layers. dotdotgod
30
61
 
31
62
  Use hooks only when you want opt-in reminders or validation around the same workflow. See [`hooks/README.md`](hooks/README.md) for advisory examples and stricter plan-safety patterns.
32
63
 
64
+ ## Shared Contract
65
+
66
+ - `AGENTS.md` remains canonical.
67
+ - `CODEX.md` stays thin and points to `AGENTS.md`.
68
+ - Active plans use `docs/plan/<task-slug>/README.md`.
69
+ - Completed plans move to `docs/archive/plan/<task-slug>/`.
70
+ - Temporary reports move to `docs/archive/report/<report-slug>/`.
71
+ - `docs/archive/README.md` is the archive map; archive bodies should be read only when targeted.
72
+
33
73
  ## Local Development
34
74
 
35
75
  Run package checks:
@@ -39,17 +79,10 @@ pnpm --filter @dotdotgod/codex run verify
39
79
  pnpm --filter @dotdotgod/codex run pack:dry-run
40
80
  ```
41
81
 
42
- ## Shared Contract
82
+ ## Learn More
43
83
 
44
- - `AGENTS.md` remains canonical.
45
- - `CODEX.md` stays thin and points to `AGENTS.md`.
46
- - Active plans use `docs/plan/<task-slug>/README.md`.
47
- - Completed plans move to `docs/archive/plan/<task-slug>/`.
48
- - Temporary reports move to `docs/archive/report/<report-slug>/`.
49
- - `docs/archive/README.md` is the archive map; archive bodies should be read only when targeted.
84
+ See the [root README](../../README.md), [GitHub repository](https://github.com/dotdotgod/dotdotgod), [`docs/concept/CONTEXT_CURATION.md`](../../docs/concept/CONTEXT_CURATION.md), [`docs/concept/CONTEXT_MECHANICS.md`](../../docs/concept/CONTEXT_MECHANICS.md), [`docs/spec/MEMORY_AREA_CONFIG.md`](../../docs/spec/MEMORY_AREA_CONFIG.md), and [`docs/spec/TRACEABILITY_CONFIG.md`](../../docs/spec/TRACEABILITY_CONFIG.md).
50
85
 
51
86
  ## Compared with Graphify-Style Memory
52
87
 
53
- This adapter packages reusable workflow skills. It guides Codex to prefer a bounded dotdotgod load snapshot when available, avoid broad archive scans, and follow README indexes before reading raw files.
54
-
55
- The strength is structured retrieval: project docs declare which files are rules, specs, architecture, verification, active intent, or historical memory. That keeps the memory layer portable across Codex runtimes and useful on small tasks where a large graph report would be overhead.
88
+ This adapter packages reusable workflow skills. It guides Codex to prefer a bounded dotdotgod load snapshot when available, avoid broad archive scans, and follow README indexes before reading raw files. The strength is structured retrieval from project-declared memory, not a giant graph report.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotdotgod/codex",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "description": "Codex adapter for dotdotgod project memory workflows.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -8,13 +8,17 @@
8
8
  "access": "public"
9
9
  },
10
10
  "keywords": [
11
- "codex",
12
- "dotdotgod",
13
11
  "agent-memory",
12
+ "ai-coding-agent",
13
+ "codex",
14
+ "context-curation",
14
15
  "documentation",
16
+ "dotdotgod",
17
+ "graph-impact",
18
+ "planning",
15
19
  "plugin",
16
20
  "project-memory",
17
- "planning"
21
+ "traceability"
18
22
  ],
19
23
  "scripts": {
20
24
  "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')\"",
@@ -26,5 +30,14 @@
26
30
  "hooks",
27
31
  "README.md",
28
32
  "LICENSE"
29
- ]
33
+ ],
34
+ "homepage": "https://github.com/dotdotgod/dotdotgod/tree/main/packages/codex#readme",
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git+https://github.com/dotdotgod/dotdotgod.git",
38
+ "directory": "packages/codex"
39
+ },
40
+ "bugs": {
41
+ "url": "https://github.com/dotdotgod/dotdotgod/issues"
42
+ }
30
43
  }