@astrosheep/keiyaku 4.6.26 → 4.6.27
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 +37 -0
- package/build/plugins/claude/skills/keiyaku/SKILL.md +14 -26
- package/build/plugins/claude/skills/keiyaku-akuma/SKILL.md +26 -41
- package/build/plugins/claude/skills/keiyaku-akuma/references/automation.md +9 -18
- package/build/plugins/claude/skills/keiyaku-bind/SKILL.md +3 -14
- package/build/plugins/claude/skills/keiyaku-debt/SKILL.md +13 -8
- package/build/plugins/claude/skills/keiyaku-workflow/SKILL.md +14 -38
- package/build/plugins/codex/skills/keiyaku/SKILL.md +14 -26
- package/build/plugins/codex/skills/keiyaku-akuma/SKILL.md +26 -41
- package/build/plugins/codex/skills/keiyaku-akuma/references/automation.md +9 -18
- package/build/plugins/codex/skills/keiyaku-bind/SKILL.md +3 -14
- package/build/plugins/codex/skills/keiyaku-debt/SKILL.md +13 -8
- package/build/plugins/codex/skills/keiyaku-workflow/SKILL.md +14 -38
- package/build/plugins/opencode/skills/keiyaku/SKILL.md +14 -26
- package/build/plugins/opencode/skills/keiyaku-akuma/SKILL.md +26 -41
- package/build/plugins/opencode/skills/keiyaku-akuma/references/automation.md +9 -18
- package/build/plugins/opencode/skills/keiyaku-bind/SKILL.md +3 -14
- package/build/plugins/opencode/skills/keiyaku-debt/SKILL.md +13 -8
- package/build/plugins/opencode/skills/keiyaku-workflow/SKILL.md +14 -38
- package/build/skills/keiyaku/SKILL.md +14 -26
- package/build/skills/keiyaku-akuma/SKILL.md +26 -41
- package/build/skills/keiyaku-akuma/references/automation.md +9 -18
- package/build/skills/keiyaku-bind/SKILL.md +3 -14
- package/build/skills/keiyaku-debt/SKILL.md +13 -8
- package/build/skills/keiyaku-workflow/SKILL.md +14 -38
- package/build/src/akuma/providers/codex-app-server/events.d.ts +1 -1
- package/build/src/akuma/providers/codex-app-server/events.js +1 -3
- package/build/src/cli/commands/akuma-grammar.js +4 -4
- package/build/src/cli/commands/contract-help.js +49 -73
- package/build/src/cli/commands/debt-grammar.js +15 -15
- package/build/src/cli/commands/install.d.ts +1 -1
- package/build/src/cli/commands/install.js +1 -2
- package/build/src/cli/parse.js +1 -1
- package/build/src/runtime/proc/windows-launch.exe +0 -0
- package/package.json +1 -1
- package/skills/keiyaku/SKILL.md +14 -26
- package/skills/keiyaku-akuma/SKILL.md +26 -41
- package/skills/keiyaku-akuma/references/automation.md +9 -18
- package/skills/keiyaku-bind/SKILL.md +3 -14
- package/skills/keiyaku-debt/SKILL.md +13 -8
- package/skills/keiyaku-workflow/SKILL.md +14 -38
|
@@ -1,44 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: keiyaku-workflow
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
delegate its work, and how to accept, amend, or end it.
|
|
4
|
+
Read when holding a `kei`: its roles, lifecycle, handing roles to Akumas,
|
|
5
|
+
and deciding to accept, amend, or abandon.
|
|
7
6
|
---
|
|
8
7
|
|
|
9
8
|
# Keiyaku Workflow
|
|
10
9
|
|
|
11
10
|
The holder runs one Contract's fulfillment loop from preparation to completion.
|
|
12
11
|
|
|
13
|
-
## 1.
|
|
12
|
+
## 1. Before Binding
|
|
14
13
|
|
|
15
|
-
|
|
14
|
+
Shape and author the `kei` with `keiyaku-bind`. Do not bind while design or
|
|
15
|
+
acceptance is open; only private implementation details may stay with the
|
|
16
|
+
Deliverer.
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
- design and approach;
|
|
19
|
-
- affected Region;
|
|
20
|
-
- acceptance conditions;
|
|
21
|
-
- verification and required evidence;
|
|
22
|
-
- prerequisites;
|
|
23
|
-
- holder.
|
|
24
|
-
|
|
25
|
-
If the design, approach, or acceptance conditions are still open, do not bind.
|
|
26
|
-
Resolve them with their owner first. Private implementation details may remain
|
|
27
|
-
for the Deliverer; the public meaning and acceptance boundary may not.
|
|
28
|
-
|
|
29
|
-
Bind independent `kei`s in parallel. Do not split one acceptance boundary just
|
|
30
|
-
to create parallel work.
|
|
31
|
-
|
|
32
|
-
## 2. Split the Work
|
|
33
|
-
|
|
34
|
-
- Separate `kei`s have independently acceptable outcomes.
|
|
35
|
-
- An Arc is a chapter of one `kei`; it is not separately accepted.
|
|
36
|
-
- A Debt records confirmed unresolved work and its dependencies.
|
|
37
|
-
|
|
38
|
-
Use `after` only when one `kei` requires another to be accepted first. Ordinary
|
|
39
|
-
overlap is not a dependency.
|
|
40
|
-
|
|
41
|
-
## 3. Roles
|
|
18
|
+
## 2. Roles
|
|
42
19
|
|
|
43
20
|
A `kei` has three roles. They are responsibilities, not people, and one agent
|
|
44
21
|
may fill more than one of them, with one exception below.
|
|
@@ -59,7 +36,7 @@ reviews, so keeping the Reviewer apart from the Deliverer is the holder's duty.
|
|
|
59
36
|
Any role may be filled directly or handed to an Akuma. Hand one over when other
|
|
60
37
|
hands help the work, not to make review count.
|
|
61
38
|
|
|
62
|
-
##
|
|
39
|
+
## 3. Lifecycle
|
|
63
40
|
|
|
64
41
|
Each act changes a different part of the world:
|
|
65
42
|
|
|
@@ -71,11 +48,10 @@ Each act changes a different part of the world:
|
|
|
71
48
|
lane's claim can move the target beneath it. Check target movement before
|
|
72
49
|
delivery preview; when it matters, merge the target branch (main when selected)
|
|
73
50
|
in the worktree and resolve conflicts there before previewing again.
|
|
74
|
-
- **Delivery preview:**
|
|
75
|
-
Verification evidence and target followability without
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
remains unsatisfied. Preparation is not a promise of successful delivery.
|
|
51
|
+
- **Delivery preview:** `deliver --dry-run` shows the candidate, existing
|
|
52
|
+
Verification evidence, and target followability without submitting work or
|
|
53
|
+
running Verification or hooks. With the `verified` gate, missing or stale
|
|
54
|
+
evidence still needs Verification; preview never promises acceptance.
|
|
79
55
|
- **Deliver:** Captures a tender and integration against the observed target;
|
|
80
56
|
journal gains a delivered candidate. Ready prerequisites and gates trigger
|
|
81
57
|
placement and claim in this invocation; otherwise the candidate waits.
|
|
@@ -92,7 +68,7 @@ Placement judges declared gates, not the producer's identity. Review does not
|
|
|
92
68
|
replace Verification; delivery preview never requests placement. Read the final receipt
|
|
93
69
|
for stops and reconciliation lag after an admitted act.
|
|
94
70
|
|
|
95
|
-
##
|
|
71
|
+
## 4. Handing A Role To An Akuma
|
|
96
72
|
|
|
97
73
|
This is the one commissioning map. `call --help` owns the exact action
|
|
98
74
|
vocabulary and default set. The flagship acting directly needs no grant.
|
|
@@ -115,7 +91,7 @@ worktree, and expected result. Never ask the Akuma that delivered a candidate
|
|
|
115
91
|
to review it. Use `keiyaku-akuma` for invocation and observation, and command
|
|
116
92
|
help for exact syntax.
|
|
117
93
|
|
|
118
|
-
##
|
|
94
|
+
## 5. Decide What Happens Next
|
|
119
95
|
|
|
120
96
|
The holder checks candidate, verification, review, prerequisites, and gates.
|
|
121
97
|
|