@manhquy/flow-skill 0.4.1 → 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.
- package/CHANGELOG.md +5 -0
- package/README.md +5 -5
- package/README_VN.md +61 -36
- package/package.json +1 -1
- package/skills/flow/SKILL.md +14 -8
- package/skills/flow/_templates/card.md +3 -0
- package/skills/flow/eval/fixtures/f05a/flow/05-contract.md +22 -0
- package/skills/flow/eval/fixtures/f05b/flow/05-contract.md +11 -0
- package/skills/flow/eval/manifest.tsv +2 -0
- package/skills/flow/references/attestations.md +307 -0
- package/skills/flow/references/auto-run.md +7 -2
- package/skills/flow/references/command-dispatch.md +3 -1
- package/skills/flow/references/concierge.md +1 -0
- package/skills/flow/references/debt-and-halts.md +2 -0
- package/skills/flow/references/ground-truth-gates.md +3 -0
- package/skills/flow/runner/attestations.sh +1365 -0
- package/skills/flow/runner/flow.sh +222 -16
- package/skills-manifest.json +6 -2
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
# /flow auto — autonomous build run
|
|
2
2
|
|
|
3
3
|
`/flow auto` drives the card-building phase autonomously. Preflight via
|
|
4
|
-
`flow.sh auto`
|
|
5
|
-
|
|
4
|
+
`flow.sh auto` requires planning complete, classified card **risk** (no `unknown`),
|
|
5
|
+
valid security-class DEBT acknowledgement when needed, a reliable live supervisor, and a
|
|
6
|
+
current Stage 05 `semantic_gate` receipt — then writes shared `.flow/auto-state`. Full
|
|
7
|
+
contract: `references/attestations.md`. Then YOU (Claude) orchestrate per the principles
|
|
8
|
+
below. Operator chose: **Tier-A auto-merge green cards; halt at security-class.**
|
|
9
|
+
While auto is active, mechanical transitions require current card semantic/live receipts;
|
|
10
|
+
there is no hidden bypass — use `flow auto stop` for deliberate manual continuation.
|
|
6
11
|
|
|
7
12
|
## Tiers (decide per card before acting)
|
|
8
13
|
|
|
@@ -34,7 +34,9 @@ install dir; run from the project root so `flow/` and `cards/` resolve.
|
|
|
34
34
|
| `/flow mode work` | `bash <skill>/runner/flow.sh mode work` | Interview once, draft 00-05, pause for scope sign-off, deliver card set; still pass every gate. |
|
|
35
35
|
| `/flow ready` | `bash <skill>/runner/flow.sh ready` | Relay buildable cards; confirm allowed-files truly don't overlap before suggesting parallel. Operator dispatches. |
|
|
36
36
|
| `/flow workspace <verb>` | `bash <skill>/runner/flow.sh workspace add\|list\|enter\|remove\|check\|doctor [...]` | Multi-agent worktree isolation (human-driven, cross-vendor). Relay the runner output faithfully: on `add`, hand the operator the printed cd/env block (one worktree per agent — Claude `--worktree`/`-w`, Codex CLI manual + `CODEX_HOME`, Antigravity = open the dir as a workspace); on `check`/`doctor` exit 1, surface the collision/drift, don't auto-`--force` a `remove`. git is the source of truth; the `.flow/workspaces.jsonl` side-file only adds vendor/card/port/task. Advisory — not a `next` gate. |
|
|
37
|
-
| `/flow auto` | `bash <skill>/runner/flow.sh auto` | On preflight PASS, drive the autonomous run per SKILL.md AUTO principles
|
|
37
|
+
| `/flow auto` | `bash <skill>/runner/flow.sh auto` | On preflight PASS (risk + Stage 05 receipt), shared auto-state is active — drive the autonomous run per SKILL.md AUTO principles + `attestations.md`. |
|
|
38
|
+
| `/flow auto stop` | `bash <skill>/runner/flow.sh auto stop` | Clear auto policy; return to warning-only manual path. |
|
|
39
|
+
| `/flow attest …` | `bash <skill>/runner/flow.sh attest semantic\|live-verify\|status\|recover …` | Mint/inspect receipts. Must-ask before mint/recover; `attest status` is read-only. |
|
|
38
40
|
| `/flow recall` | `bash <skill>/runner/flow.sh recall` | Read back prior knowledge (open debt, recent retro, previous-card scope, harness friction/backlog, playbooks). Run at the START of a stage/card; apply it, don't re-learn known pain. |
|
|
39
41
|
| `/flow unlock` | `bash <skill>/runner/flow.sh unlock` | Clear this project's concurrency lock after a crashed/abandoned session. Confirm the other session is really gone first. |
|
|
40
42
|
| `/flow retro` | `bash <skill>/runner/flow.sh retro` | Ask the 3 questions; the operator writes the RETRO.md line — never you. |
|
|
@@ -39,3 +39,5 @@ A run HALTS and reports — never silently continues — on any of:
|
|
|
39
39
|
|
|
40
40
|
On halt: state what stopped it, what's done so far, the open debt/blocker, and the 2-4
|
|
41
41
|
concrete options for the operator. Let them decide — don't patch around a regression.
|
|
42
|
+
|
|
43
|
+
See also: `references/attestations.md` for security-class **risk-ack** auto contract (v0.28).
|
|
@@ -16,6 +16,9 @@ and used only to add color, never to pass a gate.
|
|
|
16
16
|
| Card DONE | deploy ran + **live URL verified as a user** (world-state evidence pasted) | "merged" / "deploy succeeded" / "tests pass" |
|
|
17
17
|
| Card DONE (mechanical floor) | `flow.sh check` / `card done`: `## Evidence` multi-signal score ≥2 (URL + curl/command/test-log/path/DB/skill categories; denylist example.com etc.) | process-only prose (PR approvals, CI green, release notes alone); empty/placeholder |
|
|
18
18
|
| Dep ready / parallel | `ready` + graph deps-met: dep `status=done` **and** same Evidence multi-signal floor | hand-edit `status: done` with hollow Evidence |
|
|
19
|
+
| Auto activation | risk set valid + current Stage 05 `semantic_gate` receipt (`attestations.md`) | prose “planning looks done” |
|
|
20
|
+
| Auto `check` / `card done` | current fingerprint-bound `semantic_gate` (+ `live_verify` when done) | self-assessed review / Evidence text alone |
|
|
21
|
+
| Merged worktree remove (auto) | both card receipts current for mapped card | `--force` without receipts |
|
|
19
22
|
| Contract not drifted | contract-test card asserts every endpoint exists in live `/openapi.json` with matching shape | "backend and UI agree" (they don't, silently) |
|
|
20
23
|
|
|
21
24
|
## Rules
|