@eir-labs/coltrane 0.14.4 → 0.14.6
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.
|
@@ -20,7 +20,11 @@
|
|
|
20
20
|
"If you cannot retrieve it, mark it explicitly as unverified (or omit it) and record what you tried.",
|
|
21
21
|
"Record the source locator (tool + path/URL/query) alongside each retrieved fact.",
|
|
22
22
|
"Create only from upstream inputs and the declared task context; introduce no new external facts.",
|
|
23
|
-
"Where the creation makes a non-obvious choice, record the rationale alongside it."
|
|
23
|
+
"Where the creation makes a non-obvious choice, record the rationale alongside it.",
|
|
24
|
+
"SHELL: run ONE command per Bash call. A compound line (&&, ;, or a pipe) is denied WHOLESALE the moment any single part is ungranted, so `git diff --cached | wc -l` dies on the `wc`, not on the git.",
|
|
25
|
+
"SHELL: no command substitution or globbing — `$(...)`, backticks and `*` are refused outright as 'Contains expansion'. Read a value with one call and use it literally in the next.",
|
|
26
|
+
"SHELL: run git from the working tree you are already seated in. NEVER `git -C <path> ...` — the grant is a PREFIX match on `git add`/`git status`/`git diff`, and the `-C` flag sits between the verb and the prefix, so `git -C /path add` is refused even though `git add` is granted.",
|
|
27
|
+
"A denied command is INFORMATION, not an obstacle to reason around: it means that form is unavailable, so reach for a granted one immediately (Read instead of cat, Grep instead of a pipe) rather than spending budget re-planning the same shape. A run that argues with its permissions produces nothing."
|
|
24
28
|
],
|
|
25
29
|
"behavioral_primitives": [
|
|
26
30
|
"executor",
|
|
@@ -37,7 +41,13 @@
|
|
|
37
41
|
"Write(tests/**)",
|
|
38
42
|
"Bash(git add:*)",
|
|
39
43
|
"Bash(git diff:*)",
|
|
40
|
-
"Bash(git status:*)"
|
|
44
|
+
"Bash(git status:*)",
|
|
45
|
+
"Bash(wc:*)",
|
|
46
|
+
"Bash(sed:*)",
|
|
47
|
+
"Bash(head:*)",
|
|
48
|
+
"Bash(tail:*)",
|
|
49
|
+
"Bash(cat:*)",
|
|
50
|
+
"Bash(ls:*)"
|
|
41
51
|
],
|
|
42
52
|
"model_tier": "premium",
|
|
43
53
|
"max_tool_calls": 150,
|
|
@@ -25,7 +25,11 @@
|
|
|
25
25
|
"Where the creation makes a non-obvious choice, record the rationale alongside it.",
|
|
26
26
|
"Every invariant in the contract must have at least one REAL, running RED test that asserts it; a pending/todo test, or an invariant with no test, is refused.",
|
|
27
27
|
"A test must be able to FAIL for the right reason: it asserts the contract's behavior against the real callsite, never a tautology that passes regardless of the implementation.",
|
|
28
|
-
"uncovered must be empty; if an invariant cannot be covered, say so explicitly rather than dropping it."
|
|
28
|
+
"uncovered must be empty; if an invariant cannot be covered, say so explicitly rather than dropping it.",
|
|
29
|
+
"SHELL: run ONE command per Bash call. A compound line (&&, ;, or a pipe) is denied WHOLESALE the moment any single part is ungranted, so `git diff --cached | wc -l` dies on the `wc`, not on the git.",
|
|
30
|
+
"SHELL: no command substitution or globbing — `$(...)`, backticks and `*` are refused outright as 'Contains expansion'. Read a value with one call and use it literally in the next.",
|
|
31
|
+
"SHELL: run git from the working tree you are already seated in. NEVER `git -C <path> ...` — the grant is a PREFIX match on `git add`/`git status`/`git diff`, and the `-C` flag sits between the verb and the prefix, so `git -C /path add` is refused even though `git add` is granted. This exact form killed gig 486e0e6c.",
|
|
32
|
+
"A denied command is INFORMATION, not an obstacle to reason around: it means that form is unavailable, so reach for a granted one immediately (Read instead of cat, Grep instead of a pipe) rather than spending budget re-planning the same shape. A run that argues with its permissions produces nothing."
|
|
29
33
|
],
|
|
30
34
|
"behavioral_primitives": [
|
|
31
35
|
"executor",
|
|
@@ -43,7 +47,13 @@
|
|
|
43
47
|
"Bash(git diff:*)",
|
|
44
48
|
"Bash(git status:*)",
|
|
45
49
|
"Bash(npx vitest:*)",
|
|
46
|
-
"Bash(npx tsc:*)"
|
|
50
|
+
"Bash(npx tsc:*)",
|
|
51
|
+
"Bash(wc:*)",
|
|
52
|
+
"Bash(sed:*)",
|
|
53
|
+
"Bash(head:*)",
|
|
54
|
+
"Bash(tail:*)",
|
|
55
|
+
"Bash(cat:*)",
|
|
56
|
+
"Bash(ls:*)"
|
|
47
57
|
],
|
|
48
58
|
"model_tier": "premium",
|
|
49
59
|
"max_tool_calls": 150,
|
package/dist/src/cli.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export interface CliIO {
|
|
|
31
31
|
/** Injected for tests. Production reads stdin for `--input -`. */
|
|
32
32
|
stdin?: () => string;
|
|
33
33
|
}
|
|
34
|
-
export declare const USAGE = "coltrane 0.14.
|
|
34
|
+
export declare const USAGE = "coltrane 0.14.6\n\n coltrane validate load the genome; exit non-zero on load errors\n coltrane dispatch <standard> run a standard\n coltrane monitor <gig-id> report a gig's progress\n coltrane logs <gig-id> per-chair logs for a gig\n coltrane abort <gig-id> stop a running gig\n coltrane trace <output-id> walk an output's provenance\n coltrane simulate <standard> cost/shape a standard without running it\n coltrane health engine + store health\n coltrane serve run the MCP server on stdio\n coltrane enqueue <standard> queue a gig on the LOCAL file queue (no store, no key)\n (env: COLTRANE_QUEUE_DIR \u2014 its absence is the whole\n difference between local and hosted)\n coltrane work claim one queued gig from the org store and run it\n coltrane work --check report whether this box's drain environment is configured\n and exit without claiming (0 ready, 1 not ready)\n (env: COLTRANE_STORE_URL, COLTRANE_STORE_ANON,\n COLTRANE_AGENT_TOKEN; results drain via\n COLTRANE_DRAIN_URL + COLTRANE_DRAIN_KEY;\n checkpoints under COLTRANE_WORKER_CHECKPOINTS,\n default ~/.coltrane/worker-checkpoints;\n exit 0 complete or parked, 1 failed, 3 queue empty)\n\nOptions\n --input <json|@file|-> dispatch payload; @file reads a file, - reads stdin\n --depth <skim|standard|deep> tighten the per-chair turn cap\n --budget <dollars> per-gig ceiling; the run stops when it is gone\n --reuse allow chair-level reuse of prior sealed outputs\n --resume <gig-id> continue a gig that died mid-pipeline\n --approve <role>=<json|@file> a human chair's verdict; repeat once per chair\n --as <name> who is approving; sealed as the verdict's author\n --wait block until the run finishes\n --follow poll until the gig reaches a terminal state\n --direction <upstream|downstream|both> for trace\n --json print the raw result to stdout\n --genome <path> genome root (default: $COLTRANE_GENOME or cwd)\n --help, --version\n\nA dispatch that reaches a chair a HUMAN holds parks: it names the waiting chair and exits 0,\nbecause a gig waiting on a person is not a failed gig. Approve it on the resume \u2014\n\n coltrane dispatch <standard> --resume <gig> \\\n --approve approve=@verdict.json --as eugene\n\n--input is NOT required on an approve-only resume: when every remaining chair is human the\ncheckpoint's recorded payload stands and the omission inherits it. If you DO pass --input it is\nchecked against the checkpoint, and a disagreement still refuses the resume.\n";
|
|
35
35
|
interface Parsed {
|
|
36
36
|
cmd: string | undefined;
|
|
37
37
|
positional: string[];
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Engine semver. Keep in lockstep with package.json `version` (enforced by test). */
|
|
2
|
-
export declare const COLTRANE_VERSION = "0.14.
|
|
2
|
+
export declare const COLTRANE_VERSION = "0.14.6";
|
|
3
3
|
/**
|
|
4
4
|
* The commit this engine checkout is sitting on, or null when it can't be determined.
|
|
5
5
|
*
|
package/dist/src/version.js
CHANGED
|
@@ -17,7 +17,7 @@ import { existsSync, readFileSync, statSync } from "node:fs";
|
|
|
17
17
|
import { dirname, join, resolve } from "node:path";
|
|
18
18
|
import { fileURLToPath } from "node:url";
|
|
19
19
|
/** Engine semver. Keep in lockstep with package.json `version` (enforced by test). */
|
|
20
|
-
export const COLTRANE_VERSION = "0.14.
|
|
20
|
+
export const COLTRANE_VERSION = "0.14.6";
|
|
21
21
|
/**
|
|
22
22
|
* The commit this engine checkout is sitting on, or null when it can't be determined.
|
|
23
23
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eir-labs/coltrane",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.6",
|
|
4
4
|
"description": "A methodology engine \u2014 a typed substrate for defining agents, composing multi-phase standards, dispatching gigs, and sealing every output to a content-addressed ledger. Ships as an MCP server.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"change-context"
|
|
26
26
|
],
|
|
27
27
|
"optional_outputs": [],
|
|
28
|
-
"required_skills": []
|
|
28
|
+
"required_skills": [],
|
|
29
|
+
"turn_reserve": 12
|
|
29
30
|
}
|
|
30
31
|
]
|
|
31
32
|
},
|
|
@@ -45,7 +46,8 @@
|
|
|
45
46
|
"change-decision"
|
|
46
47
|
],
|
|
47
48
|
"optional_outputs": [],
|
|
48
|
-
"required_skills": []
|
|
49
|
+
"required_skills": [],
|
|
50
|
+
"turn_reserve": 8
|
|
49
51
|
}
|
|
50
52
|
]
|
|
51
53
|
},
|
|
@@ -70,7 +72,8 @@
|
|
|
70
72
|
"required_skills": [],
|
|
71
73
|
"preferred_skills": [
|
|
72
74
|
"structure-conformance"
|
|
73
|
-
]
|
|
75
|
+
],
|
|
76
|
+
"turn_reserve": 8
|
|
74
77
|
}
|
|
75
78
|
]
|
|
76
79
|
},
|
|
@@ -115,7 +118,8 @@
|
|
|
115
118
|
"change-set"
|
|
116
119
|
],
|
|
117
120
|
"optional_outputs": [],
|
|
118
|
-
"required_skills": []
|
|
121
|
+
"required_skills": [],
|
|
122
|
+
"turn_reserve": 14
|
|
119
123
|
}
|
|
120
124
|
]
|
|
121
125
|
},
|
|
@@ -139,7 +143,8 @@
|
|
|
139
143
|
"change-verdict"
|
|
140
144
|
],
|
|
141
145
|
"optional_outputs": [],
|
|
142
|
-
"required_skills": []
|
|
146
|
+
"required_skills": [],
|
|
147
|
+
"turn_reserve": 10
|
|
143
148
|
}
|
|
144
149
|
]
|
|
145
150
|
},
|
|
@@ -163,7 +168,8 @@
|
|
|
163
168
|
"pull-request"
|
|
164
169
|
],
|
|
165
170
|
"optional_outputs": [],
|
|
166
|
-
"required_skills": []
|
|
171
|
+
"required_skills": [],
|
|
172
|
+
"turn_reserve": 8
|
|
167
173
|
}
|
|
168
174
|
]
|
|
169
175
|
}
|
|
@@ -178,5 +184,6 @@
|
|
|
178
184
|
"change-verdict",
|
|
179
185
|
"pull-request"
|
|
180
186
|
],
|
|
181
|
-
"description": "Governed dev loop, RED-first: context → decision → plan → SEALED RED LAWS → build → verify → PR. draft-laws seats red-spec-drafter (holds tests/**, cannot reach src/) and its sealed red-spec is a required input of write-change, verify-change and publish-pr
|
|
187
|
+
"description": "Governed dev loop, RED-first: context → decision → plan → SEALED RED LAWS → build → verify → PR. draft-laws seats red-spec-drafter (holds tests/**, cannot reach src/) and its sealed red-spec is a required input of write-change, verify-change and publish-pr. Every chair carries a turn_reserve so a seat that spends its budget gathering can still close out and seal.",
|
|
188
|
+
"reserve_pool": 60
|
|
182
189
|
}
|