robisie 0.6.0 → 0.6.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Historia zmian klienta / Client changelog
2
2
 
3
+ ## [0.6.1](https://github.com/chuppa12/robisie-app/compare/client-v0.6.0...client-v0.6.1) (2026-11-17)
4
+
5
+
6
+ ### Factory Cards
7
+
8
+ * Karta po ACTIONABLE_BLOCKER z poprawioną treścią (done_when, scope, boundaries) i „Ponów pracę” wraca do pracy, a bez zmiany treści dalej stoi ([771c851](https://github.com/chuppa12/robisie-app/commit/771c851729579502cb1e734b3b9d254e19251808))
9
+
3
10
  ## [0.6.0](https://github.com/chuppa12/robisie-app/compare/client-v0.5.53...client-v0.6.0) (2026-11-17)
4
11
 
5
12
 
@@ -1,6 +1,6 @@
1
1
  /** Package identity and the server contract it speaks. */
2
2
  export declare const PACKAGE_NAME = "robisie";
3
- export declare const PACKAGE_VERSION = "0.6.0";
3
+ export declare const PACKAGE_VERSION = "0.6.1";
4
4
  /**
5
5
  * MAJOR of the agent-API contract this package understands.
6
6
  * PARITY: src/lib/mcp/contract-version.ts (AGENT_API_CONTRACT_VERSION) on the server.
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /** Package identity and the server contract it speaks. */
2
2
  export const PACKAGE_NAME = "robisie";
3
- export const PACKAGE_VERSION = "0.6.0"; // x-release-please-version
3
+ export const PACKAGE_VERSION = "0.6.1"; // x-release-please-version
4
4
  /**
5
5
  * MAJOR of the agent-API contract this package understands.
6
6
  * PARITY: src/lib/mcp/contract-version.ts (AGENT_API_CONTRACT_VERSION) on the server.
@@ -1 +1 @@
1
- {"schema":1,"sha":"be7f6ca4e26ce46fcd15701010b1b774c42f802f","dirty":false}
1
+ {"schema":1,"sha":"2a20cabd94cee4fad3f3c51bf5185d7889519308","dirty":false}
@@ -1692,20 +1692,20 @@
1692
1692
  "staticOperations": {
1693
1693
  "beforePreflight": {
1694
1694
  "module": "maszynista/tick.ts",
1695
- "startLine": 10246,
1696
- "endLine": 10359,
1695
+ "startLine": 10240,
1696
+ "endLine": 10353,
1697
1697
  "text": "export async function main(): Promise<number> {\n const start = standaloneStartCheck({ filename: __filename, env: process.env });\n if (start.standalone && !start.ok) {\n console.error(start.message);\n process.exitCode = 78;\n return 78;\n }\n let installation: EngineContext;\n try { installation = createEngineContext(currentEngine(), {\n loadEnvironment: loadEnvFiles, preflight, baseRef: engineBaseRef, refreshBase: fetchMain,\n disk: defaultDiskPressureDependencies, workerContext: loadNorthStar,\n controlEnv: hostEnv, workerEnv: executionEnv, prepareWorktree: prepareHostWorktree, workerArtifacts: createWorkerTmpdir,\n notify: async (card, reason) => { decisionForReksio(card, reason, \"Rozstrzygnij na karcie\", \"\", \"\"); return { outcome: \"recorded\", ref: DECISIONS_REKSIO }; },\n hostOperations: hostOperationsPhase,\n activation: { confirmLoaded, finishHostActivation, readActivationState, recoverTickTimeout, runEnabledAuto },\n }, git, log); }\n catch (error) {\n if (!engineClient()) throw error;\n console.error(`HOLD kontekst klienta: ${clientTickFailure(error)}`);\n process.exitCode = 78;\n return 78;\n }\n const previousInstallation = tickInstallation;\n const hostErrorText = errorText;\n const client = engineClient();\n const result: { outcome: \"ok\" | \"retry\" | \"stop\"; reason: string; cleanup: boolean } = { outcome: \"ok\", reason: \"\", cleanup: false };\n const stopClient = (reason = clientTickFailure()): void => {\n if (client && result.outcome !== \"stop\") { result.outcome = \"stop\"; result.reason = reason; }\n };\n let code = 2;\n try { code = await q.withPlannerQueries(installation.planner, async () => {\n tickInstallation = installation;\n const seedGateSettings = installationSeedGateSettings();\n const errorText = client ? clientTickFailure : hostErrorText;\n const loadEnvFiles = installation.loadEnvironment;\n const preflight = () => {\n const actor = installation.preflight();\n return { uid: actor.kind === \"db\" ? actor.uid : API_ACTOR };\n };\n const { confirmLoaded, finishHostActivation, readActivationState, recoverTickTimeout, runEnabledAuto } = installation.activation;\n const smokeOnly = DRY && process.env.MASZYNISTA_SMOKE === \"1\";\n if (!DRY) {\n const acquire = (): boolean => tryCreateTickLock(LOCK);\n if (!acquire()) {\n const raw = readFileSync(LOCK, \"utf8\"), pid = Number(raw);\n if (!Number.isSafeInteger(pid) || pid <= 0) { console.log(\"tick lock bez poprawnego PID — HOLD\"); return 0; }\n try { process.kill(pid, 0); console.log(`tick już trwa (pid ${pid})`); return 0; }\n catch (error) { if ((error as NodeJS.ErrnoException).code !== \"ESRCH\") throw error; }\n if (readFileSync(LOCK, \"utf8\") === raw) unlinkSync(LOCK);\n if (!acquire()) { console.log(\"tick już trwa\"); return 0; }\n }\n }\n skippedCardEvents.clear();\n let s = parseState(null).state;\n // Internal smoke handoff: the child cannot outlive the parent's reserved budget.\n const smokeLimit = DRY ? Number(process.env.MASZYNISTA_SMOKE_TIMEOUT_MS) : NaN;\n let stateLoaded = false;\n let tickStarted: string | undefined;\n let outcome: \"ok\" | \"failed\" = \"ok\";\n let runtimeFailed = false;\n let observedLoaded = \"UNKNOWN\";\n let tickPhase = \"startup\";\n const deadlineAlarm = armTickDeadline(() => s, Number.isSafeInteger(smokeLimit) && smokeLimit > 0\n ? Math.min(TICK_LIMIT_MS, smokeLimit) : TICK_LIMIT_MS, () => ({ phase: tickPhase, observedLoaded }));\n let hostReady = false;\n let hostBoard: { uid: string; projectId: string } | undefined;\n let activationCards: CardLike[] = [];\n let activationCardsKnown = false;\n let blockedBefore = 0;\n const clientStopped = (): boolean => {\n if (client && (outcome === \"failed\" || (!DRY && s.blocked > blockedBefore))) stopClient();\n if (client && result.outcome === \"stop\") outcome = \"failed\";\n return client && result.outcome === \"stop\";\n };\n let hostPhaseStarted = false;\n const hostPhase = async (): Promise<boolean> => {\n if (smokeOnly || !hostReady || hostPhaseStarted) return false;\n hostPhaseStarted = true;\n tickPhase = \"host\";\n if (hostBoard) {\n const { uid: boardUid, projectId: boardProject } = hostBoard;\n try {\n await runEnabledAuto({ state: s, loadedSha: observedLoaded, repo: REPO, logPath: LOG, tick: s.tick, stateDir: hostStateDir(),\n now: new Date().toISOString(), activation: readActivationState(hostStateDir()), dryRun: DRY }, {\n listCards: async () => scanTasks(boardUid, boardProject, { full: true, statuses: [\"delivered\"],\n detailsKeys: ENABLED_SCAN_DETAILS_KEYS }),\n getTask: id => q.getTask(boardUid, id),\n appendDetail: async (id, patch) => { await appendBoundedDetail(boardUid, id, patch); },\n saveState: writeState,\n alarm: hostActivationAlarm,\n log,\n });\n } catch (error) { runtimeFailed = true; outcome = \"failed\"; log(`FAIL ENABLED auto: ${errorText(error)}`); }\n } else log(\"ENABLED auto: UNKNOWN — brak odczytu projektu; dowód karty czeka na dostęp do tablicy\");\n try {\n const result = await engineRunHostActivation({ repo: REPO, stateDir: hostStateDir(), cards: activationCards, cardsKnown: activationCardsKnown, tick: s.tick, dryRun: DRY }, {\n git, remainingTickMs, alarm: hostActivationAlarm, infrastructureChecks, infrastructurePullRequest, log: line => log(`host-activation: ${line}`),\n });\n log(`host-activation: code=${result.code} target=${result.target ?? \"UNKNOWN\"}${result.detail ? ` reason=${result.detail}` : \"\"}`);\n if (result.code === \"activate\" && result.target) {\n lastTick(s, \"activation\", `aktywacja ${result.target}; ogon odroczony`, outcome === \"ok\");\n return true;\n }\n } catch (error) { runtimeFailed = true; outcome = \"failed\"; log(`FAIL aktywacja: ${errorText(error)}`); }\n return false;\n };\n try {\n observedLoaded = loadedSha = readLoadedSha(REPO);\n s = readState((await engineFjConfig()).enabled);\n stateLoaded = true; blockedBefore = s.blocked;\n s.tick++; tickStarted = new Date().toISOString(); s.lastTickAt = tickStarted;\n log(`tick_started tick=${s.tick} at=${tickStarted} duration=UNKNOWN loaded=${loadedSha}`);\n loadEnvFiles();\n const { uid } = preflight();"
1698
1698
  },
1699
1699
  "finalization": {
1700
1700
  "module": "maszynista/tick.ts",
1701
- "startLine": 10650,
1702
- "endLine": 10702,
1701
+ "startLine": 10644,
1702
+ "endLine": 10696,
1703
1703
  "text": " } finally {\n // A persisted terminal FAIL is a card result; every unexpected exception above\n // remains a runtime failure, including DB errors inside card handling.\n if (!DRY && s.blocked > blockedBefore) {\n outcome = \"failed\";\n try { log(`FAIL: licznik blocked wzrósł ${blockedBefore} → ${s.blocked}; outcome=failed`); }\n catch (error) { console.error(`zapis licznika blocked: ${errorText(error)}`); }\n }\n clientStopped();\n // Early board failure still reaches the same host phase, at most once per tick.\n await hostPhase();\n tickPhase = \"finalizing\";\n try { if (!DRY) await finishHostActivation({ stateDir: hostStateDir(), outcome, tick: s.tick, runtimeFailed, observedLoaded }, { alarm: hostActivationAlarm, log }); }\n catch (error) { runtimeFailed = true; outcome = \"failed\"; log(`FAIL breaker aktywacji: ${errorText(error)}`); }\n clientStopped();\n try { if (stateLoaded) writeState(s); }\n catch (error) { runtimeFailed = true; outcome = \"failed\"; if (!client) throw error; stopClient(); result.cleanup = true; }\n finally {\n if (!DRY) {\n try { if (readFileSync(LOCK, \"utf8\") === String(process.pid)) unlinkSync(LOCK); }\n catch (error) { if ((error as NodeJS.ErrnoException).code !== \"ENOENT\") { if (!client) throw error; stopClient(); result.cleanup = true; } }\n }\n const at = new Date().toISOString();\n const duration = tickStarted ? `${(Date.parse(at) - Date.parse(tickStarted)) / 1000}s` : \"UNKNOWN\";\n try {\n const { total, ops } = drainEgressCounters();\n const sorted = Object.entries(ops).sort(([, a], [, b]) => b.bytes - a.bytes);\n const summary = sorted.filter(([op]) => !op.includes(\":\")).slice(0, 12)\n .map(([op, counter]) => `${op}:${counter.calls}:${counter.bytes}`).join(\",\");\n const variants = sorted.filter(([op]) => op.includes(\":\")).slice(0, 6)\n .map(([op, counter]) => `${op}:${counter.calls}:${counter.bytes}`).join(\",\");\n log(`egress tick=${s.tick} total=${total} ops=${summary} variants=${variants}`);\n } catch { /* Optional metrics must never interrupt tick cleanup. */ }\n try { refreshTickReport(observedLoaded); log(`tick_finished tick=${s.tick} at=${at} outcome=${client && result.outcome === \"retry\" ? \"retry\" : outcome} duration=${duration} loaded=${loadedSha}`); }\n finally { clearTimeout(deadlineAlarm); tickDeadline = Number.POSITIVE_INFINITY; }\n }\n }\n }); } catch (error) {\n if (!client) throw error;\n stopClient(); result.cleanup = true;\n } finally {\n tickInstallation = previousInstallation;\n try { await installation.close(); }\n catch (error) {\n if (client) { stopClient(); result.cleanup = true; }\n else safeLog(`Zamknięcie instalacji nieudane: ${String(error)}`);\n }\n }\n if (client && result.outcome !== \"ok\") console.error(`Fabryka ${result.outcome === \"stop\" ? \"zatrzymana\" : \"retry\"}: ${result.reason}${result.cleanup ? \"; finalizacja niepotwierdzona — sprawdź stan i blokadę\" : \"\"}`);\n return client && result.outcome === \"stop\" ? 2 : code;\n}\n\nif (require.main === module && !([\"--opencode-runner\", \"--grok-runner\"].includes(process.argv[2] ?? \"\"))) {"
1704
1704
  },
1705
1705
  "refreshTickReport": {
1706
1706
  "module": "maszynista/tick.ts",
1707
- "startLine": 878,
1708
- "endLine": 889,
1707
+ "startLine": 860,
1708
+ "endLine": 871,
1709
1709
  "text": "export function refreshTickReport(observedLoaded = readLoadedSha(REPO)): void {\n loadedSha = observedLoaded;\n try { mainSha = git([\"rev-parse\", engineBranchRef()]); }\n catch (error) { mainSha = \"UNKNOWN\"; log(`Nie można odczytać main SHA: ${errorText(error)}`); }\n if (DRY) return;\n try {\n const content = readFileSync(LAST_TICK, \"utf8\");\n writeFileSync(LAST_TICK, `${content.replace(/^- (?:loaded|main):.*\\n?/gm, \"\")}- loaded: ${loadedSha}\\n- main: ${mainSha}\\n`);\n } catch (error) { if ((error as NodeJS.ErrnoException).code !== \"ENOENT\") throw error; }\n}\n\nfunction writeAtomic(file: string, content: string): void {"
1710
1710
  },
1711
1711
  "importTime": {
@@ -1725,6 +1725,6 @@
1725
1725
  "status": 0,
1726
1726
  "signal": null,
1727
1727
  "stdout": "v24.3.0\n",
1728
- "stderr": "(node:23248) ExperimentalWarning: SQLite is an experimental feature and might change at any time\n(Use `node --trace-warnings ...` to show where the warning was created)\n"
1728
+ "stderr": "(node:23060) ExperimentalWarning: SQLite is an experimental feature and might change at any time\n(Use `node --trace-warnings ...` to show where the warning was created)\n"
1729
1729
  }
1730
1730
  }
@@ -37652,7 +37652,7 @@ var init_constants = __esm({
37652
37652
  "packages/client/src/constants.ts"() {
37653
37653
  "use strict";
37654
37654
  PACKAGE_NAME = "robisie";
37655
- PACKAGE_VERSION = "0.6.0";
37655
+ PACKAGE_VERSION = "0.6.1";
37656
37656
  SUPPORTED_CONTRACT_MAJOR = 1;
37657
37657
  DEFAULT_ORIGIN = "https://robisie.app";
37658
37658
  MCP_SERVER_NAME = "robisie";
@@ -48218,6 +48218,30 @@ function classifyAuthority(card) {
48218
48218
  }
48219
48219
  return { kind: "auto" };
48220
48220
  }
48221
+ function taskBriefHash(card) {
48222
+ const d = card.details ?? {};
48223
+ const dutyDetails = d;
48224
+ return (0, import_node_crypto2.createHash)("sha256").update(JSON.stringify([
48225
+ card.title,
48226
+ card.specRef,
48227
+ d.seed_brief,
48228
+ d.seed_spec,
48229
+ d.seed_scope,
48230
+ d.scope,
48231
+ d.done_when ?? d.doneWhen ?? d.acceptance,
48232
+ d.boundaries,
48233
+ d.outcome,
48234
+ d.out,
48235
+ asRecord(asRecord(dutyDetails.unblock).verdict).note
48236
+ ])).digest("hex");
48237
+ }
48238
+ function taskInputHash(card, effort) {
48239
+ const brief2 = hasDutyNote(card.details) ? card : { ...card, details: { ...card.details, unblock: void 0 } };
48240
+ return (0, import_node_crypto2.createHash)("sha256").update(JSON.stringify([taskBriefHash(brief2), effort, card.details?.codex_model ?? null])).digest("hex");
48241
+ }
48242
+ function changedBlockerInput(last2, fingerprint) {
48243
+ return last2.outcome === "ACTIONABLE_BLOCKER" && typeof last2.input_sha256 === "string" && /^[a-f0-9]{64}$/.test(last2.input_sha256) && fingerprint !== void 0 && last2.input_sha256 !== fingerprint;
48244
+ }
48221
48245
  function buildBrief(card, northStar, opts) {
48222
48246
  const details2 = card.details ?? {};
48223
48247
  const doneWhen = details2["done_when"] ?? details2["doneWhen"] ?? details2["acceptance"] ?? null;
@@ -48265,6 +48289,7 @@ function buildBrief(card, northStar, opts) {
48265
48289
  `## Tytu\u0142`,
48266
48290
  card.title,
48267
48291
  ``,
48292
+ ...changedBlockerInput(asRecord(details2.maszynista), opts.inputFingerprint) ? ["Kryterium uko\u0144czenia i Zakres z karty maj\u0105 pierwsze\u0144stwo przed Done When i zakresem zapisanymi w pakiecie z zasiewu."] : [],
48268
48293
  chosen ? `## Aktualny pakiet (${chosen})
48269
48294
  ${details2[chosen]}` : ``,
48270
48295
  details2.scope !== void 0 ? `## Zakres
@@ -317340,23 +317365,6 @@ function createWorkerTmpdir(worktree, cardId) {
317340
317365
  throw Object.assign(new Error(`TMPDIR zadania ${cardId}: ${errorText5(error48)}`), { errorCode: "TMPDIR" });
317341
317366
  }
317342
317367
  }
317343
- function taskBriefHash(card) {
317344
- const d = card.details ?? {};
317345
- const dutyDetails = d;
317346
- return (0, import_node_crypto32.createHash)("sha256").update(JSON.stringify([
317347
- card.title,
317348
- card.specRef,
317349
- d.seed_brief,
317350
- d.seed_spec,
317351
- d.seed_scope,
317352
- d.scope,
317353
- d.done_when ?? d.doneWhen ?? d.acceptance,
317354
- d.boundaries,
317355
- d.outcome,
317356
- d.out,
317357
- asRecord3(asRecord3(dutyDetails.unblock).verdict).note
317358
- ])).digest("hex");
317359
- }
317360
317368
  function seedBriefIdentity(card) {
317361
317369
  const declared = card.details?.seed_brief_sha256;
317362
317370
  return typeof declared === "string" && /^[a-f0-9]{64}$/i.test(declared) ? declared : briefSha(card.details, card.seedBriefDigest);
@@ -317417,15 +317425,16 @@ function actionableBlockerRecovery(card, predecessors) {
317417
317425
  const previous = prior.blocker_depends_on;
317418
317426
  return card.dependsOn.some((id2) => predecessors.get(id2)?.id === id2 && (!previous.includes(id2) || isStringArray(prior.blocker_resolved_depends_on) && !prior.blocker_resolved_depends_on.includes(id2) && factoryDependenciesReady({ ...card, dependsOn: [id2] }, predecessors)));
317419
317427
  }
317420
- function actionableBlockerHold(card, predecessors) {
317428
+ function actionableBlockerHold(card, predecessors, fingerprint) {
317421
317429
  const details2 = card.details ?? {};
317422
317430
  const prior = asRecord3(details2.maszynista);
317423
317431
  if (prior.outcome !== "ACTIONABLE_BLOCKER" || !("blocker_seed_brief_sha256" in prior)) return null;
317424
317432
  const declared = details2.seed_brief_sha256, calculated = briefSha(card.details, card.seedBriefDigest);
317425
317433
  if (typeof declared === "string" && /^[a-f0-9]{64}$/i.test(declared) && calculated !== null && declared.toLowerCase() !== calculated)
317426
317434
  return `ACTIONABLE_BLOCKER: niezgodny seed_brief_sha256; zapisany ${declared}, obliczony ${calculated}`;
317435
+ if ((card.status === "ready" || card.status === "in_progress") && typeof declared === "string" && /^[a-f0-9]{64}$/i.test(declared) && calculated !== null && declared.toLowerCase() === calculated && changedBlockerInput(prior, fingerprint)) return null;
317427
317436
  if (actionableBlockerRecovery(card, predecessors)) return null;
317428
- return "ACTIONABLE_BLOCKER: seed_brief_sha256 bez zmian; wymagany nowy brief albo depends_on na nierozwi\u0105zan\u0105 kart\u0119-przeszkod\u0119";
317437
+ return "ACTIONABLE_BLOCKER: seed_brief_sha256 bez zmian; wymagany nowy brief albo depends_on na nierozwi\u0105zan\u0105 kart\u0119-przeszkod\u0119 albo zmiana tre\u015Bci karty (done_when, scope, boundaries, outcome)";
317429
317438
  }
317430
317439
  async function recoverBlockedWorkers(s, uid, projectId2, dry = DRY2, pending) {
317431
317440
  if (dry) return;
@@ -317538,10 +317547,6 @@ function ringDraftChanges(cards, dry = DRY2) {
317538
317547
  log2(`zasiew bell: ${errorText5(error48)}`);
317539
317548
  }
317540
317549
  }
317541
- function taskInputHash(card, effort) {
317542
- const brief2 = hasDutyNote(card.details) ? card : { ...card, details: { ...card.details, unblock: void 0 } };
317543
- return (0, import_node_crypto32.createHash)("sha256").update(JSON.stringify([taskBriefHash(brief2), effort, card.details?.codex_model ?? null])).digest("hex");
317544
- }
317545
317550
  function defaultNpmCacheCleanup() {
317546
317551
  const result = (0, import_node_child_process21.spawnSync)("npm", ["cache", "clean", "--force"], { cwd: REPO, encoding: "utf8", timeout: remainingTickMs(12e4) });
317547
317552
  if (result.error) throw result.error;
@@ -325559,13 +325564,13 @@ async function dispatchCard(s, uid, projectId2, c, selection, installation, clie
325559
325564
  log2(`dispatch ${c.id}: zmiana to\u017Csamo\u015Bci przy CAS; zachowuj\u0119 nowsz\u0105 pr\xF3b\u0119`);
325560
325565
  return false;
325561
325566
  }
325562
- c = { ...c, ...reserved2 };
325563
- const blockerHold = actionableBlockerHold(c, evidence2 ?? /* @__PURE__ */ new Map());
325567
+ c = { ...c, ...reserved2, seedBriefDigest: void 0 };
325568
+ const qualification = qualifyCard({ ...c, trackName: c.targetTrackName });
325569
+ const inputFingerprint = taskInputHash(c, qualifiedEffort(c, qualification));
325570
+ const blockerHold = actionableBlockerHold(c, evidence2 ?? /* @__PURE__ */ new Map(), inputFingerprint);
325564
325571
  if (blockerHold) throw new DispatchHold(blockerHold);
325565
325572
  if (malformedStreak) throw new DispatchHold("ACTIONABLE: wadliwy details.maszynista.dispatch_failure_streak; zachowano dane, wymagana korekta CR");
325566
- const qualification = c.qualification;
325567
- if (!qualification?.effort || !qualification.trackName || !c.targetTrackName) throw new Error("karta bez poprawnej kwalifikacji");
325568
- const inputFingerprint = taskInputHash(c, qualifiedEffort(c, qualification));
325573
+ if (!qualification.effort || !qualification.trackName || !c.targetTrackName) throw new Error("karta bez poprawnej kwalifikacji");
325569
325574
  const hold2 = actionableBlockerRecovery(c, evidence2 ?? /* @__PURE__ */ new Map()) ? null : redispatchHold(asRecord3(c.details?.maszynista), inputFingerprint, Date.now());
325570
325575
  if (hold2) {
325571
325576
  unchangedInputHold = true;
@@ -325725,7 +325730,7 @@ Pliki konfliktu: ${markers2.join(", ")}. usu\u0144 markery zachowuj\u0105c obie
325725
325730
  const northStar = await loadNorthStar2(uid, installation);
325726
325731
  let builtBrief;
325727
325732
  try {
325728
- builtBrief = buildBrief(c, northStar, { worktree, branch, env: workerEnv2, installationBrief: installation?.installationBrief });
325733
+ builtBrief = buildBrief(c, northStar, { worktree, branch, inputFingerprint, env: workerEnv2, installationBrief: installation?.installationBrief });
325729
325734
  } catch (error48) {
325730
325735
  if (error48 instanceof Error && (error48.message === `ACTIONABLE: karta ${c.id}: brak rozstrzygalnego pakietu seed_*` || error48.message.startsWith(`ACTIONABLE: brief karty ${c.id} ma `) && / bajtów, limit 32768;/.test(error48.message)))
325731
325736
  throw new DispatchHold(error48.message);
@@ -327511,7 +327516,24 @@ async function dispatchNext(s, uid, projectId2, diskDependencies, cards = /* @__
327511
327516
  const candidates2 = freshRows.filter((card) => card.status === "ready").map((card) => ({ ...card, details: card.details }));
327512
327517
  const predecessors = await factoryPredecessors(uid, candidates2, new Map([...cards, ...freshRows.map((row) => [row.id, row])]));
327513
327518
  const ready = [];
327514
- for (const card of candidates2) {
327519
+ for (let card of candidates2) {
327520
+ const prior = asRecord3(card.details?.maszynista);
327521
+ let inputFingerprint;
327522
+ if (prior.outcome === "ACTIONABLE_BLOCKER" && typeof prior.input_sha256 === "string" && /^[a-f0-9]{64}$/.test(prior.input_sha256)) {
327523
+ try {
327524
+ const full = await getTask2(uid, card.id);
327525
+ if (!full || full.status !== "ready") {
327526
+ skipReady(card, "ACTIONABLE_BLOCKER: pe\u0142na karta nie jest ready lub brak odczytu");
327527
+ continue;
327528
+ }
327529
+ card = { ...card, ...full, seedBriefDigest: void 0 };
327530
+ const qualification2 = qualifyCard({ ...card, trackName: card.trackId ? labels.get(card.trackId) ?? null : null });
327531
+ inputFingerprint = taskInputHash(card, qualifiedEffort(card, qualification2));
327532
+ } catch (error48) {
327533
+ skipReady(card, `ACTIONABLE_BLOCKER: odczyt pe\u0142nego wej\u015Bcia: ${errorText5(error48)}`);
327534
+ continue;
327535
+ }
327536
+ }
327515
327537
  if (card.details?.reksio_withheld === true) {
327516
327538
  skipReady(card, "wstrzymany przez Reksia: reksio_withheld=true");
327517
327539
  continue;
@@ -327521,7 +327543,7 @@ async function dispatchNext(s, uid, projectId2, diskDependencies, cards = /* @__
327521
327543
  skipReady(card, "wybrany model zaj\u0119ty; odroczenie 10 min");
327522
327544
  continue;
327523
327545
  }
327524
- const blockerHold = actionableBlockerHold(card, predecessors);
327546
+ const blockerHold = actionableBlockerHold(card, predecessors, inputFingerprint);
327525
327547
  if (blockerHold) {
327526
327548
  skipReady(card, blockerHold);
327527
327549
  continue;
package/dist/roles.d.ts CHANGED
@@ -17,7 +17,7 @@ export interface Role {
17
17
  export declare function rolesDir(): string;
18
18
  export declare function parseRole(file: Role["file"], text: string): Role;
19
19
  export declare function loadRoles(dir?: string): Role[];
20
- export declare const MANAGED_LINE = "<!-- robisie:managed 0.6.0 \u2014 plik zarz\u0105dzany przez `npx robisie`; `npx robisie uninstall` go usunie -->";
20
+ export declare const MANAGED_LINE = "<!-- robisie:managed 0.6.1 \u2014 plik zarz\u0105dzany przez `npx robisie`; `npx robisie uninstall` go usunie -->";
21
21
  export type AgentFlavor = "claude" | "codex" | "opencode";
22
22
  /** How the operator starts the Builder for one card in its own session (the card id is not a secret). */
23
23
  export declare function builderStartCommand(flavor: AgentFlavor, codexRolePath?: string): string;
package/docs/README.en.md CHANGED
@@ -1,4 +1,4 @@
1
- # robisie — from account to accepted card (package 0.6.0) <!-- x-release-please-version -->
1
+ # robisie — from account to accepted card (package 0.6.1) <!-- x-release-please-version -->
2
2
 
3
3
  In the project directory with its engine configuration, run `npx robisie init`, then `npx robisie doctor`: init prepares the project goal and tester protection list, and doctor checks both inputs.
4
4
 
package/docs/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # robisie — od konta do odebranej karty (paczka 0.6.0) <!-- x-release-please-version -->
1
+ # robisie — od konta do odebranej karty (paczka 0.6.1) <!-- x-release-please-version -->
2
2
 
3
3
  W katalogu projektu z konfiguracją silnika uruchom `npx robisie init`, potem `npx robisie doctor`: init przygotuje cel projektu i listę ochrony testera, a doctor sprawdzi oba wejścia.
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robisie",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Instalator klienta robisie: łączy agenta (Claude Code, Codex CLI, OpenCode) z tablicą robisie i instaluje role klienta.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",