@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 +1 -1
- package/commands/dd/impact.md +15 -28
- package/commands/dd/load.md +5 -1
- package/commands/dd/plan.md +5 -1
- package/package.json +1 -1
- package/skills/doc-first-planning/SKILL.md +4 -0
- package/skills/doc-first-planning/agents/openai.yaml +1 -1
- package/skills/document-clarify/SKILL.md +14 -102
- package/skills/document-clarify/agents/openai.yaml +1 -1
- package/skills/impact-review/SKILL.md +15 -28
- package/skills/impact-review/agents/openai.yaml +1 -1
- package/skills/project-initializer/agents/openai.yaml +1 -1
- package/skills/project-initializer/templates/dotdotgod.config.json +35 -68
- package/skills/project-load/SKILL.md +5 -1
- package/skills/project-load/agents/openai.yaml +1 -1
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`,
|
|
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
|
|
package/commands/dd/impact.md
CHANGED
|
@@ -14,34 +14,21 @@ Optional focus: `$ARGUMENTS`
|
|
|
14
14
|
|
|
15
15
|
## Goal
|
|
16
16
|
|
|
17
|
-
Review source
|
|
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.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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.
|
package/commands/dd/load.md
CHANGED
|
@@ -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,
|
|
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
|
package/commands/dd/plan.md
CHANGED
|
@@ -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
|
-
|
|
41
|
+
Begin source/config implementation after the plan is clear and the user asks to proceed.
|
package/package.json
CHANGED
|
@@ -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
|
|
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
|
|
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
|
-
##
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
19
|
+
## Workflow
|
|
110
20
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
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.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
|
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
|
|
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,
|
|
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
|
|
4
|
+
default_prompt: "Load the resolved dotdotgod project context and summarize the maintained evidence and routes relevant to the current request."
|