army/apu: the DDT Decision record and the DDT records its run files

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-10-15 14:25:48 -07:00
co-authored by Hanzo Dev
parent 35adc0c940
commit 2468a2180c
3 changed files with 97 additions and 2 deletions
+4 -2
View File
@@ -15,8 +15,10 @@ reproduced the same day on api.hanzo.ai (`run.py`).
Each directory holds the program (`*@1.json`), `evidence.json`, the recorded run
(`recorded.json`: every node's output, Kai's full distributions, ranking, flips, gate rulings,
bias findings, revisions, the replay manifest and the package's SHA-256), and for `apu` the
changes it refreshes on (`changes/`) and the `/v1/decisions` body of its program-scope questions
(`request.json`).
changes it refreshes on (`changes/`), the `/v1/decisions` body of its program-scope questions
(`request.json`), the DDT Decision record the program is bound from (`ddt.json`) and the DDT
records a run files (`ddt.export.json`: one Evaluation Run with its input and output hashes, the
readiness ruling and bias findings, the Evidence read, Action drafts; never a Commitment).
## jltv: SysML v2 trade
+61
View File
@@ -0,0 +1,61 @@
{
"decisionId": "DEC-SPH-0412",
"lifecycleState": "IN_ANALYSIS",
"evaluationRun": {
"id": "RUN_KAI_08B02A2DE43C89D7",
"decisionId": "DEC-SPH-0412",
"evaluator": {
"id": "kai-program",
"program": "sha256:0b0e88445da82d8e86cd5d40f243fbfa981be4f486f9769789c102d9955d8baf",
"revisions": {
"kai/kai": {
"model": "kai@example"
}
}
},
"inputs": {
"ddt:DEC-SPH-0412/need": "sha256:73f73f9c0f0a683d7a21311814bf2672cb4f9fa2bfbfc494a095ec09dcbaf0b5",
"run://RUN_THERMAL_SWEEP_0007": "sha256:b7b1c15300fdf629f95f2d6ba1c76ae27c5296ecc7ea26ddc0fbcf68d3bcdcc7",
"techdata://sph/tsb/22": "sha256:31513dddf264c7a242a5e1e32979a6e6d293cc9c579d3f21a4bd42e527a907ab",
"plm://sph/BOM/[email protected]": "sha256:2597d4c2f5b1ecfce30ce153a97b14557df778d4873a75442f7f08a64e2e2ce6",
"ddt:DCP_CONCEPT_STRATEGY_HIGH_STAKES/readiness": "sha256:58d46b625a55ee18af5cfc1b8f4c237f3523a9ac5184cfe64460c6e17810828a"
},
"outputs": {
"hash": "sha256:08b02a2de43c89d728db50d8db720e04d618259c1ac926e78a38e7fc6abc9e43",
"readiness": {
"decisionClassPolicyId": "DCP_CONCEPT_STRATEGY_HIGH_STAKES",
"verdict": "allow"
},
"biasFindings": [
{
"biasCheckId": "ACTDEF_ANCHORING_CONTROL_REVIEW",
"check": "Does the charter favor one option before the options were measured?",
"p": 0.12100438661303597
}
]
}
},
"evidence": [
{
"uri": "ddt:DEC-SPH-0412/need",
"hash": "sha256:73f73f9c0f0a683d7a21311814bf2672cb4f9fa2bfbfc494a095ec09dcbaf0b5"
},
{
"uri": "run://RUN_THERMAL_SWEEP_0007",
"hash": "sha256:b7b1c15300fdf629f95f2d6ba1c76ae27c5296ecc7ea26ddc0fbcf68d3bcdcc7"
},
{
"uri": "techdata://sph/tsb/22",
"hash": "sha256:31513dddf264c7a242a5e1e32979a6e6d293cc9c579d3f21a4bd42e527a907ab"
},
{
"uri": "plm://sph/BOM/[email protected]",
"hash": "sha256:2597d4c2f5b1ecfce30ce153a97b14557df778d4873a75442f7f08a64e2e2ce6"
},
{
"uri": "ddt:DCP_CONCEPT_STRATEGY_HIGH_STAKES/readiness",
"hash": "sha256:58d46b625a55ee18af5cfc1b8f4c237f3523a9ac5184cfe64460c6e17810828a"
}
],
"actions": []
}
+32
View File
@@ -0,0 +1,32 @@
{
"id": "DEC-SPH-0412",
"schemaVersion": "DDT-1.0",
"program": "apu.select@1",
"lifecycleState": "IN_ANALYSIS",
"decisionClassPolicyId": "DCP_CONCEPT_STRATEGY_HIGH_STAKES",
"objectiveRefs": ["OBJ_SILENT_WATCH", "OBJ_SUSTAINMENT_BURDEN", "OBJ_COST", "OBJ_MASS"],
"options": ["A1_INTEGRATED_APU", "A2_BATTERY_ONLY", "A3_TRAILER_GENSET"],
"constraints": ["silent_watch", "thermal_qualified"],
"assumptions": [
{"id": "A2_WATCH_H", "value": 8.1, "range": [6.5, 9.0], "evidence": "techdata://sph/tsb/22"},
{"id": "BATTERY_MTTR_H", "value": 3, "range": [2, 8], "evidence": "techdata://sph/tsb/22"},
{"id": "BATTERY_USD_PER_KWH", "value": 520, "range": [380, 640], "evidence": "plm://sph/BOM/[email protected]"}
],
"variables": {
"best": "choice",
"missing": "predicate",
"conflict": "predicate",
"anchor": "predicate"
},
"evidence": ["ddt:DEC-SPH-0412/need", "run://RUN_THERMAL_SWEEP_0007", "techdata://sph/tsb/22", "plm://sph/BOM/[email protected]"],
"biasChecks": ["ACTDEF_ANCHORING_CONTROL_REVIEW", "ACTDEF_PREMORTEM_WORKSHOP"],
"agentPermissions": {
"mayCreate": ["Evaluation Run", "Evidence", "Action"],
"mayNotCreate": ["DecisionCommitment"],
"mayNotChange": ["lifecycleState"]
},
"refresh": {
"on": ["run://*", "techdata://sph/tsb/*", "plm://sph/BOM/*"],
"recompute": "affected_only"
}
}