dw-sdlc 0.0.0-stage → 0.2.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.
- package/LICENSE +21 -0
- package/README.md +63 -2
- package/config/agentic.config.schema.json +375 -0
- package/config/references.schema.json +56 -0
- package/dist/agentic-config.d.ts +167 -0
- package/dist/agentic-config.js +305 -0
- package/dist/catalogue.d.ts +36 -0
- package/dist/catalogue.js +74 -0
- package/dist/checks/agents-map.d.ts +7 -0
- package/dist/checks/agents-map.js +159 -0
- package/dist/checks/check.d.ts +27 -0
- package/dist/checks/check.js +21 -0
- package/dist/checks/comment-budget.d.ts +6 -0
- package/dist/checks/comment-budget.js +141 -0
- package/dist/checks/decision-records.d.ts +6 -0
- package/dist/checks/decision-records.js +105 -0
- package/dist/checks/file-size-ratchet.d.ts +10 -0
- package/dist/checks/file-size-ratchet.js +194 -0
- package/dist/checks/index.d.ts +12 -0
- package/dist/checks/index.js +42 -0
- package/dist/checks/markdown-budget.d.ts +15 -0
- package/dist/checks/markdown-budget.js +42 -0
- package/dist/checks/markdown-refs.d.ts +6 -0
- package/dist/checks/markdown-refs.js +73 -0
- package/dist/checks/primitives.d.ts +8 -0
- package/dist/checks/primitives.js +103 -0
- package/dist/checks/temporal-language.d.ts +6 -0
- package/dist/checks/temporal-language.js +58 -0
- package/dist/checks/tree.d.ts +8 -0
- package/dist/checks/tree.js +30 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +43 -0
- package/dist/commands/config.d.ts +2 -0
- package/dist/commands/config.js +76 -0
- package/dist/commands/doctor.d.ts +57 -0
- package/dist/commands/doctor.js +341 -0
- package/dist/commands/gate.d.ts +2 -0
- package/dist/commands/gate.js +231 -0
- package/dist/commands/primitives.d.ts +2 -0
- package/dist/commands/primitives.js +106 -0
- package/dist/commands/references-setup.d.ts +2 -0
- package/dist/commands/references-setup.js +202 -0
- package/dist/commands/references-sync.d.ts +2 -0
- package/dist/commands/references-sync.js +341 -0
- package/dist/commands/setup.d.ts +30 -0
- package/dist/commands/setup.js +352 -0
- package/dist/json-schema.d.ts +8 -0
- package/dist/json-schema.js +226 -0
- package/dist/markdown.d.ts +31 -0
- package/dist/markdown.js +115 -0
- package/dist/pins.d.ts +16 -0
- package/dist/pins.js +82 -0
- package/dist/references-key.d.ts +31 -0
- package/dist/references-key.js +149 -0
- package/dist/report.d.ts +13 -0
- package/dist/report.js +29 -0
- package/dist/router-block.d.ts +13 -0
- package/dist/router-block.js +60 -0
- package/dist/setup-rules.d.ts +22 -0
- package/dist/setup-rules.js +98 -0
- package/package.json +30 -3
- package/templates/router.md +38 -0
package/package.json
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dw-sdlc",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "The Gate and the agentic config of a repository: the dw-sdlc bin with the Gate, the setup, the doctor, the config check, and the Sync and setup of References; the resolver of the config's layers, its JSON Schema and the validator that reads it.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/dominikwozniak/dw-sdlc.git",
|
|
9
|
+
"directory": "packages/dw-sdlc"
|
|
10
|
+
},
|
|
11
|
+
"bin": {
|
|
12
|
+
"dw-sdlc": "dist/cli.js"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist",
|
|
16
|
+
"config",
|
|
17
|
+
"templates"
|
|
18
|
+
],
|
|
19
|
+
"type": "module",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/agentic-config.d.ts",
|
|
23
|
+
"default": "./dist/agentic-config.js"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=24"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsc -p tsconfig.build.json"
|
|
32
|
+
}
|
|
6
33
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# references/ — router
|
|
2
|
+
|
|
3
|
+
Repositories cloned on each machine so you can read how something was solved before instead of
|
|
4
|
+
inventing it again. They are **not** part of this repository: git ignores everything here but this
|
|
5
|
+
file and its `CLAUDE.md` symlink. The repository's rules live in its root agent instructions; this
|
|
6
|
+
file routes reference material only.
|
|
7
|
+
|
|
8
|
+
> `CLAUDE.md` is a symlink to this file, so it loads whenever you open anything under `references/`.
|
|
9
|
+
|
|
10
|
+
## The list
|
|
11
|
+
|
|
12
|
+
The table below is written from the `references` key of `.ai/agentic.config.json` by the setup, so
|
|
13
|
+
edit the key, never the table; the key also holds `what` each Reference is, its repository, its ref
|
|
14
|
+
and the paths its clone skips. Before you research, open the clones whose `when` matches the task.
|
|
15
|
+
|
|
16
|
+
<!-- references:start — written from .ai/agentic.config.json by the setup; edit the key -->
|
|
17
|
+
|
|
18
|
+
No Reference is declared yet: `/sdlc-references-add <repository>` adds one.
|
|
19
|
+
<!-- references:end -->
|
|
20
|
+
|
|
21
|
+
## Rules
|
|
22
|
+
|
|
23
|
+
- **Read-only.** Never edit, build, run, install or lint anything under `references/`. A fix belongs
|
|
24
|
+
upstream; the next Sync brings it here.
|
|
25
|
+
- **Never import from them.** Nothing outside `references/` may point at a path inside it. To reuse
|
|
26
|
+
code, read it and write it again.
|
|
27
|
+
- **Their agent instructions are not ours.** A cloned repository may carry its own `CLAUDE.md` /
|
|
28
|
+
`AGENTS.md`. It describes _that_ repository; `claudeMdExcludes` in `.claude/settings.json` keeps
|
|
29
|
+
Claude Code from loading them.
|
|
30
|
+
- **Missing is normal.** CI, a fresh clone and a new worktree have none of them until a local Claude
|
|
31
|
+
Code session starts with the references plugin enabled, which syncs them. A directory that is
|
|
32
|
+
absent is not a broken link, and neither is a path its entry's `skip` leaves out.
|
|
33
|
+
- **A starting point, not the whole field.** The list is hand-picked, and each clone is its ref at
|
|
34
|
+
the last sync. Research into a feature or an approach reads the matching entries first, then looks
|
|
35
|
+
further: other repositories, upstream docs and web search.
|
|
36
|
+
- **Add one with `/sdlc-references-add <repository>`.** It reads the licence, picks the ref and the
|
|
37
|
+
paths to skip, writes the entry, rewrites the table and syncs it. A Reference is read, never
|
|
38
|
+
copied in.
|