@dotdotgod/codex 0.1.12 → 0.1.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/README.md
CHANGED
|
@@ -18,7 +18,7 @@ Codex adapter for dotdotgod's context curation workflow. It packages reusable sk
|
|
|
18
18
|
- Skills:
|
|
19
19
|
- `project-load`: load project memory read-only.
|
|
20
20
|
- `doc-first-planning`: plan from docs before implementation.
|
|
21
|
-
- `project-initializer`: initialize shared agent docs and docs folders.
|
|
21
|
+
- `project-initializer`: initialize shared agent docs and docs folders, using `dotdotgod init` when available and the bundled fallback when not.
|
|
22
22
|
|
|
23
23
|
Codex may not expose the same slash-command model as Pi or Claude Code. Treat `dd:load`, `dd:plan`, and `dd:init` as command-like trigger phrases for these skills unless the active Codex plugin runtime provides direct command registration.
|
|
24
24
|
|
package/package.json
CHANGED
|
@@ -20,14 +20,22 @@ Create a conservative dotdotgod project baseline that multiple AI coding agents
|
|
|
20
20
|
- `docs/plan/<task-slug>/README.md` is the default shape for active plan work.
|
|
21
21
|
- Completed plans move to `docs/archive/plan/<task-slug>/`.
|
|
22
22
|
- Temporary reports and investigations move to `docs/archive/report/<report-slug>/`.
|
|
23
|
-
- `.gitignore` includes `docs/plan
|
|
23
|
+
- `.gitignore` includes `docs/plan`, `docs/archive`, and `.dotdotgod` so local memory and the graph cache stay local by default.
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Use the dotdotgod CLI initializer when it is already available in the target environment:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
dotdotgod init <project-root>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Do not require users to install the CLI just to initialize. If `dotdotgod` is unavailable or the command is not executable, use the bundled dependency-free shell fallback:
|
|
26
32
|
|
|
27
33
|
```bash
|
|
28
34
|
sh scripts/init_project.sh <project-root>
|
|
29
35
|
```
|
|
30
36
|
|
|
37
|
+
The fallback still creates the baseline docs indexes and local-memory `.gitignore` entries, so project loading can work from README indexes until the CLI is added later.
|
|
38
|
+
|
|
31
39
|
Use `--dry-run` before touching an unfamiliar repository. Use `--dotdot-setting` when the user wants dotdot code conventions generated under `docs/arch/CODE_CONVENTIONS.md` and referenced from `AGENTS.md`. Use `--force` only when explicitly requested; it creates timestamped backups before replacing files.
|
|
32
40
|
|
|
33
41
|
## Workflow
|
|
@@ -37,21 +45,22 @@ Use `--dry-run` before touching an unfamiliar repository. Use `--dotdot-setting`
|
|
|
37
45
|
- Preserve project-specific instructions unless the user asks to replace them.
|
|
38
46
|
- If both `AGENT.md` and `AGENTS.md` exist, prefer `AGENTS.md` as canonical and leave `AGENT.md` untouched unless asked.
|
|
39
47
|
2. Run the initializer.
|
|
48
|
+
- Try `dotdotgod init` only when the CLI is available; otherwise run the bundled fallback script without blocking initialization.
|
|
40
49
|
- Default behavior creates missing files only.
|
|
41
50
|
- Existing files are skipped.
|
|
42
|
-
- `.gitignore` is created or appended with missing `docs/plan
|
|
51
|
+
- `.gitignore` is created or appended with missing `docs/plan`, `docs/archive`, and `.dotdotgod` entries.
|
|
43
52
|
- `--dotdot-setting` additionally creates `docs/arch/CODE_CONVENTIONS.md`, adds it to the architecture README index, and adds an `AGENTS.md` reference.
|
|
44
53
|
- `--force` backs up replaced files as `<name>.bak.<timestamp>`.
|
|
45
54
|
3. Review generated files.
|
|
46
55
|
- Fill project-specific sections in `AGENTS.md` when context is available.
|
|
47
56
|
- Keep `CLAUDE.md` and `CODEX.md` thin so instructions do not drift.
|
|
48
57
|
- Treat `docs/plan` and `docs/archive` as local working memory unless the project deliberately changes that policy.
|
|
49
|
-
- When adding behavior specs, run `dotdotgod validate` and follow any traceability schema/example shown in validation errors.
|
|
58
|
+
- When adding behavior specs, run `dotdotgod validate` when the CLI is available and follow any traceability schema/example shown in validation errors; if the CLI is unavailable, keep README indexes accurate and validate later.
|
|
50
59
|
4. Report the result.
|
|
51
60
|
- List created/skipped/backed-up files.
|
|
52
61
|
- Mention any existing instructions that still need manual consolidation.
|
|
53
62
|
|
|
54
63
|
## Bundled Resources
|
|
55
64
|
|
|
56
|
-
- `scripts/init_project.sh`:
|
|
65
|
+
- `scripts/init_project.sh`: fallback scaffold generator that mirrors `dotdotgod init` with POSIX shell only.
|
|
57
66
|
- `references/agent-docs.md`: naming rationale and expected content model for shared agent docs.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Project Initializer"
|
|
3
|
-
short_description: "Initialize agent docs and local docs folders
|
|
4
|
-
default_prompt: "Initialize this project with AGENTS.md, CLAUDE.md, CODEX.md, docs folders, and local
|
|
3
|
+
short_description: "Initialize agent docs and local docs folders."
|
|
4
|
+
default_prompt: "Initialize this project with dotdotgod init when available, otherwise use the bundled fallback; include AGENTS.md, CLAUDE.md, CODEX.md, docs folders, and local memory gitignore entries."
|
|
@@ -13,7 +13,7 @@ Initializes:
|
|
|
13
13
|
docs/arch/README.md
|
|
14
14
|
docs/plan/README.md
|
|
15
15
|
docs/archive/README.md
|
|
16
|
-
.gitignore entries for docs/plan
|
|
16
|
+
.gitignore entries for docs/plan, docs/archive, and .dotdotgod
|
|
17
17
|
EOF
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -339,3 +339,4 @@ This directory is local-only and ignored by git by default."
|
|
|
339
339
|
|
|
340
340
|
ensure_gitignore_entry "docs/plan"
|
|
341
341
|
ensure_gitignore_entry "docs/archive"
|
|
342
|
+
ensure_gitignore_entry ".dotdotgod"
|