sortie-dogs 0.10.9 → 0.10.10
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/asset-version.d.ts
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* installed project marker without importing every asset body.
|
|
4
4
|
*/
|
|
5
5
|
export declare const RUNTIME_ASSET_VERSION = "0.3.89-completion-proof-v1";
|
|
6
|
-
export declare const V010_RUNTIME_ASSET_VERSION = "0.10.0-v0912-language4-cost-rpt10-compaction-ref2-proposal1-review-remediation1-surface4-proposal-recovery2-quality1-terminal2-route1-path1-permission2-prerequisite1-v2-bridge1-intent1";
|
|
6
|
+
export declare const V010_RUNTIME_ASSET_VERSION = "0.10.0-v0912-language4-cost-rpt10-compaction-ref2-proposal1-review-remediation1-surface4-proposal-recovery2-quality1-terminal2-route1-path1-permission2-prerequisite1-v2-bridge1-intent1-reflection1-cancel1";
|
|
7
7
|
export type RuntimeAssetVersion = typeof RUNTIME_ASSET_VERSION | typeof V010_RUNTIME_ASSET_VERSION;
|
package/dist/asset-version.js
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* installed project marker without importing every asset body.
|
|
4
4
|
*/
|
|
5
5
|
export const RUNTIME_ASSET_VERSION = "0.3.89-completion-proof-v1";
|
|
6
|
-
export const V010_RUNTIME_ASSET_VERSION = "0.10.0-v0912-language4-cost-rpt10-compaction-ref2-proposal1-review-remediation1-surface4-proposal-recovery2-quality1-terminal2-route1-path1-permission2-prerequisite1-v2-bridge1-intent1";
|
|
6
|
+
export const V010_RUNTIME_ASSET_VERSION = "0.10.0-v0912-language4-cost-rpt10-compaction-ref2-proposal1-review-remediation1-surface4-proposal-recovery2-quality1-terminal2-route1-path1-permission2-prerequisite1-v2-bridge1-intent1-reflection1-cancel1";
|
package/dist/plugin/config.js
CHANGED
|
@@ -33,7 +33,7 @@ export const DEFAULT_PLUGIN_OPTIONS = {
|
|
|
33
33
|
capability: CONTINUATION_CAPABILITY,
|
|
34
34
|
taskWatchdogMilliseconds: DEFAULT_TASK_WATCHDOG_MILLISECONDS,
|
|
35
35
|
}),
|
|
36
|
-
reflection: Object.freeze({ enabled:
|
|
36
|
+
reflection: Object.freeze({ enabled: true, layers: Object.freeze({ run: true, project: true, global: true }), maxInjectedEntries: 3, maxInjectedTokens: 500 }),
|
|
37
37
|
validationProfile: "balanced",
|
|
38
38
|
};
|
|
39
39
|
function isRecord(value) {
|
package/dist/plugin/profiled.js
CHANGED
|
@@ -40,7 +40,7 @@ const PREVIEW_ROUTES = Object.freeze([
|
|
|
40
40
|
]);
|
|
41
41
|
export function processRemediationReplacementPacket(code, packet, cancelTool, prepareTool) {
|
|
42
42
|
return { status: "operator-process-remediation-replacement-required", code, packet,
|
|
43
|
-
next_action: `Call ${cancelTool}
|
|
43
|
+
next_action: `Call ${cancelTool} with reason=plain, then call ${prepareTool} with the exact same ordered acceptance, ` +
|
|
44
44
|
"the same unit and write scope, and the remaining cumulative budget. Do not call resume_operator again, " +
|
|
45
45
|
"claim evidence, reset spend, or widen scope." };
|
|
46
46
|
}
|
|
@@ -546,7 +546,7 @@ export function createProfiledPlugin(profile, assetVersion) {
|
|
|
546
546
|
const proposal = await proposals.read(context.sessionID);
|
|
547
547
|
const proposalNextAction = proposal?.phase === "investigating"
|
|
548
548
|
? proposal.proposal_call_id !== null
|
|
549
|
-
? "proposal Task is already admitted; do not redispatch it or call operator_next. Continue submission repairs only in the same active claimed child. If that child terminated without submission, report the terminal proposal failure; remaining read or submission capacity does not authorize a new Task, budget reset, or replacement child. Only an explicit root decision to retry may call cancel_operator with
|
|
549
|
+
? "proposal Task is already admitted; do not redispatch it or call operator_next. Continue submission repairs only in the same active claimed child. If that child terminated without submission, report the terminal proposal failure; remaining read or submission capacity does not authorize a new Task, budget reset, or replacement child. Only an explicit root decision to retry may call cancel_operator with reason=plain to release this grant, which discards the spent proposal accounting and never reuses the terminated child"
|
|
550
550
|
: proposal.submission_count >= proposal.intent.proposal_budget.max_submissions
|
|
551
551
|
? "proposal submission budget exhausted; do not call operator_next; report the bounded proposal failure"
|
|
552
552
|
: "proposal is not submitted; do not call operator_next; complete or repair the bounded proposal submission"
|
|
@@ -562,10 +562,11 @@ export function createProfiledPlugin(profile, assetVersion) {
|
|
|
562
562
|
next_action: proposalNextAction }
|
|
563
563
|
: { status: "absent", profile: profile.id });
|
|
564
564
|
} };
|
|
565
|
-
tools[cancel] = { description: "Revoke this root's operator grant and stop only its owned children before releasing core state. Before approval it instead releases the bounded proposal grant, including one whose admitted child already terminated, so the root can begin a new investigation; it never reuses that child or restores spent proposal budget. reason is a closed set:
|
|
566
|
-
args: { reason:
|
|
565
|
+
tools[cancel] = { description: "Revoke this root's operator grant and stop only its owned children before releasing core state. Before approval it instead releases the bounded proposal grant, including one whose admitted child already terminated, so the root can begin a new investigation; it never reuses that child or restores spent proposal budget. reason is a required closed set: use reason=plain for a plain cancellation, including replanning, contract revision, and any pre-approval proposal release, and never send free text such as a written justification. Use reason=acceptance-remediation only for decision=operator-acceptance-remediation-required. At awaiting-acceptance, reason=review-blocking authorizes a same-goal review-remediation replacement only within the exact acceptance, committed head, approved write union, and retained remaining budget.",
|
|
566
|
+
args: { reason: { type: "string", enum: ["plain", "review-blocking", "acceptance-remediation"] } }, execute: async (args, context) => {
|
|
567
567
|
await requireRoot(context.sessionID);
|
|
568
|
-
const
|
|
568
|
+
const rawReason = args.reason;
|
|
569
|
+
const requestedReason = rawReason === "plain" || rawReason === undefined ? undefined : rawReason;
|
|
569
570
|
if (requestedReason !== undefined && requestedReason !== "review-blocking" && requestedReason !== "acceptance-remediation")
|
|
570
571
|
throw new Error("operator-cancel-reason-invalid");
|
|
571
572
|
const pending = await operators.read(context.sessionID);
|
|
@@ -157,7 +157,7 @@ budgets or your own reporting obligations into worker validation commands. Prese
|
|
|
157
157
|
That child remains the same logical operations role: it may inspect only the host-approved read prefixes and submit one
|
|
158
158
|
requirement-mapped proposal; it cannot edit, use shell, dispatch a worker/advisor/scout, widen read scope, or execute work.
|
|
159
159
|
An admitted proposal child is never redispatched or replaced. If it terminates without a submitted proposal, report that
|
|
160
|
-
terminal failure first; only an explicit decision to retry may call ${profile.toolPrefix}cancel_operator with
|
|
160
|
+
terminal failure first; only an explicit decision to retry may call ${profile.toolPrefix}cancel_operator with reason=plain to
|
|
161
161
|
release the grant before freezing the requirements again. Spent proposal reads and submissions are never restored.
|
|
162
162
|
Do not cancel/reinvestigate the same known contract defect merely to get another draft. Preserve exact observed
|
|
163
163
|
commands and correction evidence. If a user-only acceptance condition cannot be expressed by the existing contract,
|