@futurelastic/colab-handbook 1.13.0-rc.7 → 1.13.0-rc.9
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/package.json +2 -1
- package/tools/colab +7 -2
- package/tools/lib/codec/labels.js +7 -0
- package/tools/lib/codec/samples.json +16 -0
package/package.json
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"tools/colab",
|
|
18
18
|
"tools/lib/*.js",
|
|
19
19
|
"!tools/lib/*.test.js",
|
|
20
|
+
"!tools/lib/refusal-sites.js",
|
|
20
21
|
"tools/lib/tracker-scenarios.json",
|
|
21
22
|
"tools/lib/codec/*.js",
|
|
22
23
|
"tools/lib/codec/*.d.ts",
|
|
@@ -32,5 +33,5 @@
|
|
|
32
33
|
"engines": {
|
|
33
34
|
"node": ">=18"
|
|
34
35
|
},
|
|
35
|
-
"version": "1.13.0-rc.
|
|
36
|
+
"version": "1.13.0-rc.9"
|
|
36
37
|
}
|
package/tools/colab
CHANGED
|
@@ -8381,7 +8381,9 @@ async function askMenu(rl, axis, promptFn) {
|
|
|
8381
8381
|
if (resolved.ok) return resolved;
|
|
8382
8382
|
process.stdout.write(` ${resolved.message}\n`);
|
|
8383
8383
|
}
|
|
8384
|
-
throw new UserError(`${axis}: no valid answer after one re-prompt`
|
|
8384
|
+
throw new UserError(`${axis}: no valid answer after one re-prompt — nothing was written. Run \`colab adopt --axis ${axis}\` ` +
|
|
8385
|
+
`to be asked again, or pass the value directly: \`colab adopt ${axis === 'tier' ? '--deploy' : `--${axis}`} <value>\` ` +
|
|
8386
|
+
`(\`colab adopt --help\` lists them).`);
|
|
8385
8387
|
}
|
|
8386
8388
|
|
|
8387
8389
|
/**
|
|
@@ -8441,7 +8443,10 @@ async function adoptAskInteractive(rl, axesToAsk, cfg, checkExposure) {
|
|
|
8441
8443
|
if (!problem) { chosen = resolved; break; }
|
|
8442
8444
|
process.stdout.write(` ✗ ${problem}\n choose again (or skip):\n`);
|
|
8443
8445
|
}
|
|
8444
|
-
|
|
8446
|
+
// #532: this refusal comes after a long interaction, so it names the way through, not just the stop.
|
|
8447
|
+
if (!chosen) throw new UserError('exposure: no answer this repo\'s shape supports after one re-prompt — nothing was written. ' +
|
|
8448
|
+
'Each "✗" above says why its value was refused. Run `colab adopt --axis exposure` and pick a value it accepts, ' +
|
|
8449
|
+
'or `colab adopt --exposure <value>` non-interactively; choosing "skip" leaves exposure unanswered for now.');
|
|
8445
8450
|
if (chosen.skip) continue; // decline — the fallback tier derivation picks this up
|
|
8446
8451
|
answers.exposure = { values: { exposure: chosen.value }, mode: 'interactive' };
|
|
8447
8452
|
} else {
|
|
@@ -169,6 +169,11 @@
|
|
|
169
169
|
* this entry, plus the matching `code-triage` verdict, is what makes those readings
|
|
170
170
|
* reconcilable instead of silently contradictory.
|
|
171
171
|
*
|
|
172
|
+
* `priority:now` / `priority:high` joined the set in #537: the upward rank beside `low-priority`
|
|
173
|
+
* (CONVENTIONS.md §5, *Priority*). Fixed values, not a prefix kind — they decode as plain
|
|
174
|
+
* `convention` labels. Same malignant-absence reason: a rank only the owner may set must be
|
|
175
|
+
* appliable the moment the owner says so, which a label the repo never created is not.
|
|
176
|
+
*
|
|
172
177
|
* `deferred:date` / `deferred:measurement` / `deferred:external-party` joined the set in
|
|
173
178
|
* #279: `deps-checked` was being asked to carry two orthogonal facts at once — "has a
|
|
174
179
|
* reasoning session evaluated this?" (process state, monotonic — the label's own
|
|
@@ -222,6 +227,8 @@ const CONVENTION_LABELS = [
|
|
|
222
227
|
{ name: 'needs-migration-grant', color: 'D4C5F9', description: 'Agent-flagged: deliverable is a schema migration; surfaces the grant request for a human to Accept' },
|
|
223
228
|
{ name: 'ci-granted', color: 'D73A4A', description: "A human granted this branch a one-shot exemption from ship's trunk-CI-green gate" },
|
|
224
229
|
{ name: 'low-priority', color: 'C2E0C6', description: 'Throttle, not a veto — startable, but code-triage ranks it behind every other ready group' },
|
|
230
|
+
{ name: 'priority:now', color: 'B60205', description: "Rank first among ready work — the owner's order; never skips a gate or overrides a file hold" },
|
|
231
|
+
{ name: 'priority:high', color: 'D93F0B', description: 'Rank ahead of default among ready work — owner or coordinator; never skips a gate' },
|
|
225
232
|
{ name: 'delivery:code', color: '1D76DB', description: 'Delivery is a code commit — the ordinary code pipeline applies' },
|
|
226
233
|
{ name: 'delivery:content', color: 'FEF2C0', description: 'Delivery is a content push, not a code commit — route, do not start in the code pipeline' },
|
|
227
234
|
{ name: 'delivery:ops', color: 'D4C5F9', description: 'Delivery is an ops/production check, not a code commit — route, do not start in the code pipeline' },
|
|
@@ -81,6 +81,22 @@
|
|
|
81
81
|
"known": true
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
|
+
{
|
|
85
|
+
"wire": "priority:now",
|
|
86
|
+
"decoded": {
|
|
87
|
+
"kind": "convention",
|
|
88
|
+
"value": "priority:now",
|
|
89
|
+
"known": true
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"wire": "priority:high",
|
|
94
|
+
"decoded": {
|
|
95
|
+
"kind": "convention",
|
|
96
|
+
"value": "priority:high",
|
|
97
|
+
"known": true
|
|
98
|
+
}
|
|
99
|
+
},
|
|
84
100
|
{
|
|
85
101
|
"wire": "release-hold",
|
|
86
102
|
"decoded": {
|