* test(#2296): failing-first coverage for provider escalation on quota-exceeded
Covers the provider-escalation ladder layered onto EXEC.CLASSIFY: back-compat
(no escalation block without --failure-class), cap boundaries at
min(max_escalations, list length) at limit-1/limit/limit+1, opt-in gating,
malformed/hostile provider_escalation config, the --failure-class CLI negative
matrix, config-key registration, and a fast-check budget-limit property.
Red until the resolver, CLI flag, and manifest key land.
Refs #2296
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* feat(#2296): config-gated provider escalation on quota-exceeded
The dynamic_routing tier ladder escalates within one provider, which does not
help when that provider is what ran out of quota. Add an opt-in provider ladder
layered on the existing EXEC.CLASSIFY seam.
- model-resolver: resolveProviderEscalation walks dynamic_routing.provider_escalation
capped at min(max_escalations, list length), reporting from/to/attempted/exhausted.
Invalid entries are dropped (ADR 227 shape validation). Stays a leaf module —
the quota-class policy decision is the caller's, per the CONTEXT.md contract.
- agent-command-router: export a frozen AGENT_FAILURE_CLASSES so the new CLI
validator cannot drift from the classifier that produces the values.
- resolve-execution: --failure-class flag; emits an escalation block ONLY when
passed, so the existing JSON contract is byte-identical for every caller.
- config-schema.manifest: register dynamic_routing.provider_escalation.
- execute-phase step 7.1: auto-escalate, honor Retry-After, fail loudly naming
every model tried once the ladder is spent.
Refs #2296
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* fix(#2296): extract quota recovery to a reference fragment; regen goldens
The step 7.1a addition pushed gsd-core/workflows/execute-phase.md from 93390 to
95111 LF bytes, past the frozen ADR-857 Phase 6 ceiling (hard <93600, margin
<=93400) asserted by tests/fix-2285-claude-orchestration-wiring.test.cjs. The
base sat 10 bytes under the margin, so no inline wording would have fit.
That gate's own rationale is that optional-feature detail belongs in a fragment,
not the host loop. Moved BOTH the new provider-escalation branch and the
pre-existing manual recovery prompt into
gsd-core/references/execute-phase-quota-recovery.md, leaving step 7.1 as a
one-line pointer. execute-phase.md is now 92880 bytes — 510 SMALLER than base.
Also regenerates the fixtures that legitimately moved because three shipped
files changed (gsd-tools.cjs, config-schema.manifest.json, execute-phase.md):
golden-install-parity + install-tree for all 16 runtimes, INVENTORY.md +
INVENTORY-MANIFEST.json for the new reference, and the workflow size baseline.
Refs #2296
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* test(#2351): make the C1 orphan-reaping test load-independent
tests/run-with-timeout.test.cjs C1 asserted the child heartbeat file exists
after a 1s group-kill window, but the child only wrote it on the first 100ms
setInterval tick. Nothing synchronized the two: on a loaded container the group
is SIGKILLed before that tick lands, the file never appears, and the assertion
fails for a reason unrelated to reaping. Observed failing on both linux-node22
and linux-node24.
The behavior actually under test is the FREEZE assertion (heartbeat stops
advancing => descendant was reaped, not orphaned). That is unaffected by
sampling once more at t=0.
Child now writes its first heartbeat synchronously at startup before arming the
interval, and the kill window widens 1s -> 3s to cover child boot under load.
Both remove the timing dependency; neither weakens what the test proves.
Refs #2296
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* chore(#2296): backfill pr:2458 in .changeset/rapid-jays-bark.md
* chore(#2296): regenerate fixtures after rebase onto #2402
The rebase conflicted on the generated golden-install-parity fixtures and
workflow-size-baseline.json because #2402 (b6e6a22fc) regenerated the same
artifacts. Conflict resolution picked a side to unblock the rebase; a true
regeneration on the combined tree then produced further drift, confirming the
resolved content was stale and would have dropped #2402's fixture changes.
Regenerated goldens, install-tree, size baseline, and INVENTORY-MANIFEST from
the merged tree. docs/INVENTORY.md keeps BOTH new reference rows.
execute-phase.md is 92782 LF bytes with both #2402's and this PR's extractions
applied — under the frozen ceiling (hard <93600, margin <=93400).
Refs #2296
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
412
tests/feat-2296-provider-escalation.test.cjs
Normal file
412
tests/feat-2296-provider-escalation.test.cjs
Normal file
@@ -0,0 +1,412 @@
|
||||
/**
|
||||
* GSD Tools Tests — config-gated provider escalation on quota-exceeded (#2296)
|
||||
*
|
||||
* #2068 wired `resolveModelForTier` into `cmdResolveExecution`, so `--attempt`
|
||||
* already escalates the model up the TIER ladder (light -> standard -> heavy)
|
||||
* within one provider's `tier_models`. That does not help when the failure is a
|
||||
* provider quota/rate-limit: a heavier tier on the same throttled account is
|
||||
* still throttled.
|
||||
*
|
||||
* #2296 layers a PROVIDER escalation ladder onto the existing reactive
|
||||
* classification seam (`EXEC.CLASSIFY` / `agent classify-failure`, #3095):
|
||||
* when `resolve-execution` is told the failure class was `quota-exceeded` and
|
||||
* `dynamic_routing.provider_escalation` is configured, the model resolves from
|
||||
* that ordered list instead of the tier ladder, capped by `max_escalations`,
|
||||
* reporting `from -> to` so the switch is visible, and reporting `exhausted`
|
||||
* once the list is spent so the caller can fail loudly.
|
||||
*
|
||||
* Baselines confirmed by running the built CLI against a temp project before
|
||||
* writing these assertions (gsd-executor default routing tier is "standard"):
|
||||
* attempt 0, no --failure-class -> sonnet
|
||||
* attempt 1, no --failure-class -> opus (tier ladder, unchanged by #2296)
|
||||
* --failure-class <anything> -> "Unknown flag" before this change
|
||||
* config-set dynamic_routing.provider_escalation -> "Unknown config key"
|
||||
*/
|
||||
|
||||
const { test, describe, beforeEach, afterEach } = require('node:test');
|
||||
const assert = require('node:assert/strict');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const fc = require('fast-check');
|
||||
const { runGsdTools, createTempProject, cleanup } = require('./helpers.cjs');
|
||||
|
||||
const TIER_MODELS = { light: 'haiku', standard: 'sonnet', heavy: 'opus' };
|
||||
|
||||
function writeConfig(tmpDir, config) {
|
||||
fs.writeFileSync(path.join(tmpDir, '.planning', 'config.json'), JSON.stringify(config));
|
||||
}
|
||||
|
||||
function routingConfig(extra) {
|
||||
return { dynamic_routing: { enabled: true, tier_models: TIER_MODELS, ...extra } };
|
||||
}
|
||||
|
||||
/** Run resolve-execution and parse the JSON contract. Asserts success. */
|
||||
function resolve(tmpDir, args) {
|
||||
const result = runGsdTools(`resolve-execution ${args}`, tmpDir);
|
||||
assert.ok(result.success, `resolve-execution ${args} failed: ${result.error}`);
|
||||
return JSON.parse(result.output);
|
||||
}
|
||||
|
||||
/** Run resolve-execution expecting a non-zero exit. Returns the raw result. */
|
||||
function resolveExpectFailure(tmpDir, args) {
|
||||
const result = runGsdTools(`resolve-execution ${args}`, tmpDir);
|
||||
assert.ok(!result.success, `resolve-execution ${args} unexpectedly succeeded`);
|
||||
return result;
|
||||
}
|
||||
|
||||
describe('resolve-execution: provider escalation on quota-exceeded (#2296)', () => {
|
||||
let tmpDir;
|
||||
|
||||
beforeEach(() => {
|
||||
tmpDir = createTempProject();
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
cleanup(tmpDir);
|
||||
});
|
||||
|
||||
// ─── Back-compat: the default contract must not move ───────────────────────
|
||||
//
|
||||
// Hyrum's Law guard. Every existing consumer of `resolve-execution` reads this
|
||||
// JSON. Adding provider escalation must be invisible unless --failure-class is
|
||||
// explicitly passed, exactly as #2068 gated the model on an explicit --attempt.
|
||||
describe('back-compat — no --failure-class means no behavior change', () => {
|
||||
beforeEach(() => {
|
||||
writeConfig(tmpDir, routingConfig({ provider_escalation: ['gpt-5', 'llama-3.3'] }));
|
||||
});
|
||||
|
||||
test('omitting --failure-class emits no `escalation` key at all', () => {
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 1');
|
||||
assert.ok(
|
||||
!Object.hasOwn(parsed, 'escalation'),
|
||||
'the escalation block must be absent unless --failure-class is passed',
|
||||
);
|
||||
});
|
||||
|
||||
test('omitting --failure-class keeps the TIER ladder (attempt 1 -> opus), ignoring provider_escalation', () => {
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 1');
|
||||
assert.strictEqual(parsed.model, 'opus');
|
||||
});
|
||||
|
||||
test('a configured provider_escalation does not leak into the no-attempt classic path', () => {
|
||||
const parsed = resolve(tmpDir, 'gsd-executor');
|
||||
assert.strictEqual(parsed.model, 'sonnet');
|
||||
assert.ok(!Object.hasOwn(parsed, 'escalation'));
|
||||
});
|
||||
});
|
||||
|
||||
// ─── Core behavior: quota-exceeded walks the provider list ─────────────────
|
||||
//
|
||||
// provider_escalation has 2 entries and max_escalations is 2, so cap == 2 and
|
||||
// the limit-1 / limit / limit+1 boundaries are all observable.
|
||||
describe('quota-exceeded — walks provider_escalation (cap == 2)', () => {
|
||||
beforeEach(() => {
|
||||
writeConfig(tmpDir, routingConfig({
|
||||
provider_escalation: ['gpt-5', 'llama-3.3'],
|
||||
max_escalations: 2,
|
||||
}));
|
||||
});
|
||||
|
||||
test('attempt 0 stays on the source model and does not escalate', () => {
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 0 --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.model, 'sonnet');
|
||||
assert.strictEqual(parsed.escalation.escalated, false);
|
||||
assert.strictEqual(parsed.escalation.exhausted, false);
|
||||
assert.strictEqual(parsed.escalation.index, 0);
|
||||
});
|
||||
|
||||
// Boundary: cap - 1
|
||||
test('attempt 1 (cap-1) escalates to the FIRST provider and reports from -> to', () => {
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 1 --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.model, 'gpt-5');
|
||||
assert.strictEqual(parsed.escalation.escalated, true);
|
||||
assert.strictEqual(parsed.escalation.exhausted, false);
|
||||
assert.strictEqual(parsed.escalation.from, 'sonnet');
|
||||
assert.strictEqual(parsed.escalation.to, 'gpt-5');
|
||||
assert.strictEqual(parsed.escalation.index, 1);
|
||||
assert.deepStrictEqual(parsed.escalation.attempted, ['sonnet', 'gpt-5']);
|
||||
});
|
||||
|
||||
// Boundary: exactly cap
|
||||
test('attempt 2 (== cap) escalates to the SECOND provider, still not exhausted', () => {
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 2 --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.model, 'llama-3.3');
|
||||
assert.strictEqual(parsed.escalation.escalated, true);
|
||||
assert.strictEqual(parsed.escalation.exhausted, false);
|
||||
assert.strictEqual(parsed.escalation.index, 2);
|
||||
assert.deepStrictEqual(parsed.escalation.attempted, ['sonnet', 'gpt-5', 'llama-3.3']);
|
||||
});
|
||||
|
||||
// Boundary: cap + 1 — the ladder is spent; the caller must be able to fail loudly.
|
||||
test('attempt 3 (cap+1) reports exhausted:true and names every model attempted', () => {
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 3 --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.escalation.exhausted, true);
|
||||
assert.strictEqual(parsed.escalation.index, 2, 'index must pin at the cap, not run past it');
|
||||
assert.strictEqual(parsed.model, 'llama-3.3', 'model pins at the last provider once exhausted');
|
||||
assert.deepStrictEqual(
|
||||
parsed.escalation.attempted,
|
||||
['sonnet', 'gpt-5', 'llama-3.3'],
|
||||
'attempted must name every model tried so the caller can report them',
|
||||
);
|
||||
});
|
||||
|
||||
test('the echoed class is the class that was passed in', () => {
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 1 --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.escalation.class, 'quota-exceeded');
|
||||
});
|
||||
});
|
||||
|
||||
// ─── The cap is min(max_escalations, list length) ──────────────────────────
|
||||
describe('cap is the smaller of max_escalations and the list length', () => {
|
||||
test('a list SHORTER than max_escalations exhausts at the list length', () => {
|
||||
writeConfig(tmpDir, routingConfig({ provider_escalation: ['only-one'], max_escalations: 5 }));
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 2 --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.model, 'only-one');
|
||||
assert.strictEqual(parsed.escalation.exhausted, true);
|
||||
assert.strictEqual(parsed.escalation.index, 1);
|
||||
});
|
||||
|
||||
test('max_escalations SMALLER than the list caps before the list ends', () => {
|
||||
writeConfig(tmpDir, routingConfig({
|
||||
provider_escalation: ['first', 'second', 'third'],
|
||||
max_escalations: 1,
|
||||
}));
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 2 --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.model, 'first', 'must not reach "second" past the cap');
|
||||
assert.strictEqual(parsed.escalation.exhausted, true);
|
||||
assert.strictEqual(parsed.escalation.index, 1);
|
||||
});
|
||||
|
||||
test('max_escalations: 0 disables escalation entirely', () => {
|
||||
writeConfig(tmpDir, routingConfig({ provider_escalation: ['gpt-5'], max_escalations: 0 }));
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 1 --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.model, 'sonnet');
|
||||
assert.strictEqual(parsed.escalation.escalated, false);
|
||||
assert.strictEqual(parsed.escalation.exhausted, true, 'a zero cap is immediately spent');
|
||||
});
|
||||
|
||||
test('escalate_on_failure:false is a kill switch for provider escalation too', () => {
|
||||
writeConfig(tmpDir, routingConfig({
|
||||
provider_escalation: ['gpt-5'],
|
||||
escalate_on_failure: false,
|
||||
}));
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 1 --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.model, 'sonnet');
|
||||
assert.strictEqual(parsed.escalation.escalated, false);
|
||||
});
|
||||
});
|
||||
|
||||
// ─── Opt-in gating: nothing happens unless configured ──────────────────────
|
||||
describe('opt-in gating', () => {
|
||||
test('quota-exceeded with NO provider_escalation configured falls back to the tier ladder', () => {
|
||||
writeConfig(tmpDir, routingConfig({}));
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 1 --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.model, 'opus', 'unconfigured means the existing tier ladder still applies');
|
||||
assert.strictEqual(parsed.escalation.escalated, false);
|
||||
});
|
||||
|
||||
test('dynamic_routing disabled ignores provider_escalation', () => {
|
||||
writeConfig(tmpDir, {
|
||||
dynamic_routing: { enabled: false, tier_models: TIER_MODELS, provider_escalation: ['gpt-5'] },
|
||||
});
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 1 --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.model, 'sonnet');
|
||||
assert.strictEqual(parsed.escalation.escalated, false);
|
||||
});
|
||||
|
||||
test('a NON-quota failure class never touches the provider list', () => {
|
||||
writeConfig(tmpDir, routingConfig({ provider_escalation: ['gpt-5'] }));
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 1 --failure-class unknown-failure');
|
||||
assert.strictEqual(parsed.model, 'opus', 'non-quota failures keep the tier ladder');
|
||||
assert.strictEqual(parsed.escalation.escalated, false);
|
||||
assert.strictEqual(parsed.escalation.class, 'unknown-failure');
|
||||
});
|
||||
|
||||
test('classify-handoff-bug does not trigger provider escalation', () => {
|
||||
writeConfig(tmpDir, routingConfig({ provider_escalation: ['gpt-5'] }));
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 1 --failure-class classify-handoff-bug');
|
||||
assert.strictEqual(parsed.escalation.escalated, false);
|
||||
});
|
||||
});
|
||||
|
||||
// ─── Hostile / malformed config (QA matrix: malformed, hostile, wrong type) ─
|
||||
describe('malformed provider_escalation is rejected without crashing', () => {
|
||||
const cases = [
|
||||
['a scalar where an array is expected', 'gpt-5'],
|
||||
['an object where an array is expected', { 0: 'gpt-5' }],
|
||||
['an empty array', []],
|
||||
['null', null],
|
||||
['an array of only invalid entries', [null, 42, '', ' ', {}]],
|
||||
];
|
||||
|
||||
for (const [label, value] of cases) {
|
||||
test(`${label} falls back to the tier ladder and never throws`, () => {
|
||||
writeConfig(tmpDir, routingConfig({ provider_escalation: value }));
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 1 --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.model, 'opus');
|
||||
assert.strictEqual(parsed.escalation.escalated, false);
|
||||
});
|
||||
}
|
||||
|
||||
test('invalid entries are dropped and the surviving entries keep their order', () => {
|
||||
writeConfig(tmpDir, routingConfig({
|
||||
provider_escalation: [null, 'good-one', '', 42, ' ', 'good-two'],
|
||||
max_escalations: 5,
|
||||
}));
|
||||
const first = resolve(tmpDir, 'gsd-executor --attempt 1 --failure-class quota-exceeded');
|
||||
assert.strictEqual(first.model, 'good-one');
|
||||
const second = resolve(tmpDir, 'gsd-executor --attempt 2 --failure-class quota-exceeded');
|
||||
assert.strictEqual(second.model, 'good-two');
|
||||
assert.strictEqual(second.escalation.exhausted, false);
|
||||
});
|
||||
|
||||
test('a prototype-polluting key in the list is not treated as an entry', () => {
|
||||
writeConfig(tmpDir, routingConfig({ provider_escalation: ['__proto__', 'constructor'] }));
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 1 --failure-class quota-exceeded');
|
||||
// These are ordinary strings, not lookups — they must be passed through as
|
||||
// opaque model ids and must not mutate any prototype.
|
||||
assert.strictEqual(parsed.model, '__proto__');
|
||||
assert.strictEqual({}.polluted, undefined);
|
||||
});
|
||||
|
||||
// A negative max_escalations is invalid config, not a request for zero. The
|
||||
// tier ladder in resolveModelForTier already falls back to the documented
|
||||
// default of 1 for any non-integer/negative value; the provider ladder must
|
||||
// apply the SAME rule for the SAME key, or one config value would mean two
|
||||
// different things inside one dynamic_routing block.
|
||||
test('a negative max_escalations falls back to the default cap of 1, never inverts', () => {
|
||||
writeConfig(tmpDir, routingConfig({
|
||||
provider_escalation: ['gpt-5', 'llama-3.3'],
|
||||
max_escalations: -3,
|
||||
}));
|
||||
const first = resolve(tmpDir, 'gsd-executor --attempt 1 --failure-class quota-exceeded');
|
||||
assert.strictEqual(first.model, 'gpt-5');
|
||||
assert.strictEqual(first.escalation.index, 1);
|
||||
|
||||
const past = resolve(tmpDir, 'gsd-executor --attempt 2 --failure-class quota-exceeded');
|
||||
assert.strictEqual(past.escalation.index, 1, 'cap stays 1, never negative and never wider');
|
||||
assert.strictEqual(past.escalation.exhausted, true);
|
||||
});
|
||||
|
||||
test('a non-integer max_escalations also falls back to the default cap of 1', () => {
|
||||
writeConfig(tmpDir, routingConfig({
|
||||
provider_escalation: ['gpt-5', 'llama-3.3'],
|
||||
max_escalations: 2.7,
|
||||
}));
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 2 --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.escalation.index, 1);
|
||||
assert.strictEqual(parsed.escalation.exhausted, true);
|
||||
});
|
||||
});
|
||||
|
||||
// ─── CLI contract: --failure-class negative matrix ─────────────────────────
|
||||
describe('--failure-class CLI negative matrix', () => {
|
||||
beforeEach(() => {
|
||||
writeConfig(tmpDir, routingConfig({ provider_escalation: ['gpt-5'] }));
|
||||
});
|
||||
|
||||
test('an unknown class value is a usage error, not a silent no-op', () => {
|
||||
const result = resolveExpectFailure(tmpDir, 'gsd-executor --attempt 1 --failure-class bogus-class');
|
||||
assert.ok(!/\bat .*:\d+:\d+/.test(result.error || ''), 'must not leak a stack trace');
|
||||
});
|
||||
|
||||
test('an empty --failure-class value is a usage error', () => {
|
||||
resolveExpectFailure(tmpDir, 'gsd-executor --attempt 1 --failure-class=');
|
||||
});
|
||||
|
||||
test('a missing value for --failure-class is a usage error', () => {
|
||||
resolveExpectFailure(tmpDir, 'gsd-executor --failure-class');
|
||||
});
|
||||
|
||||
test('a flag-shaped value for --failure-class is a usage error', () => {
|
||||
resolveExpectFailure(tmpDir, 'gsd-executor --failure-class --attempt');
|
||||
});
|
||||
|
||||
test('the --failure-class=value form is accepted', () => {
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --attempt 1 --failure-class=quota-exceeded');
|
||||
assert.strictEqual(parsed.model, 'gpt-5');
|
||||
});
|
||||
|
||||
test('shell metacharacters in the class value are rejected, never interpolated', () => {
|
||||
const result = resolveExpectFailure(
|
||||
tmpDir,
|
||||
'gsd-executor --attempt 1 --failure-class "quota-exceeded; touch pwned"',
|
||||
);
|
||||
assert.ok(!fs.existsSync(path.join(tmpDir, 'pwned')), 'no shell interpolation may occur');
|
||||
assert.ok(!/\bat .*:\d+:\d+/.test(result.error || ''), 'must not leak a stack trace');
|
||||
});
|
||||
|
||||
test('--failure-class without --attempt does not escalate', () => {
|
||||
const parsed = resolve(tmpDir, 'gsd-executor --failure-class quota-exceeded');
|
||||
assert.strictEqual(parsed.model, 'sonnet', 'no attempt counter means no escalation step');
|
||||
assert.strictEqual(parsed.escalation.escalated, false);
|
||||
});
|
||||
});
|
||||
|
||||
// ─── Config-key registration (behavioral, per CONTRIBUTING.md) ─────────────
|
||||
describe('dynamic_routing.provider_escalation is a registered config key', () => {
|
||||
// argv-array form: the string form of runGsdTools strips inner quotes,
|
||||
// which would mangle the JSON value into `[gpt-5,llama-3.3]`.
|
||||
test('config-set accepts the key and persists the value', () => {
|
||||
const result = runGsdTools(
|
||||
['config-set', 'dynamic_routing.provider_escalation', '["gpt-5","llama-3.3"]'],
|
||||
tmpDir,
|
||||
);
|
||||
assert.ok(result.success, `config-set should accept the key: ${result.error}`);
|
||||
const config = JSON.parse(fs.readFileSync(path.join(tmpDir, '.planning', 'config.json'), 'utf-8'));
|
||||
assert.deepStrictEqual(config.dynamic_routing?.provider_escalation, ['gpt-5', 'llama-3.3']);
|
||||
});
|
||||
|
||||
test('a sibling typo under dynamic_routing is still rejected', () => {
|
||||
const result = runGsdTools(
|
||||
['config-set', 'dynamic_routing.provider_escalations', '["x"]'],
|
||||
tmpDir,
|
||||
);
|
||||
assert.ok(!result.success, 'the regex must not have been widened into a catch-all');
|
||||
});
|
||||
});
|
||||
|
||||
// ─── Property: the resolved model is always drawn from the declared ladder ──
|
||||
//
|
||||
// This is the budget-limit invariant. Whatever the attempt counter and list,
|
||||
// the resolver may only ever return the source model or an entry from the
|
||||
// configured list, and may never walk past the cap. Deterministic seed, bounded
|
||||
// runs, replay data printed on failure.
|
||||
describe('property — the resolver never invents a model or walks past the cap', () => {
|
||||
test('resolved model is always source-or-listed, and index <= cap', () => {
|
||||
fc.assert(
|
||||
fc.property(
|
||||
fc.array(fc.string({ minLength: 1, maxLength: 12 }).filter((s) => s.trim().length > 0), {
|
||||
minLength: 1,
|
||||
maxLength: 4,
|
||||
}),
|
||||
fc.integer({ min: 0, max: 6 }),
|
||||
fc.integer({ min: 0, max: 6 }),
|
||||
(list, maxEscalations, attempt) => {
|
||||
const dir = createTempProject();
|
||||
try {
|
||||
writeConfig(dir, routingConfig({
|
||||
provider_escalation: list,
|
||||
max_escalations: maxEscalations,
|
||||
}));
|
||||
const parsed = resolve(dir, `gsd-executor --attempt ${attempt} --failure-class quota-exceeded`);
|
||||
const cap = Math.min(maxEscalations, list.length);
|
||||
const allowed = new Set(['sonnet', ...list.slice(0, cap)]);
|
||||
assert.ok(
|
||||
allowed.has(parsed.model),
|
||||
`resolved "${parsed.model}" outside the declared ladder ${JSON.stringify([...allowed])}`,
|
||||
);
|
||||
assert.ok(
|
||||
parsed.escalation.index <= cap,
|
||||
`index ${parsed.escalation.index} walked past cap ${cap}`,
|
||||
);
|
||||
} finally {
|
||||
cleanup(dir);
|
||||
}
|
||||
},
|
||||
),
|
||||
{ numRuns: 25, seed: 2296, verbose: true },
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -39,10 +39,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "ea841e2865248e74",
|
||||
"gsd-core/bin/gsd-tools.cjs": "8c5bf9788c3967be",
|
||||
"gsd-core/bin/gsd-tools.cjs": "df767e8f2f10fd3b",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "8bc541aabc2e143c",
|
||||
@@ -88,6 +88,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "3ad96ca0f7fee37e",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "a5a1058d35806a8e",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "713cf7681f57e7ce",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "826cf9315e592a1d",
|
||||
@@ -244,7 +245,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "16acb903dbe2bcbe",
|
||||
"gsd-core/workflows/edit-phase.md": "fc932e82ba1f585a",
|
||||
"gsd-core/workflows/eval-review.md": "9e8b169c05098b57",
|
||||
"gsd-core/workflows/execute-phase.md": "e96e1fa1b78b8a21",
|
||||
"gsd-core/workflows/execute-phase.md": "37ac5461a298c883",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "55d0706e80a2554a",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "13aa54f8279960ae",
|
||||
|
||||
@@ -110,10 +110,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "51bc64467ab30f62",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d119a8ff93c9c0a3",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d44831d1e2f9c1c1",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -159,6 +159,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "3ad96ca0f7fee37e",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "982006c1f3364242",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "c4ca0ee3875b6e02",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "de9ac22cead4cfd8",
|
||||
@@ -315,7 +316,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "b5cdf1c35043cf7b",
|
||||
"gsd-core/workflows/edit-phase.md": "966a3eadd1bebc04",
|
||||
"gsd-core/workflows/eval-review.md": "32d3d7e80ab2bfc7",
|
||||
"gsd-core/workflows/execute-phase.md": "1325f146afc9404a",
|
||||
"gsd-core/workflows/execute-phase.md": "470e39f0acc3c121",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "4e265392b3f2ba0e",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "7b2d9a4a4013fd6a",
|
||||
|
||||
@@ -109,10 +109,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "51bc64467ab30f62",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d119a8ff93c9c0a3",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d44831d1e2f9c1c1",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -158,6 +158,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "3ad96ca0f7fee37e",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "a5a1058d35806a8e",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "713cf7681f57e7ce",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "de9ac22cead4cfd8",
|
||||
@@ -314,7 +315,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "99908189254c0131",
|
||||
"gsd-core/workflows/edit-phase.md": "dbbb6191f5a8b65e",
|
||||
"gsd-core/workflows/eval-review.md": "11620e0dc4a003dd",
|
||||
"gsd-core/workflows/execute-phase.md": "4e272ba9df401dc5",
|
||||
"gsd-core/workflows/execute-phase.md": "eb81251ee1b55fb0",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "6d38bfd540030da4",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "a7f9b9a45303382f",
|
||||
|
||||
@@ -38,10 +38,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "51bc64467ab30f62",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d119a8ff93c9c0a3",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d44831d1e2f9c1c1",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -87,6 +87,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "3ad96ca0f7fee37e",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "a5a1058d35806a8e",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "713cf7681f57e7ce",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "de9ac22cead4cfd8",
|
||||
@@ -243,7 +244,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "e94d48c979be0211",
|
||||
"gsd-core/workflows/edit-phase.md": "8323bfe10faa0c0a",
|
||||
"gsd-core/workflows/eval-review.md": "7c2f5ff8cc4d06e5",
|
||||
"gsd-core/workflows/execute-phase.md": "95ab6bf45302a773",
|
||||
"gsd-core/workflows/execute-phase.md": "6d122c77d70c2e4e",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "facb0e816d87a0c7",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "7b2d9a4a4013fd6a",
|
||||
|
||||
@@ -42,10 +42,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "476aa24e8c4f03cf",
|
||||
"gsd-core/bin/gsd-tools.cjs": "36d17f5566bdec9e",
|
||||
"gsd-core/bin/gsd-tools.cjs": "f737db8e3aa1ce61",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -91,6 +91,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "e9582246dbc617e0",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "982006c1f3364242",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "c4ca0ee3875b6e02",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "742bb890af014c87",
|
||||
@@ -247,7 +248,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "4bcb3d9630d6bb10",
|
||||
"gsd-core/workflows/edit-phase.md": "9c9fadc047c61d74",
|
||||
"gsd-core/workflows/eval-review.md": "17fc9b4c4f7e1c74",
|
||||
"gsd-core/workflows/execute-phase.md": "1c703e5f1855b1e2",
|
||||
"gsd-core/workflows/execute-phase.md": "84798552f7f61eb9",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "67ebc93f51968cb6",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "35612890c1173577",
|
||||
|
||||
@@ -110,10 +110,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "51bc64467ab30f62",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d119a8ff93c9c0a3",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d44831d1e2f9c1c1",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -159,6 +159,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "3ad96ca0f7fee37e",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "982006c1f3364242",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "c4ca0ee3875b6e02",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "de9ac22cead4cfd8",
|
||||
@@ -315,7 +316,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "b5cdf1c35043cf7b",
|
||||
"gsd-core/workflows/edit-phase.md": "966a3eadd1bebc04",
|
||||
"gsd-core/workflows/eval-review.md": "32d3d7e80ab2bfc7",
|
||||
"gsd-core/workflows/execute-phase.md": "b090500cb2b6fe9f",
|
||||
"gsd-core/workflows/execute-phase.md": "a0bdd2da561df3d5",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "4e265392b3f2ba0e",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "7b2d9a4a4013fd6a",
|
||||
|
||||
@@ -145,10 +145,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "51bc64467ab30f62",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d119a8ff93c9c0a3",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d44831d1e2f9c1c1",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -194,6 +194,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "3ad96ca0f7fee37e",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "a483199612e216f1",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "885cbb5843f4f066",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "95e55087876a0d96",
|
||||
@@ -350,7 +351,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "70ad463cdad599c9",
|
||||
"gsd-core/workflows/edit-phase.md": "e592a4d85ce5380f",
|
||||
"gsd-core/workflows/eval-review.md": "c89a63285ead961e",
|
||||
"gsd-core/workflows/execute-phase.md": "994554be349d76bd",
|
||||
"gsd-core/workflows/execute-phase.md": "05df9b5d596213a7",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "f4cacd27d37bac65",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "7b2d9a4a4013fd6a",
|
||||
|
||||
@@ -40,10 +40,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "ea841e2865248e74",
|
||||
"gsd-core/bin/gsd-tools.cjs": "8c5bf9788c3967be",
|
||||
"gsd-core/bin/gsd-tools.cjs": "df767e8f2f10fd3b",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "10226e9512dd44bf",
|
||||
@@ -89,6 +89,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "3ad96ca0f7fee37e",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "a5a1058d35806a8e",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "713cf7681f57e7ce",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "1eb1e1e552ebd17b",
|
||||
@@ -245,7 +246,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "fddba4a71268a33f",
|
||||
"gsd-core/workflows/edit-phase.md": "8667c28b22b1599f",
|
||||
"gsd-core/workflows/eval-review.md": "1ae2d3d3fbf72893",
|
||||
"gsd-core/workflows/execute-phase.md": "0afe5c2ba3b22f15",
|
||||
"gsd-core/workflows/execute-phase.md": "2b444eb7efcc17cd",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "63b712920f21a40f",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "25bebed74e645109",
|
||||
|
||||
@@ -110,10 +110,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "2525f1ae8b086828",
|
||||
"gsd-core/bin/gsd-tools.cjs": "40e8e83311b87500",
|
||||
"gsd-core/bin/gsd-tools.cjs": "1c1255108c81fde6",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -159,6 +159,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "44e31bdae72ed5d5",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "a5a1058d35806a8e",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "713cf7681f57e7ce",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "b0e27ed2d8405974",
|
||||
@@ -315,7 +316,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "817776e1a5f87b39",
|
||||
"gsd-core/workflows/edit-phase.md": "8323bfe10faa0c0a",
|
||||
"gsd-core/workflows/eval-review.md": "9389c58f7384972d",
|
||||
"gsd-core/workflows/execute-phase.md": "6dbd3d9281ba270d",
|
||||
"gsd-core/workflows/execute-phase.md": "fadfa28157f409ef",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "facb0e816d87a0c7",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "7b2d9a4a4013fd6a",
|
||||
|
||||
@@ -39,10 +39,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "3a3409215044af9f",
|
||||
"gsd-core/bin/gsd-tools.cjs": "c7e11161f0296129",
|
||||
"gsd-core/bin/gsd-tools.cjs": "38cc609e9d4cbc3c",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -88,6 +88,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "4d6ea8e85e88b1fe",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "a5a1058d35806a8e",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "713cf7681f57e7ce",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "b13d8860a76b7a41",
|
||||
@@ -244,7 +245,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "de614d940b6f64ff",
|
||||
"gsd-core/workflows/edit-phase.md": "7f27003f20e88fb8",
|
||||
"gsd-core/workflows/eval-review.md": "e7cd5dfcf18e2458",
|
||||
"gsd-core/workflows/execute-phase.md": "1b9e1284cf788e43",
|
||||
"gsd-core/workflows/execute-phase.md": "b0398bcbf9893a1f",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "14a27cc0828f59d3",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "26ee34c543926402",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "362123fdf99e9980",
|
||||
|
||||
@@ -110,10 +110,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "51bc64467ab30f62",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d119a8ff93c9c0a3",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d44831d1e2f9c1c1",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -159,6 +159,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "3ad96ca0f7fee37e",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "a5a1058d35806a8e",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "713cf7681f57e7ce",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "de9ac22cead4cfd8",
|
||||
@@ -315,7 +316,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "6bca7d8fda0d1d54",
|
||||
"gsd-core/workflows/edit-phase.md": "8323bfe10faa0c0a",
|
||||
"gsd-core/workflows/eval-review.md": "35be91cd22a9bc11",
|
||||
"gsd-core/workflows/execute-phase.md": "49e2f1740bf7c6b1",
|
||||
"gsd-core/workflows/execute-phase.md": "6e759310d721e841",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "facb0e816d87a0c7",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "7b2d9a4a4013fd6a",
|
||||
|
||||
@@ -103,10 +103,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "51bc64467ab30f62",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d119a8ff93c9c0a3",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d44831d1e2f9c1c1",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -152,6 +152,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "3ad96ca0f7fee37e",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "982006c1f3364242",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "c4ca0ee3875b6e02",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "de9ac22cead4cfd8",
|
||||
@@ -308,7 +309,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "b5cdf1c35043cf7b",
|
||||
"gsd-core/workflows/edit-phase.md": "966a3eadd1bebc04",
|
||||
"gsd-core/workflows/eval-review.md": "32d3d7e80ab2bfc7",
|
||||
"gsd-core/workflows/execute-phase.md": "e9c9c9691bbc24e2",
|
||||
"gsd-core/workflows/execute-phase.md": "8117e54ce638397b",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "4e265392b3f2ba0e",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "7b2d9a4a4013fd6a",
|
||||
|
||||
@@ -110,10 +110,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "51bc64467ab30f62",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d119a8ff93c9c0a3",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d44831d1e2f9c1c1",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -159,6 +159,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "3ad96ca0f7fee37e",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "a5a1058d35806a8e",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "713cf7681f57e7ce",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "de9ac22cead4cfd8",
|
||||
@@ -315,7 +316,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "4c7ea896438d9d45",
|
||||
"gsd-core/workflows/edit-phase.md": "1876c855fb0a0a39",
|
||||
"gsd-core/workflows/eval-review.md": "1973f08d0eb34159",
|
||||
"gsd-core/workflows/execute-phase.md": "6148ab536d9210cc",
|
||||
"gsd-core/workflows/execute-phase.md": "eb0ab7bc861ecd92",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "1804215577f1ad35",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "c4cba01539f0368a",
|
||||
|
||||
7
tests/fixtures/golden-install-parity/pi.json
vendored
7
tests/fixtures/golden-install-parity/pi.json
vendored
@@ -6,10 +6,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "51bc64467ab30f62",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d119a8ff93c9c0a3",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d44831d1e2f9c1c1",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -55,6 +55,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "3ad96ca0f7fee37e",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "982006c1f3364242",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "c4ca0ee3875b6e02",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "de9ac22cead4cfd8",
|
||||
@@ -211,7 +212,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "b5cdf1c35043cf7b",
|
||||
"gsd-core/workflows/edit-phase.md": "966a3eadd1bebc04",
|
||||
"gsd-core/workflows/eval-review.md": "32d3d7e80ab2bfc7",
|
||||
"gsd-core/workflows/execute-phase.md": "043ed0d7fb5452dc",
|
||||
"gsd-core/workflows/execute-phase.md": "ba18fc959cf66a35",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "4e265392b3f2ba0e",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "7b2d9a4a4013fd6a",
|
||||
|
||||
@@ -39,10 +39,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "6e98d76e955e35a2",
|
||||
"gsd-core/bin/gsd-tools.cjs": "c67b43694423939a",
|
||||
"gsd-core/bin/gsd-tools.cjs": "982a6ff24abb8e59",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -88,6 +88,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "8c2e5a596401dd33",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "a5a1058d35806a8e",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "713cf7681f57e7ce",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "41d8123374d3838b",
|
||||
@@ -244,7 +245,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "db6e70dddaf019ad",
|
||||
"gsd-core/workflows/edit-phase.md": "0fb5e0123cfc6f36",
|
||||
"gsd-core/workflows/eval-review.md": "88431952699d9fa6",
|
||||
"gsd-core/workflows/execute-phase.md": "782d4ca8c8439afd",
|
||||
"gsd-core/workflows/execute-phase.md": "44e3fcc6a74c33b5",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "36af8d91e4ae8b9c",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "0b04cc2dcab61107",
|
||||
|
||||
@@ -39,10 +39,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "de4627dff103d527",
|
||||
"gsd-core/bin/gsd-tools.cjs": "44e114ddf0f32e08",
|
||||
"gsd-core/bin/gsd-tools.cjs": "cafd8c05ee085279",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -88,6 +88,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "7a1aa0ad7963f809",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "a5a1058d35806a8e",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "713cf7681f57e7ce",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "973a3a6a5db7e449",
|
||||
@@ -244,7 +245,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "141185e54648df02",
|
||||
"gsd-core/workflows/edit-phase.md": "7facd0faa33c8cad",
|
||||
"gsd-core/workflows/eval-review.md": "90a29a4fa0cdd947",
|
||||
"gsd-core/workflows/execute-phase.md": "67c7f93f3cef43f1",
|
||||
"gsd-core/workflows/execute-phase.md": "e62fe4c3357b083c",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "c985a30317a1aa6b",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "7d30384e9bf82664",
|
||||
|
||||
@@ -39,10 +39,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "5636ca0b726871b2",
|
||||
"gsd-core/bin/gsd-tools.cjs": "3224906065bfb20c",
|
||||
"gsd-core/bin/gsd-tools.cjs": "abce82dc226344f2",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -88,6 +88,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "1587345770b19c7f",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "a5a1058d35806a8e",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "713cf7681f57e7ce",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "96485eccd4606e54",
|
||||
@@ -244,7 +245,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "a7b78ce2f5404160",
|
||||
"gsd-core/workflows/edit-phase.md": "c0ae7d0063f3e789",
|
||||
"gsd-core/workflows/eval-review.md": "713de00ea5326988",
|
||||
"gsd-core/workflows/execute-phase.md": "a0b5283f992532a2",
|
||||
"gsd-core/workflows/execute-phase.md": "a52dc6640b7ede7b",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "47ae5482f8e64100",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "fb4497767cdf73a3",
|
||||
|
||||
@@ -110,10 +110,10 @@
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/ensure-runtime-build.cjs": "51bc64467ab30f62",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d119a8ff93c9c0a3",
|
||||
"gsd-core/bin/gsd-tools.cjs": "d44831d1e2f9c1c1",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "0109a5a9866a24e0",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "2f60b9eaa6cf6bc1",
|
||||
"gsd-core/bin/shared/model-catalog.json": "b55176ca044728d3",
|
||||
"gsd-core/bin/shared/runtime-aliases.manifest.json": "2df2c5ac1957911a",
|
||||
"gsd-core/bin/verify-reapply-patches.cjs": "caec5dbce11e3904",
|
||||
@@ -159,6 +159,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md": "a98a270a7ab126bc",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md": "3ad96ca0f7fee37e",
|
||||
"gsd-core/references/execute-phase-context-guard.md": "982006c1f3364242",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md": "c4ca0ee3875b6e02",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md": "48ade76866c57ce2",
|
||||
"gsd-core/references/execute-phase-response-language.md": "c240dc476dd15df5",
|
||||
"gsd-core/references/execute-phase-wave-guard.md": "de9ac22cead4cfd8",
|
||||
@@ -315,7 +316,7 @@
|
||||
"gsd-core/workflows/docs-update.md": "b5cdf1c35043cf7b",
|
||||
"gsd-core/workflows/edit-phase.md": "966a3eadd1bebc04",
|
||||
"gsd-core/workflows/eval-review.md": "32d3d7e80ab2bfc7",
|
||||
"gsd-core/workflows/execute-phase.md": "3054948793be8131",
|
||||
"gsd-core/workflows/execute-phase.md": "8ce56aef5c42f73a",
|
||||
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md": "4e265392b3f2ba0e",
|
||||
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md": "7ebb7d1af6082028",
|
||||
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md": "7b2d9a4a4013fd6a",
|
||||
|
||||
1
tests/fixtures/install-tree/antigravity.json
vendored
1
tests/fixtures/install-tree/antigravity.json
vendored
@@ -88,6 +88,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/augment.json
vendored
1
tests/fixtures/install-tree/augment.json
vendored
@@ -159,6 +159,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
@@ -158,6 +158,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/claude.json
vendored
1
tests/fixtures/install-tree/claude.json
vendored
@@ -87,6 +87,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/cline.json
vendored
1
tests/fixtures/install-tree/cline.json
vendored
@@ -91,6 +91,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/codebuddy.json
vendored
1
tests/fixtures/install-tree/codebuddy.json
vendored
@@ -159,6 +159,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/codex.json
vendored
1
tests/fixtures/install-tree/codex.json
vendored
@@ -194,6 +194,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/copilot.json
vendored
1
tests/fixtures/install-tree/copilot.json
vendored
@@ -89,6 +89,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/cursor.json
vendored
1
tests/fixtures/install-tree/cursor.json
vendored
@@ -159,6 +159,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/hermes.json
vendored
1
tests/fixtures/install-tree/hermes.json
vendored
@@ -88,6 +88,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/kilo.json
vendored
1
tests/fixtures/install-tree/kilo.json
vendored
@@ -159,6 +159,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/kimi.json
vendored
1
tests/fixtures/install-tree/kimi.json
vendored
@@ -152,6 +152,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/opencode.json
vendored
1
tests/fixtures/install-tree/opencode.json
vendored
@@ -159,6 +159,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/pi.json
vendored
1
tests/fixtures/install-tree/pi.json
vendored
@@ -55,6 +55,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/qwen.json
vendored
1
tests/fixtures/install-tree/qwen.json
vendored
@@ -88,6 +88,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/trae.json
vendored
1
tests/fixtures/install-tree/trae.json
vendored
@@ -88,6 +88,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/windsurf.json
vendored
1
tests/fixtures/install-tree/windsurf.json
vendored
@@ -88,6 +88,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
1
tests/fixtures/install-tree/zcode.json
vendored
1
tests/fixtures/install-tree/zcode.json
vendored
@@ -159,6 +159,7 @@
|
||||
"gsd-core/references/execute-mvp-tdd.md",
|
||||
"gsd-core/references/execute-phase-between-wave-reset.md",
|
||||
"gsd-core/references/execute-phase-context-guard.md",
|
||||
"gsd-core/references/execute-phase-quota-recovery.md",
|
||||
"gsd-core/references/execute-phase-requirement-revert.md",
|
||||
"gsd-core/references/execute-phase-response-language.md",
|
||||
"gsd-core/references/execute-phase-wave-guard.md",
|
||||
|
||||
@@ -163,18 +163,27 @@ describe('#2351 run-with-timeout — kill semantics (POSIX process groups)', ()
|
||||
// `kill(pid, 0)`: a SIGKILL'd orphan lingers as a zombie until reaped, and a
|
||||
// container's PID 1 reaps slowly, so `kill(pid,0)` reads a dead child as
|
||||
// "alive". A reaped child stops ticking; a genuine orphan keeps ticking.
|
||||
//
|
||||
// The child writes its FIRST heartbeat synchronously at startup, before
|
||||
// arming the interval, and the kill window is 3s rather than 1s. Both are
|
||||
// load-independence requirements, not cosmetics: with the first write
|
||||
// deferred to the interval's initial 100ms tick inside a 1s window, a loaded
|
||||
// CI container can group-kill before that tick ever lands, and the existence
|
||||
// check below then fails for a reason that has nothing to do with reaping —
|
||||
// the behavior under test is the FREEZE assertion further down, which is
|
||||
// unaffected by writing one extra sample at t=0.
|
||||
const dir = createTempDir('rwt-c1');
|
||||
t.after(() => cleanup(dir));
|
||||
const parentFile = path.join(dir, 'parent.js');
|
||||
const hbFile = path.join(dir, 'heartbeat');
|
||||
fs.writeFileSync(parentFile, [
|
||||
'const cp = require("child_process");',
|
||||
"const childCode = 'const fs=require(\"fs\");const hb=process.argv[1];process.on(\"SIGTERM\",()=>{});setInterval(()=>fs.writeFileSync(hb,String(Date.now())),100);';",
|
||||
"const childCode = 'const fs=require(\"fs\");const hb=process.argv[1];const tick=()=>fs.writeFileSync(hb,String(Date.now()));process.on(\"SIGTERM\",()=>{});tick();setInterval(tick,100);';",
|
||||
'cp.spawn(process.execPath, ["-e", childCode, process.argv[2]], { stdio: "ignore" });',
|
||||
'process.on("SIGTERM", () => process.exit(0));',
|
||||
'setInterval(() => {}, 1000);',
|
||||
].join('\n'));
|
||||
const r = runVerb(['1', '--', NODE, parentFile, hbFile], { timeout: 20000 });
|
||||
const r = runVerb(['3', '--', NODE, parentFile, hbFile], { timeout: 20000 });
|
||||
assert.equal(r.status, 124, 'must report a timeout (124), not hang');
|
||||
assert.ok(fs.existsSync(hbFile), 'child heartbeat should exist');
|
||||
await sleep(300); // let any in-flight write settle after the SIGKILL
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"docs-update.md": 55908,
|
||||
"edit-phase.md": 12927,
|
||||
"eval-review.md": 10332,
|
||||
"execute-phase.md": 93292,
|
||||
"execute-phase.md": 92782,
|
||||
"execute-plan.md": 34548,
|
||||
"explore.md": 10541,
|
||||
"extract-learnings.md": 12893,
|
||||
|
||||
Reference in New Issue
Block a user