agentera 3.0.0-dev.13 → 3.0.0-dev.14
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/bundle/references/artifacts/artifact-registry-interface-model.yaml +2 -2
- package/bundle/references/cli/capability-instruction-structure.md +10 -10
- package/bundle/references/cli/vocabulary.md +1 -1
- package/bundle/skills/agentera/agents/research.toml +1 -1
- package/bundle/skills/agentera/capabilities/audit/schemas/exit.yaml +2 -2
- package/bundle/skills/agentera/capabilities/audit/schemas/validation.yaml +4 -3
- package/bundle/skills/agentera/capabilities/build/schemas/artifacts.yaml +1 -1
- package/bundle/skills/agentera/capabilities/build/schemas/exit.yaml +3 -3
- package/bundle/skills/agentera/capabilities/build/schemas/validation.yaml +8 -8
- package/bundle/skills/agentera/capabilities/design/schemas/exit.yaml +5 -5
- package/bundle/skills/agentera/capabilities/design/schemas/validation.yaml +2 -2
- package/bundle/skills/agentera/capabilities/discuss/schemas/artifacts.yaml +6 -5
- package/bundle/skills/agentera/capabilities/discuss/schemas/exit.yaml +2 -2
- package/bundle/skills/agentera/capabilities/discuss/schemas/validation.yaml +6 -5
- package/bundle/skills/agentera/capabilities/document/schemas/triggers.yaml +0 -1
- package/bundle/skills/agentera/capabilities/optimize/schemas/artifacts.yaml +1 -1
- package/bundle/skills/agentera/capabilities/optimize/schemas/exit.yaml +2 -2
- package/bundle/skills/agentera/capabilities/optimize/schemas/validation.yaml +2 -2
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/exit.yaml +7 -6
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/validation.yaml +34 -34
- package/bundle/skills/agentera/capabilities/plan/schemas/validation.yaml +29 -2
- package/bundle/skills/agentera/capabilities/profile/schemas/exit.yaml +1 -2
- package/bundle/skills/agentera/capabilities/research/schemas/artifacts.yaml +3 -3
- package/bundle/skills/agentera/capabilities/vision/schemas/exit.yaml +7 -6
- package/bundle/skills/agentera/capabilities/vision/schemas/triggers.yaml +3 -3
- package/bundle/skills/agentera/capabilities/vision/schemas/validation.yaml +7 -7
- package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +1 -1
- package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +1 -1
- package/bundle/skills/agentera/schemas/artifacts/health.yaml +1 -1
- package/bundle/skills/agentera/schemas/artifacts/progress.yaml +1 -1
- package/dist/capabilities/audit/instructions.js +2 -4
- package/dist/capabilities/audit/instructions.js.map +1 -1
- package/dist/capabilities/build/instructions.js +3 -4
- package/dist/capabilities/build/instructions.js.map +1 -1
- package/dist/capabilities/design/instructions.js +3 -3
- package/dist/capabilities/design/instructions.js.map +1 -1
- package/dist/capabilities/discuss/instructions.js +4 -4
- package/dist/capabilities/discuss/instructions.js.map +1 -1
- package/dist/capabilities/document/instructions.js +2 -4
- package/dist/capabilities/document/instructions.js.map +1 -1
- package/dist/capabilities/optimize/instructions.js +3 -4
- package/dist/capabilities/optimize/instructions.js.map +1 -1
- package/dist/capabilities/orchestrate/instructions.js +3 -4
- package/dist/capabilities/orchestrate/instructions.js.map +1 -1
- package/dist/capabilities/plan/instructions.js +1 -1
- package/dist/capabilities/plan/instructions.js.map +1 -1
- package/dist/capabilities/profile/instructions.js +3 -4
- package/dist/capabilities/profile/instructions.js.map +1 -1
- package/dist/capabilities/research/instructions.js +4 -4
- package/dist/capabilities/research/instructions.js.map +1 -1
- package/dist/capabilities/status/instructions.js +1 -1
- package/dist/capabilities/status/instructions.js.map +1 -1
- package/dist/capabilities/vision/instructions.js +1 -5
- package/dist/capabilities/vision/instructions.js.map +1 -1
- package/dist/cli/commands/compact.js +1 -1
- package/dist/cli/commands/compact.js.map +1 -1
- package/dist/hooks/common.js +3 -3
- package/dist/hooks/common.js.map +1 -1
- package/dist/hooks/compaction/retention.js +6 -3
- package/dist/hooks/compaction/retention.js.map +1 -1
- package/dist/hooks/compaction/status.js +9 -7
- package/dist/hooks/compaction/status.js.map +1 -1
- package/dist/hooks/sessionStop.js +2 -2
- package/dist/hooks/sessionStop.js.map +1 -1
- package/dist/state/startupAnalysis/helpers.js +1 -1
- package/dist/state/startupAnalysis/helpers.js.map +1 -1
- package/dist/upgrade/compatibility.js +33 -0
- package/dist/upgrade/compatibility.js.map +1 -1
- package/package.json +1 -1
|
@@ -221,11 +221,11 @@ explicit_special_cases:
|
|
|
221
221
|
placeholder: '{date}'
|
|
222
222
|
meaning: archive date or archive-safe plan suffix
|
|
223
223
|
docs_yaml_can_override_path: false
|
|
224
|
-
- artifact_id:
|
|
224
|
+
- artifact_id: optimize_harness
|
|
225
225
|
display_name: harness
|
|
226
226
|
artifact_type: local_harness
|
|
227
227
|
scope: local_harness
|
|
228
|
-
default_path: .agentera/
|
|
228
|
+
default_path: .agentera/optimize/<name>/harness
|
|
229
229
|
path_template:
|
|
230
230
|
placeholder: <name>
|
|
231
231
|
meaning: active objective directory name
|
|
@@ -111,16 +111,16 @@ against D80 plus this reference doc.
|
|
|
111
111
|
|---|---|---|---|---|---|---|---|
|
|
112
112
|
| ⌂ status | Linear | 10,389 | Yes | Yes | Yes | None | Complete (D79) |
|
|
113
113
|
| ⛥ vision | Mode-split | 16,667 | Yes | Yes | Yes | Has vision.yaml shape subsection; shared pre-write self-audit hoist (DRY between Create and Refine modes) | Complete (D81) |
|
|
114
|
-
| ❈ discuss | Loop |
|
|
115
|
-
| ⬚ research | Linear | 12,
|
|
116
|
-
| ≡ plan | Mode-split | 14,
|
|
117
|
-
| ⧉ build | Cycle |
|
|
118
|
-
| ⎘ optimize | Cycle |
|
|
119
|
-
| ⛶ audit | Linear |
|
|
120
|
-
| ▤ document | Mode-split |
|
|
121
|
-
| ♾ profile | Mode-split |
|
|
122
|
-
| ◰ design | Mode-split |
|
|
123
|
-
| ⎈ orchestrate | Multi-surface |
|
|
114
|
+
| ❈ discuss | Loop | 12,045 | Yes | Yes | Yes | Has decisions.yaml shape subsection; Getting started folded into §6; loop shape named "The deliberation loop" (§3); fog-aware readiness check at Done; steering rules (breadth-first, ask-user-to-sketch); schema files use artifact-id labels not canonical filenames | Complete (D82) |
|
|
115
|
+
| ⬚ research | Linear | 12,484 | Yes | Yes | Yes | Has deliverable template; has transferable concepts checkpoint between source reading and target exploration; runtime-agnostic tool references | Complete (D83) |
|
|
116
|
+
| ≡ plan | Mode-split | 14,515 | Yes | Yes | Yes | Has skip/light/full modes; `unknowns:` and `rejected:` full-plan fields; `How build reads PLAN.md` removed (artifact read contract declared in §2 only); fog-check at handoff; replan trigger qualitative (surprises on one task alter downstream acceptance); Getting started folded into §6; YAML formats reordered intent-first | Complete (D84) |
|
|
117
|
+
| ⧉ build | Cycle | 15,081 | Yes | Yes | Yes | Has Handling blocked work; vision bootstrap folded into Workflow phases; brainstorm cut to minimal fallback; subagent spawning table cut to brief pointer; self-audit folded into Log (8 steps); plan unknowns consumption; cycle boundary stated once; `/loop` replaced with explicit user request | Complete (D85) |
|
|
118
|
+
| ⎘ optimize | Cycle | 20,622 | Yes | Yes | Yes | Has Handling blocked experiments; self-audit folded into Log (7 steps); subagent spawning table compressed (D85 propagation); benchmark context lean seam; experiments.yaml has context block; brainstorm stripped to 4 questions | Complete (D86) |
|
|
119
|
+
| ⛶ audit | Linear | 18,401 | Yes | Yes | Yes | Has finding taxonomy plus health.yaml shape; has 3 agentera-specific dimension mechanics (Version health, Artifact freshness, Prose health); Getting started folded into §6; self-audit folded into Report (7→6 steps); subagent spawning compressed to brief pointer; evidence_context startup delegation (bespoke); decision satisfaction authority rule in Safety rails | Complete (D87) |
|
|
120
|
+
| ▤ document | Mode-split | 14,886 | Yes | Yes | Yes | Has docs.yaml shape; closeout context lean pointer; Getting started folded into §6; self-audit folded into write steps; doc-prose enforcement compressed to lint+report; Step 0 mode detection folded into opening; decision satisfaction in Safety rails | Complete (D88) |
|
|
121
|
+
| ♾ profile | Mode-split | 19,567 | Yes | Yes | Yes | Has PROFILE.md template flex section; coverage+extraction merged (6→4 Full steps); prediction validation folded into Generate + EX2 for <3/5; Validate V3+V4 merged (4→3); Getting started folded into §6; startup contract delegation | Complete (D89) |
|
|
122
|
+
| ◰ design | Mode-split | 16,383 | Yes | Yes | Yes | Has DESIGN.md format subsection in State artifacts; self-audit folded into Write/Update steps; Step 0 folded into opening; Getting started folded into §6 | Complete (D90) |
|
|
123
|
+
| ⎈ orchestrate | Multi-surface | 18,497 | Yes | Yes | Yes | Has staleness check in Step 0 (3 steps, self-contained); has loop stop condition in Exit signals; WARN eliminated from evaluation (PASS/FAIL only); test-suppression directive removed from delegation prompt; Keeping the orchestrator lean folded into Safety rails; subagent table compressed to brief pointer; Getting started folded into §6; decision satisfaction in Safety rails | Complete (D91) |
|
|
124
124
|
|
|
125
125
|
---
|
|
126
126
|
|
|
@@ -221,7 +221,7 @@ ambiguous-term sweep remain separate follow-up work.
|
|
|
221
221
|
|
|
222
222
|
Canonical artifact IDs include `vision`, `decisions`, `plan`, `progress`,
|
|
223
223
|
`todo`, `health`, `docs`, `design`, `profile`, `objective`, `experiments`,
|
|
224
|
-
`changelog`, `session`, `plan_archive`, `
|
|
224
|
+
`changelog`, `session`, `plan_archive`, `optimize_harness`, and
|
|
225
225
|
`semantic_fixture`.
|
|
226
226
|
|
|
227
227
|
## Status, severity, confidence, and exits
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
name = "research"
|
|
3
3
|
description = "External pattern research and synthesis."
|
|
4
4
|
developer_instructions = """
|
|
5
|
-
You are the Agentera research capability subagent. You are a read-only agent — do not write files or execute shell commands. Run `agentera prime --context research --format json` to fetch the authoritative instructions as a JSON capsule (the `
|
|
5
|
+
You are the Agentera research capability subagent. You are a read-only agent — do not write files or execute shell commands. Run `agentera prime --context research --format json` to fetch the authoritative instructions as a JSON capsule (the `instructions` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
6
|
"""
|
|
@@ -4,8 +4,8 @@ EXIT_CONDITIONS:
|
|
|
4
4
|
condition: complete
|
|
5
5
|
description: >-
|
|
6
6
|
All selected audit dimensions were assessed, findings were synthesized,
|
|
7
|
-
grades were assigned,
|
|
8
|
-
with actionable results.
|
|
7
|
+
grades were assigned, the health artifact was updated, and the user was
|
|
8
|
+
presented with actionable results.
|
|
9
9
|
exit_signal: complete
|
|
10
10
|
2:
|
|
11
11
|
id: E2
|
|
@@ -24,9 +24,10 @@ VALIDATION:
|
|
|
24
24
|
id: V3
|
|
25
25
|
rule: decisions_respected
|
|
26
26
|
description: >-
|
|
27
|
-
Findings that contradict deliberate decisions documented in
|
|
28
|
-
MUST be discarded or downgraded to info
|
|
29
|
-
not a finding; it is an
|
|
27
|
+
Findings that contradict deliberate decisions documented in
|
|
28
|
+
.agentera/decisions.yaml MUST be discarded or downgraded to info
|
|
29
|
+
(SF3). A deliberate decision is not a finding; it is an
|
|
30
|
+
implementation of that decision.
|
|
30
31
|
severity: critical
|
|
31
32
|
checks:
|
|
32
33
|
- "No finding contradicts a known deliberate decision"
|
|
@@ -6,7 +6,7 @@ ARTIFACTS:
|
|
|
6
6
|
description: >-
|
|
7
7
|
Build consumes this through CLI execution_context caveats or explicit
|
|
8
8
|
fallback state when available, and never modifies it during cycles. Created
|
|
9
|
-
during
|
|
9
|
+
during vision bootstrap.
|
|
10
10
|
2:
|
|
11
11
|
id: A2
|
|
12
12
|
artifact_id: todo
|
|
@@ -5,7 +5,7 @@ EXIT_CONDITIONS:
|
|
|
5
5
|
description: >-
|
|
6
6
|
One full cycle completed. Work was selected, implemented, verified
|
|
7
7
|
against the project's test/build suite, committed with a conventional
|
|
8
|
-
message, and
|
|
8
|
+
message, and progress.yaml and TODO.md were updated.
|
|
9
9
|
exit_signal: complete
|
|
10
10
|
2:
|
|
11
11
|
id: E2
|
|
@@ -14,14 +14,14 @@ EXIT_CONDITIONS:
|
|
|
14
14
|
The cycle completed but with notable issues. Possible causes:
|
|
15
15
|
verification passed but with warnings, the committed work is narrower
|
|
16
16
|
than intended due to scope reduction, or discoveries logged in
|
|
17
|
-
|
|
17
|
+
progress.yaml suggest the next cycle may face blockers.
|
|
18
18
|
exit_signal: flagged
|
|
19
19
|
3:
|
|
20
20
|
id: E3
|
|
21
21
|
condition: stuck
|
|
22
22
|
description: >-
|
|
23
23
|
Cannot complete a cycle because VISION.md does not exist and the
|
|
24
|
-
|
|
24
|
+
vision bootstrap cannot proceed without the user, every available work item
|
|
25
25
|
is blocked, or the verification suite is broken and cannot be fixed
|
|
26
26
|
within the cycle's scope.
|
|
27
27
|
exit_signal: stuck
|
|
@@ -3,7 +3,7 @@ VALIDATION:
|
|
|
3
3
|
id: V1
|
|
4
4
|
rule: verified_field_mandatory
|
|
5
5
|
description: >-
|
|
6
|
-
Every
|
|
6
|
+
Every progress.yaml cycle entry MUST have a verified field. The field
|
|
7
7
|
carries either observed output from the primary entrypoint, an allowlisted
|
|
8
8
|
N/A tag, or a free-form rationale of at least 8 words.
|
|
9
9
|
severity: critical
|
|
@@ -14,9 +14,9 @@ VALIDATION:
|
|
|
14
14
|
id: V2
|
|
15
15
|
rule: one_cycle_per_invocation
|
|
16
16
|
description: >-
|
|
17
|
-
Build executes exactly one cycle per invocation. After logging (Step
|
|
17
|
+
Build executes exactly one cycle per invocation. After logging (Step 8),
|
|
18
18
|
the capability MUST stop. Multiple cycles require separate invocations or
|
|
19
|
-
|
|
19
|
+
an explicit user request.
|
|
20
20
|
severity: critical
|
|
21
21
|
checks:
|
|
22
22
|
- "Only one cycle entry appended to PROGRESS.md per invocation"
|
|
@@ -24,7 +24,7 @@ VALIDATION:
|
|
|
24
24
|
id: V3
|
|
25
25
|
rule: no_remote_push
|
|
26
26
|
description: >-
|
|
27
|
-
Build MUST
|
|
27
|
+
Build MUST NOT push to any remote repository. All commits are local
|
|
28
28
|
only. Remote operations require explicit user instruction outside this
|
|
29
29
|
capability.
|
|
30
30
|
severity: critical
|
|
@@ -35,7 +35,7 @@ VALIDATION:
|
|
|
35
35
|
rule: vision_readonly_during_cycle
|
|
36
36
|
description: >-
|
|
37
37
|
The canonical vision artifact MUST NOT be modified during a cycle. It may only be written
|
|
38
|
-
during a
|
|
38
|
+
during a vision bootstrap.
|
|
39
39
|
severity: critical
|
|
40
40
|
checks:
|
|
41
41
|
- "Vision artifact not modified outside brainstorm"
|
|
@@ -43,7 +43,7 @@ VALIDATION:
|
|
|
43
43
|
id: V5
|
|
44
44
|
rule: consecutive_failure_guard
|
|
45
45
|
description: >-
|
|
46
|
-
If the last 3
|
|
46
|
+
If the last 3 progress.yaml entries all record failed cycles, build
|
|
47
47
|
MUST stop and surface the pattern to the user. Do not attempt a 4th
|
|
48
48
|
consecutive cycle on the same failing problem.
|
|
49
49
|
severity: critical
|
|
@@ -59,7 +59,7 @@ VALIDATION:
|
|
|
59
59
|
other agent-facing artifacts as YAML in .agentera/).
|
|
60
60
|
severity: warning
|
|
61
61
|
checks:
|
|
62
|
-
- "
|
|
62
|
+
- "docs.yaml checked before artifact access"
|
|
63
63
|
7:
|
|
64
64
|
id: V7
|
|
65
65
|
rule: execution_context_first
|
|
@@ -93,7 +93,7 @@ VALIDATION:
|
|
|
93
93
|
severity: critical
|
|
94
94
|
checks:
|
|
95
95
|
- "No protected state mutation during context generation"
|
|
96
|
-
- "No unsupported `agentera build`
|
|
96
|
+
- "No unsupported `agentera build` command introduced"
|
|
97
97
|
10:
|
|
98
98
|
id: V10
|
|
99
99
|
rule: satisfaction_authority_boundary
|
|
@@ -4,16 +4,16 @@ EXIT_CONDITIONS:
|
|
|
4
4
|
condition: complete
|
|
5
5
|
description: >-
|
|
6
6
|
DESIGN.md was written (Create/Replace mode), updated (Refine mode),
|
|
7
|
-
or audited with findings reported (Audit mode).
|
|
8
|
-
|
|
7
|
+
or audited with findings reported (Audit mode). agentera check lint
|
|
8
|
+
--artifact design passed, and all changes had explicit user approval.
|
|
9
9
|
exit_signal: complete
|
|
10
10
|
2:
|
|
11
11
|
id: E2
|
|
12
12
|
condition: flagged
|
|
13
13
|
description: >-
|
|
14
14
|
The design system was produced or audited but with issues worth
|
|
15
|
-
surfacing. Possible causes:
|
|
16
|
-
the design drifts from
|
|
15
|
+
surfacing. Possible causes: lint passed with advisory warnings,
|
|
16
|
+
the design drifts from vision Identity, or audit findings were
|
|
17
17
|
neither fixed nor filed.
|
|
18
18
|
exit_signal: flagged
|
|
19
19
|
3:
|
|
@@ -21,7 +21,7 @@ EXIT_CONDITIONS:
|
|
|
21
21
|
condition: stuck
|
|
22
22
|
description: >-
|
|
23
23
|
Cannot write DESIGN.md because the user declined to approve the
|
|
24
|
-
draft,
|
|
24
|
+
draft, agentera check lint reports unresolvable errors, or the
|
|
25
25
|
project's UI stack is inaccessible.
|
|
26
26
|
exit_signal: stuck
|
|
27
27
|
4:
|
|
@@ -14,13 +14,13 @@ VALIDATION:
|
|
|
14
14
|
id: V2
|
|
15
15
|
rule: vision_identity_coherence
|
|
16
16
|
description: >-
|
|
17
|
-
Design tokens MUST NOT conflict with
|
|
17
|
+
Design tokens MUST NOT conflict with vision Identity. If the
|
|
18
18
|
verbal identity says "warm and approachable" and the user wants a
|
|
19
19
|
cold brutalist palette, the tension MUST be surfaced explicitly
|
|
20
20
|
for the user to resolve.
|
|
21
21
|
severity: critical
|
|
22
22
|
checks:
|
|
23
|
-
- "Design tokens cohere with
|
|
23
|
+
- "Design tokens cohere with vision Identity"
|
|
24
24
|
- "Tensions surfaced when detected"
|
|
25
25
|
3:
|
|
26
26
|
id: V3
|
|
@@ -5,11 +5,12 @@ ARTIFACTS:
|
|
|
5
5
|
local_role: produces_and_consumes
|
|
6
6
|
description: >-
|
|
7
7
|
Reasoning trail with confidence labels. Discuss reads existing decisions
|
|
8
|
-
through `agentera decisions --format json` and its source_contract
|
|
9
|
-
re-deliberation, and writes new decision entries with confidence
|
|
10
|
-
firm, DL2 provisional, DL3 exploratory). Compact older entries by
|
|
11
|
-
schema COMPACTION rules; incomplete compacted entries are
|
|
12
|
-
not a reason for historical reconstruction during
|
|
8
|
+
through `agentera state decisions --format json` and its source_contract
|
|
9
|
+
to avoid re-deliberation, and writes new decision entries with confidence
|
|
10
|
+
(DL1 firm, DL2 provisional, DL3 exploratory). Compact older entries by
|
|
11
|
+
applying schema COMPACTION rules; incomplete compacted entries are
|
|
12
|
+
caveated context, not a reason for historical reconstruction during
|
|
13
|
+
normal deliberation.
|
|
13
14
|
2:
|
|
14
15
|
id: A2
|
|
15
16
|
artifact_id: vision
|
|
@@ -4,7 +4,7 @@ EXIT_CONDITIONS:
|
|
|
4
4
|
condition: complete
|
|
5
5
|
description: >-
|
|
6
6
|
Deliberation reached a conclusion the user chose to act on; any
|
|
7
|
-
requested artifacts (
|
|
7
|
+
requested artifacts (decisions, vision, objective, todo)
|
|
8
8
|
were written with user approval, and the decision confidence level
|
|
9
9
|
was captured.
|
|
10
10
|
exit_signal: complete
|
|
@@ -15,7 +15,7 @@ EXIT_CONDITIONS:
|
|
|
15
15
|
Deliberation concluded but the decision remains unresolved or
|
|
16
16
|
provisional: the user wrapped up without a clear choice, significant
|
|
17
17
|
tensions could not be resolved, or the conclusion contradicts prior
|
|
18
|
-
decisions
|
|
18
|
+
decisions without explicit acknowledgment.
|
|
19
19
|
exit_signal: flagged
|
|
20
20
|
3:
|
|
21
21
|
id: E3
|
|
@@ -13,16 +13,17 @@ VALIDATION:
|
|
|
13
13
|
id: V2
|
|
14
14
|
rule: user_approval_for_artifact_writes
|
|
15
15
|
description: >-
|
|
16
|
-
Discuss MUST NOT modify
|
|
17
|
-
explicit user confirmation. Present
|
|
16
|
+
Discuss MUST NOT modify vision, objective, or todo artifacts (the
|
|
17
|
+
protected_write_boundaries) without explicit user confirmation. Present
|
|
18
|
+
drafts and get approval.
|
|
18
19
|
severity: critical
|
|
19
20
|
checks:
|
|
20
|
-
- "User confirmation obtained before writing to
|
|
21
|
+
- "User confirmation obtained before writing to vision, objective, or todo artifacts"
|
|
21
22
|
3:
|
|
22
23
|
id: V3
|
|
23
24
|
rule: decision_confidence_required
|
|
24
25
|
description: >-
|
|
25
|
-
Every
|
|
26
|
+
Every decision entry MUST have a Confidence field with one of the
|
|
26
27
|
protocol-defined labels: firm (DL1), provisional (DL2), or
|
|
27
28
|
exploratory (DL3).
|
|
28
29
|
severity: critical
|
|
@@ -33,7 +34,7 @@ VALIDATION:
|
|
|
33
34
|
id: V4
|
|
34
35
|
rule: preserved_decision_fields
|
|
35
36
|
description: >-
|
|
36
|
-
|
|
37
|
+
Decision entries MUST preserve the canonical top-level fields:
|
|
37
38
|
Question, Context, Alternatives, Choice, Reasoning, Confidence,
|
|
38
39
|
Feeds into. Win conditions stay inside Alternatives bullets.
|
|
39
40
|
severity: critical
|
|
@@ -5,7 +5,7 @@ EXIT_CONDITIONS:
|
|
|
5
5
|
description: >-
|
|
6
6
|
One experiment completed the full cycle: hypothesis formulated,
|
|
7
7
|
implementation dispatched, regression check passed, metric measured,
|
|
8
|
-
decision made (kept or discarded), and
|
|
8
|
+
decision made (kept or discarded), and experiments.yaml updated.
|
|
9
9
|
exit_signal: complete
|
|
10
10
|
2:
|
|
11
11
|
id: E2
|
|
@@ -20,7 +20,7 @@ EXIT_CONDITIONS:
|
|
|
20
20
|
id: E3
|
|
21
21
|
condition: stuck
|
|
22
22
|
description: >-
|
|
23
|
-
Cannot proceed because
|
|
23
|
+
Cannot proceed because objective.yaml is missing and the brainstorm cannot
|
|
24
24
|
be completed without user input, the eval harness is broken and cannot
|
|
25
25
|
be repaired without user approval, or the regression check infrastructure
|
|
26
26
|
is unavailable.
|
|
@@ -24,12 +24,12 @@ VALIDATION:
|
|
|
24
24
|
id: V3
|
|
25
25
|
rule: objective_readonly_during_cycle
|
|
26
26
|
description: >-
|
|
27
|
-
|
|
27
|
+
objective.yaml MUST NOT be modified during a cycle except for canonical
|
|
28
28
|
closure when the target is met. Other edits only happen during
|
|
29
29
|
brainstorm or refine.
|
|
30
30
|
severity: critical
|
|
31
31
|
checks:
|
|
32
|
-
- "
|
|
32
|
+
- "objective.yaml only modified for closure during cycle"
|
|
33
33
|
4:
|
|
34
34
|
id: V4
|
|
35
35
|
rule: one_experiment_per_invocation
|
|
@@ -3,7 +3,7 @@ EXIT_CONDITIONS:
|
|
|
3
3
|
id: E1
|
|
4
4
|
condition: complete
|
|
5
5
|
description: >-
|
|
6
|
-
All
|
|
6
|
+
All plan tasks are complete, the health check passed, and the
|
|
7
7
|
orchestration session concluded with all planned work finished.
|
|
8
8
|
exit_signal: complete
|
|
9
9
|
2:
|
|
@@ -18,7 +18,7 @@ EXIT_CONDITIONS:
|
|
|
18
18
|
id: E3
|
|
19
19
|
condition: stuck
|
|
20
20
|
description: >-
|
|
21
|
-
Cannot proceed.
|
|
21
|
+
Cannot proceed. The plan has circular dependencies preventing any task
|
|
22
22
|
from becoming eligible, no target capabilities are available to
|
|
23
23
|
delegate, or file access prevents reading or updating artifacts.
|
|
24
24
|
The exit marker explains what is blocking progress.
|
|
@@ -27,8 +27,9 @@ EXIT_CONDITIONS:
|
|
|
27
27
|
id: E4
|
|
28
28
|
condition: waiting
|
|
29
29
|
description: >-
|
|
30
|
-
No
|
|
31
|
-
|
|
32
|
-
or a dispatched capability returned waiting status
|
|
33
|
-
The waiting bullet identifies the specific
|
|
30
|
+
No plan exists and the bootstrap chain cannot proceed because the
|
|
31
|
+
vision artifact is absent and the user has not confirmed how to
|
|
32
|
+
create one, or a dispatched capability returned waiting status
|
|
33
|
+
requiring user input. The waiting bullet identifies the specific
|
|
34
|
+
decision needed.
|
|
34
35
|
exit_signal: waiting
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
VALIDATION:
|
|
2
2
|
1:
|
|
3
3
|
id: V1
|
|
4
|
-
rule:
|
|
4
|
+
rule: must_not_read_source
|
|
5
5
|
description: >-
|
|
6
|
-
Orchestrate MUST
|
|
7
|
-
capabilities; it does not implement. Artifact files (
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
source-code read prohibition.
|
|
6
|
+
Orchestrate MUST NOT read implementation source code. It dispatches
|
|
7
|
+
capabilities; it does not implement. Artifact files (`.agentera/*.yaml`,
|
|
8
|
+
`TODO.md`) are state records, not source code; raw reads are last-resort
|
|
9
|
+
after CLI context and listed fallback commands. This rule verifies the
|
|
10
|
+
instructions explicitly state the source-code read prohibition.
|
|
11
11
|
severity: critical
|
|
12
12
|
checks:
|
|
13
|
-
- "orchestrate
|
|
13
|
+
- "orchestrate instructions (packages/cli/src/capabilities/orchestrate/instructions.ts) contains MUST NOT read implementation source code"
|
|
14
14
|
2:
|
|
15
15
|
id: V2
|
|
16
16
|
rule: evaluation_gate_required
|
|
17
17
|
description: >-
|
|
18
18
|
Every completed task MUST be verified by audit before being marked
|
|
19
19
|
complete. The orchestrator MUST NOT skip evaluation. This rule verifies
|
|
20
|
-
the
|
|
20
|
+
the instructions contain the must-not-skip-evaluation safety rail.
|
|
21
21
|
severity: critical
|
|
22
22
|
checks:
|
|
23
|
-
- "orchestrate
|
|
23
|
+
- "orchestrate instructions contains MUST NOT skip evaluation"
|
|
24
24
|
3:
|
|
25
25
|
id: V3
|
|
26
26
|
rule: retry_budget_enforced
|
|
27
27
|
description: >-
|
|
28
28
|
No task may be retried more than 2 times. After the second failure,
|
|
29
29
|
the task must be marked blocked. This rule verifies the retry budget
|
|
30
|
-
is stated in the
|
|
30
|
+
is stated in the instructions and safety rails.
|
|
31
31
|
severity: critical
|
|
32
32
|
checks:
|
|
33
|
-
- "orchestrate
|
|
33
|
+
- "orchestrate instructions contains retry a task more than 2 times"
|
|
34
34
|
4:
|
|
35
35
|
id: V4
|
|
36
36
|
rule: exit_marker_required
|
|
@@ -40,22 +40,22 @@ VALIDATION:
|
|
|
40
40
|
where status is one of EX1-EX4.
|
|
41
41
|
severity: critical
|
|
42
42
|
checks:
|
|
43
|
-
- "orchestrate
|
|
44
|
-
- "orchestrate
|
|
43
|
+
- "orchestrate instructions contains exit marker with glyph ⎈ (SG12)"
|
|
44
|
+
- "orchestrate instructions references exit signals EX1-EX4"
|
|
45
45
|
5:
|
|
46
46
|
id: V5
|
|
47
47
|
rule: orchestrator_read_only_artifacts
|
|
48
48
|
description: >-
|
|
49
|
-
The orchestrator reads artifacts and updates
|
|
50
|
-
TODO.md blocked entries. It does NOT write to
|
|
49
|
+
The orchestrator reads artifacts and updates plan task statuses and
|
|
50
|
+
TODO.md blocked entries. It does NOT write to progress, changelog,
|
|
51
51
|
or any other capability-owned artifact. This rule verifies the
|
|
52
52
|
artifacts schema reflects this constraint.
|
|
53
53
|
severity: warning
|
|
54
54
|
checks:
|
|
55
|
-
- "
|
|
56
|
-
- "
|
|
57
|
-
- "
|
|
58
|
-
- "
|
|
55
|
+
- "progress is consumes only (not produces)"
|
|
56
|
+
- "health is consumes only (not produces)"
|
|
57
|
+
- "decisions is consumes only (not produces)"
|
|
58
|
+
- "vision is consumes only (not produces)"
|
|
59
59
|
6:
|
|
60
60
|
id: V6
|
|
61
61
|
rule: orchestration_context_first
|
|
@@ -66,19 +66,19 @@ VALIDATION:
|
|
|
66
66
|
or decisions artifact reads.
|
|
67
67
|
severity: critical
|
|
68
68
|
checks:
|
|
69
|
-
- "orchestrate
|
|
70
|
-
- "orchestrate
|
|
71
|
-
- "orchestrate
|
|
69
|
+
- "orchestrate instructions contains agentera prime --context orchestrate --format json"
|
|
70
|
+
- "orchestrate instructions contains complete_for_orchestration_context"
|
|
71
|
+
- "orchestrate instructions contains no raw plan, progress, health, TODO, or decisions reads"
|
|
72
72
|
7:
|
|
73
73
|
id: V7
|
|
74
74
|
rule: cli_fallback_before_raw_read
|
|
75
75
|
description: >-
|
|
76
76
|
When orchestration context is incomplete, Orchestrate MUST run listed
|
|
77
|
-
|
|
77
|
+
fallback commands before any raw artifact read.
|
|
78
78
|
severity: critical
|
|
79
79
|
checks:
|
|
80
|
-
- "orchestrate
|
|
81
|
-
- "orchestrate
|
|
80
|
+
- "orchestrate instructions contains run listed fallback commands"
|
|
81
|
+
- "orchestrate instructions contains last-resort diagnostics"
|
|
82
82
|
8:
|
|
83
83
|
id: V8
|
|
84
84
|
rule: caveats_preserved_for_evaluation
|
|
@@ -88,9 +88,9 @@ VALIDATION:
|
|
|
88
88
|
audit.
|
|
89
89
|
severity: critical
|
|
90
90
|
checks:
|
|
91
|
-
- "orchestrate
|
|
92
|
-
- "orchestrate
|
|
93
|
-
- "orchestrate
|
|
91
|
+
- "orchestrate instructions contains compacted decision caveats"
|
|
92
|
+
- "orchestrate instructions contains stale health/profile/app caveats"
|
|
93
|
+
- "orchestrate instructions contains retry-state provenance"
|
|
94
94
|
9:
|
|
95
95
|
id: V9
|
|
96
96
|
rule: satisfaction_authority_boundary
|
|
@@ -107,14 +107,14 @@ VALIDATION:
|
|
|
107
107
|
- "Missing or compacted satisfaction caveats are preserved"
|
|
108
108
|
10:
|
|
109
109
|
id: V10
|
|
110
|
-
rule:
|
|
110
|
+
rule: audit_citation_required
|
|
111
111
|
description: >-
|
|
112
112
|
Orchestrate Step 3 Surface 2 audit delegation MUST require a
|
|
113
|
-
citation: <file>:<line> (or not-applicable: <reason>) for every
|
|
114
|
-
|
|
113
|
+
citation: <file>:<line> (or not-applicable: <reason>) for every FAIL
|
|
114
|
+
finding, and require verify_command for FAIL rows with file:line
|
|
115
115
|
citations. Authority: references/cli/capability-instruction-contract.yaml#evaluator_handoff.
|
|
116
116
|
severity: critical
|
|
117
117
|
checks:
|
|
118
|
-
- "orchestrate
|
|
119
|
-
- "orchestrate
|
|
120
|
-
- "orchestrate
|
|
118
|
+
- "orchestrate instructions contains citation: `<file>:<line>` OR `not-applicable: <reason>`"
|
|
119
|
+
- "orchestrate instructions contains verify_command"
|
|
120
|
+
- "orchestrate instructions contains evaluator_handoff.output_requirements"
|
|
@@ -54,8 +54,35 @@ VALIDATION:
|
|
|
54
54
|
rule: skip_level_for_trivial_work
|
|
55
55
|
description: >-
|
|
56
56
|
Plan MUST detect skip level for trivial work (single-file change,
|
|
57
|
-
|
|
58
|
-
without producing a
|
|
57
|
+
localized defect fix, or config tweak that touches no shared
|
|
58
|
+
abstraction) and route directly to /build without producing a
|
|
59
|
+
PLAN.md. LOC count is not a skip signal because small changes to
|
|
60
|
+
shared exports can ripple across many consumers.
|
|
59
61
|
severity: critical
|
|
60
62
|
checks:
|
|
61
63
|
- "Trivial work routed to /build without plan"
|
|
64
|
+
7:
|
|
65
|
+
id: V7
|
|
66
|
+
rule: full_plan_unknowns_required
|
|
67
|
+
description: >-
|
|
68
|
+
Every full plan MUST surface at least one planning-time known-unknown
|
|
69
|
+
in the `unknowns:` field. Each entry MUST include question,
|
|
70
|
+
affects_task, and resolve_by. Skip level and light plans are exempt
|
|
71
|
+
because they do not decompose work into interdependent tasks.
|
|
72
|
+
severity: warning
|
|
73
|
+
checks:
|
|
74
|
+
- "Full plans have a non-empty `unknowns:` list"
|
|
75
|
+
- "Each unknown entry has question, affects_task, resolve_by fields"
|
|
76
|
+
8:
|
|
77
|
+
id: V8
|
|
78
|
+
rule: adversarial_review_dismissals_persisted
|
|
79
|
+
description: >-
|
|
80
|
+
Full plans MUST persist dismissed adversarial-review findings in the
|
|
81
|
+
artifact's `rejected:` field, each with issue text and rationale, so
|
|
82
|
+
downstream consumers (build, orchestrate, audit) inherit the
|
|
83
|
+
adjudication rather than relitigating. V3 enforces the review ran;
|
|
84
|
+
V8 enforces the dismissal provenance persists.
|
|
85
|
+
severity: warning
|
|
86
|
+
checks:
|
|
87
|
+
- "Full plans with dismissed critic findings have `rejected:` entries"
|
|
88
|
+
- "Each rejection has issue and rationale fields"
|
|
@@ -22,8 +22,7 @@ EXIT_CONDITIONS:
|
|
|
22
22
|
condition: stuck
|
|
23
23
|
description: >-
|
|
24
24
|
Cannot generate or validate a profile because extraction scripts
|
|
25
|
-
failed entirely
|
|
26
|
-
are unreadable.
|
|
25
|
+
failed entirely or session data sources are unreadable.
|
|
27
26
|
exit_signal: stuck
|
|
28
27
|
4:
|
|
29
28
|
id: E4
|
|
@@ -19,6 +19,6 @@ ARTIFACTS:
|
|
|
19
19
|
artifact_id: profile
|
|
20
20
|
local_role: consumes
|
|
21
21
|
description: >-
|
|
22
|
-
Research reads
|
|
23
|
-
applicability judgments. If missing, research proceeds
|
|
24
|
-
grounding.
|
|
22
|
+
Research reads the profile via research_context.profile from the prime
|
|
23
|
+
context to weight applicability judgments. If missing, research proceeds
|
|
24
|
+
without persona grounding.
|
|
@@ -3,9 +3,9 @@ EXIT_CONDITIONS:
|
|
|
3
3
|
id: E1
|
|
4
4
|
condition: complete
|
|
5
5
|
description: >-
|
|
6
|
-
|
|
7
|
-
with explicit user approval. The vision is ambitious,
|
|
8
|
-
structured to sustain autonomous development.
|
|
6
|
+
The vision artifact was written (Create/Replace mode) or updated
|
|
7
|
+
(Refine mode) with explicit user approval. The vision is ambitious,
|
|
8
|
+
concrete, and structured to sustain autonomous development.
|
|
9
9
|
exit_signal: complete
|
|
10
10
|
2:
|
|
11
11
|
id: E2
|
|
@@ -14,14 +14,15 @@ EXIT_CONDITIONS:
|
|
|
14
14
|
The vision was produced but with weaknesses worth surfacing: the user
|
|
15
15
|
settled for a less ambitious or less specific vision than pushed for,
|
|
16
16
|
key sections (personas, principles, direction) are thin due to limited
|
|
17
|
-
conversation depth, or the vision has unresolved tensions with
|
|
18
|
-
|
|
17
|
+
conversation depth, or the vision has unresolved tensions with
|
|
18
|
+
existing decision entries.
|
|
19
19
|
exit_signal: flagged
|
|
20
20
|
3:
|
|
21
21
|
id: E3
|
|
22
22
|
condition: stuck
|
|
23
23
|
description: >-
|
|
24
|
-
Cannot write
|
|
24
|
+
Cannot write the vision artifact because the user declined to approve
|
|
25
|
+
the draft
|
|
25
26
|
and no actionable revision direction was given, or codebase exploration
|
|
26
27
|
failed in a way that would make the vision unreliable.
|
|
27
28
|
exit_signal: stuck
|