agentera 3.0.0-dev.23 → 3.0.0-dev.25
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 +2 -2
- package/bundle/CHANGELOG.md +13 -5
- package/bundle/README.md +9 -8
- package/bundle/UPGRADE.md +10 -24
- package/bundle/agents/openai.yaml +1 -1
- package/bundle/references/adapters/package-manifest-interface-model.yaml +2 -0
- package/bundle/references/adapters/package-registry.yaml +9 -0
- package/bundle/references/artifacts/state-storage-authority.yaml +733 -12
- package/bundle/references/cli/agent-ready-state-contract.yaml +3 -3
- package/bundle/references/cli/prime-consumer-compatibility.yaml +2 -2
- package/bundle/references/cli/update-channels.yaml +4 -2
- package/bundle/references/cli/vocabulary.md +4 -4
- package/bundle/skills/agentera/SKILL.md +28 -14
- package/bundle/skills/agentera/capabilities/audit/schemas/artifacts.yaml +12 -12
- package/bundle/skills/agentera/capabilities/audit/schemas/validation.yaml +2 -2
- package/bundle/skills/agentera/capabilities/build/schemas/artifacts.yaml +12 -12
- package/bundle/skills/agentera/capabilities/build/schemas/validation.yaml +8 -8
- package/bundle/skills/agentera/capabilities/design/schemas/artifacts.yaml +6 -6
- package/bundle/skills/agentera/capabilities/discuss/schemas/artifacts.yaml +7 -7
- package/bundle/skills/agentera/capabilities/document/schemas/artifacts.yaml +12 -12
- package/bundle/skills/agentera/capabilities/optimize/schemas/artifacts.yaml +9 -9
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/artifacts.yaml +11 -11
- package/bundle/skills/agentera/capabilities/plan/schemas/artifacts.yaml +9 -9
- package/bundle/skills/agentera/capabilities/profile/schemas/artifacts.yaml +2 -2
- package/bundle/skills/agentera/capabilities/research/schemas/artifacts.yaml +3 -3
- package/bundle/skills/agentera/capabilities/status/schemas/artifacts.yaml +11 -11
- package/bundle/skills/agentera/capabilities/vision/schemas/artifacts.yaml +8 -8
- package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +15 -2
- package/bundle/skills/agentera/schemas/artifacts/docs.yaml +4 -1
- package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +21 -21
- package/bundle/skills/agentera/schemas/artifacts/health.yaml +15 -2
- package/bundle/skills/agentera/schemas/artifacts/plan.yaml +36 -15
- package/bundle/skills/agentera/schemas/artifacts/progress.yaml +15 -2
- package/bundle/skills/agentera/schemas/artifacts/todo.yaml +4 -4
- package/dist/capabilities/audit/instructions.js +13 -1
- package/dist/capabilities/audit/instructions.js.map +1 -1
- package/dist/capabilities/build/instructions.js +14 -1
- package/dist/capabilities/build/instructions.js.map +1 -1
- package/dist/capabilities/discuss/instructions.js +11 -1
- package/dist/capabilities/discuss/instructions.js.map +1 -1
- package/dist/capabilities/document/instructions.js +9 -1
- package/dist/capabilities/document/instructions.js.map +1 -1
- package/dist/capabilities/index.js +7 -7
- package/dist/capabilities/index.js.map +1 -1
- package/dist/capabilities/optimize/instructions.js +10 -1
- package/dist/capabilities/optimize/instructions.js.map +1 -1
- package/dist/capabilities/orchestrate/instructions.js +13 -2
- package/dist/capabilities/orchestrate/instructions.js.map +1 -1
- package/dist/capabilities/plan/instructions.js +10 -1
- package/dist/capabilities/plan/instructions.js.map +1 -1
- package/dist/cli/capabilityContext/contract.js +10 -15
- package/dist/cli/capabilityContext/contract.js.map +1 -1
- package/dist/cli/capabilityContext/evidence.js +3 -3
- package/dist/cli/capabilityContext/evidence.js.map +1 -1
- package/dist/cli/capabilityContext/planState.js +5 -5
- package/dist/cli/capabilityContext/planState.js.map +1 -1
- package/dist/cli/capabilityContext/progress.js +1 -1
- package/dist/cli/capabilityContext/progress.js.map +1 -1
- package/dist/cli/capabilityContext/shared.js +8 -2
- package/dist/cli/capabilityContext/shared.js.map +1 -1
- package/dist/cli/capabilityContext/slim.js +2 -1
- package/dist/cli/capabilityContext/slim.js.map +1 -1
- package/dist/cli/capabilityContext/startup.js +18 -7
- package/dist/cli/capabilityContext/startup.js.map +1 -1
- package/dist/cli/capabilityContext/types.js +4 -4
- package/dist/cli/capabilityContext/types.js.map +1 -1
- package/dist/cli/commands/backfill.js +39 -2
- package/dist/cli/commands/backfill.js.map +1 -1
- package/dist/cli/commands/durability.js +34 -1
- package/dist/cli/commands/durability.js.map +1 -1
- package/dist/cli/commands/entityMigrate.js +128 -0
- package/dist/cli/commands/entityMigrate.js.map +1 -0
- package/dist/cli/commands/migrate.js +4 -0
- package/dist/cli/commands/migrate.js.map +1 -1
- package/dist/cli/commands/prime/briefOrientation.js +5 -3
- package/dist/cli/commands/prime/briefOrientation.js.map +1 -1
- package/dist/cli/commands/prime/collectEntityOrientation.js +148 -0
- package/dist/cli/commands/prime/collectEntityOrientation.js.map +1 -0
- package/dist/cli/commands/prime/collectOrientationState.js +21 -27
- package/dist/cli/commands/prime/collectOrientationState.js.map +1 -1
- package/dist/cli/commands/prime/orientationOutput.js +1 -1
- package/dist/cli/commands/prime/orientationOutput.js.map +1 -1
- package/dist/cli/commands/prime.js +2 -0
- package/dist/cli/commands/prime.js.map +1 -1
- package/dist/cli/commands/query.js +41 -15
- package/dist/cli/commands/query.js.map +1 -1
- package/dist/cli/commands/schema.js +7 -5
- package/dist/cli/commands/schema.js.map +1 -1
- package/dist/cli/commands/state/decisions.js +13 -0
- package/dist/cli/commands/state/decisions.js.map +1 -1
- package/dist/cli/commands/state/docs.js +38 -0
- package/dist/cli/commands/state/docs.js.map +1 -1
- package/dist/cli/commands/state/experimentRecords.js +82 -0
- package/dist/cli/commands/state/experimentRecords.js.map +1 -1
- package/dist/cli/commands/state/experiments.js +13 -0
- package/dist/cli/commands/state/experiments.js.map +1 -1
- package/dist/cli/commands/state/get.js +69 -2
- package/dist/cli/commands/state/get.js.map +1 -1
- package/dist/cli/commands/state/health.js +13 -0
- package/dist/cli/commands/state/health.js.map +1 -1
- package/dist/cli/commands/state/index.js +9 -0
- package/dist/cli/commands/state/index.js.map +1 -1
- package/dist/cli/commands/state/list.js +40 -7
- package/dist/cli/commands/state/list.js.map +1 -1
- package/dist/cli/commands/state/objective.js +24 -0
- package/dist/cli/commands/state/objective.js.map +1 -1
- package/dist/cli/commands/state/plan.js +14 -0
- package/dist/cli/commands/state/plan.js.map +1 -1
- package/dist/cli/commands/state/planTasks.js +38 -25
- package/dist/cli/commands/state/planTasks.js.map +1 -1
- package/dist/cli/commands/state/plans.js +32 -16
- package/dist/cli/commands/state/plans.js.map +1 -1
- package/dist/cli/commands/state/progress.js +12 -0
- package/dist/cli/commands/state/progress.js.map +1 -1
- package/dist/cli/commands/state/shared.js.map +1 -1
- package/dist/cli/commands/state/todo.js +30 -0
- package/dist/cli/commands/state/todo.js.map +1 -1
- package/dist/cli/commands/state/write.js +79 -4
- package/dist/cli/commands/state/write.js.map +1 -1
- package/dist/cli/commands/upgrade.js +65 -31
- package/dist/cli/commands/upgrade.js.map +1 -1
- package/dist/cli/commands/upgradeVerify.js +46 -14
- package/dist/cli/commands/upgradeVerify.js.map +1 -1
- package/dist/cli/commands/validate.js +65 -0
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/dispatch/check.js +8 -1
- package/dist/cli/dispatch/check.js.map +1 -1
- package/dist/cli/dispatch/index.js +6 -0
- package/dist/cli/dispatch/index.js.map +1 -1
- package/dist/cli/dispatch/lifecycle.js +2 -5
- package/dist/cli/dispatch/lifecycle.js.map +1 -1
- package/dist/cli/dispatch/prime.js +15 -0
- package/dist/cli/dispatch/prime.js.map +1 -1
- package/dist/cli/dispatch/state.js +7 -1
- package/dist/cli/dispatch/state.js.map +1 -1
- package/dist/cli/help.js +78 -20
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/migrationRequired.js +84 -0
- package/dist/cli/migrationRequired.js.map +1 -0
- package/dist/cli/orientation/attention.js +2 -2
- package/dist/cli/orientation/attention.js.map +1 -1
- package/dist/cli/orientation.js +10 -7
- package/dist/cli/orientation.js.map +1 -1
- package/dist/cli/planArtifacts.js +192 -42
- package/dist/cli/planArtifacts.js.map +1 -1
- package/dist/cli/prime-blob.js +5 -5
- package/dist/cli/prime-blob.js.map +1 -1
- package/dist/cli/stateQuery.js +5 -5
- package/dist/cli/stateQuery.js.map +1 -1
- package/dist/hooks/compaction/status.js +25 -1
- package/dist/hooks/compaction/status.js.map +1 -1
- package/dist/hooks/cursorSessionStart.js +6 -0
- package/dist/hooks/cursorSessionStart.js.map +1 -1
- package/dist/hooks/sessionStart.js +62 -0
- package/dist/hooks/sessionStart.js.map +1 -1
- package/dist/registries/artifactRegistry.js +23 -14
- package/dist/registries/artifactRegistry.js.map +1 -1
- package/dist/registries/packageRegistry.js +1 -1
- package/dist/registries/packageRegistry.js.map +1 -1
- package/dist/state/archivePublication.js +3 -2
- package/dist/state/archivePublication.js.map +1 -1
- package/dist/state/decisionEntities.js +279 -0
- package/dist/state/decisionEntities.js.map +1 -0
- package/dist/state/decisionOverlay.js +2 -2
- package/dist/state/decisionOverlay.js.map +1 -1
- package/dist/state/decisionRevision.js +44 -34
- package/dist/state/decisionRevision.js.map +1 -1
- package/dist/state/directRetrieval.js.map +1 -1
- package/dist/state/durability.js +92 -1
- package/dist/state/durability.js.map +1 -1
- package/dist/state/entityCutover.js +390 -0
- package/dist/state/entityCutover.js.map +1 -0
- package/dist/state/entityCutoverGit.js +128 -0
- package/dist/state/entityCutoverGit.js.map +1 -0
- package/dist/state/entityMigrationPreview.js +803 -0
- package/dist/state/entityMigrationPreview.js.map +1 -0
- package/dist/state/entityPublicationContext.js +612 -0
- package/dist/state/entityPublicationContext.js.map +1 -0
- package/dist/state/entityStorage.js +807 -0
- package/dist/state/entityStorage.js.map +1 -0
- package/dist/state/experimentIdentity.js +23 -11
- package/dist/state/experimentIdentity.js.map +1 -1
- package/dist/state/gitBackfill.js.map +1 -1
- package/dist/state/healthEntities.js +227 -0
- package/dist/state/healthEntities.js.map +1 -0
- package/dist/state/healthEntityValidation.js +6 -0
- package/dist/state/healthEntityValidation.js.map +1 -0
- package/dist/state/legacyEntityCutoverEvidence.js +66 -0
- package/dist/state/legacyEntityCutoverEvidence.js.map +1 -0
- package/dist/state/listRetrieval.js.map +1 -1
- package/dist/state/objectiveExperimentEntities.js +321 -0
- package/dist/state/objectiveExperimentEntities.js.map +1 -0
- package/dist/state/planEntities.js +358 -0
- package/dist/state/planEntities.js.map +1 -0
- package/dist/state/progressEntities.js +382 -0
- package/dist/state/progressEntities.js.map +1 -0
- package/dist/state/projectRoot.js +63 -0
- package/dist/state/projectRoot.js.map +1 -0
- package/dist/state/projectionRecovery.js +458 -0
- package/dist/state/projectionRecovery.js.map +1 -0
- package/dist/state/retrievalAuthority.js +13 -6
- package/dist/state/retrievalAuthority.js.map +1 -1
- package/dist/state/safeProjectFile.js +153 -0
- package/dist/state/safeProjectFile.js.map +1 -0
- package/dist/state/stateMode.js +76 -0
- package/dist/state/stateMode.js.map +1 -0
- package/dist/state/todoDocsEntities.js +223 -0
- package/dist/state/todoDocsEntities.js.map +1 -0
- package/dist/state/todoDocsEntityValidation.js +26 -0
- package/dist/state/todoDocsEntityValidation.js.map +1 -0
- package/dist/state/write/candidateMutation.js +5 -55
- package/dist/state/write/candidateMutation.js.map +1 -1
- package/dist/state/write/explain.js +127 -28
- package/dist/state/write/explain.js.map +1 -1
- package/dist/state/write/lock.js +794 -87
- package/dist/state/write/lock.js.map +1 -1
- package/dist/state/write/mutation.js +5 -2
- package/dist/state/write/mutation.js.map +1 -1
- package/dist/state/write/operations.js +52 -7
- package/dist/state/write/operations.js.map +1 -1
- package/dist/state/write/planEvaluation.js +107 -0
- package/dist/state/write/planEvaluation.js.map +1 -0
- package/dist/state/write/planPublication.js +11 -55
- package/dist/state/write/planPublication.js.map +1 -1
- package/dist/state/write/transaction.js +88 -1
- package/dist/state/write/transaction.js.map +1 -1
- package/dist/upgrade/compatibility.js +4 -4
- package/dist/upgrade/compatibility.js.map +1 -1
- package/dist/upgrade/migrateArtifactsV2ToV3.js +13 -14
- package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
- package/dist/upgrade/upgradeOrchestrator.js +126 -23
- package/dist/upgrade/upgradeOrchestrator.js.map +1 -1
- package/dist/validate/crossCapability.js +2 -2
- package/dist/validate/crossCapability.js.map +1 -1
- package/package.json +3 -3
- package/dist/upgrade/upgradeSnapshot.js +0 -93
- package/dist/upgrade/upgradeSnapshot.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
ARTIFACTS:
|
|
2
2
|
1:
|
|
3
3
|
id: A1
|
|
4
|
-
|
|
4
|
+
artifact: objective
|
|
5
5
|
local_role: produces_and_consumes
|
|
6
6
|
description: >-
|
|
7
7
|
Optimization target definition: metric, current value, target, constraints,
|
|
@@ -10,7 +10,7 @@ ARTIFACTS:
|
|
|
10
10
|
canonical closure.
|
|
11
11
|
2:
|
|
12
12
|
id: A2
|
|
13
|
-
|
|
13
|
+
artifact: optimize_harness
|
|
14
14
|
local_role: produces
|
|
15
15
|
description: >-
|
|
16
16
|
Eval script that measures the metric and outputs structured JSON. Written
|
|
@@ -18,7 +18,7 @@ ARTIFACTS:
|
|
|
18
18
|
Never modified during optimization cycles.
|
|
19
19
|
3:
|
|
20
20
|
id: A3
|
|
21
|
-
|
|
21
|
+
artifact: experiments
|
|
22
22
|
local_role: produces_and_consumes
|
|
23
23
|
description: >-
|
|
24
24
|
Log of every experiment: hypothesis, method, change, metric before/after,
|
|
@@ -26,42 +26,42 @@ ARTIFACTS:
|
|
|
26
26
|
suggestion. Optimize appends to this each cycle.
|
|
27
27
|
4:
|
|
28
28
|
id: A4
|
|
29
|
-
|
|
29
|
+
artifact: progress
|
|
30
30
|
local_role: consumes
|
|
31
31
|
description: >-
|
|
32
32
|
Optimize inspects the last 3 entries to detect 3 consecutive failures
|
|
33
33
|
before reporting exit status.
|
|
34
34
|
5:
|
|
35
35
|
id: A5
|
|
36
|
-
|
|
36
|
+
artifact: todo
|
|
37
37
|
local_role: produces
|
|
38
38
|
description: >-
|
|
39
39
|
Optimize writes to this when logging a failure pattern after 3
|
|
40
40
|
consecutive failures.
|
|
41
41
|
6:
|
|
42
42
|
id: A6
|
|
43
|
-
|
|
43
|
+
artifact: decisions
|
|
44
44
|
local_role: consumes
|
|
45
45
|
description: >-
|
|
46
46
|
Optimize reads this during Orient for context on prior deliberations
|
|
47
47
|
about the optimization objective.
|
|
48
48
|
7:
|
|
49
49
|
id: A7
|
|
50
|
-
|
|
50
|
+
artifact: profile
|
|
51
51
|
local_role: consumes
|
|
52
52
|
description: >-
|
|
53
53
|
Optimize reads this to modulate experiment aggressiveness and constraint
|
|
54
54
|
tolerance based on user preferences.
|
|
55
55
|
8:
|
|
56
56
|
id: A8
|
|
57
|
-
|
|
57
|
+
artifact: docs
|
|
58
58
|
local_role: consumes
|
|
59
59
|
description: >-
|
|
60
60
|
Optimize reads this first to resolve project-local artifact mappings
|
|
61
61
|
before accessing other artifacts.
|
|
62
62
|
9:
|
|
63
63
|
id: A9
|
|
64
|
-
|
|
64
|
+
artifact: benchmark_context
|
|
65
65
|
local_role: consumes
|
|
66
66
|
description: >-
|
|
67
67
|
CLI-provided startup benchmark summary from `agentera prime --context
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
ARTIFACTS:
|
|
2
2
|
1:
|
|
3
3
|
id: A1
|
|
4
|
-
|
|
4
|
+
artifact: plan
|
|
5
5
|
local_role: produces_and_consumes
|
|
6
6
|
description: >-
|
|
7
7
|
Orchestrate consumes plan task queue state through
|
|
@@ -11,51 +11,51 @@ ARTIFACTS:
|
|
|
11
11
|
retry-safe typed `record-evaluation` mutation before retry or blocking.
|
|
12
12
|
2:
|
|
13
13
|
id: A2
|
|
14
|
-
|
|
14
|
+
artifact: progress
|
|
15
15
|
local_role: consumes
|
|
16
16
|
description: >-
|
|
17
17
|
Orchestrate consumes progress verification state from the returned
|
|
18
18
|
orchestration context first, then bounded `agentera state progress list
|
|
19
19
|
--limit 20 --format json` fallback output. Exact detail uses `state
|
|
20
|
-
progress get --
|
|
20
|
+
progress get --id ID`; raw reads are diagnostic-only for corruption or
|
|
21
21
|
CLI-defect investigation.
|
|
22
22
|
3:
|
|
23
23
|
id: A3
|
|
24
|
-
|
|
24
|
+
artifact: health
|
|
25
25
|
local_role: consumes
|
|
26
26
|
description: >-
|
|
27
27
|
Orchestrate consumes returned health state first after plan completion to
|
|
28
28
|
decide whether to start a new plan cycle; bounded `agentera state health
|
|
29
|
-
list --limit 20 --format json` and exact `state health get --
|
|
29
|
+
list --limit 20 --format json` and exact `state health get --id ID`
|
|
30
30
|
are the fallback contracts. Raw reads are diagnostic-only for corruption
|
|
31
31
|
or CLI-defect investigation.
|
|
32
32
|
4:
|
|
33
33
|
id: A4
|
|
34
|
-
|
|
34
|
+
artifact: todo
|
|
35
35
|
local_role: produces
|
|
36
36
|
description: >-
|
|
37
37
|
Orchestrate consumes TODO caveats from CLI startup context and writes
|
|
38
38
|
blocked task logging only when a task exhausts its retry budget.
|
|
39
39
|
5:
|
|
40
40
|
id: A5
|
|
41
|
-
|
|
41
|
+
artifact: decisions
|
|
42
42
|
local_role: consumes
|
|
43
43
|
description: >-
|
|
44
44
|
Orchestrate consumes included decision context or bounded
|
|
45
45
|
`agentera state decisions list --limit 20 --format json` discovery and
|
|
46
|
-
exact `state decisions get --
|
|
46
|
+
exact `state decisions get --id ID` retrieval, preserving firm
|
|
47
47
|
constraints, exploratory uncertainties, and compacted-entry caveats.
|
|
48
48
|
Raw reads are diagnostic-only for corruption or CLI-defect investigation.
|
|
49
49
|
6:
|
|
50
50
|
id: A6
|
|
51
|
-
|
|
51
|
+
artifact: vision
|
|
52
52
|
local_role: consumes
|
|
53
53
|
description: >-
|
|
54
54
|
Orchestrate consumes returned vision state or missing-state caveats during
|
|
55
55
|
bootstrap when chaining research for vision-gap analysis.
|
|
56
56
|
7:
|
|
57
57
|
id: A7
|
|
58
|
-
|
|
58
|
+
artifact: profile
|
|
59
59
|
local_role: consumes
|
|
60
60
|
description: >-
|
|
61
61
|
Orchestrate consumes returned profile status and caveats first for persona
|
|
@@ -63,7 +63,7 @@ ARTIFACTS:
|
|
|
63
63
|
state and preserves the caveat.
|
|
64
64
|
8:
|
|
65
65
|
id: A8
|
|
66
|
-
|
|
66
|
+
artifact: docs
|
|
67
67
|
local_role: consumes
|
|
68
68
|
description: >-
|
|
69
69
|
Orchestrate uses docs mapping from CLI startup context first to resolve
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
ARTIFACTS:
|
|
2
2
|
1:
|
|
3
3
|
id: A1
|
|
4
|
-
|
|
4
|
+
artifact: plan
|
|
5
5
|
local_role: produces_and_consumes
|
|
6
6
|
description: >-
|
|
7
7
|
Current plan with tasks, dependencies, and behavioral acceptance criteria.
|
|
@@ -10,7 +10,7 @@ ARTIFACTS:
|
|
|
10
10
|
session and may read existing plan context before replacing or refining it.
|
|
11
11
|
2:
|
|
12
12
|
id: A2
|
|
13
|
-
|
|
13
|
+
artifact: plan_archive
|
|
14
14
|
local_role: produces
|
|
15
15
|
description: >-
|
|
16
16
|
Immutable, non-executable history created when a plan is complete or
|
|
@@ -18,45 +18,45 @@ ARTIFACTS:
|
|
|
18
18
|
plan's open status rather than claiming completion.
|
|
19
19
|
3:
|
|
20
20
|
id: A3
|
|
21
|
-
|
|
21
|
+
artifact: vision
|
|
22
22
|
local_role: consumes
|
|
23
23
|
description: >-
|
|
24
24
|
Plan reads this during Orient to understand project direction and
|
|
25
25
|
align the plan with the vision.
|
|
26
26
|
4:
|
|
27
27
|
id: A4
|
|
28
|
-
|
|
28
|
+
artifact: decisions
|
|
29
29
|
local_role: consumes
|
|
30
30
|
description: >-
|
|
31
31
|
Plan reads firm (DL1) entries only as hard constraints for planning.
|
|
32
32
|
5:
|
|
33
33
|
id: A5
|
|
34
|
-
|
|
34
|
+
artifact: todo
|
|
35
35
|
local_role: consumes
|
|
36
36
|
description: >-
|
|
37
37
|
Plan reads this to identify related known
|
|
38
38
|
issues that the plan should address.
|
|
39
39
|
6:
|
|
40
40
|
id: A6
|
|
41
|
-
|
|
41
|
+
artifact: health
|
|
42
42
|
local_role: consumes
|
|
43
43
|
description: >-
|
|
44
44
|
Plan reads this to factor structural issues into the plan.
|
|
45
45
|
7:
|
|
46
46
|
id: A7
|
|
47
|
-
|
|
47
|
+
artifact: progress
|
|
48
48
|
local_role: consumes
|
|
49
49
|
description: >-
|
|
50
50
|
Plan reads this to understand what was built recently.
|
|
51
51
|
8:
|
|
52
52
|
id: A8
|
|
53
|
-
|
|
53
|
+
artifact: profile
|
|
54
54
|
local_role: consumes
|
|
55
55
|
description: >-
|
|
56
56
|
Plan reads this to calibrate planning depth and pattern preferences.
|
|
57
57
|
9:
|
|
58
58
|
id: A9
|
|
59
|
-
|
|
59
|
+
artifact: docs
|
|
60
60
|
local_role: consumes
|
|
61
61
|
description: >-
|
|
62
62
|
Plan reads this first to resolve project-local artifact mappings and
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
ARTIFACTS:
|
|
2
2
|
1:
|
|
3
3
|
id: A1
|
|
4
|
-
|
|
4
|
+
artifact: profile
|
|
5
5
|
local_role: produces_and_consumes
|
|
6
6
|
description: >-
|
|
7
7
|
Decision profile with per-entry confidence scoring, permanence
|
|
@@ -9,7 +9,7 @@ ARTIFACTS:
|
|
|
9
9
|
and Validate modes, then reads it for validation and update context.
|
|
10
10
|
2:
|
|
11
11
|
id: A2
|
|
12
|
-
|
|
12
|
+
artifact: decisions
|
|
13
13
|
local_role: consumes
|
|
14
14
|
description: >-
|
|
15
15
|
Profile treats this as a high-signal source for extraction scripts.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
ARTIFACTS:
|
|
2
2
|
1:
|
|
3
3
|
id: A1
|
|
4
|
-
|
|
4
|
+
artifact: todo
|
|
5
5
|
local_role: produces
|
|
6
6
|
description: >-
|
|
7
7
|
Open problems by severity. Research writes actionable findings here
|
|
@@ -9,14 +9,14 @@ ARTIFACTS:
|
|
|
9
9
|
SF1-SF3. Build picks up changes automatically in its next cycle.
|
|
10
10
|
2:
|
|
11
11
|
id: A2
|
|
12
|
-
|
|
12
|
+
artifact: vision
|
|
13
13
|
local_role: produces
|
|
14
14
|
description: >-
|
|
15
15
|
Research may refine project direction with user confirmation when the
|
|
16
16
|
analysis shifts thinking about the project's direction.
|
|
17
17
|
3:
|
|
18
18
|
id: A3
|
|
19
|
-
|
|
19
|
+
artifact: profile
|
|
20
20
|
local_role: consumes
|
|
21
21
|
description: >-
|
|
22
22
|
Research reads the profile via research_context.profile from the prime
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
ARTIFACTS:
|
|
2
2
|
1:
|
|
3
3
|
id: A1
|
|
4
|
-
|
|
4
|
+
artifact: vision
|
|
5
5
|
local_role: consumes
|
|
6
6
|
description: >-
|
|
7
7
|
Status reads this for the briefing's project context.
|
|
8
8
|
2:
|
|
9
9
|
id: A2
|
|
10
|
-
|
|
10
|
+
artifact: decisions
|
|
11
11
|
local_role: consumes
|
|
12
12
|
description: >-
|
|
13
13
|
Status reads this to identify unresolved decisions requiring follow-up.
|
|
14
14
|
3:
|
|
15
15
|
id: A3
|
|
16
|
-
|
|
16
|
+
artifact: plan
|
|
17
17
|
local_role: consumes
|
|
18
18
|
description: >-
|
|
19
19
|
Status reads this to identify the next executable task and plan progress.
|
|
20
20
|
4:
|
|
21
21
|
id: A4
|
|
22
|
-
|
|
22
|
+
artifact: progress
|
|
23
23
|
local_role: consumes
|
|
24
24
|
description: >-
|
|
25
25
|
Status reads this for the briefing's "what shipped" context.
|
|
26
26
|
5:
|
|
27
27
|
id: A5
|
|
28
|
-
|
|
28
|
+
artifact: todo
|
|
29
29
|
local_role: consumes
|
|
30
30
|
description: >-
|
|
31
31
|
Status reads this to identify high-severity open items for routing.
|
|
32
32
|
6:
|
|
33
33
|
id: A6
|
|
34
|
-
|
|
34
|
+
artifact: health
|
|
35
35
|
local_role: consumes
|
|
36
36
|
description: >-
|
|
37
37
|
Status reads this for the health status line and attention items.
|
|
38
38
|
7:
|
|
39
39
|
id: A7
|
|
40
|
-
|
|
40
|
+
artifact: objective
|
|
41
41
|
local_role: consumes
|
|
42
42
|
description: >-
|
|
43
43
|
Status reads this to check for active optimization objectives.
|
|
44
44
|
8:
|
|
45
45
|
id: A8
|
|
46
|
-
|
|
46
|
+
artifact: experiments
|
|
47
47
|
local_role: consumes
|
|
48
48
|
description: >-
|
|
49
49
|
Status reads this alongside the active optimization target to determine
|
|
50
50
|
optimization status.
|
|
51
51
|
9:
|
|
52
52
|
id: A9
|
|
53
|
-
|
|
53
|
+
artifact: docs
|
|
54
54
|
local_role: consumes
|
|
55
55
|
description: >-
|
|
56
56
|
Status reads this first to resolve project-local artifact mappings before
|
|
57
57
|
reading other artifacts.
|
|
58
58
|
10:
|
|
59
59
|
id: A10
|
|
60
|
-
|
|
60
|
+
artifact: design
|
|
61
61
|
local_role: consumes
|
|
62
62
|
description: >-
|
|
63
63
|
Status reads this for project design status metadata (exists, stale, missing).
|
|
@@ -66,7 +66,7 @@ ARTIFACTS:
|
|
|
66
66
|
artifact.
|
|
67
67
|
11:
|
|
68
68
|
id: A11
|
|
69
|
-
|
|
69
|
+
artifact: profile
|
|
70
70
|
local_role: consumes
|
|
71
71
|
description: >-
|
|
72
72
|
Status reads this to report profile status (loaded/not found) in the briefing.
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
ARTIFACTS:
|
|
2
2
|
1:
|
|
3
3
|
id: A1
|
|
4
|
-
|
|
4
|
+
artifact: vision
|
|
5
5
|
local_role: produces_and_consumes
|
|
6
6
|
description: >-
|
|
7
7
|
Vision writes and refines project direction, principles, personas,
|
|
8
8
|
aspirations, and identity.
|
|
9
9
|
2:
|
|
10
10
|
id: A2
|
|
11
|
-
|
|
11
|
+
artifact: decisions
|
|
12
12
|
local_role: consumes
|
|
13
13
|
description: >-
|
|
14
14
|
Vision reads this to detect shifted thinking during refine mode
|
|
15
15
|
and to surface unresolved tensions with the vision.
|
|
16
16
|
3:
|
|
17
17
|
id: A3
|
|
18
|
-
|
|
18
|
+
artifact: progress
|
|
19
19
|
local_role: consumes
|
|
20
20
|
description: >-
|
|
21
21
|
Vision reads this during refine mode to understand what has been
|
|
22
22
|
built since the vision was last updated.
|
|
23
23
|
4:
|
|
24
24
|
id: A4
|
|
25
|
-
|
|
25
|
+
artifact: health
|
|
26
26
|
local_role: consumes
|
|
27
27
|
description: >-
|
|
28
28
|
Vision reads this to understand structural realities that
|
|
29
29
|
constrain or inform the vision.
|
|
30
30
|
5:
|
|
31
31
|
id: A5
|
|
32
|
-
|
|
32
|
+
artifact: todo
|
|
33
33
|
local_role: consumes
|
|
34
34
|
description: >-
|
|
35
35
|
Vision reads this during refine mode to detect recurring problems
|
|
36
36
|
that suggest the vision needs adjustment.
|
|
37
37
|
6:
|
|
38
38
|
id: A6
|
|
39
|
-
|
|
39
|
+
artifact: design
|
|
40
40
|
local_role: consumes
|
|
41
41
|
description: >-
|
|
42
42
|
Vision reads this during codebase exploration to ensure the
|
|
43
43
|
Identity section in project direction coheres with the visual system.
|
|
44
44
|
7:
|
|
45
45
|
id: A7
|
|
46
|
-
|
|
46
|
+
artifact: docs
|
|
47
47
|
local_role: consumes
|
|
48
48
|
description: >-
|
|
49
49
|
Vision reads this first to resolve project-local artifact mappings
|
|
50
50
|
before accessing other artifacts.
|
|
51
51
|
8:
|
|
52
52
|
id: A8
|
|
53
|
-
|
|
53
|
+
artifact: profile
|
|
54
54
|
local_role: consumes
|
|
55
55
|
description: >-
|
|
56
56
|
Vision reads this to calibrate the vision conversation: high-confidence
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
# one entry. Decisions are referenced by build, optimize, and profile
|
|
5
5
|
# for context on why choices were made.
|
|
6
6
|
#
|
|
7
|
-
#
|
|
8
|
-
#
|
|
7
|
+
# The active authority uses writer-owned decision, revision, and satisfaction
|
|
8
|
+
# entity files. The numbered projection model below is retained only as an exact
|
|
9
|
+
# legacy migration input schema; it is not an ordinary post-cutover contract.
|
|
9
10
|
#
|
|
10
11
|
# ── Field-by-field mapping: v1 DECISIONS.md → v2 decisions.yaml ──
|
|
11
12
|
#
|
|
@@ -38,10 +39,22 @@ meta:
|
|
|
38
39
|
and orchestrate for context on why choices were made.
|
|
39
40
|
artifact_type: agent_facing
|
|
40
41
|
path: ".agentera/decisions.yaml"
|
|
42
|
+
authority: legacy_migration_input_only
|
|
41
43
|
producer: discuss
|
|
42
44
|
consumers: [document, status, audit, optimize, orchestrate, plan, profile, build, discuss, vision]
|
|
43
45
|
format: yaml
|
|
44
46
|
|
|
47
|
+
ENTITY_AUTHORITY:
|
|
48
|
+
identity_fields: [id, artifact]
|
|
49
|
+
artifact: decisions
|
|
50
|
+
boundaries: [decision, decision_revision, decision_satisfaction]
|
|
51
|
+
retrieval:
|
|
52
|
+
list: agentera state decisions list --format json
|
|
53
|
+
get: agentera state decisions get --id ID --format json
|
|
54
|
+
mutation: agentera state decisions explain --format json
|
|
55
|
+
direct_file_edits: forbidden
|
|
56
|
+
legacy_schema_below: migration_input_only
|
|
57
|
+
|
|
45
58
|
GROUP_PREFIXES:
|
|
46
59
|
BUDGET: DB
|
|
47
60
|
COMPACTION: DX
|
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Documentation contract maintained by document. Tracks project doc
|
|
4
4
|
# conventions, artifact path overrides, document index with status, coverage
|
|
5
|
-
# metrics, and timestamped audit findings.
|
|
5
|
+
# metrics, and timestamped audit findings. After durable entity cutover only
|
|
6
|
+
# index entries become independent entities; mappings, conventions, coverage,
|
|
7
|
+
# audit/editorial configuration, and other singleton sections retain
|
|
8
|
+
# intentional whole-document authority in docs.yaml.
|
|
6
9
|
#
|
|
7
10
|
# Structural pattern: UPPER_CASE groups with numbered entries and stable IDs,
|
|
8
11
|
# following capability_schema_contract.yaml and protocol.yaml conventions.
|
|
@@ -275,16 +275,17 @@ PUBLICATION:
|
|
|
275
275
|
id: EP1
|
|
276
276
|
operation: publish
|
|
277
277
|
command: >-
|
|
278
|
-
agentera state experiments publish --objective
|
|
278
|
+
agentera state experiments publish --objective ID [--id ID]
|
|
279
279
|
--input EXPERIMENT.yaml --format json
|
|
280
280
|
description: >-
|
|
281
281
|
The typed state writer is the mutation authority. It validates the
|
|
282
|
-
objective, identity, caller entry,
|
|
283
|
-
|
|
282
|
+
objective, identity, caller entry, and canonical entity state before
|
|
283
|
+
atomically publishing one experiment entity.
|
|
284
284
|
2:
|
|
285
285
|
id: EP2
|
|
286
|
-
identity:
|
|
287
|
-
|
|
286
|
+
identity: bare_ten_letter_id
|
|
287
|
+
classification: experiments
|
|
288
|
+
cli_owned_fields: [id, artifact, objective]
|
|
288
289
|
retry: byte_equivalent_identity_is_idempotent
|
|
289
290
|
collision: same_identity_with_different_content_fails
|
|
290
291
|
description: >-
|
|
@@ -292,14 +293,14 @@ PUBLICATION:
|
|
|
292
293
|
pre-publication failures preserve active and archive projection bytes.
|
|
293
294
|
3:
|
|
294
295
|
id: EP3
|
|
295
|
-
projection:
|
|
296
|
-
durable_archive:
|
|
296
|
+
projection: bounded_entity_list
|
|
297
|
+
durable_archive: not_applicable
|
|
297
298
|
description: >-
|
|
298
|
-
Publication validates and durably publishes
|
|
299
|
-
|
|
300
|
-
projection still retains 10 full entries and 40 one-line summaries.
|
|
299
|
+
Publication validates and durably publishes one immutable canonical
|
|
300
|
+
experiment entity. Bounded list output never compacts entity records.
|
|
301
301
|
4:
|
|
302
302
|
id: EP4
|
|
303
|
+
classification: legacy_migration_source_provenance
|
|
303
304
|
archive_path: '.agentera/<objective-root>/<objective>/archive/experiments/<experiment-number>.yaml'
|
|
304
305
|
canonical_objective_root: optimize
|
|
305
306
|
readable_legacy_objective_roots: [optimera]
|
|
@@ -333,14 +334,13 @@ RETRIEVAL:
|
|
|
333
334
|
1:
|
|
334
335
|
id: ER1
|
|
335
336
|
list: >-
|
|
336
|
-
agentera state experiments list --objective
|
|
337
|
+
agentera state experiments list --objective ID [--limit N]
|
|
337
338
|
[--cursor TOKEN] --format json
|
|
338
339
|
get: >-
|
|
339
|
-
agentera state experiments get --
|
|
340
|
-
--format json
|
|
340
|
+
agentera state experiments get --id ID --format json
|
|
341
341
|
description: >-
|
|
342
|
-
List returns newest-first objective-scoped
|
|
343
|
-
|
|
342
|
+
List returns newest-first objective-scoped canonical entities. Get returns
|
|
343
|
+
one exact entity by bare ID.
|
|
344
344
|
2:
|
|
345
345
|
id: ER2
|
|
346
346
|
cursor: opaque_snapshot_cursor
|
|
@@ -408,22 +408,22 @@ ARCHIVE:
|
|
|
408
408
|
VALIDATION:
|
|
409
409
|
1:
|
|
410
410
|
id: EV1
|
|
411
|
-
rule:
|
|
411
|
+
rule: unique_entity_ids
|
|
412
412
|
severity: error
|
|
413
413
|
description: >-
|
|
414
|
-
Experiment
|
|
414
|
+
Experiment IDs must be unique project-wide and match the canonical pattern.
|
|
415
415
|
checks:
|
|
416
|
-
- "All experiment
|
|
417
|
-
- "
|
|
416
|
+
- "All experiment IDs are unique across canonical entities"
|
|
417
|
+
- "Every ID is ten lowercase letters"
|
|
418
418
|
2:
|
|
419
419
|
id: EV2
|
|
420
420
|
rule: required_fields
|
|
421
421
|
severity: error
|
|
422
422
|
description: >-
|
|
423
|
-
Each full-detail experiment
|
|
423
|
+
Each full-detail experiment entity record must have: date, label,
|
|
424
424
|
hypothesis, method, change, metric, status, and conclusion.
|
|
425
425
|
checks:
|
|
426
|
-
- "
|
|
426
|
+
- "the envelope has id and artifact fields"
|
|
427
427
|
- "date is present and matches YYYY-MM-DD HH:MM"
|
|
428
428
|
- "label is present and non-empty"
|
|
429
429
|
- "hypothesis is present and non-empty"
|
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
# per-dimension grades (A-F), per-dimension findings with confidence, and
|
|
6
6
|
# trend analysis against the prior audit.
|
|
7
7
|
#
|
|
8
|
-
#
|
|
9
|
-
#
|
|
8
|
+
# The active authority is one health_audit entity per writer-owned file. The
|
|
9
|
+
# numbered projection model below is retained only as an exact legacy migration
|
|
10
|
+
# input schema; it is not an ordinary read or write contract after cutover.
|
|
10
11
|
#
|
|
11
12
|
# ── Field-by-field mapping: v1 HEALTH.md → v2 health.yaml ──
|
|
12
13
|
#
|
|
@@ -53,10 +54,22 @@ meta:
|
|
|
53
54
|
codebase health context.
|
|
54
55
|
artifact_type: agent_facing
|
|
55
56
|
path: ".agentera/health.yaml"
|
|
57
|
+
authority: legacy_migration_input_only
|
|
56
58
|
producer: audit
|
|
57
59
|
consumers: [document, status, audit, orchestrate, plan, build, vision]
|
|
58
60
|
format: yaml
|
|
59
61
|
|
|
62
|
+
ENTITY_AUTHORITY:
|
|
63
|
+
identity_fields: [id, artifact]
|
|
64
|
+
artifact: health
|
|
65
|
+
boundary: health_audit
|
|
66
|
+
retrieval:
|
|
67
|
+
list: agentera state health list --format json
|
|
68
|
+
get: agentera state health get --id ID --format json
|
|
69
|
+
mutation: agentera state health explain --verb append --format json
|
|
70
|
+
direct_file_edits: forbidden
|
|
71
|
+
legacy_schema_below: migration_input_only
|
|
72
|
+
|
|
60
73
|
GROUP_PREFIXES:
|
|
61
74
|
BUDGET: HB
|
|
62
75
|
COMPACTION: HX
|