@eir-labs/coltrane 0.24.13 → 0.24.15

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.
Files changed (65) hide show
  1. package/agents/bandleader.json +5 -5
  2. package/agents/default-adjudicator.json +39 -0
  3. package/agents/deploy-agent.json +1 -2
  4. package/agents/deploy-scout.json +1 -2
  5. package/agents/lineage-scout-internal.json +14 -4
  6. package/agents/lineage-scribe.json +6 -6
  7. package/agents/lineage-weaver.json +8 -8
  8. package/agents/patent-browser-scout.json +3 -1
  9. package/agents/proof-composer.json +38 -0
  10. package/agents/receipt-mapper.json +39 -0
  11. package/agents/reconciliation-auditor.json +45 -0
  12. package/dist/src/cli.d.ts +1 -1
  13. package/dist/src/cli.js +32 -1
  14. package/dist/src/cli.js.map +1 -1
  15. package/dist/src/seal_genome.d.ts +24 -0
  16. package/dist/src/seal_genome.js +87 -0
  17. package/dist/src/seal_genome.js.map +1 -0
  18. package/dist/src/version.d.ts +1 -1
  19. package/dist/src/version.js +1 -1
  20. package/domain_types/alignment-plan.json +9 -3
  21. package/domain_types/branch-state.json +12 -3
  22. package/domain_types/change-decision.json +32 -7
  23. package/domain_types/change-plan.json +41 -12
  24. package/domain_types/change-request.json +37 -7
  25. package/domain_types/change-set.json +40 -11
  26. package/domain_types/change-verdict.json +42 -6
  27. package/domain_types/deploy-verdict.json +21 -3
  28. package/domain_types/design-brief.json +48 -9
  29. package/domain_types/design-concept.json +40 -9
  30. package/domain_types/design-definition.json +40 -9
  31. package/domain_types/design-question.json +26 -5
  32. package/domain_types/design-verdict.json +42 -6
  33. package/domain_types/draft-agent-profile.json +75 -14
  34. package/domain_types/draft-domain-type.json +56 -11
  35. package/domain_types/draft-standard.json +57 -15
  36. package/domain_types/internal-inventory.json +15 -5
  37. package/domain_types/lineage-adoption-target.json +4 -1
  38. package/domain_types/lineage-hit.json +19 -6
  39. package/domain_types/lineage-map.json +35 -8
  40. package/domain_types/lineage-question.json +13 -4
  41. package/domain_types/lineage-record.json +71 -18
  42. package/domain_types/lineage-verdict.json +9 -3
  43. package/domain_types/parsed-conversation-trace.json +54 -13
  44. package/domain_types/pattern-extraction.json +91 -21
  45. package/domain_types/preview-deployment.json +37 -8
  46. package/domain_types/project-charter.json +59 -16
  47. package/domain_types/proof-of-work-contract.json +86 -0
  48. package/domain_types/reconciliation-map.json +90 -0
  49. package/domain_types/reconciliation-record.json +52 -0
  50. package/domain_types/red-spec.json +2 -2
  51. package/domain_types/repo-survey.json +84 -14
  52. package/domain_types/seeding-verdict.json +93 -27
  53. package/domain_types/soft-verdict.json +45 -10
  54. package/domain_types/user-flow-transcript.json +36 -10
  55. package/domain_types/user-flow-verdict.json +57 -13
  56. package/package.json +1 -1
  57. package/standards/lineage-adopt-v0.json +2 -2
  58. package/standards/lineage-deepen-v0.json +12 -4
  59. package/standards/lineage-pass-v1.json +60 -17
  60. package/standards/lineage-reweave-v0.json +34 -10
  61. package/standards/patent-triage-v1.json +170 -12
  62. package/standards/product-design-v1.json +4 -4
  63. package/standards/reconcile-work-order-v0.json +137 -0
  64. package/standards/software-change-v1.json +5 -5
  65. package/standards/user_flow_correctness.json +3 -3
@@ -0,0 +1,137 @@
1
+ {
2
+ "slug": "reconcile-work-order-v0",
3
+ "domain": "software-change",
4
+ "status": "active",
5
+ "agent_slugs": [
6
+ "receipt-mapper",
7
+ "reconciliation-auditor",
8
+ "proof-composer",
9
+ "default-adjudicator"
10
+ ],
11
+ "phases": [
12
+ {
13
+ "name": "cold-map",
14
+ "chairs": [
15
+ {
16
+ "role": "cold-map",
17
+ "agent_slug": "receipt-mapper",
18
+ "depends_on": [],
19
+ "input_contract": [
20
+ "change-request"
21
+ ],
22
+ "output_contract": [
23
+ "reconciliation-map"
24
+ ],
25
+ "optional_outputs": [],
26
+ "required_skills": [],
27
+ "turn_budget": 25
28
+ }
29
+ ],
30
+ "intent": "The deterministic clause-to-receipt mapping. Read the work order the dispatch names — its articles, terminals, receipts_due, and reconciliation contract (owner, budget, due date) — and the receipts landed against it: chancery_work_order_receipt rows joined to the sealed output chain, plus the completed_output_id FK. Match every clause to its receipts by stated equality; every clause with no receipt is listed absent, in so many words, never omitted. This is clerical work: no model judgment falls here and the chair spends nothing against the reconciliation budget — same order, same receipts, same map, on any machine."
31
+ },
32
+ {
33
+ "name": "hot-audit",
34
+ "chairs": [
35
+ {
36
+ "role": "hot-audit",
37
+ "agent_slug": "reconciliation-auditor",
38
+ "depends_on": [
39
+ "cold-map"
40
+ ],
41
+ "input_contract": [
42
+ "change-request",
43
+ "reconciliation-map"
44
+ ],
45
+ "output_contract": [
46
+ "change-verdict"
47
+ ],
48
+ "optional_outputs": [],
49
+ "required_skills": [],
50
+ "turn_budget": 30,
51
+ "turn_reserve": 6
52
+ }
53
+ ],
54
+ "intent": "The refutation pass — the half that SPENDS. Within the order's declared reconciliation_budget (carried on the change-request; the chair's turn budget is the structural cap it may only narrow, never widen), attempt to refute what the receipted clauses claim: re-run the checks a receipt says went green, probe the deployed thing a receipt points at, open the sealed output and test its claims against the world. Every finding is cited — the tool call, check name, path, or URL it rests on — and a finding without a citation does not enter the verdict. When the budget exhausts, stop and seal the partial audit with every unaudited clause named; absent receipts pass through as absent, never audited into existence."
55
+ },
56
+ {
57
+ "name": "proof-of-work",
58
+ "chairs": [
59
+ {
60
+ "role": "proof-of-work",
61
+ "agent_slug": "proof-composer",
62
+ "depends_on": [
63
+ "cold-map",
64
+ "hot-audit"
65
+ ],
66
+ "input_contract": [
67
+ "reconciliation-map",
68
+ "change-verdict"
69
+ ],
70
+ "output_contract": [
71
+ "proof-of-work-contract"
72
+ ],
73
+ "optional_outputs": [],
74
+ "required_skills": [],
75
+ "turn_budget": 15
76
+ }
77
+ ],
78
+ "intent": "The composed contract: the cold map, the audit's findings, and a verdict per clause — every clause of the order, each row joining the map's receipt status with the audit's finding verbatim — written as a sealed output, which is what makes it content-addressed: the engine stamps content_sha and the input_shas of exactly the two seals composed from, and no agent hashes anything. Copies only; the composer draws no new verdict. This document is what the sovereign settles against and what a default cites."
79
+ },
80
+ {
81
+ "name": "default-judgment",
82
+ "chairs": [
83
+ {
84
+ "role": "default-judgment",
85
+ "agent_slug": "default-adjudicator",
86
+ "depends_on": [
87
+ "cold-map",
88
+ "proof-of-work"
89
+ ],
90
+ "input_contract": [
91
+ "change-request",
92
+ "reconciliation-map",
93
+ "proof-of-work-contract"
94
+ ],
95
+ "output_contract": [
96
+ "reconciliation-record"
97
+ ],
98
+ "optional_outputs": [],
99
+ "required_skills": [],
100
+ "turn_budget": 15
101
+ }
102
+ ],
103
+ "intent": "The default ruling — deterministic, sealed BEFORE the human seat so a parked approval cannot mask it. An order past reconciliation_due_at with clauses the cold map lists absent (unreceipted) reconciles as DEFAULTED: the record seals reconciliation_state 'defaulted' naming every absent clause_ref, and that state lands in chancery_work_order.reconciliation_state. The conductor's sweep (chancery_work_order_reconciliation_due) fires this standard at the committed date regardless of any completion signal, so abandonment cannot hide: the cold map runs, shows the absence, and the default is sealed with no human in the loop to not-show-up. Not past due, or every clause receipted: the record seals 'pending' and waits for the sovereign. This seat never seals 'satisfied'."
104
+ },
105
+ {
106
+ "name": "sovereign-settle",
107
+ "chairs": [
108
+ {
109
+ "role": "sovereign-settle",
110
+ "human": true,
111
+ "depends_on": [
112
+ "proof-of-work",
113
+ "default-judgment"
114
+ ],
115
+ "input_contract": [
116
+ "proof-of-work-contract",
117
+ "reconciliation-record"
118
+ ],
119
+ "output_contract": [
120
+ "reconciliation-record"
121
+ ],
122
+ "optional_outputs": [],
123
+ "required_skills": []
124
+ }
125
+ ],
126
+ "intent": "The parked human step — an approval office, not an agent. The gig PARKS here (awaiting_approval) until the reconciliation_owner — or the governor, where the order seats that terminal — reads the proof-of-work contract and settles. Settling seals the reconciliation-record with reconciliation_state 'satisfied' and settled_by naming the seat that settled — and that seal is the ONLY door to that state: no model seat can rule its own work satisfied, and a completion sealed without a proof-of-work the sovereign settled is forbidden by the order that commissioned this standard. A defaulted record needs no settling to stand — it was sealed upstream — but the owner may still settle over it once the absences are cured."
127
+ }
128
+ ],
129
+ "input_types": [
130
+ "change-request"
131
+ ],
132
+ "output_types": [
133
+ "reconciliation-record"
134
+ ],
135
+ "description": "Reconciliation as a standing office over WORK ORDERS — the standard WO-F02 ('The Reconciliation', Documenso #1917537, signed 2026 and never built) owes, generalizing reconcile-gig-v0's shape from gigs to signed orders. It runs against the chancery schema's reconciliation contract: chancery_work_order.reconciliation_owner / reconciliation_budget / reconciliation_due_at / reconciliation_state ('pending'|'satisfied'|'defaulted'), the chancery_work_order_receipt table joining clauses to the sealed output chain, and the chancery_work_order_reconciliation_due sweep view the conductor fires — the arming door (signing requires owner + budget + due) guarantees every sealed order carries the contract this standard executes. Five offices: COLD-MAP (deterministic clause-to-receipt mapping, absences listed, no judgment, no spend), HOT-AUDIT (refutation that spends within the order's declared reconciliation_budget, every finding cited), PROOF-OF-WORK (the composed per-clause contract, content-addressed by the engine's own seal), DEFAULT-JUDGMENT (past reconciliation_due_at with clauses unreceipted reconciles as defaulted — sealed before the human seat so abandonment cannot hide behind an approval nobody gives), and SOVEREIGN-SETTLE (the parked human office: only the owner's settling records reconciliation_state 'satisfied'). ADICO, roughly: the reconciliation_owner [A] must reconcile every clause of the order [I] against sealed receipts [C: at reconciliation_due_at, swept regardless of completion signals] or the order defaults [O] — and the enforcement is structural, not hortatory: the sweep view fires on the date, the default seat cannot be parked, and 'satisfied' is unreachable except through the human seal.",
136
+ "reserve_pool": 12
137
+ }
@@ -2,7 +2,7 @@
2
2
  "slug": "software-change-v1",
3
3
  "domain": "software-change",
4
4
  "status": "active",
5
- "description": "The default software-change standard. Read the material exhaustively, fix the direction, settle the structure, make the change, then say whether what was built is what was decided. The seams are deliberate: the seat that reads does not decide, the seat that decides does not build, and the seat that builds does not judge its own work. Only the reading seat holds a tool grant, and it is read-only \u2014 the change is emitted as reviewable content, never applied.",
5
+ "description": "The default software-change standard. Read the material exhaustively, fix the direction, settle the structure, make the change, then say whether what was built is what was decided. The seams are deliberate: the seat that reads does not decide, the seat that decides does not build, and the seat that builds does not judge its own work. Only the reading seat holds a tool grant, and it is read-only the change is emitted as reviewable content, never applied.",
6
6
  "agent_slugs": [
7
7
  "john",
8
8
  "bill",
@@ -25,7 +25,7 @@
25
25
  "required_skills": []
26
26
  }
27
27
  ],
28
- "intent": "Read the material the change lands in, to the declared boundary and no further: entry points, the files the change plausibly touches, the checks that already cover the region, the conventions it must hold to \u2014 and the unknowns, which are part of the reading, not a failure of it. No decision is taken here."
28
+ "intent": "Read the material the change lands in, to the declared boundary and no further: entry points, the files the change plausibly touches, the checks that already cover the region, the conventions it must hold to and the unknowns, which are part of the reading, not a failure of it. No decision is taken here."
29
29
  },
30
30
  {
31
31
  "name": "frame-change",
@@ -45,7 +45,7 @@
45
45
  "required_skills": []
46
46
  }
47
47
  ],
48
- "intent": "Fix the direction from the reading: scope, non-goals, stop condition, and the alternatives set aside with their reasons. Stated before any structure exists, so the structure is answerable to it. Settled for the run \u2014 later phases append observations, never revisions."
48
+ "intent": "Fix the direction from the reading: scope, non-goals, stop condition, and the alternatives set aside with their reasons. Stated before any structure exists, so the structure is answerable to it. Settled for the run later phases append observations, never revisions."
49
49
  },
50
50
  {
51
51
  "name": "plan-change",
@@ -93,7 +93,7 @@
93
93
  ]
94
94
  }
95
95
  ],
96
- "intent": "Make the change the structure implies, as patch content plus the checks it introduces. Where the artefact left the plan, the departure is recorded with its reason \u2014 the same seat that settled the structure is the one accountable for saying where it did not hold."
96
+ "intent": "Make the change the structure implies, as patch content plus the checks it introduces. Where the artefact left the plan, the departure is recorded with its reason the same seat that settled the structure is the one accountable for saying where it did not hold."
97
97
  },
98
98
  {
99
99
  "name": "verify-change",
@@ -115,7 +115,7 @@
115
115
  "required_skills": []
116
116
  }
117
117
  ],
118
- "intent": "Measure the change against the commitments as fixed, criterion by criterion: which acceptance criteria are unmet, where the scope drifted, and \u2014 separately and always \u2014 which checks could not be executed and were reasoned about instead. When the evidence does not reach the question, the verdict is insufficient evidence, not a pass."
118
+ "intent": "Measure the change against the commitments as fixed, criterion by criterion: which acceptance criteria are unmet, where the scope drifted, and separately and always which checks could not be executed and were reasoned about instead. When the evidence does not reach the question, the verdict is insufficient evidence, not a pass."
119
119
  },
120
120
  {
121
121
  "name": "approve",
@@ -46,9 +46,9 @@
46
46
  "scoring": {
47
47
  "scale": "0-1 per criterion (float)",
48
48
  "pass_threshold_per_criterion": 0.6,
49
- "overall_pass_threshold_sum": 3.0,
50
- "overall_pass_threshold_max": 5.0,
51
- "noise_band_repro": 1.0
49
+ "overall_pass_threshold_sum": 3,
50
+ "overall_pass_threshold_max": 5,
51
+ "noise_band_repro": 1
52
52
  },
53
53
  "prompt_templates": {
54
54
  "sense": "You are the SENSE phase of the user_flow_correctness standard.\n\nINPUT: gig_input.transcript_json (a JSON-encoded array of turn objects). Each turn has: { user_intent: string, claude_response: string, tool_calls: array, post_turn_genome_state?: object|null, malformed_input?: boolean }.\n\nTASK: parse the transcript into a normalized `user-flow-transcript`. For each turn capture turn_idx, user_intent (verbatim), claude_response (verbatim), tool_calls (array of { tool_name: string, args?: object }), post_turn_genome_state (object or null), and malformed_input (boolean, default false). If the input cannot be parsed, set turns=[] and put the diagnosis in notes — do NOT fabricate turns.\n\nOUTPUT (single JSON object, no fence, no prose):\n{\n \"transcript_present\": <bool>,\n \"turn_count\": <int>,\n \"turns\": [\n { \"turn_idx\": 0, \"user_intent\": \"<text>\", \"claude_response\": \"<text>\", \"tool_calls\": [{\"tool_name\":\"<slug>\",\"args\":{}}], \"post_turn_genome_state\": null, \"malformed_input\": false }\n ],\n \"notes\": \"<honesty-note about parse failures or empty input>\"\n}",