ahead-pi 0.5.0 → 0.6.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/README.md +37 -1
- package/dist/ahead_wasm.wasm +0 -0
- package/generated/decision/compare.md +2 -2
- package/generated/decision/criteria.md +2 -2
- package/generated/decision/decide.md +2 -2
- package/generated/decision/frame.md +2 -2
- package/generated/decision/manifest.json +2 -2
- package/generated/decision/options.md +2 -2
- package/generated/decision/publish.md +5 -5
- package/generated/decision/research.md +2 -2
- package/generated/internal-improvement/ai-audit.md +3 -3
- package/generated/internal-improvement/ai-review.md +4 -3
- package/generated/internal-improvement/baseline.md +2 -2
- package/generated/internal-improvement/decision.md +2 -2
- package/generated/internal-improvement/deploy.md +2 -2
- package/generated/internal-improvement/human-review.md +3 -3
- package/generated/internal-improvement/implement.md +5 -4
- package/generated/internal-improvement/invariants.md +2 -2
- package/generated/internal-improvement/manifest.json +2 -2
- package/generated/internal-improvement/options.md +2 -2
- package/generated/internal-improvement/outcome.md +3 -3
- package/generated/internal-improvement/plan.md +5 -4
- package/generated/internal-improvement/target.md +2 -2
- package/generated/internal-improvement/verify.md +2 -2
- package/generated/operational-stabilization/assess.md +2 -2
- package/generated/operational-stabilization/execute-observe.md +2 -2
- package/generated/operational-stabilization/manifest.json +2 -2
- package/generated/operational-stabilization/monitor.md +2 -2
- package/generated/operational-stabilization/outcome.md +5 -4
- package/generated/operational-stabilization/respond.md +2 -2
- package/generated/operational-stabilization/verify-recovery.md +2 -2
- package/generated/product-change/ai-audit.md +3 -3
- package/generated/product-change/ai-review.md +4 -3
- package/generated/product-change/decision.md +2 -2
- package/generated/product-change/define.md +2 -2
- package/generated/product-change/deploy.md +2 -2
- package/generated/product-change/human-review.md +3 -3
- package/generated/product-change/implement.md +5 -4
- package/generated/product-change/manifest.json +2 -2
- package/generated/product-change/options.md +2 -2
- package/generated/product-change/outcome.md +3 -3
- package/generated/product-change/plan.md +5 -4
- package/generated/product-change/questions.md +2 -2
- package/generated/product-change/research.md +2 -2
- package/generated/product-change/verify.md +2 -2
- package/generated/reference/docs/evidence/research-map.md +2 -1
- package/generated/reference/docs/guide/README.md +7 -2
- package/generated/reference/docs/guide/acceptable-ai-use.md +5 -2
- package/generated/reference/docs/guide/durable-reference.md +262 -0
- package/generated/reference/docs/guide/workflows/decision.md +1 -1
- package/generated/reference/docs/guide/workflows/internal-improvement.md +4 -4
- package/generated/reference/docs/guide/workflows/operational-stabilization.md +1 -0
- package/generated/reference/docs/guide/workflows/product-change.md +6 -4
- package/generated/reference/index.json +14 -0
- package/package.json +6 -1
- package/src/guidance.ts +13 -3
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ pi install npm:ahead-pi
|
|
|
19
19
|
Pin an exact version for a team or project:
|
|
20
20
|
|
|
21
21
|
```sh
|
|
22
|
-
pi install -l npm:ahead-pi@0.
|
|
22
|
+
pi install -l npm:ahead-pi@0.5.0
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
Or try it for one session without changing settings:
|
|
@@ -28,6 +28,42 @@ Or try it for one session without changing settings:
|
|
|
28
28
|
pi -e npm:ahead-pi
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
+
## Install with oh-my-pi
|
|
32
|
+
|
|
33
|
+
[oh-my-pi (OMP)](https://github.com/can1357/oh-my-pi) can load Pi-compatible extension packages. `ahead-pi` declares its extension entry point in the `omp` and legacy `pi` package manifests, so install it through OMP's plugin manager:
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
omp install ahead-pi
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Restart OMP after installing the package, then start a session in the repository where the engineering work will occur. Use the same AHEAD commands as in Pi, starting with:
|
|
40
|
+
|
|
41
|
+
```text
|
|
42
|
+
/ahead <short title>
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Pin a version with the normal OMP package syntax:
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
omp install ahead-pi@0.5.0
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Do not pass the npm package name to `omp -e`. In OMP, `-e` / `--extension` is a direct filesystem loader for local extension files or directories, not a remote npm-package loader. For a local checkout, use the extension entry file directly:
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
omp -e ./integrations/pi/src/index.ts
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
OMP loads extensions in-process and uses its Pi compatibility remapping for the Pi package imports used by AHEAD. If the package installs but `/ahead` is missing, inspect OMP's extension-load log:
|
|
58
|
+
|
|
59
|
+
```sh
|
|
60
|
+
tail -F ~/.omp/logs/omp.$(date +%F).log
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Errors mentioning `legacy-pi-coding-agent-shim`, `@oh-my-pi/pi-coding-agent`, or a `/$bunfs/` path indicate an OMP loader/runtime compatibility issue rather than an AHEAD command or configuration problem. Check [OMP issue #2166](https://github.com/can1357/oh-my-pi/issues/2166) and report the exact error with the OMP version and platform. The OMP binary's extension loader and compatibility layer are maintained by OMP, not by AHEAD.
|
|
64
|
+
|
|
65
|
+
The bundled AHEAD extension commands and workflow state work through OMP. AHEAD's Pi-specific Agent Skills are currently exposed through Pi's `pi.skills` manifest; use the extension commands and `/ahead-guide` in OMP, and do not assume `/skill:research`, `/skill:to-tickets`, or `/skill:diagnosing-bugs` are available unless OMP's skill discovery lists them.
|
|
66
|
+
|
|
31
67
|
## Guided mode
|
|
32
68
|
|
|
33
69
|
1. Start Pi in the repository where the engineering work will occur.
|
package/dist/ahead_wasm.wasm
CHANGED
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=decision@0.
|
|
2
|
+
<!-- workflow=decision@0.2.0 phase=compare sha256=f4f58b0edb987e6e53df60cca0bf8b31119edad600b7250c5a44e70ad882381e -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Keep value choices, risk acceptance, product intent, and irreversible tradeoffs
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `decision@0.
|
|
37
|
+
- Workflow: `decision@0.2.0`
|
|
38
38
|
- Current phase: `compare`
|
|
39
39
|
- Human gate: `comparison-accepted` — Human confirms the comparison represents the material tradeoffs
|
|
40
40
|
- Normal next phase: `decide`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=decision@0.
|
|
2
|
+
<!-- workflow=decision@0.2.0 phase=criteria sha256=0daf7412dbe92d30d62c5fb23f6ae025f8fc9c4f574301c77de46595710ee345 -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Keep value choices, risk acceptance, product intent, and irreversible tradeoffs
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `decision@0.
|
|
37
|
+
- Workflow: `decision@0.2.0`
|
|
38
38
|
- Current phase: `criteria`
|
|
39
39
|
- Human gate: `criteria-accepted` — Human accepts the criteria before comparing options
|
|
40
40
|
- Normal next phase: `research`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=decision@0.
|
|
2
|
+
<!-- workflow=decision@0.2.0 phase=decide sha256=be63e473a27c0e27e6181e58b313ee58f358e1f74dcc68a4b9a9c5c7dbfbe164 -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Keep value choices, risk acceptance, product intent, and irreversible tradeoffs
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `decision@0.
|
|
37
|
+
- Workflow: `decision@0.2.0`
|
|
38
38
|
- Current phase: `decide`
|
|
39
39
|
- Human gate: `decision-approved` — Accountable human approves the decision
|
|
40
40
|
- Normal next phase: `publish`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=decision@0.
|
|
2
|
+
<!-- workflow=decision@0.2.0 phase=frame sha256=ff4170dae9f5a75f2ae599f8558e7df210312ef79e53123289e686291907a002 -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Keep value choices, risk acceptance, product intent, and irreversible tradeoffs
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `decision@0.
|
|
37
|
+
- Workflow: `decision@0.2.0`
|
|
38
38
|
- Current phase: `frame`
|
|
39
39
|
- Human gate: `decision-framed` — Human confirms the decision is correctly framed
|
|
40
40
|
- Normal next phase: `criteria`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"workflow": "decision",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"generated": [
|
|
5
5
|
"frame.md",
|
|
6
6
|
"criteria.md",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"publish.md"
|
|
12
12
|
],
|
|
13
13
|
"sources": [
|
|
14
|
-
"spec/workflows/decision-v0.
|
|
14
|
+
"spec/workflows/decision-v0.2.json",
|
|
15
15
|
"policy/common.md",
|
|
16
16
|
"policy/decision/<phase>.md or policy/shared/<phase>.md",
|
|
17
17
|
"policy/methods/index.json",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=decision@0.
|
|
2
|
+
<!-- workflow=decision@0.2.0 phase=options sha256=e93aa085f8233916b4e7998406aec2b6b1904337aada7cc9e4a7cfd5841b4859 -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Keep value choices, risk acceptance, product intent, and irreversible tradeoffs
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `decision@0.
|
|
37
|
+
- Workflow: `decision@0.2.0`
|
|
38
38
|
- Current phase: `options`
|
|
39
39
|
- Human gate: `options-understood` — Human confirms viable options are understood
|
|
40
40
|
- Normal next phase: `compare`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=decision@0.
|
|
2
|
+
<!-- workflow=decision@0.2.0 phase=publish sha256=6a4ff9d1bf4a57ad5df6577a11abf51319bb01d4c191225ba2f52d46c85b9d5a -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -27,14 +27,14 @@ The human makes the decision durable and understandable to affected people, link
|
|
|
27
27
|
|
|
28
28
|
## Enforced phase contract
|
|
29
29
|
|
|
30
|
-
- Workflow: `decision@0.
|
|
30
|
+
- Workflow: `decision@0.2.0`
|
|
31
31
|
- Current phase: `publish`
|
|
32
|
-
- Human gate: `decision-published` — Human confirms the decision is
|
|
32
|
+
- Human gate: `decision-published` — Human confirms the decision record is written, communicated, and cross-linked
|
|
33
33
|
- Normal next phase: `close run`
|
|
34
34
|
- Human-authorized return targets: frame, research, options, compare, decide
|
|
35
|
-
- AI unlock artifacts:
|
|
35
|
+
- AI unlock artifacts: `decision-record`
|
|
36
36
|
- AI capabilities after unlock: `inspect`, `analyze`
|
|
37
37
|
|
|
38
38
|
### Phase artifacts
|
|
39
39
|
|
|
40
|
-
- `
|
|
40
|
+
- `decision-record`: Durable decision record with context, drivers, options, outcome, consequences, review trigger, and revisit date; MADR-shaped and stored in the project's decision-record directory (required; actor: human)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=decision@0.
|
|
2
|
+
<!-- workflow=decision@0.2.0 phase=research sha256=b834768ec18c3a967d671fc5adb0df28ade8f63eec2326ce4391e30b5fc9290d -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Research should change a decision, hypothesis, plan, or confidence level. Put pr
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `decision@0.
|
|
37
|
+
- Workflow: `decision@0.2.0`
|
|
38
38
|
- Current phase: `research`
|
|
39
39
|
- Human gate: `research-reviewed` — Human confirms the decision has adequate evidence or accepts the gaps
|
|
40
40
|
- Normal next phase: `options`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=internal-improvement@0.
|
|
2
|
+
<!-- workflow=internal-improvement@0.2.0 phase=ai-audit sha256=ed3fe7415968afb2435bd7ed64f053513db43c88ea47ac3f6947349f100abb9a -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -27,7 +27,7 @@ Audit the completed work against the recorded framing, decision, plan, evidence,
|
|
|
27
27
|
|
|
28
28
|
## Enforced phase contract
|
|
29
29
|
|
|
30
|
-
- Workflow: `internal-improvement@0.
|
|
30
|
+
- Workflow: `internal-improvement@0.2.0`
|
|
31
31
|
- Current phase: `ai-audit`
|
|
32
32
|
- Human gate: `audit-disposed` — Human reviews and disposes material audit findings; acceptance identity must match `audit-disposition`
|
|
33
33
|
- Normal next phase: `outcome`
|
|
@@ -37,5 +37,5 @@ Audit the completed work against the recorded framing, decision, plan, evidence,
|
|
|
37
37
|
|
|
38
38
|
### Phase artifacts
|
|
39
39
|
|
|
40
|
-
- `ai-audit`: AI audit findings (required; actor: ai)
|
|
40
|
+
- `ai-audit`: AI audit findings evaluated against the full open run (required; actor: ai)
|
|
41
41
|
- `audit-disposition`: Human disposition of material AI audit findings (required; actor: human)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=internal-improvement@0.
|
|
2
|
+
<!-- workflow=internal-improvement@0.2.0 phase=ai-review sha256=4d66be1f50fe7e2c7c3d13390454419d2c1ba8e07866a0fce1be0aa0938daffd -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ AI findings are hypotheses, not verdicts. The implementing human must dispositio
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `internal-improvement@0.
|
|
37
|
+
- Workflow: `internal-improvement@0.2.0`
|
|
38
38
|
- Current phase: `ai-review`
|
|
39
39
|
- Human gate: `ai-review-disposed` — Implementing human disposes blocking AI findings; acceptance identity must match `review-disposition`
|
|
40
40
|
- Normal next phase: `human-review`
|
|
@@ -44,5 +44,6 @@ AI findings are hypotheses, not verdicts. The implementing human must dispositio
|
|
|
44
44
|
|
|
45
45
|
### Phase artifacts
|
|
46
46
|
|
|
47
|
-
- `
|
|
47
|
+
- `review-inputs`: Enumeration of run inputs read for review: decision, plan, plan-deviations, reference-updates, changeset, tests, and evidence (required; actor: ai)
|
|
48
|
+
- `ai-review`: AI review findings bound to the current changeset and evaluated against the full open run (required; actor: ai)
|
|
48
49
|
- `review-disposition`: Implementing-human disposition of every material AI finding (required; actor: human; actor identity must match latest changeset)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=internal-improvement@0.
|
|
2
|
+
<!-- workflow=internal-improvement@0.2.0 phase=baseline sha256=9fd7a1977ad0f35bed9a9e0c657c0599707e20e05bed8f8424108274bdc3faa2 -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Research should change a decision, hypothesis, plan, or confidence level. Put pr
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `internal-improvement@0.
|
|
37
|
+
- Workflow: `internal-improvement@0.2.0`
|
|
38
38
|
- Current phase: `baseline`
|
|
39
39
|
- Human gate: `baseline-accepted` — Human accepts the baseline as adequate for comparison
|
|
40
40
|
- Normal next phase: `target`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=internal-improvement@0.
|
|
2
|
+
<!-- workflow=internal-improvement@0.2.0 phase=decision sha256=5a581f655863151aa6150d44a099669e7ac4e9cb24909d00b5501fd9182c211c -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Keep value choices, risk acceptance, product intent, and irreversible tradeoffs
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `internal-improvement@0.
|
|
37
|
+
- Workflow: `internal-improvement@0.2.0`
|
|
38
38
|
- Current phase: `decision`
|
|
39
39
|
- Human gate: `decision-approved` — Accountable human approves the improvement approach
|
|
40
40
|
- Normal next phase: `plan`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=internal-improvement@0.
|
|
2
|
+
<!-- workflow=internal-improvement@0.2.0 phase=deploy sha256=160f8867e877564e5119f8249d92518e80d162137041a87c716022f4e2269c38 -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -27,7 +27,7 @@ Keep authorization, attempted action, and observed result distinct. A human reco
|
|
|
27
27
|
|
|
28
28
|
## Enforced phase contract
|
|
29
29
|
|
|
30
|
-
- Workflow: `internal-improvement@0.
|
|
30
|
+
- Workflow: `internal-improvement@0.2.0`
|
|
31
31
|
- Current phase: `deploy`
|
|
32
32
|
- Human gate: `deployment-confirmed` — Human confirms the intended version reached the target or deployment is not applicable
|
|
33
33
|
- Normal next phase: `verify`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=internal-improvement@0.
|
|
2
|
+
<!-- workflow=internal-improvement@0.2.0 phase=human-review sha256=f8ba53819295e6717e5d972a7e54a1941632ccd0158e65faa7eaf42d6c58cb23 -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ AI findings are hypotheses, not verdicts. The implementing human must dispositio
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `internal-improvement@0.
|
|
37
|
+
- Workflow: `internal-improvement@0.2.0`
|
|
38
38
|
- Current phase: `human-review`
|
|
39
39
|
- Human gate: `human-review-accepted` — Independent human reviewer accepts the current change; acceptance identity must match `human-review`
|
|
40
40
|
- Normal next phase: `deploy`
|
|
@@ -44,4 +44,4 @@ AI findings are hypotheses, not verdicts. The implementing human must dispositio
|
|
|
44
44
|
|
|
45
45
|
### Phase artifacts
|
|
46
46
|
|
|
47
|
-
- `human-review`: Independent human review (required; actor: human; actor identity must differ from latest changeset)
|
|
47
|
+
- `human-review`: Independent human review made against the full open run (required; actor: human; actor identity must differ from latest changeset)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=internal-improvement@0.
|
|
2
|
+
<!-- workflow=internal-improvement@0.2.0 phase=implement sha256=3b252bce2aa7136fc993c75e6342db67d4d26a94f4b63f2ec07445c02912fd34 -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -29,12 +29,12 @@ Ask for the human's current model, attempted approach, or intended behavior befo
|
|
|
29
29
|
|
|
30
30
|
## Enforced phase contract
|
|
31
31
|
|
|
32
|
-
- Workflow: `internal-improvement@0.
|
|
32
|
+
- Workflow: `internal-improvement@0.2.0`
|
|
33
33
|
- Current phase: `implement`
|
|
34
|
-
- Human gate: `implementation-ready` — Human confirms work
|
|
34
|
+
- Human gate: `implementation-ready` — Human confirms work, tests, and durable reference updates are ready for review
|
|
35
35
|
- Normal next phase: `ai-review`
|
|
36
36
|
- Human-authorized return targets: plan
|
|
37
|
-
- AI unlock artifacts:
|
|
37
|
+
- AI unlock artifacts: `reference-updates`
|
|
38
38
|
- AI capabilities after unlock: `inspect`, `search`, `analyze`, `modify`, `execute`
|
|
39
39
|
|
|
40
40
|
### Phase artifacts
|
|
@@ -42,3 +42,4 @@ Ask for the human's current model, attempted approach, or intended behavior befo
|
|
|
42
42
|
- `changeset`: Linked changeset (required; actor: human)
|
|
43
43
|
- `tests`: Invariant, test, and check evidence (required; actor: human)
|
|
44
44
|
- `plan-deviations`: Plan deviations and rationale, including none (required; actor: human)
|
|
45
|
+
- `reference-updates`: Actual creates or updates of decision records, design docs, and runbooks during implementation, or explicit none; AI may propose entries, human accepts each (required; actor: human)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=internal-improvement@0.
|
|
2
|
+
<!-- workflow=internal-improvement@0.2.0 phase=invariants sha256=dc706d370298a42b4c81b8bb6ea778805b017a626648a419b2ed42097bc98453 -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -27,7 +27,7 @@ The human identifies behavior, compatibility, safety, operability, and other pro
|
|
|
27
27
|
|
|
28
28
|
## Enforced phase contract
|
|
29
29
|
|
|
30
|
-
- Workflow: `internal-improvement@0.
|
|
30
|
+
- Workflow: `internal-improvement@0.2.0`
|
|
31
31
|
- Current phase: `invariants`
|
|
32
32
|
- Human gate: `invariants-accepted` — Human confirms the protected behavior is explicit and testable
|
|
33
33
|
- Normal next phase: `baseline`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"workflow": "internal-improvement",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"generated": [
|
|
5
5
|
"invariants.md",
|
|
6
6
|
"baseline.md",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"outcome.md"
|
|
18
18
|
],
|
|
19
19
|
"sources": [
|
|
20
|
-
"spec/workflows/internal-improvement-v0.
|
|
20
|
+
"spec/workflows/internal-improvement-v0.2.json",
|
|
21
21
|
"policy/common.md",
|
|
22
22
|
"policy/internal-improvement/<phase>.md or policy/shared/<phase>.md",
|
|
23
23
|
"policy/methods/index.json",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=internal-improvement@0.
|
|
2
|
+
<!-- workflow=internal-improvement@0.2.0 phase=options sha256=b9e13f33aafe24ab866b217f9b793fae991bcd1dbd3692655b7f8d38a8780030 -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Keep value choices, risk acceptance, product intent, and irreversible tradeoffs
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `internal-improvement@0.
|
|
37
|
+
- Workflow: `internal-improvement@0.2.0`
|
|
38
38
|
- Current phase: `options`
|
|
39
39
|
- Human gate: `options-understood` — Human confirms viable options and tradeoffs are understood
|
|
40
40
|
- Normal next phase: `decision`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=internal-improvement@0.
|
|
2
|
+
<!-- workflow=internal-improvement@0.2.0 phase=outcome sha256=5dd75c61b5152bafdc6464adb9402cf0f9558083c26101dd3b71054e5cfb6aeb -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -27,9 +27,9 @@ The human decides to adopt, roll back, accept a missed target or tradeoff, follo
|
|
|
27
27
|
|
|
28
28
|
## Enforced phase contract
|
|
29
29
|
|
|
30
|
-
- Workflow: `internal-improvement@0.
|
|
30
|
+
- Workflow: `internal-improvement@0.2.0`
|
|
31
31
|
- Current phase: `outcome`
|
|
32
|
-
- Human gate: `outcome-accepted` — Human accepts closure
|
|
32
|
+
- Human gate: `outcome-accepted` — Human accepts closure and explicitly closes the run
|
|
33
33
|
- Normal next phase: `close run`
|
|
34
34
|
- Human-authorized return targets: baseline, target, plan, implement
|
|
35
35
|
- AI unlock artifacts: none
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=internal-improvement@0.
|
|
2
|
+
<!-- workflow=internal-improvement@0.2.0 phase=plan sha256=9d5297ef85ec984f9bd5407152b6001199c0ba5940a3d06263180164320b2d2e -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -40,12 +40,12 @@ For broad migrations, use expand, migrate, verify, and contract stages so interm
|
|
|
40
40
|
|
|
41
41
|
## Enforced phase contract
|
|
42
42
|
|
|
43
|
-
- Workflow: `internal-improvement@0.
|
|
43
|
+
- Workflow: `internal-improvement@0.2.0`
|
|
44
44
|
- Current phase: `plan`
|
|
45
|
-
- Human gate: `plan-approved` — Human approves the final plan
|
|
45
|
+
- Human gate: `plan-approved` — Human approves the final plan and its planned durable reference updates
|
|
46
46
|
- Normal next phase: `implement`
|
|
47
47
|
- Human-authorized return targets: target, options, decision
|
|
48
|
-
- AI unlock artifacts: `first-pass-plan`
|
|
48
|
+
- AI unlock artifacts: `first-pass-plan`, `reference-updates`
|
|
49
49
|
- AI capabilities after unlock: `inspect`, `search`, `analyze`, `record`
|
|
50
50
|
|
|
51
51
|
### Phase artifacts
|
|
@@ -53,3 +53,4 @@ For broad migrations, use expand, migrate, verify, and contract stages so interm
|
|
|
53
53
|
- `first-pass-plan`: Human first-pass implementation and measurement plan (required; actor: human)
|
|
54
54
|
- `ai-plan-review`: AI plan challenge (optional; actor: ai)
|
|
55
55
|
- `plan`: Human-approved sequenced plan, invariant checks, measurement, rollout, recovery, and deviations policy (required; actor: human)
|
|
56
|
+
- `reference-updates`: Planned creates or updates of decision records, design docs, and runbooks, or explicit none (required; actor: human)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=internal-improvement@0.
|
|
2
|
+
<!-- workflow=internal-improvement@0.2.0 phase=target sha256=0f86d666c1d892299234e5f4caa968aa60240539a3a68cd4c830641aa875ae5f -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Keep value choices, risk acceptance, product intent, and irreversible tradeoffs
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `internal-improvement@0.
|
|
37
|
+
- Workflow: `internal-improvement@0.2.0`
|
|
38
38
|
- Current phase: `target`
|
|
39
39
|
- Human gate: `target-approved` — Human approves the improvement target and guardrails
|
|
40
40
|
- Normal next phase: `options`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=internal-improvement@0.
|
|
2
|
+
<!-- workflow=internal-improvement@0.2.0 phase=verify sha256=0aef7f8fc713b16c71b489cb637576f407c917ff5b712a22abab890b61920be9 -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Research should change a decision, hypothesis, plan, or confidence level. Put pr
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `internal-improvement@0.
|
|
37
|
+
- Workflow: `internal-improvement@0.2.0`
|
|
38
38
|
- Current phase: `verify`
|
|
39
39
|
- Human gate: `improvement-demonstrated` — Human confirms invariants hold and the improvement is demonstrated or failure is recorded
|
|
40
40
|
- Normal next phase: `ai-audit`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=operational-stabilization@0.
|
|
2
|
+
<!-- workflow=operational-stabilization@0.2.0 phase=assess sha256=434b74d12de17c52686b87970b3ef976aabbd4913a972edea7432d085704e02d -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Research should change a decision, hypothesis, plan, or confidence level. Put pr
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `operational-stabilization@0.
|
|
37
|
+
- Workflow: `operational-stabilization@0.2.0`
|
|
38
38
|
- Current phase: `assess`
|
|
39
39
|
- Human gate: `response-owned` — Human confirms response ownership, boundaries, and recovery criteria
|
|
40
40
|
- Normal next phase: `respond`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=operational-stabilization@0.
|
|
2
|
+
<!-- workflow=operational-stabilization@0.2.0 phase=execute-observe sha256=31f7aab26157b0805525277ef60ec914c2e759e9a26d3c33bd99fbb78f034bfb -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Research should change a decision, hypothesis, plan, or confidence level. Put pr
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `operational-stabilization@0.
|
|
37
|
+
- Workflow: `operational-stabilization@0.2.0`
|
|
38
38
|
- Current phase: `execute-observe`
|
|
39
39
|
- Human gate: `action-observed` — Human confirms the action and immediate observations are recorded
|
|
40
40
|
- Normal next phase: `verify-recovery`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"workflow": "operational-stabilization",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"generated": [
|
|
5
5
|
"assess.md",
|
|
6
6
|
"respond.md",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"outcome.md"
|
|
11
11
|
],
|
|
12
12
|
"sources": [
|
|
13
|
-
"spec/workflows/operational-stabilization-v0.
|
|
13
|
+
"spec/workflows/operational-stabilization-v0.2.json",
|
|
14
14
|
"policy/common.md",
|
|
15
15
|
"policy/operational-stabilization/<phase>.md or policy/shared/<phase>.md",
|
|
16
16
|
"policy/methods/index.json",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=operational-stabilization@0.
|
|
2
|
+
<!-- workflow=operational-stabilization@0.2.0 phase=monitor sha256=1ccdfbfd6ade86dceb03cb2d8290b0586d312b7402f362d247e33ebf5d7f22e9 -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Research should change a decision, hypothesis, plan, or confidence level. Put pr
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `operational-stabilization@0.
|
|
37
|
+
- Workflow: `operational-stabilization@0.2.0`
|
|
38
38
|
- Current phase: `monitor`
|
|
39
39
|
- Human gate: `stability-observed` — Human confirms stability over the chosen observation window
|
|
40
40
|
- Normal next phase: `outcome`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=operational-stabilization@0.
|
|
2
|
+
<!-- workflow=operational-stabilization@0.2.0 phase=outcome sha256=1669ac7a293cd8b94c33e469b0d18c8df1c8875c32f306017470acfc4009edfa -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -27,14 +27,15 @@ The human closes response mode, records operational outcome and residual risk, a
|
|
|
27
27
|
|
|
28
28
|
## Enforced phase contract
|
|
29
29
|
|
|
30
|
-
- Workflow: `operational-stabilization@0.
|
|
30
|
+
- Workflow: `operational-stabilization@0.2.0`
|
|
31
31
|
- Current phase: `outcome`
|
|
32
|
-
- Human gate: `response-closed` — Human accepts operational closure and
|
|
32
|
+
- Human gate: `response-closed` — Human accepts operational closure, records durable reference updates or their explicit deferral, and explicitly closes the run
|
|
33
33
|
- Normal next phase: `close run`
|
|
34
34
|
- Human-authorized return targets: assess, respond
|
|
35
|
-
- AI unlock artifacts:
|
|
35
|
+
- AI unlock artifacts: `reference-updates`
|
|
36
36
|
- AI capabilities after unlock: `inspect`, `analyze`
|
|
37
37
|
|
|
38
38
|
### Phase artifacts
|
|
39
39
|
|
|
40
40
|
- `outcome`: Operational outcome, residual risk, causal uncertainty, rollback state, follow-up work, and learning (required; actor: human)
|
|
41
|
+
- `reference-updates`: Runbook, design-doc, and decision-record creates or updates arising from this stabilization, or explicit none; may be deferred to a postmortem when emergency policy applies, with the deferral itself recorded (required; actor: human)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=operational-stabilization@0.
|
|
2
|
+
<!-- workflow=operational-stabilization@0.2.0 phase=respond sha256=efa131e4d764e05726b4c2f2371da510c5b4810062ce48fcf8cd41f8a9b8ee76 -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -27,7 +27,7 @@ Investigation and stabilization may proceed in parallel; there is no requirement
|
|
|
27
27
|
|
|
28
28
|
## Enforced phase contract
|
|
29
29
|
|
|
30
|
-
- Workflow: `operational-stabilization@0.
|
|
30
|
+
- Workflow: `operational-stabilization@0.2.0`
|
|
31
31
|
- Current phase: `respond`
|
|
32
32
|
- Human gate: `action-authorized` — Authorized human approves the bounded stabilizing action
|
|
33
33
|
- Normal next phase: `execute-observe`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=operational-stabilization@0.
|
|
2
|
+
<!-- workflow=operational-stabilization@0.2.0 phase=verify-recovery sha256=24afac8c299092366f42e2301f46971f2fb14a5317bca6a6068f858c70e7da6d -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ Research should change a decision, hypothesis, plan, or confidence level. Put pr
|
|
|
34
34
|
|
|
35
35
|
## Enforced phase contract
|
|
36
36
|
|
|
37
|
-
- Workflow: `operational-stabilization@0.
|
|
37
|
+
- Workflow: `operational-stabilization@0.2.0`
|
|
38
38
|
- Current phase: `verify-recovery`
|
|
39
39
|
- Human gate: `recovery-demonstrated` — Human confirms recovery is demonstrated or returns for another bounded action
|
|
40
40
|
- Normal next phase: `monitor`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- GENERATED FILE. DO NOT EDIT. -->
|
|
2
|
-
<!-- workflow=product-change@0.
|
|
2
|
+
<!-- workflow=product-change@0.3.0 phase=ai-audit sha256=330c2b1c17dd332c73710cfd97a7b0769f62ca557017e448de0b3c32c2f675db -->
|
|
3
3
|
|
|
4
4
|
# AHEAD agent profile
|
|
5
5
|
|
|
@@ -27,7 +27,7 @@ Compare the result with the problem, research, decision, plan, implementation, r
|
|
|
27
27
|
|
|
28
28
|
## Enforced phase contract
|
|
29
29
|
|
|
30
|
-
- Workflow: `product-change@0.
|
|
30
|
+
- Workflow: `product-change@0.3.0`
|
|
31
31
|
- Current phase: `ai-audit`
|
|
32
32
|
- Human gate: `audit-disposed` — Human reviews and disposes material audit findings; acceptance identity must match `audit-disposition`
|
|
33
33
|
- Normal next phase: `outcome`
|
|
@@ -37,5 +37,5 @@ Compare the result with the problem, research, decision, plan, implementation, r
|
|
|
37
37
|
|
|
38
38
|
### Phase artifacts
|
|
39
39
|
|
|
40
|
-
- `ai-audit`: AI audit findings (required; actor: ai)
|
|
40
|
+
- `ai-audit`: AI audit findings evaluated against the full open run (required; actor: ai)
|
|
41
41
|
- `audit-disposition`: Human disposition of material AI audit findings (required; actor: human)
|