@delete101020/aidlc 4.0.0 → 4.0.1
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 +51 -38
- package/dist/bundle.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,36 +3,32 @@
|
|
|
3
3
|
[](https://github.com/delete101020/ai-native-sdlc/blob/main/LICENSE)
|
|
4
4
|
[](https://www.npmjs.com/package/@delete101020/aidlc)
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
The terminal side of **AIDLC Native**: drive Claude through the six stages of the
|
|
7
|
+
[AI-Native SDLC Playbook](https://claude.com/blog/the-ai-native-sdlc-playbook) —
|
|
8
|
+
**Plan → Design → Build → Test → Deploy → Maintain** — from any shell, a CI job or
|
|
9
|
+
a cron script. Every stage is an agent that writes one artifact (`intent.md`,
|
|
10
|
+
`spec.md`, `plan.md`, `verify.md`, `review.md`, `incident.md`), and the
|
|
11
|
+
pipeline waits at the review gates you keep.
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
The CLI shares `.aidlc/workspace.yaml` and the run files with the
|
|
14
|
+
[VS Code extension](https://marketplace.visualstudio.com/items?itemName=delete101020.aidlc-native)
|
|
15
|
+
(no daemon, no IPC), so an epic started in one can be finished in the other.
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
**Claude only.** The CLI shells out to `claude --print --append-system-prompt
|
|
18
|
+
<skill>`. No Anthropic SDK calls.
|
|
15
19
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
per-epic **memory** tool, and the `/annotate-artifact` + `/epic-context` skills. Review epic
|
|
20
|
-
artifacts in a browser and apply feedback back to the Markdown — from a plain terminal +
|
|
21
|
-
Claude Code, no VS Code required. Optional `aidlc globals memory-hook enable` auto-loads an
|
|
22
|
-
epic's memory whenever a prompt mentions it. See the [`globals`](#globals--built-in-workflow-agents--skills-under-claude) command.
|
|
20
|
+
> **A fork** of [`aidlc-io/aidlc`](https://github.com/aidlc-io/aidlc) by hueanmy, not
|
|
21
|
+
> affiliated with the upstream author. The package is scoped because the upstream
|
|
22
|
+
> owns `aidlc` on npm; the command it installs is still `aidlc`.
|
|
23
23
|
|
|
24
24
|
## Install
|
|
25
25
|
|
|
26
|
-
The CLI of **AIDLC Native**, a fork of [`aidlc-io/aidlc`](https://github.com/aidlc-io/aidlc)
|
|
27
|
-
(not affiliated with the upstream author). The package is scoped because the
|
|
28
|
-
upstream owns `aidlc` on npm; the command it installs is still `aidlc`:
|
|
29
|
-
|
|
30
26
|
```sh
|
|
31
27
|
npm install -g @delete101020/aidlc
|
|
32
28
|
aidlc --version
|
|
33
29
|
```
|
|
34
30
|
|
|
35
|
-
If the upstream `aidlc` package is installed globally, `npm uninstall -g aidlc`
|
|
31
|
+
If the upstream `aidlc` package is installed globally, run `npm uninstall -g aidlc`
|
|
36
32
|
first — both provide the `aidlc` command.
|
|
37
33
|
|
|
38
34
|
To run unreleased changes, build it from the repo:
|
|
@@ -41,7 +37,6 @@ To run unreleased changes, build it from the repo:
|
|
|
41
37
|
pnpm install # at repo root
|
|
42
38
|
pnpm -r compile
|
|
43
39
|
cd packages/cli && pnpm bundle && npm link # makes `aidlc` available globally
|
|
44
|
-
aidlc --version # 3.5.1
|
|
45
40
|
```
|
|
46
41
|
|
|
47
42
|
`npm link` points at the working tree, so a later `pnpm bundle` is enough to
|
|
@@ -60,20 +55,36 @@ Run `aidlc doctor` to verify all of the above.
|
|
|
60
55
|
## Five-minute walkthrough
|
|
61
56
|
|
|
62
57
|
```sh
|
|
63
|
-
# 1.
|
|
64
|
-
|
|
58
|
+
# 1. A workspace with the AI-Native SDLC workflow
|
|
59
|
+
cd my-project
|
|
65
60
|
aidlc init
|
|
61
|
+
aidlc preset apply ai-native # 6 agents, 7 skills, the ai-native-full pipeline
|
|
66
62
|
aidlc doctor # confirm claude is wired up
|
|
67
63
|
|
|
68
|
-
# 2.
|
|
69
|
-
aidlc
|
|
70
|
-
aidlc list # see the agents, skills, pipeline you got
|
|
64
|
+
# 2. Start an epic — the brief picks a recipe (here: native-fix)
|
|
65
|
+
aidlc epic start EPIC-1 --brief "fix the login redirect loop"
|
|
71
66
|
|
|
72
|
-
# 3.
|
|
73
|
-
aidlc run
|
|
74
|
-
aidlc run
|
|
67
|
+
# 3. Let Claude work it, stopping at each review gate
|
|
68
|
+
aidlc run exec EPIC-1 # exit 2 = waiting for your review
|
|
69
|
+
aidlc run approve EPIC-1 # or: aidlc run reject EPIC-1 --reason "…"
|
|
70
|
+
aidlc run exec EPIC-1 # carries on to the next gate
|
|
75
71
|
```
|
|
76
72
|
|
|
73
|
+
Recipes right-size the pipeline to the task:
|
|
74
|
+
|
|
75
|
+
| Recipe | Steps | For |
|
|
76
|
+
|---|---|---|
|
|
77
|
+
| `native-full` | intent → spec → build-plan → implement → verify → review | New behaviour |
|
|
78
|
+
| `native-fix` | intent → build-plan → implement → verify → review | Bugs, refactors, tech debt |
|
|
79
|
+
| `native-lite` | intent → build-plan → implement → review | Small changes with a precedent in the code |
|
|
80
|
+
| `native-quick` | intent → build-plan → implement → verify | Small, well-understood changes |
|
|
81
|
+
| `native-align` | intent → spec | Agreeing on scope before any code |
|
|
82
|
+
| `native-hotfix` | build-plan → implement → review | Production is down and the cause is known |
|
|
83
|
+
|
|
84
|
+
Pick one yourself with `aidlc epic start <id> --recipe native-full`, or list them
|
|
85
|
+
with `aidlc pipeline recipes`. Stage 6 has its own entry point — see
|
|
86
|
+
[`maintain`](#maintain--stage-6-the-ai-native-return-path).
|
|
87
|
+
|
|
77
88
|
## Command reference
|
|
78
89
|
|
|
79
90
|
Global flags available on every subcommand:
|
|
@@ -125,15 +136,16 @@ run-state JSON files are parseable. Exit 1 on any failure (including skill /
|
|
|
125
136
|
runner / runtime checks). `--json` emits every section as
|
|
126
137
|
`{ ok, failures, sections }` — a parseable CI preflight.
|
|
127
138
|
|
|
128
|
-
### `mcp` — give another CLI the
|
|
139
|
+
### `mcp` — give another CLI the code-graph server
|
|
129
140
|
|
|
130
141
|
```
|
|
131
142
|
aidlc mcp status
|
|
132
143
|
aidlc mcp register [--runner codex] [--dry-run]
|
|
133
144
|
```
|
|
134
145
|
|
|
135
|
-
The VS Code extension registers
|
|
136
|
-
automatically, project-scoped
|
|
146
|
+
The VS Code extension registers a code-graph MCP server with Claude
|
|
147
|
+
automatically, project-scoped — `ast-graph` by default, or `codegraph` when
|
|
148
|
+
`aidlcNative.astGraph.engine` is set to it. Codex keeps MCP servers in `~/.codex/config.toml`,
|
|
137
149
|
which is per-user: registering there points every Codex session on the machine
|
|
138
150
|
at this workspace's graph, so it stays an explicit command. `register` copies
|
|
139
151
|
the binary and db path out of the registration Claude already has — run
|
|
@@ -255,8 +267,9 @@ aidlc preset apply <name> # merges into current workspace (no ov
|
|
|
255
267
|
aidlc preset save <name> # snapshot current workspace to .aidlc/presets/<name>.json
|
|
256
268
|
```
|
|
257
269
|
|
|
258
|
-
Built-in presets: `
|
|
259
|
-
pipeline
|
|
270
|
+
Built-in presets: `ai-native` (the six-stage AI-Native SDLC workflow),
|
|
271
|
+
`sdlc` (the classic AIDLC pipeline: Plan → (Design ∥ Test Plan) →
|
|
272
|
+
Implement ∥ Generate Test Cases → Execute Test), `code-review` and `release-notes` (single-agent pipelines).
|
|
260
273
|
|
|
261
274
|
### Epics
|
|
262
275
|
|
|
@@ -581,12 +594,12 @@ still needed by other globally-installed workflows.
|
|
|
581
594
|
|
|
582
595
|
## Recipes
|
|
583
596
|
|
|
584
|
-
### Drive
|
|
597
|
+
### Drive an AI-Native epic end-to-end, unattended
|
|
585
598
|
|
|
586
599
|
```sh
|
|
587
|
-
aidlc preset apply
|
|
588
|
-
aidlc
|
|
589
|
-
aidlc run exec
|
|
600
|
+
aidlc preset apply ai-native
|
|
601
|
+
aidlc epic start EPIC-7 --recipe native-full
|
|
602
|
+
aidlc run exec EPIC-7 --auto-approve # clears human gates without pausing
|
|
590
603
|
```
|
|
591
604
|
|
|
592
605
|
### Manually mark a phase done that you completed outside AIDLC
|
|
@@ -622,7 +635,7 @@ aidlc epic list --json | jq '.[] | select(.status=="in_progress") | .id'
|
|
|
622
635
|
|
|
623
636
|
```sh
|
|
624
637
|
# Terminal 1 — kick off the run, then walk away
|
|
625
|
-
aidlc
|
|
638
|
+
aidlc epic start ABC-123 --brief "…"
|
|
626
639
|
aidlc run exec ABC-123 --auto-approve
|
|
627
640
|
|
|
628
641
|
# Terminal 2 — live table
|
package/dist/bundle.js
CHANGED
|
@@ -31818,7 +31818,7 @@ AIDLC is an AI-driven SDLC + agent workflow runner. It drives Claude through a
|
|
|
31818
31818
|
pipeline you declare in \`.aidlc/workspace.yaml\`, tracking every run, step, and
|
|
31819
31819
|
token. It has two surfaces that share the same files on disk (no daemon):
|
|
31820
31820
|
|
|
31821
|
-
- **VS Code extension** \u2014 **AIDLC Native** (\`delete101020.aidlc\`, on the VS Code
|
|
31821
|
+
- **VS Code extension** \u2014 **AIDLC Native** (\`delete101020.aidlc-native\`, on the VS Code
|
|
31822
31822
|
Marketplace and Open VSX; commands and settings under \`aidlcNative.*\`) \u2014 a
|
|
31823
31823
|
visual Builder for workspace.yaml,
|
|
31824
31824
|
a sidebar launcher, epic/run tracking, and the **AIDLC Monitor** (token usage,
|
|
@@ -31876,7 +31876,7 @@ the other within ~200ms.
|
|
|
31876
31876
|
|
|
31877
31877
|
## VS Code extension setup & UI
|
|
31878
31878
|
1. Install **AIDLC Native** from the Extensions view (Marketplace in VS Code, Open VSX
|
|
31879
|
-
in Antigravity / Cursor / VSCodium), or \`code --install-extension delete101020.aidlc\`.
|
|
31879
|
+
in Antigravity / Cursor / VSCodium), or \`code --install-extension delete101020.aidlc-native\`.
|
|
31880
31880
|
CLI: \`npm install -g @delete101020/aidlc\` (the command is \`aidlc\`).
|
|
31881
31881
|
2. Ensure \`claude\` is on PATH and authenticated (the sidebar surfaces MCP/claude state).
|
|
31882
31882
|
3. Open a project folder. The **AIDLC** sidebar (activity bar) shows:
|
|
@@ -41510,7 +41510,7 @@ var require_package = __commonJS({
|
|
|
41510
41510
|
"package.json"(exports2, module2) {
|
|
41511
41511
|
module2.exports = {
|
|
41512
41512
|
name: "@delete101020/aidlc",
|
|
41513
|
-
version: "4.0.
|
|
41513
|
+
version: "4.0.1",
|
|
41514
41514
|
description: "AIDLC Native CLI, a fork of AIDLC \u2014 drive Claude through the six-stage AI-Native SDLC Playbook: Plan \u2192 Design \u2192 Build \u2192 Test \u2192 Deploy \u2192 Maintain, with artifact gates, requirements traceability, an incident loop back to Plan, and Spec Kit support.",
|
|
41515
41515
|
license: "MIT",
|
|
41516
41516
|
repository: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delete101020/aidlc",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "AIDLC Native CLI, a fork of AIDLC — drive Claude through the six-stage AI-Native SDLC Playbook: Plan → Design → Build → Test → Deploy → Maintain, with artifact gates, requirements traceability, an incident loop back to Plan, and Spec Kit support.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|