@fro.bot/systematic 3.22.4 → 3.22.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.
- package/dist/cli.js +3 -3
- package/dist/{index-0sc6c1vd.js → index-aaygsm67.js} +19 -19
- package/dist/index.js +686 -156
- package/dist/lib/opencode-workflow-guard.d.ts +33 -1
- package/dist/lib/workflow-guard.d.ts +1 -1
- package/dist/pi.js +19 -19
- package/package.json +3 -3
- package/skills/ce-review/scripts/validate-review.mjs +22 -22
- package/skills/using-systematic/SKILL.md +1 -1
|
@@ -73,6 +73,38 @@ export interface OpencodeWorkflowGuard {
|
|
|
73
73
|
observeReceipt(sessionID: unknown, input: unknown): EvidenceObservationResult;
|
|
74
74
|
prepareTransition(sessionID: unknown, input: unknown): TransitionPrepareResult;
|
|
75
75
|
startUnit(sessionID: unknown, input: unknown, policy?: RuntimeUnitPolicy): unknown;
|
|
76
|
+
/** @internal Test seam for the snapshot-block helpers. */
|
|
77
|
+
snapshotBlock(sessionID: unknown): SnapshotBlockControls;
|
|
78
|
+
}
|
|
79
|
+
declare const SNAPSHOT_BLOCKING_REASONS: readonly ["file-limit", "file-output-limit", "command-output-limit", "worktree-unstable"];
|
|
80
|
+
export type SnapshotBlockReason = (typeof SNAPSHOT_BLOCKING_REASONS)[number];
|
|
81
|
+
/** @internal Exported for tests; production call sites use it unexported. */
|
|
82
|
+
export declare function isSnapshotBlockingReason(reasonCode: unknown): reasonCode is SnapshotBlockReason;
|
|
83
|
+
export type SnapshotBlockClearResult = {
|
|
84
|
+
readonly status: 'not-blocked';
|
|
85
|
+
} | {
|
|
86
|
+
readonly status: 'cleared';
|
|
87
|
+
} | {
|
|
88
|
+
readonly status: 'still-blocked';
|
|
89
|
+
readonly reasonCode: SnapshotBlockReason;
|
|
90
|
+
} | {
|
|
91
|
+
readonly status: 'stale';
|
|
92
|
+
} | {
|
|
93
|
+
readonly status: 'timeout';
|
|
94
|
+
} | {
|
|
95
|
+
readonly status: 'fatal';
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* @internal Test seam: drives the snapshot-block helpers of one session
|
|
99
|
+
* without a hook that sets the block. `set` records a block on the unit's
|
|
100
|
+
* effective target and returns false when there is no active unit.
|
|
101
|
+
*/
|
|
102
|
+
export interface SnapshotBlockControls {
|
|
103
|
+
set(reasonCode: SnapshotBlockReason): boolean;
|
|
104
|
+
current(): {
|
|
105
|
+
readonly reasonCode: SnapshotBlockReason;
|
|
106
|
+
} | undefined;
|
|
107
|
+
clear(): Promise<SnapshotBlockClearResult>;
|
|
76
108
|
}
|
|
77
109
|
export type LocalOperationTool = 'write' | 'edit' | 'apply_patch' | 'bash';
|
|
78
110
|
export interface OpencodeOperationTargetDerivationOptions {
|
|
@@ -86,7 +118,7 @@ export type OpencodeOperationTargetDerivationResult = {
|
|
|
86
118
|
readonly targetRoot: string;
|
|
87
119
|
} | {
|
|
88
120
|
readonly status: 'unavailable';
|
|
89
|
-
readonly reasonCode: 'target-unavailable';
|
|
121
|
+
readonly reasonCode: 'target-unavailable' | 'command-timeout';
|
|
90
122
|
};
|
|
91
123
|
export declare function deriveOpencodeOperationTarget(tool: LocalOperationTool, args: unknown, options: OpencodeOperationTargetDerivationOptions): OpencodeOperationTargetDerivationResult;
|
|
92
124
|
export declare function createOpencodeWorkflowGuard(options: OpencodeWorkflowGuardOptions): OpencodeWorkflowGuard;
|
|
@@ -6,7 +6,7 @@ export type WorkflowState = 'protected' | 'waiting' | 'rejected' | 'disabled' |
|
|
|
6
6
|
export type RepairKind = 'fresh-readback' | 'rerun-operation' | 'question-attestation';
|
|
7
7
|
export type TransitionTarget = 'unit' | 'epoch';
|
|
8
8
|
export type EpochFamily = 'work' | 'shipping';
|
|
9
|
-
export type WorkflowReasonCode = 'abandoned-transition' | 'call-context-conflict' | 'cancelled-operation' | 'consumed-receipt' | 'disabled' | 'epoch-completed' | 'epoch-mismatch' | 'failed-operation' | 'family-conflict' | 'finalization-failed' | 'foreign-registration' | 'forbidden-field' | 'guard-unavailable' | 'incompatible-receipt' | 'invalid-configuration' | 'invalid-control' | 'invalid-receipt' | 'invalid-transition' | 'missing-evidence' | 'no-supported-repair' | 'no-active-epoch' | 'no-active-unit' | 'no-op-operation' | 'operation-not-required' | 'operation-target-mismatch' | 'readback-timeout' | 'receipt-mismatch' | 'rejected-operation' | 'resource-mismatch' | 'running-operation' | 'stale-receipt' | 'transition-finalized' | 'transition-terminal' | 'transition-replayed' | 'unattributed-operation' | 'unit-active' | 'unit-completed' | 'unit-incomplete' | 'unit-mismatch' | 'unit-ready' | 'workspace-mismatch' | 'runtime-scope-conflict' | 'invalid-recovery' | 'recovery-conflict' | 'fork-copy-not-lineage';
|
|
9
|
+
export type WorkflowReasonCode = 'abandoned-transition' | 'call-context-conflict' | 'cancelled-operation' | 'consumed-receipt' | 'declaration-superseded' | 'disabled' | 'epoch-completed' | 'epoch-mismatch' | 'failed-operation' | 'family-conflict' | 'finalization-failed' | 'foreign-registration' | 'forbidden-field' | 'guard-unavailable' | 'incompatible-receipt' | 'invalid-configuration' | 'invalid-control' | 'invalid-receipt' | 'invalid-transition' | 'missing-evidence' | 'no-supported-repair' | 'no-active-epoch' | 'no-active-unit' | 'no-op-operation' | 'operation-not-required' | 'operation-target-mismatch' | 'readback-timeout' | 'receipt-mismatch' | 'rejected-operation' | 'resource-mismatch' | 'running-operation' | 'snapshot-blocked' | 'stale-receipt' | 'transition-finalized' | 'transition-terminal' | 'transition-replayed' | 'unattributed-operation' | 'unit-active' | 'unit-completed' | 'unit-incomplete' | 'unit-mismatch' | 'unit-ready' | 'workspace-mismatch' | 'runtime-scope-conflict' | 'invalid-recovery' | 'recovery-conflict' | 'fork-copy-not-lineage';
|
|
10
10
|
export interface WorkflowGuardOptions {
|
|
11
11
|
ledger: ReceiptLedger;
|
|
12
12
|
classifier?: ReceiptClassifier;
|
package/dist/pi.js
CHANGED
|
@@ -3557,7 +3557,7 @@ var BUNDLED_SKILL_NAMES = [
|
|
|
3557
3557
|
"writing-skills"
|
|
3558
3558
|
];
|
|
3559
3559
|
|
|
3560
|
-
// node_modules/.bun/zod@4.6.
|
|
3560
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/util.js
|
|
3561
3561
|
function getEnumValues(entries) {
|
|
3562
3562
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
3563
3563
|
const values = Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -4112,7 +4112,7 @@ function constantCatch(value) {
|
|
|
4112
4112
|
return fn;
|
|
4113
4113
|
}
|
|
4114
4114
|
|
|
4115
|
-
// node_modules/.bun/zod@4.6.
|
|
4115
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/core.js
|
|
4116
4116
|
var _a;
|
|
4117
4117
|
var _zodDesc = { value: undefined, enumerable: false };
|
|
4118
4118
|
var _E = "captureStackTrace" in Error ? Error : null;
|
|
@@ -4230,7 +4230,7 @@ function config(newConfig) {
|
|
|
4230
4230
|
Object.assign(globalConfig, newConfig);
|
|
4231
4231
|
return globalConfig;
|
|
4232
4232
|
}
|
|
4233
|
-
// node_modules/.bun/zod@4.6.
|
|
4233
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/errors.js
|
|
4234
4234
|
function _getMessage() {
|
|
4235
4235
|
const internals = this._zod;
|
|
4236
4236
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -4345,7 +4345,7 @@ function formatError(error, mapper = (issue) => issue.message) {
|
|
|
4345
4345
|
return fieldErrors;
|
|
4346
4346
|
}
|
|
4347
4347
|
|
|
4348
|
-
// node_modules/.bun/zod@4.6.
|
|
4348
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/parse.js
|
|
4349
4349
|
function finalizeParams(callee, params) {
|
|
4350
4350
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
4351
4351
|
}
|
|
@@ -4492,7 +4492,7 @@ var _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
4492
4492
|
var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
4493
4493
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
4494
4494
|
};
|
|
4495
|
-
// node_modules/.bun/zod@4.6.
|
|
4495
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/regexes.js
|
|
4496
4496
|
var cuid = /^[cC][0-9a-z]{6,}$/;
|
|
4497
4497
|
var cuid2 = /^[0-9a-z]+$/;
|
|
4498
4498
|
var ulid = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
|
|
@@ -4550,7 +4550,7 @@ var boolean = /^(?:true|false)$/i;
|
|
|
4550
4550
|
var lowercase = /^[^A-Z]*$/;
|
|
4551
4551
|
var uppercase = /^[^a-z]*$/;
|
|
4552
4552
|
|
|
4553
|
-
// node_modules/.bun/zod@4.6.
|
|
4553
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/checks.js
|
|
4554
4554
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
4555
4555
|
var _a;
|
|
4556
4556
|
inst._zod ?? (inst._zod = {});
|
|
@@ -4866,7 +4866,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
4866
4866
|
};
|
|
4867
4867
|
});
|
|
4868
4868
|
|
|
4869
|
-
// node_modules/.bun/zod@4.6.
|
|
4869
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/doc.js
|
|
4870
4870
|
class Doc {
|
|
4871
4871
|
constructor(args = [], closed = {}) {
|
|
4872
4872
|
this.content = [];
|
|
@@ -4908,14 +4908,14 @@ ${content.join(`
|
|
|
4908
4908
|
}
|
|
4909
4909
|
}
|
|
4910
4910
|
|
|
4911
|
-
// node_modules/.bun/zod@4.6.
|
|
4911
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/versions.js
|
|
4912
4912
|
var version = {
|
|
4913
4913
|
major: 4,
|
|
4914
4914
|
minor: 6,
|
|
4915
|
-
patch:
|
|
4915
|
+
patch: 7
|
|
4916
4916
|
};
|
|
4917
4917
|
|
|
4918
|
-
// node_modules/.bun/zod@4.6.
|
|
4918
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/schemas.js
|
|
4919
4919
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
4920
4920
|
var _a;
|
|
4921
4921
|
inst ?? (inst = {});
|
|
@@ -6468,7 +6468,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
6468
6468
|
payload.issues.push(issue(_iss));
|
|
6469
6469
|
}
|
|
6470
6470
|
}
|
|
6471
|
-
// node_modules/.bun/zod@4.6.
|
|
6471
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/memoizer.js
|
|
6472
6472
|
class $ZodCyclicError extends Error {
|
|
6473
6473
|
constructor() {
|
|
6474
6474
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -6737,7 +6737,7 @@ function isBackEdge(ctx, value) {
|
|
|
6737
6737
|
const backEdges = ctx[STATE]?.backEdges;
|
|
6738
6738
|
return backEdges !== undefined && isRef(value) && backEdges.has(value);
|
|
6739
6739
|
}
|
|
6740
|
-
// node_modules/.bun/zod@4.6.
|
|
6740
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/locales/en.js
|
|
6741
6741
|
var error = () => {
|
|
6742
6742
|
const Sizable = {
|
|
6743
6743
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -6859,7 +6859,7 @@ function en_default() {
|
|
|
6859
6859
|
localeError: error()
|
|
6860
6860
|
};
|
|
6861
6861
|
}
|
|
6862
|
-
// node_modules/.bun/zod@4.6.
|
|
6862
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/registries.js
|
|
6863
6863
|
var _a2;
|
|
6864
6864
|
class $ZodRegistry {
|
|
6865
6865
|
constructor() {
|
|
@@ -6906,7 +6906,7 @@ function registry() {
|
|
|
6906
6906
|
}
|
|
6907
6907
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
6908
6908
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
6909
|
-
// node_modules/.bun/zod@4.6.
|
|
6909
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/api.js
|
|
6910
6910
|
function snapshotChecks(def) {
|
|
6911
6911
|
if (def.checks)
|
|
6912
6912
|
def.checks = [...def.checks];
|
|
@@ -7354,7 +7354,7 @@ function _check(fn, params) {
|
|
|
7354
7354
|
ch._zod.check = fn;
|
|
7355
7355
|
return ch;
|
|
7356
7356
|
}
|
|
7357
|
-
// node_modules/.bun/zod@4.6.
|
|
7357
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/to-json-schema.js
|
|
7358
7358
|
function assignProps(target, ...sources) {
|
|
7359
7359
|
for (const source of sources) {
|
|
7360
7360
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -7877,7 +7877,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
7877
7877
|
extractDefs(ctx, schema);
|
|
7878
7878
|
return finalize(ctx, schema);
|
|
7879
7879
|
};
|
|
7880
|
-
// node_modules/.bun/zod@4.6.
|
|
7880
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/json-schema-processors.js
|
|
7881
7881
|
var narrowMin = (agg, key, value) => {
|
|
7882
7882
|
if (agg[key] === undefined || value > agg[key])
|
|
7883
7883
|
agg[key] = value;
|
|
@@ -8402,7 +8402,7 @@ var optionalProcessor = (schema, ctx, _json, params) => {
|
|
|
8402
8402
|
const seen = ctx.seen.get(schema);
|
|
8403
8403
|
seen.ref = def.innerType;
|
|
8404
8404
|
};
|
|
8405
|
-
// node_modules/.bun/zod@4.6.
|
|
8405
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/errors.js
|
|
8406
8406
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
8407
8407
|
function _lazyMethod(proto, key, make) {
|
|
8408
8408
|
Object.defineProperty(proto, key, {
|
|
@@ -8447,7 +8447,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, undefi
|
|
|
8447
8447
|
Parent: Error
|
|
8448
8448
|
});
|
|
8449
8449
|
|
|
8450
|
-
// node_modules/.bun/zod@4.6.
|
|
8450
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/parse.js
|
|
8451
8451
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
8452
8452
|
var parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
8453
8453
|
var safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -8461,7 +8461,7 @@ var safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
8461
8461
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
8462
8462
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
8463
8463
|
|
|
8464
|
-
// node_modules/.bun/zod@4.6.
|
|
8464
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/schemas.js
|
|
8465
8465
|
function _ensureDefaultLocale() {
|
|
8466
8466
|
if (!globalConfig.localeError)
|
|
8467
8467
|
config(en_default());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fro.bot/systematic",
|
|
3
|
-
"version": "3.22.
|
|
3
|
+
"version": "3.22.6",
|
|
4
4
|
"description": "Compound-engineering loops for OpenCode, Pi, and Claude Code",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://fro.bot/systematic",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"rimraf": "6.1.3",
|
|
115
115
|
"semantic-release": "25.0.9",
|
|
116
116
|
"semantic-release-export-data": "1.2.0",
|
|
117
|
-
"typebox": "1.3.
|
|
117
|
+
"typebox": "1.3.37",
|
|
118
118
|
"typescript": "7.0.2"
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"jsonc-parser": "^3.3.0",
|
|
123
123
|
"tree-sitter-bash": "0.25.1",
|
|
124
124
|
"web-tree-sitter": "0.27.1",
|
|
125
|
-
"zod": "4.6.
|
|
125
|
+
"zod": "4.6.7"
|
|
126
126
|
},
|
|
127
127
|
"overrides": {
|
|
128
128
|
"@earendil-works/pi-ai": "0.83.0",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// biome-ignore-all assist/source/organizeImports: generated bundle
|
|
3
3
|
// Generated by scripts/generate-ce-review-validator.ts; do not edit by hand.
|
|
4
4
|
// Run `bun run ce-review-validator:build` to regenerate.
|
|
5
|
-
// source-digest:
|
|
5
|
+
// source-digest: b3ead0980db45e4346911a8e9c6021bf2e3f8fc5ab7d96205b7eb7820cd80cce
|
|
6
6
|
var __defProp = Object.defineProperty
|
|
7
7
|
var __returnValue = (v) => v
|
|
8
8
|
function __exportSetter(name, newValue) {
|
|
@@ -18,7 +18,7 @@ var __export = (target, all) => {
|
|
|
18
18
|
})
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
// node_modules/.bun/zod@4.6.
|
|
21
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/iso.js
|
|
22
22
|
var exports_iso = {}
|
|
23
23
|
__export(exports_iso, {
|
|
24
24
|
ZodISODate: () => ZodISODate,
|
|
@@ -186,7 +186,7 @@ function resolveReviewArtifactPath(input, cwd, options = {}) {
|
|
|
186
186
|
return { ok: true, path: canonicalTarget }
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
// node_modules/.bun/zod@4.6.
|
|
189
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/util.js
|
|
190
190
|
function getEnumValues(entries) {
|
|
191
191
|
const numericValues = Object.values(entries).filter(
|
|
192
192
|
(v) => typeof v === 'number',
|
|
@@ -817,7 +817,7 @@ function constantCatch(value) {
|
|
|
817
817
|
return fn
|
|
818
818
|
}
|
|
819
819
|
|
|
820
|
-
// node_modules/.bun/zod@4.6.
|
|
820
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/core.js
|
|
821
821
|
var _a
|
|
822
822
|
var _zodDesc = { value: undefined, enumerable: false }
|
|
823
823
|
var _E = 'captureStackTrace' in Error ? Error : null
|
|
@@ -931,7 +931,7 @@ function config(newConfig) {
|
|
|
931
931
|
if (newConfig) Object.assign(globalConfig, newConfig)
|
|
932
932
|
return globalConfig
|
|
933
933
|
}
|
|
934
|
-
// node_modules/.bun/zod@4.6.
|
|
934
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/errors.js
|
|
935
935
|
function _getMessage() {
|
|
936
936
|
const internals = this._zod
|
|
937
937
|
internals.message ??
|
|
@@ -1068,7 +1068,7 @@ function formatError(error, mapper = (issue) => issue.message) {
|
|
|
1068
1068
|
return fieldErrors
|
|
1069
1069
|
}
|
|
1070
1070
|
|
|
1071
|
-
// node_modules/.bun/zod@4.6.
|
|
1071
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/parse.js
|
|
1072
1072
|
function finalizeParams(callee, params) {
|
|
1073
1073
|
return { callee: params?.callee ?? callee, Err: params?.Err }
|
|
1074
1074
|
}
|
|
@@ -1230,7 +1230,7 @@ var _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1230
1230
|
var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
1231
1231
|
return _safeParseAsync(_Err)(schema, value, _ctx)
|
|
1232
1232
|
}
|
|
1233
|
-
// node_modules/.bun/zod@4.6.
|
|
1233
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/regexes.js
|
|
1234
1234
|
var cuid = /^[cC][0-9a-z]{6,}$/
|
|
1235
1235
|
var cuid2 = /^[0-9a-z]+$/
|
|
1236
1236
|
var ulid = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/
|
|
@@ -1307,7 +1307,7 @@ var boolean = /^(?:true|false)$/i
|
|
|
1307
1307
|
var lowercase = /^[^A-Z]*$/
|
|
1308
1308
|
var uppercase = /^[^a-z]*$/
|
|
1309
1309
|
|
|
1310
|
-
// node_modules/.bun/zod@4.6.
|
|
1310
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/checks.js
|
|
1311
1311
|
var $ZodCheck = /* @__PURE__ */ $constructor('$ZodCheck', (inst, def) => {
|
|
1312
1312
|
var _a
|
|
1313
1313
|
inst._zod ?? (inst._zod = {})
|
|
@@ -1687,7 +1687,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor(
|
|
|
1687
1687
|
},
|
|
1688
1688
|
)
|
|
1689
1689
|
|
|
1690
|
-
// node_modules/.bun/zod@4.6.
|
|
1690
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/doc.js
|
|
1691
1691
|
class Doc {
|
|
1692
1692
|
constructor(args = [], closed = {}) {
|
|
1693
1693
|
this.content = []
|
|
@@ -1738,14 +1738,14 @@ ${content.join(`
|
|
|
1738
1738
|
}
|
|
1739
1739
|
}
|
|
1740
1740
|
|
|
1741
|
-
// node_modules/.bun/zod@4.6.
|
|
1741
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/versions.js
|
|
1742
1742
|
var version = {
|
|
1743
1743
|
major: 4,
|
|
1744
1744
|
minor: 6,
|
|
1745
|
-
patch:
|
|
1745
|
+
patch: 7,
|
|
1746
1746
|
}
|
|
1747
1747
|
|
|
1748
|
-
// node_modules/.bun/zod@4.6.
|
|
1748
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/schemas.js
|
|
1749
1749
|
var $ZodType = /* @__PURE__ */ $constructor(
|
|
1750
1750
|
'$ZodType',
|
|
1751
1751
|
(inst, def) => {
|
|
@@ -3355,7 +3355,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
3355
3355
|
payload.issues.push(issue(_iss))
|
|
3356
3356
|
}
|
|
3357
3357
|
}
|
|
3358
|
-
// node_modules/.bun/zod@4.6.
|
|
3358
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/memoizer.js
|
|
3359
3359
|
class $ZodCyclicError extends Error {
|
|
3360
3360
|
constructor() {
|
|
3361
3361
|
super(`Cannot parse a reference cycle that closes through a transform`)
|
|
@@ -3612,7 +3612,7 @@ function isBackEdge(ctx, value) {
|
|
|
3612
3612
|
const backEdges = ctx[STATE]?.backEdges
|
|
3613
3613
|
return backEdges !== undefined && isRef(value) && backEdges.has(value)
|
|
3614
3614
|
}
|
|
3615
|
-
// node_modules/.bun/zod@4.6.
|
|
3615
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/locales/en.js
|
|
3616
3616
|
var error = () => {
|
|
3617
3617
|
const Sizable = {
|
|
3618
3618
|
string: { unit: 'characters', verb: 'to have' },
|
|
@@ -3742,7 +3742,7 @@ function en_default() {
|
|
|
3742
3742
|
localeError: error(),
|
|
3743
3743
|
}
|
|
3744
3744
|
}
|
|
3745
|
-
// node_modules/.bun/zod@4.6.
|
|
3745
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/registries.js
|
|
3746
3746
|
var _a2
|
|
3747
3747
|
class $ZodRegistry {
|
|
3748
3748
|
constructor() {
|
|
@@ -3790,7 +3790,7 @@ function registry() {
|
|
|
3790
3790
|
;(_a2 = globalThis).__zod_globalRegistry ??
|
|
3791
3791
|
(_a2.__zod_globalRegistry = registry())
|
|
3792
3792
|
var globalRegistry = globalThis.__zod_globalRegistry
|
|
3793
|
-
// node_modules/.bun/zod@4.6.
|
|
3793
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/api.js
|
|
3794
3794
|
function snapshotChecks(def) {
|
|
3795
3795
|
if (def.checks) def.checks = [...def.checks]
|
|
3796
3796
|
return def
|
|
@@ -4239,7 +4239,7 @@ function _check(fn, params) {
|
|
|
4239
4239
|
ch._zod.check = fn
|
|
4240
4240
|
return ch
|
|
4241
4241
|
}
|
|
4242
|
-
// node_modules/.bun/zod@4.6.
|
|
4242
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/to-json-schema.js
|
|
4243
4243
|
function assignProps(target, ...sources) {
|
|
4244
4244
|
for (const source of sources) {
|
|
4245
4245
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -4794,7 +4794,7 @@ var createStandardJSONSchemaMethod =
|
|
|
4794
4794
|
extractDefs(ctx, schema)
|
|
4795
4795
|
return finalize(ctx, schema)
|
|
4796
4796
|
}
|
|
4797
|
-
// node_modules/.bun/zod@4.6.
|
|
4797
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/json-schema-processors.js
|
|
4798
4798
|
var narrowMin = (agg, key, value) => {
|
|
4799
4799
|
if (agg[key] === undefined || value > agg[key]) agg[key] = value
|
|
4800
4800
|
}
|
|
@@ -5284,7 +5284,7 @@ var optionalProcessor = (schema, ctx, _json, params) => {
|
|
|
5284
5284
|
const seen = ctx.seen.get(schema)
|
|
5285
5285
|
seen.ref = def.innerType
|
|
5286
5286
|
}
|
|
5287
|
-
// node_modules/.bun/zod@4.6.
|
|
5287
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/errors.js
|
|
5288
5288
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([
|
|
5289
5289
|
Object.prototype,
|
|
5290
5290
|
Error.prototype,
|
|
@@ -5348,7 +5348,7 @@ var ZodRealError = /* @__PURE__ */ $constructor(
|
|
|
5348
5348
|
},
|
|
5349
5349
|
)
|
|
5350
5350
|
|
|
5351
|
-
// node_modules/.bun/zod@4.6.
|
|
5351
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/parse.js
|
|
5352
5352
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError)
|
|
5353
5353
|
var parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError)
|
|
5354
5354
|
var safeParse = /* @__PURE__ */ _safeParse(ZodRealError)
|
|
@@ -5362,7 +5362,7 @@ var safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError)
|
|
|
5362
5362
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError)
|
|
5363
5363
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError)
|
|
5364
5364
|
|
|
5365
|
-
// node_modules/.bun/zod@4.6.
|
|
5365
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/schemas.js
|
|
5366
5366
|
function _ensureDefaultLocale() {
|
|
5367
5367
|
if (!globalConfig.localeError) config(en_default())
|
|
5368
5368
|
}
|
|
@@ -6331,7 +6331,7 @@ function refine(fn, _params = {}) {
|
|
|
6331
6331
|
function superRefine(fn, params) {
|
|
6332
6332
|
return _superRefine(fn, params)
|
|
6333
6333
|
}
|
|
6334
|
-
// node_modules/.bun/zod@4.6.
|
|
6334
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/iso.js
|
|
6335
6335
|
function datetime2(params) {
|
|
6336
6336
|
return _isoDateTime(ZodISODateTime, params)
|
|
6337
6337
|
}
|
|
@@ -114,4 +114,4 @@ The bootstrap inlines the active harness profile naming the exact mechanisms for
|
|
|
114
114
|
|
|
115
115
|
When a mechanism is unavailable, present numbered options in chat and wait for questions, maintain a visible list for task tracking, and dispatch delegation sequentially or do the work inline.
|
|
116
116
|
|
|
117
|
-
Check the workflow guard availability once per execution unit. Guard state is per session; a child session starts `inactive`. `inactive` (reason `no-active-epoch`) means no guarded workflow has started in this session. It is not unavailable and not terminal: load a guarded skill to begin, and do not call `systematic_workflow_start` or `systematic_workflow_complete` before one is active. A completion rejected with `readback-timeout` is retryable: call `systematic_workflow_complete` again at most twice, then report it to the user. Probes listed in `unconfirmedReadbacks` on status output (`local`, `pinned`, or an operation name) are unverified until a later status call confirms them. If the guard reports `unavailable` or `guard-unavailable`, treat it as terminal for that unit: do not retry `systematic_workflow_start` or `systematic_workflow_complete`. Use the documented unguarded fallback only when authorized, and report the unavailable state once.
|
|
117
|
+
Check the workflow guard availability once per execution unit. Guard state is per session; a child session starts `inactive`. `inactive` (reason `no-active-epoch`) means no guarded workflow has started in this session. It is not unavailable and not terminal: load a guarded skill to begin, and do not call `systematic_workflow_start` or `systematic_workflow_complete` before one is active. A completion rejected with `readback-timeout` is retryable: call `systematic_workflow_complete` again at most twice, then report it to the user. Probes listed in `unconfirmedReadbacks` on status output (`local`, `pinned`, or an operation name) are unverified until a later status call confirms them. A completion rejected with `snapshot-blocked` or `stale-receipt` is not terminal. For `snapshot-blocked`, read `blockReason` from the rejection or `snapshotBlock.reasonCode` from status, fix that cause in the worktree without deleting or hiding user files unless the user agrees, and call status to confirm the block is gone (when the rejection names `blockTarget: parent-checkout`, fix the parent checkout and retry completion instead). Operations run while blocked leave no receipts: rerun stale or missing operations, checking remote state before redoing a push or PR, then complete. If the same reason remains after one fix, report it to the user, who can disable the guard through `systematic_workflow_control`. A call the guard skipped or sealed after a timeout has already run: for a local call check the worktree state, for a push or PR creation check remote state (the upstream ref or the open PR), and rerun only if its effect is missing. After a rejected push, check remote state, fix the cause and retry (a first push needs `git push -u`); never force-push or delete a remote ref without the user's approval. If a push may have landed but left no receipt and later pushes are rejected as `resource-mismatch`, report it to the user. A verification that overlapped another local call is not receipted; rerun it alone once every local call from that request has returned. If the guard reports `unavailable` or `guard-unavailable`, treat it as terminal for that unit: do not retry `systematic_workflow_start` or `systematic_workflow_complete`. Use the documented unguarded fallback only when authorized, and report the unavailable state once.
|