dw-sdlc 0.1.0 → 0.3.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/config/agentic.config.schema.json +163 -0
- package/dist/agentic-config.js +3 -5
- package/dist/checks/agents-map.js +3 -10
- package/dist/checks/check.d.ts +10 -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 +5 -1
- package/dist/checks/index.js +25 -2
- 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.js +5 -30
- 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/commands/doctor.d.ts +5 -3
- package/dist/commands/doctor.js +68 -13
- package/dist/commands/gate.js +73 -17
- package/dist/commands/references-setup.js +5 -16
- package/dist/commands/references-sync.js +3 -9
- package/dist/commands/setup.d.ts +3 -4
- package/dist/commands/setup.js +23 -40
- package/dist/json-schema.js +3 -4
- package/dist/markdown.d.ts +12 -0
- package/dist/markdown.js +40 -2
- package/dist/pins.d.ts +2 -0
- package/dist/pins.js +4 -4
- package/dist/references-key.js +1 -2
- package/dist/router-block.js +1 -3
- package/package.json +1 -1
- package/templates/router.md +1 -1
package/dist/router-block.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
// The Router's block: a table of each Reference's `dir` and `when`, written from the `references` key
|
|
2
2
|
// between two markers. The setup writes it and the Sync checks it; the rest of the Router is the
|
|
3
|
-
// author's. A
|
|
4
|
-
// step when its rows say what the key says, not when its bytes match: cells are compared trimmed, and
|
|
5
|
-
// a `when` that differs only in the spaces at a cell's edge reads as the same row.
|
|
3
|
+
// author's. A block is in step when its rows say what the key says, not its bytes, which a formatter pads.
|
|
6
4
|
const START = "<!-- references:start — written from .ai/agentic.config.json by the setup; edit the key -->";
|
|
7
5
|
const END = "<!-- references:end -->";
|
|
8
6
|
const START_LINE = /^<!-- references:start\b.*-->\s*$/;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dw-sdlc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
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
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
package/templates/router.md
CHANGED
|
@@ -28,7 +28,7 @@ No Reference is declared yet: `/sdlc-references-add <repository>` adds one.
|
|
|
28
28
|
`AGENTS.md`. It describes _that_ repository; `claudeMdExcludes` in `.claude/settings.json` keeps
|
|
29
29
|
Claude Code from loading them.
|
|
30
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
|
|
31
|
+
Code session starts with the sdlc plugin enabled, which syncs them. A directory that is
|
|
32
32
|
absent is not a broken link, and neither is a path its entry's `skip` leaves out.
|
|
33
33
|
- **A starting point, not the whole field.** The list is hand-picked, and each clone is its ref at
|
|
34
34
|
the last sync. Research into a feature or an approach reads the matching entries first, then looks
|