@dotdotgod/claude-code 0.2.14 → 0.2.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/README.md CHANGED
@@ -61,7 +61,7 @@ By default, `docs/spec/**` has two separate roles:
61
61
  - It is stable shared project memory for product behavior and requirements.
62
62
  - It is the traceability-enforced path for behavior specs.
63
63
 
64
- Projects can customize memory roles with `memory.areas`, and can customize traceability requirements with `traceability.required` and `traceability.exclude`.
64
+ Projects can customize memory roles with `memory.areas`, select traceability-enforced Markdown with `traceability.required` and `traceability.exclude`, and define the ordered complete list of traceability string arrays with `traceability.keys`. Each key owns its label, path or command target, graph relation, and PPR weight.
65
65
 
66
66
  ## Optional Hooks
67
67
 
@@ -14,34 +14,21 @@ Optional focus: `$ARGUMENTS`
14
14
 
15
15
  ## Goal
16
16
 
17
- Review source/config/documentation changes with dotdotgod impact data before broad verification, commits, pushes, publishing, or final handoff.
18
-
19
- This workflow is the Claude Code and Codex counterpart to Pi's `/impact-check` reminder. It is advisory unless the active agent runtime or a project-local trusted hook adds stricter enforcement.
17
+ Review task-relevant source, config, and documentation changes with dotdotgod impact evidence before broad verification, commits, pushes, publishing, or final handoff. Claude Code and Codex use this advisory workflow; trusted runtime or project hooks may enforce a stricter boundary.
20
18
 
21
19
  ## Workflow
22
20
 
23
- 1. Establish the changed-file set.
24
- - Check git status and preserve unrelated user edits.
25
- - Include unstaged, staged, and untracked source/config/docs files that are relevant to the current task.
26
- - Exclude dependencies, generated caches, build artifacts, secrets, and unrelated local-memory files unless the user explicitly asks about them.
27
- 2. Prefer bounded multi-seed graph impact.
28
- - Collect the complete relevant changed-file set, preserve first-seen order, and run one command with repeated `--changed <path>` options for up to 20 unique paths: `dotdotgod graph impact <root> --changed <path-a> --changed <path-b> --compact` or `--yml`.
29
- - If more than 20 unique paths remain, split them into ordered batches of at most 20. Do not run one command per file unless only one relevant path exists.
30
- - If the local repository uses the source checkout CLI, use `node packages/cli/bin/dotdotgod.mjs graph impact <root> --changed <path-a> --changed <path-b> --compact` or `--yml`.
31
- - If the CLI is unavailable, continue with README indexes, traceability blocks, package metadata, and targeted grep/find fallback.
32
- 3. Inspect impact output selectively.
33
- - Review the deduplicated combined ranking and each seed's non-seed top-five results, prioritizing related specs, tests, architecture docs, and source files with the highest scores and clearest reasons.
34
- - When behavior specs appear through `implemented_by`, `verified_by`, or `related_doc`, read those docs before broad verification.
35
- - Do not paste large raw impact JSON into the response unless the user asks for diagnostics.
36
- 4. Repair or update related docs/tests when the impact output shows stale, missing, or contradictory project memory.
37
- 5. Choose verification from evidence.
38
- - Prefer focused package tests, docs validation, generated-resource checks, and package dry-runs that match the changed files.
39
- - For docs changes in dotdotgod projects, run `dotdotgod validate . --include-local-memory` and use `--check-index` when index freshness matters.
40
- 6. Summarize the result.
41
- - List changed files reviewed.
42
- - List the most relevant impacted docs/tests/files and any follow-up action.
43
- - List verification commands run or explain why verification was skipped.
44
-
45
- ## Hook Boundary
46
-
47
- Optional hooks may remind agents to run this workflow after edits or before stop time, but default package resources must not auto-run full workspace verification, rebuild indexes, initialize scaffolds, move plans to archives, or block every write without a tested plan-only state signal.
21
+ 1. Build the changed-file set from Git status. Preserve unrelated user work and exclude dependencies, caches, build output, secrets, and unrelated local memory.
22
+ 2. Run one bounded multi-seed impact command for up to 20 unique paths in first-seen order:
23
+
24
+ ```bash
25
+ dotdotgod graph impact <root> --changed <path-a> --changed <path-b> --compact
26
+ ```
27
+
28
+ Use `--yml` when structured detail helps. Split larger sets into ordered batches of 20. In a source checkout, use `node packages/cli/bin/dotdotgod.mjs graph impact`; when the CLI is unavailable, follow README indexes, traceability, package metadata, and focused file search.
29
+ 3. Review the combined ranking and each seed's non-seed top results. Prioritize high-signal specs, tests, architecture, and source links, especially `implemented_by`, `verified_by`, and `related_doc` relationships.
30
+ 4. Resolve stale or contradictory related docs and tests that belong to the current task.
31
+ 5. Select focused tests, documentation validation, generated-resource checks, and package dry-runs from the evidence. For dotdotgod documentation changes, run `dotdotgod validate . --include-local-memory` and add `--check-index` when index freshness matters.
32
+ 6. Report the changed files reviewed, the strongest related findings and follow-up actions, and verification completed or skipped.
33
+
34
+ Keep raw impact payloads out of normal summaries. Optional hooks may remind agents about this workflow; default package resources leave full verification, index rebuilds, initialization, archive moves, and write blocking under explicit workflow control.
@@ -12,6 +12,10 @@ Load project memory without modifying source, documentation, or project config;
12
12
 
13
13
  User focus, if provided: `$ARGUMENTS`
14
14
 
15
+ ## CLI Context
16
+
17
+ Run `dotdotgod config <root> --json` and apply `config.load.documentationSummary.exclude` before building the documentation tree. With focus text, run `dotdotgod query <root> "<focus>" --limit 30 --json`. If the CLI is unavailable, continue from the documentation tree and README indexes.
18
+
15
19
  ## Goal
16
20
 
17
21
  Load the repository's dotdotgod project memory without modifying maintained files. Treat free-form arguments as query text, not mode switches.
@@ -21,7 +25,7 @@ Load the repository's dotdotgod project memory without modifying maintained file
21
25
  1. Identify the repository root. Expose `Help: dotdotgod --help` as optional CLI discovery guidance without checking or reporting installation status, and do not require Help execution for Load to continue.
22
26
  2. When baseline context is missing, read `AGENTS.md`, the adapter entrypoint, `README.md`, and `docs/README.md` when present.
23
27
  3. Build a prefix-compressed tree of `docs/**/*.md` after `load.documentationSummary.exclude`. Count `docs/` as depth 1; without arguments, expand through depth 5. At the boundary, list every direct Markdown file and immediate child directory regardless of item count, then summarize hidden descendants separately under each named child with exact recursive directory and Markdown-file counts.
24
- 4. With arguments, run `dotdotgod query <root> "<arguments>" --limit 30 --json` when available, return at most 30 distinct Markdown files, and render the tree through depth 3 with the same named boundary-child summaries. Fall back to the tree and README indexes when query is unavailable.
28
+ 4. With arguments, use focused query results to return at most 30 distinct Markdown files and render the tree through depth 3 with the same named boundary-child summaries.
25
29
  5. Read bodies selectively from query results, explicit paths, and README indexes. Read relevant active plans only when needed, use `docs/archive/README.md` as the history map, and avoid broad generated, dependency, cache, or secret reads.
26
30
 
27
31
  ## Output
@@ -12,6 +12,10 @@ Create or update a dotdotgod implementation plan before changing source/config f
12
12
 
13
13
  Task request: `$ARGUMENTS`
14
14
 
15
+ ## CLI Context
16
+
17
+ For focused documentation routing, run `dotdotgod query <root> "<focus>" --limit 30 --json`. Run `dotdotgod config <root> --json` when memory-area policy, documentation exclusions, or Plan Mode writable paths affect the plan. If the CLI is unavailable, continue from README indexes and focused file reads.
18
+
15
19
  ## Goal
16
20
 
17
21
  Create an implementation plan from maintained repository documentation before substantial source or configuration changes.
@@ -34,4 +38,4 @@ Use `docs/plan/<task-slug>/README.md` for substantial, risky, or resumable work;
34
38
 
35
39
  ## Execution Rule
36
40
 
37
- Do not implement source/config changes until the plan is clear and the user asks to proceed.
41
+ Begin source/config implementation after the plan is clear and the user asks to proceed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotdotgod/claude-code",
3
- "version": "0.2.14",
3
+ "version": "0.2.17",
4
4
  "description": "Claude Code adapter for dotdotgod project memory workflows.",
5
5
  "type": "module",
6
6
  "license": "Elastic-2.0",
@@ -8,6 +8,10 @@ version: 1.0.0
8
8
 
9
9
  # Doc-First Planning
10
10
 
11
+ ## CLI Context
12
+
13
+ For focused documentation routing, run `dotdotgod query <root> "<focus>" --limit 30 --json`. Run `dotdotgod config <root> --json` when memory-area policy, documentation exclusions, or Plan Mode writable paths affect the plan. If the CLI is unavailable, continue from README indexes and focused file reads.
14
+
11
15
  ## Goal
12
16
 
13
17
  Create an implementation plan from maintained repository documentation before substantial source or configuration changes.
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Doc-First Planning"
3
3
  short_description: "Plan work from dotdotgod docs first."
4
- default_prompt: "Plan this change from AGENTS.md, docs/spec, docs/test, docs/arch, and docs/plan before implementation."
4
+ default_prompt: "Plan this change from maintained project evidence and create a durable task plan when the work warrants one."
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: document-clarify
3
- description: Use this skill when Claude Code should clarify project documentation using dotdotgod memory-area metadata, default document roles, and docs-as-code clarity rules; when README indexes, docs/spec, docs/test, docs/arch, docs/plan, docs/archive, or project-specific docs need clearer wording without changing behavior contracts.
3
+ description: Use this skill when Claude Code should clarify project documentation using resolved dotdotgod memory-area guidance and direct, concise prose; when README indexes or project-specific docs need clearer wording while preserving established meaning and traceability.
4
4
  version: 1.0.0
5
5
  ---
6
6
 
@@ -8,110 +8,22 @@ version: 1.0.0
8
8
 
9
9
  # Document Clarify
10
10
 
11
- ## Goal
12
-
13
- Improve project documentation clarity without changing the document's role, behavior contract, traceability semantics, or project-specific memory intent.
14
-
15
- Use this workflow for README indexes, specs, test docs, architecture docs, active plans, archive maps, and custom documentation areas configured through dotdotgod memory-area policy.
16
-
17
- ## Source Order
18
-
19
- Prefer live repository context in this order:
20
-
21
- 1. The user's target file or requested documentation area.
22
- 2. Relevant documentation from `dotdotgod query <root> "<focus>" --json` when semantic routing is useful.
23
- 3. Resolved config from `dotdotgod config <root> --json` when memory-area or documentation-map policy is needed.
24
- 4. The nearest README index, especially `docs/README.md` and the local area `README.md`.
25
- 5. Directly linked specs, tests, architecture notes, commands, and traceability targets needed to preserve meaning.
26
- 6. `docs/archive/README.md` as the history map; read archive bodies only when the current clarification task needs a targeted past decision.
27
-
28
- If the CLI is unavailable, continue from README indexes, path conventions, and traceability blocks.
29
-
30
- ## Resolve the Document Role
31
-
32
- Before editing, decide what job the document is supposed to do.
33
-
34
- For configured memory areas, apply guidance in this order:
35
-
36
- 1. Matched area's `clarify` guidance:
37
- - `audience`: who must understand the document.
38
- - `documentType`: recommended type such as index, tutorial, how-to, reference, explanation, spec, test strategy, architecture note, runbook, plan, archive map, or archive body.
39
- - `clarityGoal`: the north star for edits.
40
- - `editRules`: local constraints that must be preserved.
41
- 2. Matched area's `description`, `label`, and `role`.
42
- 3. Default dotdotgod roles:
43
- - `AGENTS.md`: canonical working rules.
44
- - `CLAUDE.md` and `CODEX.md`: thin agent-specific entrypoints.
45
- - root `README.md`: project map and start path.
46
- - `docs/README.md` and area README files: routing maps and next actions.
47
- - `docs/spec/**`: behavior contracts and acceptance criteria.
48
- - `docs/test/**`: verification strategy, regression coverage, fixtures, and commands.
49
- - `docs/arch/**`: rationale, boundaries, implementation constraints, data flow, and integration decisions.
50
- - `docs/plan/**`: active task intent, decisions, risks, verification, and resume state.
51
- - `docs/archive/README.md`: history map.
52
- - `docs/archive/**`: targeted historical body, not a default reading surface.
53
-
54
- Treat custom memory-area metadata as project policy. If custom guidance conflicts with current document content or would change product meaning, surface the conflict and ask before rewriting semantics.
11
+ ## Memory-Area Context
55
12
 
56
- ## Assess Clarity Problems
13
+ Run `dotdotgod config <root> --json` and use the resolved `config.areas`. Match the target path against the ordered areas and use the first match. If the CLI is unavailable, continue from the target document, nearest README, and direct links.
57
14
 
58
- Look for problems that prevent first-time developers, contributors, or AI coding agents from understanding and acting correctly:
59
-
60
- - unclear purpose or missing opening context
61
- - missing next action or command boundary
62
- - jargon without definition or link
63
- - ambiguous terms, inconsistent naming, or overloaded concepts
64
- - passive or indirect wording that hides who does what
65
- - excessive background before the task or contract
66
- - duplicated headings and intros that repeat without adding value
67
- - weak information scent in links, headings, and README routes
68
- - examples that are not runnable or are disconnected from the described behavior
69
- - mixed document roles, such as specs becoming implementation plans or architecture notes becoming tutorials
70
- - filenames that are sequentially numbered (API_1.md, 01_AUTH.md) — filenames and paths are LLM context metadata and should be as specific as the document title; prefer names derived from the primary endpoint, screen, policy, or domain
71
-
72
- Use plain language, active voice, descriptive links, global-audience wording, and concise sections. Keep exact commands, paths, package names, API names, and behavior claims unless verified evidence supports a change.
73
-
74
- ## Edit Safely
75
-
76
- - Preserve the document's role. Do not turn specs into tutorials, tests into product promises, architecture into task plans, plans into permanent specs, or archives into broad default reading surfaces.
77
- - Put action guidance before internal model details when the audience needs a next step first.
78
- - Use the same term for the same concept throughout the document.
79
- - Split or route deep background to focused docs instead of making README indexes dense.
80
- - For behavior specs, do not weaken MUST/SHOULD requirements or acceptance criteria under the guise of copy edits.
81
- - For test docs, clarify what is covered and how to verify it; do not invent behavior requirements.
82
- - For architecture docs, clarify boundaries, constraints, and rationale; do not add unapproved implementation work.
83
- - For plans, preserve scope, decisions, verification notes, current status, and resume context.
84
-
85
- ## Traceability and Generated Content
86
-
87
- - Treat the fenced `json dotdotgod` block as canonical traceability data.
88
- - Do not manually edit generated `<!-- dotdotgod:traceability-links:* -->` sections.
89
- - If traceability mappings need to change, edit the canonical JSON block and run `dotdotgod traceability links <root> --write`.
90
- - Keep generated links and compact JSON synchronized before final validation.
91
- - Do not directly maintain generated adapter skill bodies. Edit shared workflow files and `scripts/generate-adapters.mjs`, then run `pnpm run generate`.
92
-
93
- ## Verification
94
-
95
- After documentation edits, run checks that match the changed surface:
96
-
97
- ```bash
98
- node packages/cli/bin/dotdotgod.mjs traceability links . --check --json
99
- node packages/cli/bin/dotdotgod.mjs validate . --include-local-memory --check-index
100
- ```
101
-
102
- If validation reports index drift, run:
15
+ ## Goal
103
16
 
104
- ```bash
105
- node packages/cli/bin/dotdotgod.mjs index . --json
106
- node packages/cli/bin/dotdotgod.mjs validate . --include-local-memory --check-index
107
- ```
17
+ Make project documentation easier to understand and act on while preserving established behavior, decisions, task state, historical meaning, and traceability.
108
18
 
109
- When shared workflow text, generated adapter resources, package metadata, or cross-agent docs change, also run:
19
+ ## Workflow
110
20
 
111
- ```bash
112
- pnpm run generate
113
- pnpm run verify:generated
114
- pnpm run verify
115
- ```
21
+ 1. Confirm the target document and requested outcome. Use its matched memory-area metadata when available: `clarify` guidance first, then `description`, `label`, and `role`.
22
+ 2. Read only the context needed to preserve meaning: the nearest README, directly linked documents, relevant query results, and targeted history when a past decision matters.
23
+ 3. Clarify purpose, next actions, terms, ownership, headings, links, and runnable examples. Keep exact commands, paths, package names, API names, requirements, and behavior claims unless verified evidence supports a change.
24
+ 4. Prefer direct affirmative statements. Use “X is not Y; it is Z” only when that contrast resolves a likely ambiguity. Remove repeated framing, indirect wording, mixed responsibilities, and background that obscures the document's job.
25
+ 5. Follow repository-local generated markers and canonical-source instructions. For dotdotgod traceability, edit the fenced `json dotdotgod` block as the canonical mapping and use `dotdotgod traceability links <root> --write` to refresh generated links.
26
+ 6. Ask for a decision when the requested clarification would change established meaning or when current sources conflict.
27
+ 7. Run verification that matches the changed surface. Use documentation and traceability checks for ordinary docs; add generation checks, focused package tests, dry-runs, or workspace verification when shared resources or product behavior are affected.
116
28
 
117
- Use focused package tests or package dry-runs when package resources or CLI config behavior changed.
29
+ When CLI-backed routing is unavailable, continue from the target document, nearest README, direct links, and repository conventions.
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Document Clarify"
3
3
  short_description: "Clarify dotdotgod project documentation."
4
- default_prompt: "Clarify the target docs using dotdotgod memory-area metadata, default document roles, and docs-as-code clarity rules while preserving behavior contracts."
4
+ default_prompt: "Clarify the target docs using resolved dotdotgod memory-area guidance and direct affirmative prose while preserving established meaning and traceability."
@@ -10,34 +10,21 @@ version: 1.0.0
10
10
 
11
11
  ## Goal
12
12
 
13
- Review source/config/documentation changes with dotdotgod impact data before broad verification, commits, pushes, publishing, or final handoff.
14
-
15
- This workflow is the Claude Code and Codex counterpart to Pi's `/impact-check` reminder. It is advisory unless the active agent runtime or a project-local trusted hook adds stricter enforcement.
13
+ Review task-relevant source, config, and documentation changes with dotdotgod impact evidence before broad verification, commits, pushes, publishing, or final handoff. Claude Code and Codex use this advisory workflow; trusted runtime or project hooks may enforce a stricter boundary.
16
14
 
17
15
  ## Workflow
18
16
 
19
- 1. Establish the changed-file set.
20
- - Check git status and preserve unrelated user edits.
21
- - Include unstaged, staged, and untracked source/config/docs files that are relevant to the current task.
22
- - Exclude dependencies, generated caches, build artifacts, secrets, and unrelated local-memory files unless the user explicitly asks about them.
23
- 2. Prefer bounded multi-seed graph impact.
24
- - Collect the complete relevant changed-file set, preserve first-seen order, and run one command with repeated `--changed <path>` options for up to 20 unique paths: `dotdotgod graph impact <root> --changed <path-a> --changed <path-b> --compact` or `--yml`.
25
- - If more than 20 unique paths remain, split them into ordered batches of at most 20. Do not run one command per file unless only one relevant path exists.
26
- - If the local repository uses the source checkout CLI, use `node packages/cli/bin/dotdotgod.mjs graph impact <root> --changed <path-a> --changed <path-b> --compact` or `--yml`.
27
- - If the CLI is unavailable, continue with README indexes, traceability blocks, package metadata, and targeted grep/find fallback.
28
- 3. Inspect impact output selectively.
29
- - Review the deduplicated combined ranking and each seed's non-seed top-five results, prioritizing related specs, tests, architecture docs, and source files with the highest scores and clearest reasons.
30
- - When behavior specs appear through `implemented_by`, `verified_by`, or `related_doc`, read those docs before broad verification.
31
- - Do not paste large raw impact JSON into the response unless the user asks for diagnostics.
32
- 4. Repair or update related docs/tests when the impact output shows stale, missing, or contradictory project memory.
33
- 5. Choose verification from evidence.
34
- - Prefer focused package tests, docs validation, generated-resource checks, and package dry-runs that match the changed files.
35
- - For docs changes in dotdotgod projects, run `dotdotgod validate . --include-local-memory` and use `--check-index` when index freshness matters.
36
- 6. Summarize the result.
37
- - List changed files reviewed.
38
- - List the most relevant impacted docs/tests/files and any follow-up action.
39
- - List verification commands run or explain why verification was skipped.
40
-
41
- ## Hook Boundary
42
-
43
- Optional hooks may remind agents to run this workflow after edits or before stop time, but default package resources must not auto-run full workspace verification, rebuild indexes, initialize scaffolds, move plans to archives, or block every write without a tested plan-only state signal.
17
+ 1. Build the changed-file set from Git status. Preserve unrelated user work and exclude dependencies, caches, build output, secrets, and unrelated local memory.
18
+ 2. Run one bounded multi-seed impact command for up to 20 unique paths in first-seen order:
19
+
20
+ ```bash
21
+ dotdotgod graph impact <root> --changed <path-a> --changed <path-b> --compact
22
+ ```
23
+
24
+ Use `--yml` when structured detail helps. Split larger sets into ordered batches of 20. In a source checkout, use `node packages/cli/bin/dotdotgod.mjs graph impact`; when the CLI is unavailable, follow README indexes, traceability, package metadata, and focused file search.
25
+ 3. Review the combined ranking and each seed's non-seed top results. Prioritize high-signal specs, tests, architecture, and source links, especially `implemented_by`, `verified_by`, and `related_doc` relationships.
26
+ 4. Resolve stale or contradictory related docs and tests that belong to the current task.
27
+ 5. Select focused tests, documentation validation, generated-resource checks, and package dry-runs from the evidence. For dotdotgod documentation changes, run `dotdotgod validate . --include-local-memory` and add `--check-index` when index freshness matters.
28
+ 6. Report the changed files reviewed, the strongest related findings and follow-up actions, and verification completed or skipped.
29
+
30
+ Keep raw impact payloads out of normal summaries. Optional hooks may remind agents about this workflow; default package resources leave full verification, index rebuilds, initialization, archive moves, and write blocking under explicit workflow control.
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Impact Review"
3
3
  short_description: "Review changed files with dotdotgod graph impact."
4
- default_prompt: "Review current changed source, config, and docs files with dotdotgod graph impact before broad verification or handoff."
4
+ default_prompt: "Review task-relevant changed files with dotdotgod graph impact and use the evidence to select verification and related updates."
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Project Initializer"
3
3
  short_description: "Initialize project memory and config."
4
- default_prompt: "Initialize shared project memory and the complete default config with dotdotgod init or the bundled fallback, preserving existing files."
4
+ default_prompt: "Initialize shared project memory and the complete default config with dotdotgod init or the bundled fallback while preserving existing files."
@@ -155,6 +155,40 @@
155
155
  ],
156
156
  "exclude": [
157
157
  "**/README.md"
158
+ ],
159
+ "keys": [
160
+ {
161
+ "key": "implementedBy",
162
+ "label": "Implemented by",
163
+ "description": "Files that implement the behavior.",
164
+ "target": "path",
165
+ "relation": "implemented_by",
166
+ "weight": 4
167
+ },
168
+ {
169
+ "key": "verifiedBy",
170
+ "label": "Verified by",
171
+ "description": "Tests or maintained verification documents.",
172
+ "target": "path",
173
+ "relation": "verified_by",
174
+ "weight": 4
175
+ },
176
+ {
177
+ "key": "relatedDocs",
178
+ "label": "Related docs",
179
+ "description": "Documents needed to interpret the behavior.",
180
+ "target": "path",
181
+ "relation": "related_doc",
182
+ "weight": 3
183
+ },
184
+ {
185
+ "key": "verificationCommands",
186
+ "label": "Verification commands",
187
+ "description": "Project-local verification commands.",
188
+ "target": "command",
189
+ "relation": "verification_command",
190
+ "weight": 3
191
+ }
158
192
  ]
159
193
  },
160
194
  "validation": {
@@ -169,72 +203,10 @@
169
203
  }
170
204
  },
171
205
  "impactRanking": {
172
- "preset": "balanced",
173
- "weights": {
174
- "ppr": 40,
175
- "traceability": 30,
176
- "memoryPolicy": 10,
177
- "verification": 15,
178
- "proximity": 10,
179
- "semantic": 10,
180
- "freshness": 5,
181
- "archivePenalty": -25
182
- },
183
- "ppr": {
184
- "enabled": true,
185
- "damping": 0.85,
186
- "iterations": 20,
187
- "tolerance": 0.000001
188
- },
189
- "relationWeights": {
190
- "implemented_by": 4,
191
- "verified_by": 4,
192
- "related_doc": 3,
193
- "verification_command": 3,
194
- "links_to": 2,
195
- "belongs_to_area": 2,
196
- "semantic_similarity": 2,
197
- "mentions_package": 1
198
- },
199
- "traceabilityBoosts": {
200
- "implemented_by": 30,
201
- "incoming:implemented_by": 30,
202
- "verified_by": 25,
203
- "incoming:verified_by": 25,
204
- "verification_command": 15,
205
- "incoming:verification_command": 15,
206
- "related_doc": 12,
207
- "incoming:related_doc": 12
208
- },
209
- "verificationBoosts": {
210
- "verified_by": 15,
211
- "incoming:verified_by": 15,
212
- "verification_command": 12,
213
- "incoming:verification_command": 12
214
- },
215
- "semanticBoosts": {
216
- "semantic_similarity": 8,
217
- "incoming:semantic_similarity": 8,
218
- "mentions_package": 4,
219
- "incoming:mentions_package": 4
220
- },
221
- "proximityBoosts": {
222
- "links_to": 6,
223
- "incoming:links_to": 6,
224
- "routes_to": 5,
225
- "incoming:routes_to": 5
226
- },
227
206
  "semantic": {
228
207
  "enabled": true,
229
208
  "threshold": 0.5,
230
- "topKPerFile": 5,
231
- "includeArchiveBodies": false,
232
- "signals": [
233
- "path",
234
- "filename",
235
- "heading",
236
- "package"
237
- ]
209
+ "topKPerFile": 5
238
210
  }
239
211
  },
240
212
  "referenceExpansion": {
@@ -245,11 +217,6 @@
245
217
  }
246
218
  }
247
219
  },
248
- "integrations": {
249
- "trello": {
250
- "syncPaths": []
251
- }
252
- },
253
220
  "load": {
254
221
  "pinnedPaths": [],
255
222
  "pinnedBodies": [],
@@ -8,6 +8,10 @@ version: 1.0.0
8
8
 
9
9
  # Project Load
10
10
 
11
+ ## CLI Context
12
+
13
+ Run `dotdotgod config <root> --json` and apply `config.load.documentationSummary.exclude` before building the documentation tree. With focus text, run `dotdotgod query <root> "<focus>" --limit 30 --json`. If the CLI is unavailable, continue from the documentation tree and README indexes.
14
+
11
15
  ## Goal
12
16
 
13
17
  Load the repository's dotdotgod project memory without modifying maintained files. Treat free-form arguments as query text, not mode switches.
@@ -17,7 +21,7 @@ Load the repository's dotdotgod project memory without modifying maintained file
17
21
  1. Identify the repository root. Expose `Help: dotdotgod --help` as optional CLI discovery guidance without checking or reporting installation status, and do not require Help execution for Load to continue.
18
22
  2. When baseline context is missing, read `AGENTS.md`, the adapter entrypoint, `README.md`, and `docs/README.md` when present.
19
23
  3. Build a prefix-compressed tree of `docs/**/*.md` after `load.documentationSummary.exclude`. Count `docs/` as depth 1; without arguments, expand through depth 5. At the boundary, list every direct Markdown file and immediate child directory regardless of item count, then summarize hidden descendants separately under each named child with exact recursive directory and Markdown-file counts.
20
- 4. With arguments, run `dotdotgod query <root> "<arguments>" --limit 30 --json` when available, return at most 30 distinct Markdown files, and render the tree through depth 3 with the same named boundary-child summaries. Fall back to the tree and README indexes when query is unavailable.
24
+ 4. With arguments, use focused query results to return at most 30 distinct Markdown files and render the tree through depth 3 with the same named boundary-child summaries.
21
25
  5. Read bodies selectively from query results, explicit paths, and README indexes. Read relevant active plans only when needed, use `docs/archive/README.md` as the history map, and avoid broad generated, dependency, cache, or secret reads.
22
26
 
23
27
  ## Output
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Project Load"
3
3
  short_description: "Load dotdotgod project memory."
4
- default_prompt: "Load this project's dotdotgod memory and summarize rules, docs, commands, relevant active plans, and questions surfaced by the loaded material."
4
+ default_prompt: "Load the resolved dotdotgod project context and summarize the maintained evidence and routes relevant to the current request."