@flancer32/skill-adsm-ctx 0.3.0 → 0.5.0

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 (67) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +44 -37
  3. package/bin/adsm-ctx.mjs +1 -1
  4. package/package.json +4 -18
  5. package/{skill → skills/adsm-ctx}/SKILL.md +22 -5
  6. package/{skill → skills/adsm-ctx}/references/agents-hierarchy.md +1 -1
  7. package/skills/adsm-ctx/references/context-evolution.md +55 -0
  8. package/{skill → skills/adsm-ctx}/references/context-lifecycle.md +28 -9
  9. package/{skill → skills/adsm-ctx}/references/design-questionnaire.md +14 -2
  10. package/{skill → skills/adsm-ctx}/references/document-projections.md +39 -21
  11. package/{skill → skills/adsm-ctx}/references/documentation-compression.md +6 -5
  12. package/{skill → skills/adsm-ctx}/references/documentation-quality-audit.md +20 -5
  13. package/{skill → skills/adsm-ctx}/references/orchestration-model.md +10 -7
  14. package/{skill → skills/adsm-ctx}/references/semantic-skins.md +3 -1
  15. package/{skill → skills/adsm-ctx}/references/specialized-skills.md +6 -3
  16. package/skills/adsm-ctx/templates/AGENTS.md +19 -0
  17. package/skills/adsm-ctx/templates/ctx/AGENTS.md +46 -0
  18. package/{skill → skills/adsm-ctx}/templates/ctx/README.md +1 -1
  19. package/{skill → skills/adsm-ctx}/templates/ctx/adsm.json +4 -1
  20. package/skills/adsm-ctx/templates/ctx/agent/AGENTS.md +32 -0
  21. package/skills/adsm-ctx/templates/ctx/docs/AGENTS.md +64 -0
  22. package/skills/adsm-ctx/templates/ctx/docs/code/testing.md +17 -0
  23. package/skills/adsm-ctx/templates/ctx/docs/verification/AGENTS.md +31 -0
  24. package/src/Init/Service.mjs +5 -26
  25. package/src/Shared/Constants.mjs +7 -1
  26. package/src/Shared/Metadata.mjs +1 -0
  27. package/src/Skill/Installer.mjs +3 -3
  28. package/src/Validate/Service.mjs +282 -105
  29. package/types.d.ts +0 -4
  30. package/migrations/README.md +0 -9
  31. package/skill/references/upgrade-policy.md +0 -19
  32. package/skill/templates/AGENTS.md +0 -120
  33. package/skill/templates/ai/AGENTS.md +0 -59
  34. package/skill/templates/ctx/AGENTS.md +0 -45
  35. package/skill/templates/ctx/agent/AGENTS.md +0 -36
  36. package/skill/templates/ctx/docs/AGENTS.md +0 -55
  37. package/skill/templates/ctx/docs/code/testing.md +0 -13
  38. package/src/Cli/Command/Design.mjs +0 -17
  39. package/src/Cli/Command/Upgrade.mjs +0 -19
  40. package/src/Design/Service.mjs +0 -36
  41. package/src/Upgrade/Service.mjs +0 -44
  42. /package/{skill/templates/work → skills/adsm-ctx/assets}/context/semantic-skin.md +0 -0
  43. /package/{skill/templates/work → skills/adsm-ctx/assets}/report/documentation-compression.md +0 -0
  44. /package/{skill/templates/work → skills/adsm-ctx/assets}/report/documentation-quality-audit.md +0 -0
  45. /package/{skill → skills/adsm-ctx}/templates/ctx/assets/.gitkeep +0 -0
  46. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/ai-intro.md +0 -0
  47. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/architecture/AGENTS.md +0 -0
  48. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/architecture/behavior.md +0 -0
  49. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/architecture/checklists.md +0 -0
  50. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/architecture/constraints.md +0 -0
  51. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/architecture/decisions.md +0 -0
  52. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/architecture/integration.md +0 -0
  53. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/architecture/overview.md +0 -0
  54. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/architecture/state.md +0 -0
  55. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/architecture/structure.md +0 -0
  56. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/architecture/supervision.md +0 -0
  57. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/code/AGENTS.md +0 -0
  58. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/code/overview.md +0 -0
  59. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/environment/AGENTS.md +0 -0
  60. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/environment/overview.md +0 -0
  61. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/filesystem.md +0 -0
  62. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/product/AGENTS.md +0 -0
  63. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/product/domain.md +0 -0
  64. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/product/glossary.md +0 -0
  65. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/product/overview.md +0 -0
  66. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/product/roles.md +0 -0
  67. /package/{skill → skills/adsm-ctx}/templates/ctx/docs/product/use-cases.md +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,33 @@
2
2
 
3
3
  All notable changes to this package are documented in this file.
4
4
 
5
+ ## 0.5.0 — 2026-10-24
6
+
7
+ - Adopt context schema `0.5.0`: require five documentation directories, including the cross-cutting Verification Layer, while preserving four ordered declarative levels. Allow an AGENTS-only verification root without placeholder specifications.
8
+ - Define agent-driven context evolution across historical states, preserving project meaning and semantic skins. Remove CLI `upgrade` and `design`; the approved CLI commands are `init`, `validate`, and `install-skill`.
9
+ - Keep package and schema versioning independent. Package installation never evolves existing context or promotes its metadata; record the target schema only after agent-led conformance and semantic review.
10
+ - Consolidate the complete skill payload under `skills/adsm-ctx/`. Move optional report and semantic-skin patterns into `assets/`; remove obsolete `templates/ai/` and `templates/work/` and reserve templates for initialization.
11
+ - Document explicit Git SSH package installation followed by `adsm-ctx install-skill <skills-root>` after each update. Keep npm installation free of lifecycle hooks and automatic agent-directory writes.
12
+ - Initialize the canonical context and root instructions without overwriting existing files. Refine the Agent Operations boundary, navigation, and supervision guidance without imposing project-specific workflows.
13
+ - Improve read-only validation of verification structure, context-side AGENTS sections, and documentation navigation. Align repository documentation, semantic skins, and durable verification contracts.
14
+ - Add CI on Node.js 20 and 24, complete-payload archive and isolated installation checks, version-independence coverage, and whole-context preservation checks.
15
+
16
+ ## 0.4.0 - 2026-09-23
17
+
18
+ ### Added
19
+
20
+ - Added optional, capability-based Verification Layer support, with specifications grouped by the primary product, architecture, environment, or code target.
21
+ - Added validation for verification block structure, populated categories, metadata capabilities, and adoption without a declared capability; older and unadopted contexts remain valid.
22
+ - Added guidance for verification evidence, re-verification, Responsible Context, and the Software Evolution Loop across the bundled skill and project context.
23
+
24
+ ### Changed
25
+
26
+ - Kept the four ordered declarative documentation levels and defined `verification/` as an optional cross-cutting block rather than another authority level.
27
+ - Raised the context metadata baseline to `0.2.0` and updated initialization templates to advertise `verification-layer` without creating empty scaffolding.
28
+ - Updated design, validation, upgrade, audit, and documentation guidance to preserve existing contexts and require explicit, durable verification specifications before adoption.
29
+ - Reconciled product and architecture documents, semantic skins, README, and tests around the boundary between declarative context and operational evidence.
30
+ - Clarified that the package does not execute tests, collect monitoring data, persist feedback state, or coordinate distributed incidents; refreshed the dependency lockfile.
31
+
5
32
  ## 0.3.0 - 2026-08-14
6
33
 
7
34
  ### Changed
package/README.md CHANGED
@@ -4,7 +4,7 @@ Build and evolve project cognitive context for Agent-Driven Software Management
4
4
 
5
5
  ## Overview
6
6
 
7
- `@flancer32/skill-adsm-ctx` is an ADSM skill package for initializing, designing, validating, auditing, compressing, and upgrading project cognitive context.
7
+ `@flancer32/skill-adsm-ctx` is an ADSM skill package for initializing, designing, validating, auditing, compressing, and evolving project cognitive context.
8
8
 
9
9
  It manages the lifecycle of project context as its primary object. It does not define business requirements, backend architecture, browser architecture, deployment logic, or domain-specific documentation on its own.
10
10
 
@@ -14,8 +14,9 @@ The package includes:
14
14
 
15
15
  - the `adsm-ctx` CLI for lifecycle operations;
16
16
  - the `adsm-ctx` skill payload for AI agents;
17
- - reusable `ctx/` templates for bootstrapping ADSM-compatible projects.
18
- - working templates for agent-produced reports.
17
+ - reusable `ctx/` templates for bootstrapping ADSM-compatible projects;
18
+ - mandatory Verification Layer documentation lifecycle support;
19
+ - supporting assets for agent-produced reports.
19
20
 
20
21
  ## Purpose
21
22
 
@@ -26,9 +27,10 @@ Use this package when you need to:
26
27
  - validate whether an existing context follows expected ADSM structure;
27
28
  - audit a documentation corpus against ADSM documentation quality criteria;
28
29
  - compress a documentation corpus while preserving accepted project meaning;
29
- - upgrade a context when ADSM conventions evolve.
30
+ - evolve a context using the skill when ADSM conventions change;
31
+ - design, validate, audit, or compress a mandatory cross-cutting Verification Layer.
30
32
 
31
- This package acts as an orchestration layer. It provides generic structure, lifecycle guidance, validation, documentation quality audit guidance, documentation compression guidance, and upgrade entry points. When project-specific context is required, it should direct the agent to use specialized skills when they are available.
33
+ This package acts as an orchestration layer. It provides generic structure, lifecycle guidance, validation, documentation quality audit guidance, documentation compression guidance, and agent-driven evolution guidance. When project-specific context is required, it should direct the agent to use specialized skills when they are available.
32
34
 
33
35
  The bundled baseline now covers both:
34
36
 
@@ -44,7 +46,7 @@ This package does not:
44
46
  - write domain-specific architecture content as if it knew the project;
45
47
  - perform automatic semantic scoring or correction of documentation quality;
46
48
  - change project meaning during documentation compression;
47
- - perform destructive upgrades without explicit review.
49
+ - change accepted meaning without explicit review.
48
50
 
49
51
  ## Requirements
50
52
 
@@ -53,18 +55,15 @@ This package does not:
53
55
 
54
56
  ## Installation And Update
55
57
 
56
- Install the package globally once for the current user:
57
-
58
- ```sh
59
- npm install --global @flancer32/skill-adsm-ctx
60
- ```
61
-
62
- Install its matching agent payload into the selected skills root:
58
+ Install the package and then explicitly install its matching agent payload:
63
59
 
64
60
  ```sh
61
+ npm install --global git+ssh://git@github.com/flancer32/skill-adsm-ctx.git
65
62
  adsm-ctx install-skill "$HOME/.agents/skills"
66
63
  ```
67
64
 
65
+ The second command is required after every package installation or update. npm installs only the package, dependencies, and CLI; it does not select a skills directory or modify agent configuration. Supply another skills root if your agent uses a different location.
66
+
68
67
  The command replaces only `$HOME/.agents/skills/adsm-ctx`; it does not modify other installed skills.
69
68
 
70
69
  Verify the runtime and payload:
@@ -77,11 +76,11 @@ test -f "$HOME/.agents/skills/adsm-ctx/SKILL.md"
77
76
  To update, update the global npm package and reinstall its payload:
78
77
 
79
78
  ```sh
80
- npm update --global @flancer32/skill-adsm-ctx
79
+ npm install --global git+ssh://git@github.com/flancer32/skill-adsm-ctx.git
81
80
  adsm-ctx install-skill "$HOME/.agents/skills"
82
81
  ```
83
82
 
84
- The npm package is the canonical distribution of both artifacts. Its public `adsm-ctx` launcher runs the package as an explicit TeqFW host; the `install-skill` command copies the version-matched `skill/` bundle. Do not copy only `SKILL.md` manually: the payload also needs its references and templates.
83
+ The npm package is the canonical distribution of both artifacts. Its public `adsm-ctx` launcher runs the package as an explicit TeqFW host; the `install-skill` command copies the version-matched `skills/adsm-ctx/` bundle. Do not copy only `SKILL.md` manually: the payload also needs its references and templates.
85
84
 
86
85
  For a project-pinned CI or team workflow, install the package locally and invoke the same public launcher with npm:
87
86
 
@@ -104,12 +103,6 @@ Initialize a context in the current directory:
104
103
  adsm-ctx init
105
104
  ```
106
105
 
107
- Design guidance for a project context:
108
-
109
- ```sh
110
- adsm-ctx design
111
- ```
112
-
113
106
  Validate an existing project context:
114
107
 
115
108
  ```sh
@@ -122,11 +115,7 @@ Validate a specific path:
122
115
  adsm-ctx validate <project-root>
123
116
  ```
124
117
 
125
- Run the upgrade entry point:
126
-
127
- ```sh
128
- adsm-ctx upgrade
129
- ```
118
+ For existing contexts, ask the agent to use skill `adsm-ctx` and its evolution procedure. There is no CLI evolution command.
130
119
 
131
120
  Install the bundled skill payload:
132
121
 
@@ -144,15 +133,15 @@ teq --host @flancer32/skill-adsm-ctx adsm-ctx:validate .
144
133
 
145
134
  ### `init`
146
135
 
147
- Creates the minimal ADSM-compatible context structure, starter documents, and `ctx/adsm.json` metadata.
136
+ Creates the minimal ADSM-compatible context structure, starter documents, and `ctx/adsm.json` metadata. Schema `0.5.0` creates all five documentation directories, including `ctx/docs/verification/AGENTS.md`, without empty target categories or placeholder specifications.
148
137
 
149
138
  ### `design`
150
139
 
151
- Provides guidance for classifying the project, choosing relevant documentation branches, and identifying when specialized ADSM skills should be used.
140
+ The agent uses the skill questionnaire to classify the project, choose relevant documentation branches, and identify specialized skills. This is a skill mode, not a CLI command.
152
141
 
153
142
  ### `validate`
154
143
 
155
- Checks baseline paths, required documentation levels, required `AGENTS.md` files, metadata, body/skin pairing, localized skin names, local markdown document links, and structural projection checks. When the repository provides a deterministic validator, run it and report errors and warnings separately. Validation reports findings without modifying project content.
144
+ Checks baseline paths, required declarative documentation levels, mandatory Verification Layer structure, required `AGENTS.md` files, metadata, body/skin pairing, localized skin names, redundant `Agent Document` sections in skins, local markdown document links, and other formal structural projection checks. It does not score semantic-skin length, cognitive load, or human readability; those belong to `quality-audit`. Validation reports findings without modifying project content.
156
145
 
157
146
  ### `quality-audit`
158
147
 
@@ -166,21 +155,21 @@ Guides an agent through controlled rewrite of a documentation corpus to reduce s
166
155
 
167
156
  The default compression corpus is `ctx/docs/`. Operational context such as `ctx/agent/`, workflow configuration, prompt assets, generated reports, and runtime materials is outside the default corpus unless explicitly requested.
168
157
 
169
- ### `upgrade`
158
+ ### Agent-driven evolution
170
159
 
171
- Reads context metadata and reports or applies non-destructive migrations when available. The initial implementation provides the migration mechanism and reports when no migrations apply.
160
+ Use [the skill evolution procedure](skills/adsm-ctx/references/context-evolution.md) for existing contexts, including unknown historical states. The agent follows discover → interpret → compare → plan → evolve → validate → finalize, preserving accepted meaning and semantic skins. Humans decide changes to accepted meaning and authority. CLI `validate` supplies deterministic findings; there is no evolution command or automatic schema promotion. The agent records target schema `0.5.0` only after structural checks and semantic review succeed, then validates again. npm versioning remains independent.
172
161
 
173
162
  ## Workflow
174
163
 
175
164
  Recommended sequence:
176
165
 
177
166
  1. Run `adsm-ctx init` in a new project repository.
178
- 2. Run `adsm-ctx design` to shape the context for the actual project.
167
+ 2. Ask the agent to use the skill’s design questionnaire to shape the context for the actual project.
179
168
  3. Use specialized skills where the project needs domain-specific documentation.
180
169
  4. Run `adsm-ctx validate` as the deterministic preflight as the context evolves.
181
170
  5. Use the skill's `quality-audit` mode only after structural validation passes or leaves warnings only.
182
171
  6. Use the skill's `documentation-compression` mode when accepted documentation meaning is stable but the corpus has high attention cost.
183
- 7. Run `adsm-ctx upgrade` when template conventions or schema versions change.
172
+ 7. Use the skill evolution procedure when conventions change; CLI validation supplies read-only structural findings.
184
173
 
185
174
  ## Documentation Levels
186
175
 
@@ -195,6 +184,8 @@ product
195
184
 
196
185
  Use the architecture level once product meaning is clear enough to define stable engineering guardrails.
197
186
 
187
+ `ctx/docs/verification/` is mandatory and cross-cutting in schema `0.5.0`. It is not a fifth declarative level. Its root may contain only `AGENTS.md`; create primary-target categories only when durable specifications exist; place that specification below the category of the declaration it primarily evaluates.
188
+
198
189
  The bundled architecture templates expect these top-level documents:
199
190
 
200
191
  - `overview.md`
@@ -226,11 +217,11 @@ For `AGENTS.md` authoring, `Level Boundary` sections should stay compact and gua
226
217
 
227
218
  The CLI performs local filesystem operations and structural validation.
228
219
 
229
- The skill in `skill/SKILL.md` instructs an AI agent how to use the lifecycle modes, how to avoid inventing project content, how to audit documentation quality, how to compress documentation without changing meaning, and how to route documentation work toward specialized skills when needed.
220
+ The skill in `skills/adsm-ctx/SKILL.md` instructs an AI agent how to use the lifecycle modes, how to avoid inventing project content, how to audit documentation quality, how to compress documentation without changing meaning, and how to route documentation work toward specialized skills when needed.
230
221
 
231
- Documentation quality audit uses `skill/references/documentation-quality-audit.md` and the working report template at `skill/templates/work/report/documentation-quality-audit.md`.
222
+ Documentation quality audit uses `skills/adsm-ctx/references/documentation-quality-audit.md` and the report asset at `skills/adsm-ctx/assets/report/documentation-quality-audit.md`.
232
223
 
233
- Documentation compression uses `skill/references/documentation-compression.md` and the working report template at `skill/templates/work/report/documentation-compression.md`.
224
+ Documentation compression uses `skills/adsm-ctx/references/documentation-compression.md` and the report asset at `skills/adsm-ctx/assets/report/documentation-compression.md`.
234
225
 
235
226
  The skill does not directly invoke other skills. It instructs the agent to select and use them when relevant.
236
227
 
@@ -258,7 +249,7 @@ npm test
258
249
 
259
250
  ## Changelog
260
251
 
261
- See [CHANGELOG.md](CHANGELOG.md) for the prepared, unpublished 0.3.0 release notes.
252
+ See [CHANGELOG.md](CHANGELOG.md) for the dated release notes.
262
253
 
263
254
  ## Status
264
255
 
@@ -267,3 +258,19 @@ This repository contains a working skeleton intended as a foundation for future
267
258
  ## License
268
259
 
269
260
  Apache-2.0
261
+
262
+ ## Versioning And Compatibility
263
+
264
+ Release `0.5.0` uses npm package `0.5.0` and context schema `0.5.0`. These numbers have independent responsibilities: the package versions CLI, validator, skill, templates, and fixes; the schema versions accepted context conventions. Package `0.5.1` may fix a validator while retaining schema `0.5.0`, requiring no context evolution.
265
+
266
+ `adsm-ctx --version` identifies the installed npm package. Read `ctx/adsm.json` for a project's schema; `adsm-ctx validate <project-root>` reports recorded and supported schema versions. Compatibility follows supported requirements, not numerical equality. Current validation supports schema `0.5.0`; older labels receive evolution guidance and unknown versions require investigation.
267
+
268
+ Installing or updating the package and explicitly reinstalling its skill do not promote project metadata. An agent compares actual context with the installed skill's target conventions and evolves directly when needed, preserving project meaning and skins. Humans approve changes to accepted meaning. Only after conformance and semantic review does the agent record the target schema; no intermediate CLI migrations are required.
269
+
270
+ ## Continuous Integration
271
+
272
+ GitHub Actions runs `.github/workflows/ci.yaml` for pushes and pull requests to `main`, and on manual dispatch. Ubuntu jobs use Node.js 20 (minimum) and 24 (LTS), run `npm ci`, `npm test`, context validation, and `npm pack --dry-run`.
273
+
274
+ Package tests install a real npm archive into an isolated temporary environment, exercise the installed CLI and skill installer, compare the complete payload, and preserve neighboring skills. In CI the installation test uses network-enabled dependency resolution and fails on errors instead of skipping for missing offline cache. Local offline runs may report a skip; that is incomplete installation evidence. CI does not publish packages or prove semantic correctness of project documentation.
275
+
276
+ Skill resources are separated by purpose: `references/` provides guidance; `templates/AGENTS.md` and `templates/ctx/` feed deterministic, non-destructive initialization; `assets/` provides agent report and semantic-skin patterns. `init` does not copy skill assets into projects. Asset locations do not prescribe output locations; project authority and the task do. Skill assets are distinct from project-owned `ctx/assets/`.
package/bin/adsm-ctx.mjs CHANGED
@@ -11,7 +11,7 @@ const require = createRequire(import.meta.url);
11
11
  const packageRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
12
12
  const teqPath = require.resolve("@teqfw/cli/bin/teq.mjs");
13
13
  const hostName = "@flancer32/skill-adsm-ctx";
14
- const commandNames = new Set(["init", "design", "validate", "upgrade", "install-skill"]);
14
+ const commandNames = new Set(["init", "validate", "install-skill"]);
15
15
 
16
16
  const args = normalizeArgs(processModule.argv.slice(2));
17
17
  const result = spawnSync(processModule.execPath, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flancer32/skill-adsm-ctx",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "Build and evolve project cognitive context for Agent-Driven Software Management (ADSM).",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -9,10 +9,9 @@
9
9
  },
10
10
  "types": "types.d.ts",
11
11
  "files": [
12
- "skill/",
12
+ "skills/",
13
13
  "bin/",
14
14
  "src/",
15
- "migrations/",
16
15
  "jsconfig.json",
17
16
  "README.md",
18
17
  "LICENSE",
@@ -25,13 +24,12 @@
25
24
  "scripts": {
26
25
  "start": "adsm-ctx",
27
26
  "init": "adsm-ctx init",
28
- "design": "adsm-ctx design",
29
27
  "validate": "adsm-ctx validate",
30
- "upgrade": "adsm-ctx upgrade",
31
28
  "install:skill": "adsm-ctx install-skill \"$HOME/.agents/skills\"",
32
29
  "test:unit": "find test/unit -name '*.test.mjs' -print0 | xargs -0 -r node --test",
33
30
  "test:integration": "find test/integration -name '*.test.mjs' -print0 | xargs -0 -r node --test",
34
- "test": "npm run test:unit && npm run test:integration"
31
+ "test:package": "node --test test/package/*.test.mjs",
32
+ "test": "npm run test:unit && npm run test:integration && npm run test:package"
35
33
  },
36
34
  "dependencies": {
37
35
  "@teqfw/cli": "^2.2.0",
@@ -56,24 +54,12 @@
56
54
  "arguments": [{"name": "target-path", "kind": "string", "description": "Project root; defaults to the current working directory."}],
57
55
  "component": "Fl32_Skill_Adsm_Ctx_Cli_Command_Init$"
58
56
  },
59
- {
60
- "id": "adsm-ctx:design",
61
- "summary": "Show ADSM context design guidance.",
62
- "arguments": [{"name": "target-path", "kind": "string", "description": "Project root; defaults to the current working directory."}],
63
- "component": "Fl32_Skill_Adsm_Ctx_Cli_Command_Design$"
64
- },
65
57
  {
66
58
  "id": "adsm-ctx:validate",
67
59
  "summary": "Validate an ADSM context.",
68
60
  "arguments": [{"name": "target-path", "kind": "string", "description": "Project root; defaults to the current working directory."}],
69
61
  "component": "Fl32_Skill_Adsm_Ctx_Cli_Command_Validate$"
70
62
  },
71
- {
72
- "id": "adsm-ctx:upgrade",
73
- "summary": "Upgrade an ADSM context.",
74
- "arguments": [{"name": "target-path", "kind": "string", "description": "Project root; defaults to the current working directory."}],
75
- "component": "Fl32_Skill_Adsm_Ctx_Cli_Command_Upgrade$"
76
- },
77
63
  {
78
64
  "id": "adsm-ctx:install-skill",
79
65
  "summary": "Install the bundled agent skill payload.",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: adsm-ctx
3
- description: Use when initializing, designing, validating, auditing, compressing, or upgrading ADSM project cognitive context. This skill orchestrates generic context lifecycle work and routes agents toward specialized skills when project-specific context branches are needed.
3
+ description: Use when initializing, designing, validating, auditing, compressing, or evolving ADSM project cognitive context. This skill orchestrates generic context lifecycle work and routes agents toward specialized skills when project-specific context branches are needed.
4
4
  ---
5
5
 
6
6
  # ADSM Context Lifecycle
@@ -22,15 +22,18 @@ Humans own direction, accepted meaning, approval, and accountability. Agents ref
22
22
  | --- | --- |
23
23
  | `init` baseline | [context-lifecycle.md](references/context-lifecycle.md); use the `templates/ctx/` baseline. |
24
24
  | `design` or new branch | [context-lifecycle.md](references/context-lifecycle.md), [design-questionnaire.md](references/design-questionnaire.md), and [specialized-skills.md](references/specialized-skills.md). |
25
+ | Verification Layer or Software Evolution Loop | [document-projections.md](references/document-projections.md), [context-lifecycle.md](references/context-lifecycle.md), [documentation-quality-audit.md](references/documentation-quality-audit.md), and [specialized-skills.md](references/specialized-skills.md). |
25
26
  | `validate` structure | [context-lifecycle.md](references/context-lifecycle.md), [document-projections.md](references/document-projections.md), and the repository-provided deterministic validator when available. Report errors and warnings separately. |
26
27
  | `quality-audit` | Run `validate` first; then load [documentation-quality-audit.md](references/documentation-quality-audit.md). Report findings; do not rewrite project meaning. |
27
28
  | `documentation-compression` | Load [documentation-compression.md](references/documentation-compression.md). Rewrite only with authorization and preserve accepted meaning. |
28
- | `upgrade` | Load [upgrade-policy.md](references/upgrade-policy.md) and [context-lifecycle.md](references/context-lifecycle.md). Apply only safe, explicit migrations. |
29
+ | Evolution | Follow [the agent evolution procedure](references/context-evolution.md): discover, interpret, compare, plan, evolve, validate, finalize. The agent applies authorized changes; deterministic validation never rewrites context or promotes metadata. |
29
30
  | `AGENTS.md` or local context routing | Load [agents-hierarchy.md](references/agents-hierarchy.md). |
30
31
  | `ctx/agent/`, templates, or generic ownership boundary | Load [orchestration-model.md](references/orchestration-model.md). |
31
32
  | Browser, backend, data, deployment, or concrete tool workflow | Load [specialized-skills.md](references/specialized-skills.md), then use a matching available specialized skill. |
32
33
 
33
- `adsm-ctx install-skill <skills-root>` installs this payload from the globally installed npm package into a skills root; it is not a lifecycle mode.
34
+ `adsm-ctx install-skill <skills-root>` installs this payload from the globally installed npm package into a skills root; it is not a lifecycle mode. npm installation never installs the skill into an agent directory; run this command explicitly after each package installation or update.
35
+
36
+ Context design is performed by the agent using the questionnaire and references; there is no CLI `design` command.
34
37
 
35
38
  ## Non-Negotiable Boundaries
36
39
 
@@ -39,9 +42,23 @@ Humans own direction, accepted meaning, approval, and accountability. Agents ref
39
42
  - Read a matching `*.skin.<lang>.md` before editing its agent document. Report projection drift or a required human decision instead of silently changing skin-controlled meaning.
40
43
  - Keep `ctx/agent/` project-local: install only its boundary `AGENTS.md`; do not impose tool-specific structure, labels, prompts, roles, or executable profiles.
41
44
  - Keep assets under `ctx/assets/**`; they may illustrate, but never define, authoritative meaning.
42
- - Use only the four ADSM top-level documentation levels under `ctx/docs/`; allow justified nested project structure within them.
45
+ - Preserve the four ordered declarative documentation levels under `ctx/docs/`: `product`, `architecture`, `environment`, and `code`. Require the cross-cutting `verification/` boundary as defined in [document-projections.md](references/document-projections.md); it is never a fifth level.
43
46
  - Keep each documentation level to no more than nine direct directories and nine direct ordinary files, excluding `AGENTS.md` and paired `*.skin.<lang>.md` files, where practical; an intentional excess must be stated explicitly in that level's `AGENTS.md`.
44
47
 
48
+ ## Evolution Authority
49
+
50
+ The existing context supplies accepted project meaning; this installed skill supplies target ADSM conventions. Evolution is agent reasoning across arbitrary historical states, not an autonomous version migration. Humans control changes to accepted meaning and authority. The agent updates schema metadata only after target conformance checks and semantic consistency review succeed.
51
+
45
52
  ## Completion
46
53
 
47
- Finish with explicit validation results, specialization gaps, human decisions, and any preserved project-specific content. Use the relevant templates under `templates/ctx/` for initialization and `templates/work/` only when a working report is requested.
54
+ Finish with explicit validation results, Verification Layer structure and specification presence when relevant, specialization gaps, human decisions, and any preserved project-specific content. Use `templates/AGENTS.md` and `templates/ctx/` for initialization; use skill `assets/` only for authorized agent-guided document or report work.
55
+
56
+ The current target is schema `0.5.0`. npm package updates and context evolution are separate: package patches may retain the same supported schema. Inspect project metadata and actual conformance against this installed skill; never infer compatibility or promote metadata from package-version equality. See [context evolution](references/context-evolution.md) for the decision procedure.
57
+
58
+ ## Resource Ownership
59
+
60
+ - `references/` contains methodology, instructions, and agent guidance.
61
+ - `templates/AGENTS.md` and `templates/ctx/` are the deterministic, non-destructive project initialization sources.
62
+ - `assets/` contains supporting [semantic-skin patterns](assets/context/semantic-skin.md), [audit report patterns](assets/report/documentation-quality-audit.md), and [compression report patterns](assets/report/documentation-compression.md). Initialization never copies them into a project. Use them for authorized work; choose the resulting document's location from project rules and the task, not from the asset path.
63
+
64
+ Skill `assets/` belongs to this skill payload. Project `ctx/assets/` belongs to the managed project's context and holds visual, generated, or auxiliary artifacts. Ownership and purpose distinguish these boundaries; semantic skins themselves belong beside their agent documents under project documentation.
@@ -1,6 +1,6 @@
1
1
  # AGENTS Hierarchy
2
2
 
3
- - Path: `skill/references/agents-hierarchy.md`
3
+ - Path: `skills/adsm-ctx/references/agents-hierarchy.md`
4
4
  - Changed: `20260715`
5
5
 
6
6
  This reference operationalizes `AGENTS.md` handling for ADSM contexts.
@@ -0,0 +1,55 @@
1
+ # Agent-Driven Context Evolution
2
+
3
+ - Path: `skills/adsm-ctx/references/context-evolution.md`
4
+ - Changed: `20261024`
5
+
6
+ Evolution brings an existing cognitive context into conformance with the installed skill's target conventions through agent inspection and reasoning. The starting point is the actual context, not an assumed version-to-version file transformation. Use this procedure for methodology, organization, authority relationships, projection rules, and schema changes, including contexts predating known schema versions. Evolution is a skill-guided agent activity and has no CLI command.
7
+
8
+ ## Target And Responsibilities
9
+
10
+ The current target is context schema `adsm-context` version `0.5.0`, independent of the npm package version. Require five documentation directories: `product/`, `architecture/`, `environment/`, `code/`, and `verification/`, each with `AGENTS.md`. Exactly four form the ordered hierarchy product → architecture → environment → code. The cross-cutting verification root may contain only `AGENTS.md`; create primary-target categories only for actual durable specifications. Keep specifications distinct from observations, evidence records, and operational feedback state. Use [document-projections.md](document-projections.md) for projection, links, assets, and capacity conventions.
11
+
12
+ The skill defines target conventions and this procedure. The agent interprets the existing context, compares, applies authorized changes, checks consistency, and finalizes metadata. CLI `init` creates missing baseline files, including verification routing and initial metadata, without overwriting existing files. CLI `validate` is read-only: it never creates verification files, replaces documents, changes skins, or promotes metadata. There is no CLI evolution command. Humans control accepted project meaning, authority, and approval of changes beyond the agent's existing authorization.
13
+
14
+ ## 1. Discover
15
+
16
+ Inspect applicable `AGENTS.md` instructions, the existing context and metadata, filesystem types, Git boundaries, and current worktree changes. Identify separately mounted `ctx/` and keep each history in place. Do not remove, replace, relocate, or unmount it. Do not traverse unrelated repositories or secret-bearing files. Resolve unsafe links, nested repository ownership, or missing permissions before editing affected paths.
17
+
18
+ Read `ctx/adsm.json` and compare it with the target conventions above. Run `adsm-ctx validate <project-root>` for deterministic findings; validation does not evolve anything. Missing, malformed, unknown, or future metadata is an investigation finding, not permission to relabel the context or initialize over it.
19
+
20
+ ## 2. Interpret
21
+
22
+ Locate authoritative product intent, architecture decisions and rationale, environment assumptions, implementation constraints, and all matching semantic skins. Read skins before changing their agent documents. Separate durable declarations and specifications from evidence and operational state. Retain project-specific knowledge, nested organization, and relevant historical decisions. Consult [semantic-skins.md](semantic-skins.md) for controlled projections and [specialized-skills.md](specialized-skills.md) when a branch needs specialized interpretation.
23
+
24
+ ## 3. Compare
25
+
26
+ Compare actual structure and meaning with current target conventions, even when the recorded version is unknown or already `0.5.0`. Inventory structural, documentary, projection, and authority differences. Run `adsm-ctx validate <project-root>` and distinguish mechanical findings from semantic inconsistencies. A current version is not proof of conformance; green structure does not establish semantic correctness, verification coverage, or runtime correctness.
27
+
28
+ For example, `0.1.0` and `0.2.0` may lack `verification/AGENTS.md` or describe verification as optional. Inspect their actual documents instead of applying a fixed replacement. Unknown historical layouts require investigation and explicit reporting of what cannot yet be interpreted safely.
29
+
30
+ ## 4. Plan
31
+
32
+ Classify proposed changes as structural, editorial, semantic, or requiring human approval. Identify the authoritative owner and dependent documents for each change. Establish product meaning before architecture, then environment and code; include matching projections and local routing. Use existing authorization for routine structural or editorial changes that preserve meaning. Escalate when target conventions conflict with an accepted project decision, a skin invariant, or authority relationships. Do not treat a newer generic template as permission to override accepted meaning. Keep unresolved decisions explicit and leave affected changes pending.
33
+
34
+ ## 5. Evolve
35
+
36
+ Apply authorized changes in documentation dependency order. Add missing required boundaries from canonical templates only after inspecting the destination; adapt routing to the actual project instead of replacing custom instructions. For `0.5.0`, add missing `verification/AGENTS.md`, update the documentation Level Map, and reconcile optional-adoption wording with accepted declarations and skins. Preserve existing specifications and project directories; create no placeholder specifications or empty target categories.
37
+
38
+ Restructure or clarify only within authorization. Preserve intent, constraints, rationale, history, and projection meaning. Update linked consumers when moving a document and preserve one canonical authority home. Use deterministic helpers only for bounded, agent-selected operations; they do not decide semantic changes. Reinspect on partial failure, report completed work and unresolved differences, and preserve the previous schema label while work remains incomplete.
39
+
40
+ ## 6. Validate
41
+
42
+ Run deterministic validation and inspect every error and warning. Assess semantic consistency across declarations, decisions, projections, and local instructions separately. Confirm preserved project-specific knowledge and correct Git boundaries. If the context still bears a known older schema label, the validator's version finding is expected: establish that all other target requirements pass before promotion. Never ignore malformed metadata, unknown-version ambiguity, or unresolved semantic conflicts as merely a version mismatch. Obtain required human decisions before finalizing.
43
+
44
+ ## 7. Finalize
45
+
46
+ Only after target structural requirements and semantic consistency are satisfied, update `ctx/adsm.json` to version `0.5.0`, preserving meaningful metadata fields. A version edit records successful evolution; it does not perform it. Do not promote partially evolved contexts. Run validation again against the final metadata; investigate any failure and retain or restore the prior label if conformance is not established. Do not overwrite an unknown future schema based on this package's older target conventions.
47
+
48
+ Report changes and rationale, preserved content, deterministic results, semantic review scope and limits, remaining warnings, human decisions, and relevant Git histories. On a repeat request, compare the actual state again and make only necessary authorized changes. Repeated CLI validation remain read-only regardless of context state.
49
+
50
+
51
+ ## Package Updates And Schema Compatibility
52
+
53
+ A package update replaces the npm implementation; explicitly rerun `adsm-ctx install-skill <skills-root>` to replace its bundled agent guidance. This does not change any context schema metadata and does not imply context evolution is required. Schema versions describe accepted context conventions; package versions describe implementation releases. Package `0.5.1` may support schema `0.5.0` unchanged. Never infer compatibility from numerical equality.
54
+
55
+ Read the current schema from the project's `ctx/adsm.json`; identify this installed skill's target from Target Conventions above, not the npm version shown by `adsm-ctx --version`. Compare actual context with those conventions and use `validate` to check recorded and supported schema labels plus structural findings. If already conforming to the same schema, no evolution is needed merely because the package changed. Classify structural repairs separately from semantic changes; use the seven phases above for needed evolution and obtain human approval for changes to accepted meaning or authority. Older or intermediate labels, including `0.3.0`, do not require sequential migrations; investigate actual state and evolve directly toward the understood target. Never relabel an older context based solely on package installation.
@@ -1,7 +1,7 @@
1
1
  # Context Lifecycle
2
2
 
3
- - Path: `skill/references/context-lifecycle.md`
4
- - Changed: `20260814`
3
+ - Path: `skills/adsm-ctx/references/context-lifecycle.md`
4
+ - Changed: `20261024`
5
5
 
6
6
  `adsm-ctx` manages six lifecycle modes for project cognitive context.
7
7
 
@@ -13,35 +13,50 @@ The skill manages generic lifecycle structure. It does not define a project's bu
13
13
 
14
14
  - `init` creates the baseline. Create the root `AGENTS.md`, `ctx/` baseline, starter documents, and `ctx/adsm.json` only where they are missing. Use `templates/ctx/`; create placeholders rather than project facts when context is unknown.
15
15
  - `design` shapes context for the actual project. Classify the project, choose justified generic branches and nested structure, decide whether semantic skins are needed, and route specializations. Use [design-questionnaire.md](design-questionnaire.md) and [specialized-skills.md](specialized-skills.md).
16
- - `validate` checks structural integrity without destructive edits. Check baseline paths, context metadata, the four top-level documentation levels, local `AGENTS.md` placement, document headers, agent/skin pairs, reversible skin naming, compactness, local document links, and `ctx/assets/**` exclusion.
16
+ - `validate` checks formal structural integrity without destructive edits. Check baseline paths, context metadata, the four declarative documentation levels, mandatory Verification Layer structure, local `AGENTS.md` placement, document headers, agent/skin pairs, reversible skin naming, redundant `Agent Document` sections, local document links, and `ctx/assets/**` exclusion. Do not score semantic compactness, cognitive load, or word counts.
17
17
  - `quality-audit` guides semantic documentation review. It is report-only by default; use [documentation-quality-audit.md](documentation-quality-audit.md) after validation.
18
18
  - `documentation-compression` guides controlled documentation rewrite that preserves accepted meaning. Use [documentation-compression.md](documentation-compression.md); do not treat it as an automatic semantic rewrite.
19
- - `upgrade` migrates context non-destructively. Read metadata first, preserve project-specific content, and use [upgrade-policy.md](upgrade-policy.md) for safe boundaries.
19
+ - Evolution is agent-driven context interpretation and authorized change across historical states, methodology, organization, authority, and projections. Follow [the evolution procedure](context-evolution.md). There is no evolution CLI command; use `validate` for deterministic findings.
20
20
 
21
- The lifecycle is iterative. A project may return to `design`, `validate`, `quality-audit`, `documentation-compression`, and `upgrade` many times after initialization.
21
+ The lifecycle is iterative. A project may return to `design`, `validate`, `quality-audit`, `documentation-compression`, and evolution many times after initialization.
22
22
 
23
23
  `quality-audit` is an agent-guided mode. It is not a CLI semantic scoring command.
24
24
 
25
25
  `documentation-compression` is an agent-guided rewrite mode. It is not a CLI semantic scoring command and must not change project meaning.
26
26
 
27
- The package-level `adsm-ctx install-skill <skills-root>` command installs the version-matched skill payload into an agent skills root.
27
+ The package-level `adsm-ctx install-skill <skills-root>` command installs the version-matched skill payload into an explicitly supplied agent skills root. After installation or update, run:
28
+
29
+ ```sh
30
+ npm install --global git+ssh://git@github.com/flancer32/skill-adsm-ctx.git
31
+ adsm-ctx install-skill "$HOME/.agents/skills"
32
+ ```
33
+
34
+ The second command is required; npm lifecycle hooks do not install or update agent skills.
28
35
 
29
36
  It is not a context lifecycle mode.
30
37
 
31
38
  All lifecycle modes that operate on `ctx/docs/` use the documentation projection model in [document-projections.md](document-projections.md).
32
39
 
33
- The lifecycle must preserve ADSM's four top-level documentation levels under `ctx/docs/` while allowing project-specific nested subdirectories inside those levels.
40
+ The lifecycle must preserve ADSM's four ordered declarative documentation levels under `ctx/docs/` while allowing project-specific nested subdirectories inside them and a mandatory cross-cutting Verification Layer as defined in [document-projections.md](document-projections.md).
34
41
 
35
- Validation, audit, compression, and upgrade work must recognize agent documents, semantic skins, agent/skin pairs, orphan skins, projection drift, and `ctx/assets/**` as non-authoritative artifact space.
42
+ Validation, audit, compression, and evolution work must recognize agent documents, semantic skins, agent/skin pairs, orphan skins, projection drift, and `ctx/assets/**` as non-authoritative artifact space.
36
43
 
37
44
  When a repository provides a deterministic validation command, validation work must discover and run it. Report errors and warnings separately; warning-only output is not a clean result. Clear structural errors before a quality audit.
38
45
 
46
+ ## Verification Layer And Software Evolution
47
+
48
+ Verification defines the relation between an accepted declaration and a bounded observation of reality. A signal may arise from an active check, passive runtime observation, or an external report. It becomes an observation only after enough context identifies what was observed, against which applicable expectation, and in what relevant state.
49
+
50
+ An observation supports an assessment such as conformity, deviation, ambiguity, contradiction, or insufficient evidence. A deviation is not a cause. Localization hypotheses remain revisable until targeted evidence supports them. A Responsible Context advances the loop within its authority; resolution feedback alone does not close it. Where closure is required, obtain a new applicable re-verification of the relevant original expectation.
51
+
52
+ The Software Evolution Loop is broader than Verification. Architecture defines boundaries and ownership; supervision defines acceptable uncertainty and required independence; project-local workflow owns routing and operational feedback state; specialized skills provide concrete verification, monitoring, transport, or distributed feedback procedures. `adsm-ctx` provides methodology and documentation lifecycle support, not a runtime coordination system.
53
+
39
54
  ## Shared Boundaries
40
55
 
41
56
  - Establish product meaning before architecture, then architecture before environment or code constraints. Lower levels refine but do not create upstream meaning.
42
57
  - Keep `ctx/docs/filesystem.md` limited to root-level repository navigation. Describe lower structure only in the appropriate local `AGENTS.md` files.
43
58
  - Preserve project-local materials under `ctx/agent/`; this skill defines only its boundary `AGENTS.md` and never invents tool instructions, workflows, labels, events, prompts, profiles, or agent roles.
44
- - Use only `product/`, `architecture/`, `environment/`, and `code/` as ADSM top-level documentation levels. Nested structure within them remains project-specific.
59
+ - Use only `product/`, `architecture/`, `environment/`, and `code/` as ordered ADSM declarative levels. `verification/` is a mandatory cross-cutting documentation block, never a fifth level; nested structure remains project-specific.
45
60
  - Keep each documentation level within nine direct directories and nine direct ordinary files, excluding `AGENTS.md` and paired `*.skin.<lang>.md` files, where practical. When a level deliberately exceeds either value, its local `AGENTS.md` must explicitly record a `Documentation Capacity Exception` and the reason.
46
61
  - Place visual, generated, rendered, and auxiliary artifacts under `ctx/assets/**`; they cannot introduce authoritative project meaning.
47
62
  - Read a matching semantic skin before changing its agent document. Report projection drift or a required human decision when a change would alter skin-controlled meaning.
@@ -51,3 +66,7 @@ When a repository provides a deterministic validation command, validation work m
51
66
  Use the baseline architecture branch to translate accepted product intent into stable engineering structure. Typical template documents are `overview.md`, `structure.md`, `behavior.md`, `state.md`, `integration.md`, `constraints.md`, `checklists.md`, `decisions.md`, and `supervision.md`.
52
67
 
53
68
  Refine those documents or add justified nested structure, but do not introduce architectural owners, durable state, external integrations, system boundaries, or product behavior without the required upstream documentation and human approval. When architecture exposes a load-bearing product capability, invariant, or authority boundary absent from product documentation, update the product layer first or report the gap. Prefer updating documentation before code when a new architectural concept appears.
69
+
70
+ Package updates replace implementation and explicitly installed skill files; context evolution changes a project toward supported conventions. These are separate operations. A package-only update requires no evolution when the context already conforms to the supported schema; compare project metadata and actual requirements using [context evolution](context-evolution.md).
71
+
72
+ Design is agent-performed guidance using the questionnaire and specialized-skill routing; no CLI design command is provided.
@@ -1,7 +1,7 @@
1
1
  # Design Questionnaire
2
2
 
3
- - Path: `skill/references/design-questionnaire.md`
4
- - Changed: `20260610`
3
+ - Path: `skills/adsm-ctx/references/design-questionnaire.md`
4
+ - Changed: `20261024`
5
5
 
6
6
  Use this questionnaire at the start of `design` mode to classify the project and decide which specialized ADSM skills may be relevant.
7
7
 
@@ -42,3 +42,15 @@ Use this questionnaire at the start of `design` mode to classify the project and
42
42
  - If the project includes a browser-based web application, look for a browser documentation skill such as `skill-adsm-doc-web-browser`.
43
43
  - If the project includes other specialized areas, choose the matching skill when available.
44
44
  - If a relevant specialized skill is unavailable, still create the justified ADSM structure, preserve any project-defined semantics, and record the missing specialization as a gap instead of inventing unsupported details.
45
+
46
+ ## Verification Questions
47
+
48
+ 11. Which declared outcomes, boundaries, conditions, or code properties have high practical consequence if wrong?
49
+ 12. Which broad observations provide useful early detection, and which blind spots need narrower diagnostics?
50
+ 13. Which signals may arrive actively, passively, or from external reporters, and what provenance is available?
51
+ 14. Which observations can the current agent perform directly, and which require another Responsible Context, human action, or specialized tooling?
52
+ 15. Does supervision require independent evidence or an independent actor for any concern?
53
+
54
+ ## Verification Design Guidance
55
+
56
+ Keep the mandatory `ctx/docs/verification/AGENTS.md` boundary even when no specifications are justified. Asking these questions does not justify creating target categories or placeholder specifications. When a durable specification is justified, place it under the category of its primary declaration target, link secondary targets instead of duplicating it, and route concrete test execution, monitoring, signal transport, or distributed feedback work to a specialized skill or project-local design.