robisie 0.5.44 → 0.5.45

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,14 @@
1
1
  # Historia zmian klienta / Client changelog
2
2
 
3
+ ## [0.5.45](https://github.com/chuppa12/robisie-app/compare/client-v0.5.44...client-v0.5.45) (2026-11-16)
4
+
5
+
6
+ ### Factory Cards
7
+
8
+ * praca workera task-mwiogmiv-ud00ai (auto-commit) ([ff5521a](https://github.com/chuppa12/robisie-app/commit/ff5521ab04b7d71a7329f0453d17d9227476952d))
9
+ * praca workera task-mwiq6vxj-j06195 (auto-commit) ([56e6f0b](https://github.com/chuppa12/robisie-app/commit/56e6f0bb94034c1f6db13d0050dd5354b21ce254))
10
+ * praca workera task-mwirilg9-4njt21 (auto-commit) ([7d2edc8](https://github.com/chuppa12/robisie-app/commit/7d2edc86e3467c7ea20795d249d131ca7840668f))
11
+
3
12
  ## [0.5.44](https://github.com/chuppa12/robisie-app/compare/client-v0.5.43...client-v0.5.44) (2026-11-16)
4
13
 
5
14
 
package/README.md CHANGED
@@ -263,6 +263,8 @@ Granice: Landlock ma lukę ochrony metadanych; przed jądrem Linux 6.2 ma też l
263
263
 
264
264
  Przykład zastępujący cały `roleRegistry` dla Workera Grok (pozostałe ustawienia instalacji pozostają jak w przykładzie Codexa). Recenzent i odbiorca mają innego dostawcę. Brak `receiver-client` zachowuje historycznego Groka i przy Workerze Grok oznacza odmowę. Wspólny dostawca wymaga osobnego jawnego `requireIndependentProvider: false` odpowiedniej roli: pozostaje partial i znak „częściowa: bez niezależnego sprawdzenia”; wyjątek odbiorcy wymaga chronionego `review_receipt.receiverIndependenceWaived=true` zapisanego przez `accept_review`. Recenzenckie false nie zwalnia niezależności odbiorcy.
265
265
 
266
+ Po zmianie pary ról karty w toku trzeba ponowić („Ponów pracę”) albo przywrócić poprzednią konfigurację. `HOLD clientPair` dotyczy wskazanej karty; pozostałe poprawne karty mogą pracować dalej.
267
+
266
268
  <!-- grok-worker-example:start -->
267
269
  ```json
268
270
  {
@@ -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.5.44";
3
+ export declare const PACKAGE_VERSION = "0.5.45";
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.5.44"; // x-release-please-version
3
+ export const PACKAGE_VERSION = "0.5.45"; // 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":"26cd1623594b71037d31b847076be5126f48f80e","dirty":false}
1
+ {"schema":1,"sha":"e1857d6e71bf5a7f33a89e6ee548f479a4a9547e","dirty":false}
@@ -1692,14 +1692,14 @@
1692
1692
  "staticOperations": {
1693
1693
  "beforePreflight": {
1694
1694
  "module": "maszynista/tick.ts",
1695
- "startLine": 10119,
1696
- "endLine": 10232,
1695
+ "startLine": 10153,
1696
+ "endLine": 10266,
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": 10523,
1702
- "endLine": 10575,
1701
+ "startLine": 10557,
1702
+ "endLine": 10609,
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": {
@@ -1725,6 +1725,6 @@
1725
1725
  "status": 0,
1726
1726
  "signal": null,
1727
1727
  "stdout": "v24.3.0\n",
1728
- "stderr": "(node:22050) 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:21994) 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.5.44";
37655
+ PACKAGE_VERSION = "0.5.45";
37656
37656
  SUPPORTED_CONTRACT_MAJOR = 1;
37657
37657
  DEFAULT_ORIGIN = "https://robisie.app";
37658
37658
  MCP_SERVER_NAME = "robisie";
@@ -323440,7 +323440,11 @@ async function localTesterPhase(s, uid, projectId2, dry, runtime, snapshot2, ins
323440
323440
  try {
323441
323441
  local2 = localTesterInput(installation.localTester, card);
323442
323442
  } catch (error48) {
323443
- if (error48 instanceof ClientPairHold || error48 instanceof TesterSafetyError) throw error48;
323443
+ if (error48 instanceof TesterSafetyError) throw error48;
323444
+ if (error48 instanceof ClientPairHold) {
323445
+ await localDataHold(uid, card.id, "tester", `Karta ${card.id}: ${clientTickFailure(error48)}`, full);
323446
+ continue;
323447
+ }
323444
323448
  await localDataHold(uid, card.id, "tester", `Niepoprawne dane testera: ${clientTickFailure(error48)}`, full);
323445
323449
  continue;
323446
323450
  }
@@ -323556,7 +323560,11 @@ async function localReceiverPhase(s, uid, projectId2, dry, snapshot2, installati
323556
323560
  if ("reason" in input) throw new Error("Niepoprawne wymagane dowody receivera");
323557
323561
  }
323558
323562
  } catch (error48) {
323559
- if (error48 instanceof ClientPairHold || error48 instanceof TesterSafetyError) throw error48;
323563
+ if (error48 instanceof TesterSafetyError) throw error48;
323564
+ if (error48 instanceof ClientPairHold) {
323565
+ await localDataHold(uid, card.id, "receiver", `Karta ${card.id}: ${clientTickFailure(error48)}`, full);
323566
+ continue;
323567
+ }
323560
323568
  await localDataHold(uid, card.id, "receiver", "Nie mo\u017Cna odczyta\u0107 lub zweryfikowa\u0107 dowod\xF3w receivera", full);
323561
323569
  continue;
323562
323570
  }
@@ -323608,19 +323616,55 @@ async function localAcceptancePhase(s, uid, dry, snapshot2, installation) {
323608
323616
  await localDataHold(uid, card.id, "acceptance", "Nie mo\u017Cna odczyta\u0107 lub zweryfikowa\u0107 archiwum odbioru lokalnego", full);
323609
323617
  continue;
323610
323618
  }
323611
- card = await localDataResume(uid, full, "acceptance");
323612
- snapshot2?.set(card.id, card);
323619
+ const details2 = card.details;
323620
+ let resumePending = details2 !== full.details, current = full;
323621
+ let resumeFailure;
323622
+ const resume = async () => {
323623
+ if (!resumePending) return;
323624
+ try {
323625
+ current = await localDataWrite(uid, full, details2);
323626
+ } catch (error48) {
323627
+ resumeFailure = { error: error48 };
323628
+ throw error48;
323629
+ }
323630
+ resumePending = false;
323631
+ snapshot2?.set(current.id, current);
323632
+ };
323633
+ snapshot2?.set(card.id, full);
323613
323634
  if ((0, import_node_fs48.existsSync)(`${ref}.acceptance.json`) && (0, import_node_fs48.existsSync)(`${ref}.acceptance-stop.json`) && card.status === "in_review") continue;
323635
+ let confirmed;
323614
323636
  try {
323615
- const confirmed = await acceptLocalDelivery2(api, card.id, completion2);
323616
- snapshot2?.set(card.id, confirmed);
323617
- rememberProcessCards(s, [confirmed]);
323618
- s.done_auto++;
323619
- lastTick(s, "acceptance-local", "Chroniony odbi\xF3r lokalny \u2192 done", true, card.id);
323637
+ confirmed = await acceptLocalDelivery2({
323638
+ // Read the frozen view without clearing HOLD until a write or review snapshot needs it.
323639
+ getTask: async (args) => {
323640
+ const task = await api.getTask(args);
323641
+ return resumePending && task ? localDataCard(task) : task;
323642
+ },
323643
+ getReviewSnapshot: async (args) => {
323644
+ await resume();
323645
+ return api.getReviewSnapshot(args);
323646
+ },
323647
+ acceptReview: (args) => api.acceptReview(args),
323648
+ updateTask: async (args) => {
323649
+ await resume();
323650
+ return api.updateTask(args);
323651
+ }
323652
+ }, card.id, completion2);
323620
323653
  } catch (error48) {
323621
- if (!(error48 instanceof Error) || !error48.message.startsWith("STOP odbioru lokalnego:") || error48.message.includes("nie uda\u0142o si\u0119 utrwali\u0107 diagnozy")) throw error48;
323622
- localDataEvent(card.id, "acceptance-protocol", error48.message);
323654
+ if (resumeFailure) throw resumeFailure.error;
323655
+ if (error48 instanceof Error && error48.message.includes("nie uda\u0142o si\u0119 utrwali\u0107 diagnozy")) throw error48;
323656
+ if (error48 instanceof Error && error48.message.startsWith("STOP odbioru lokalnego:")) {
323657
+ localDataEvent(card.id, "acceptance-protocol", error48.message);
323658
+ continue;
323659
+ }
323660
+ await localDataHold(uid, card.id, "acceptance", `Karta ${card.id}: ${clientTickFailure(error48)}`, current);
323661
+ continue;
323623
323662
  }
323663
+ snapshot2?.set(card.id, confirmed);
323664
+ rememberProcessCards(s, [confirmed]);
323665
+ localDataEvent(card.id, "acceptance", null);
323666
+ s.done_auto++;
323667
+ lastTick(s, "acceptance-local", "Chroniony odbi\xF3r lokalny \u2192 done", true, card.id);
323624
323668
  }
323625
323669
  }
323626
323670
  async function testerPhase(s, uid, projectId2, dry = DRY2, runtime = loadedSha, snapshot2, installation = tickInstallation) {
@@ -327279,6 +327323,16 @@ function clientTickFailure(error48) {
327279
327323
  "tester-safety-invalid": "Lista ochrony testera jest pusta lub zawiera niepoprawne wyra\u017Cenie \u2014 popraw plik lub usu\u0144 go i uruchom `npx robisie init`",
327280
327324
  "client-pair-hold": "Konfiguracja silnika zmieni\u0142a si\u0119 od startu karty \u2014 przywr\xF3\u0107 poprzedni\u0105 zawarto\u015B\u0107 albo pon\xF3w kart\u0119"
327281
327325
  };
327326
+ const seen = /* @__PURE__ */ new Set();
327327
+ let original = error48;
327328
+ while (original instanceof Error && !seen.has(original)) {
327329
+ if (original instanceof TesterSafetyError || original instanceof ClientPairHold) {
327330
+ error48 = original;
327331
+ break;
327332
+ }
327333
+ seen.add(original);
327334
+ original = original.cause;
327335
+ }
327282
327336
  const code = error48 instanceof TesterSafetyError ? error48.code : error48 instanceof ClientPairHold ? "client-pair-hold" : void 0;
327283
327337
  if (code) return `${code}: ${testerReasons[code]}`;
327284
327338
  return error48 instanceof Error && error48.message === "ROBISIE_REVIEW_KEY nieustawione lub niepoprawne; wymagany odr\u0119bny aktor owner_validator tego samego konta i polityka enforced" ? "brak poprawnego klucza odbiorcy B; skonfiguruj ROBISIE_REVIEW_KEY odr\u0119bnego owner_validator tego samego konta i pon\xF3w factory run" : "nierozstrzygni\u0119ty wynik lub odmowa fazy; sprawd\u017A lokalne dowody i stan karty przed wznowieniem factory run";
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.5.44 \u2014 plik zarz\u0105dzany przez `npx robisie`; `npx robisie uninstall` go usunie -->";
20
+ export declare const MANAGED_LINE = "<!-- robisie:managed 0.5.45 \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.5.44) <!-- x-release-please-version -->
1
+ # robisie — from account to accepted card (package 0.5.45) <!-- 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
 
@@ -292,6 +292,8 @@ Limits: Landlock has a metadata protection gap and, before Linux kernel 6.2, a t
292
292
 
293
293
  Replace the entire `roleRegistry` with this Grok Worker example (keep the other installation settings from the Codex example). Reviewer and receiver use another provider. An absent `receiver-client` preserves historical Grok and refuses a Grok Worker. A shared provider requires separate explicit `requireIndependentProvider: false` for the relevant role: partial and the note “częściowa: bez niezależnego sprawdzenia” remain; the receiver exception requires protected `review_receipt.receiverIndependenceWaived=true` recorded by `accept_review`. Reviewer false does not waive receiver independence.
294
294
 
295
+ After changing the role pair, retry cards already in progress (“Retry work”) or restore the previous configuration. `HOLD clientPair` applies to the named card; other valid cards can continue.
296
+
295
297
  <!-- grok-worker-example:start -->
296
298
  ```json
297
299
  {
@@ -462,7 +464,7 @@ Missing/null/empty/unreadable `local_receiver.reason` or failure to identify an
462
464
 
463
465
  The assistant returns using key A (a key used for B cannot later record independent acceptance), a restricted account cannot leave `blocked`, a full active-card limit requires freeing a slot, and clicking the panel under `enforced` does not replace the assistant; on any tool refusal state stays unchanged and the owner receives the literal reason.
464
466
 
465
- - **Retry work (not acceptance of the same delivery):** open the Planner in the Dashboard (`https://robisie.app/dashboard/plugins/planer`) (“Projects” section), choose a project and card, then select “Ready” (`ready`) under “Stage”. The card returns to the agent's queue.
467
+ - **Retry work (not acceptance of the same delivery):** open the Planner in the Dashboard (`https://robisie.app/dashboard/plugins/planer`) (“Projects” section), choose a project and card, then select “Ready” (`ready`) under “Stage”. The card returns to the agent's queue. Without the panel, for `blocked` and `in_review` with `HOLD clientPair`: first call `get_task({id, include:[], fullDetails:true})`, then `update_task({id, status: "ready"})` using key A. After the write, read back the full card with the same `get_task` and verify `ready` and unchanged `details`. This retries work; returning the same delivery to acceptance uses the `blocked → in_review` path above. A tool refusal preserves state; do not change permissions or delete state.
466
468
  - **Abandon:** in the same card window, click “Delete”; at “Are you sure you want to delete this?” choose “Yes, delete”. **Deletion is irreversible — it cannot be undone.** The `masz-<first 8 characters of the card id>` branch with the agent's work remains in the repository.
467
469
 
468
470
  <!-- sekcja: aktualizacja -->
package/docs/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # robisie — od konta do odebranej karty (paczka 0.5.44) <!-- x-release-please-version -->
1
+ # robisie — od konta do odebranej karty (paczka 0.5.45) <!-- 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
 
@@ -339,6 +339,8 @@ Granice: Landlock ma lukę ochrony metadanych; przed jądrem Linux 6.2 ma też l
339
339
 
340
340
  Przykład zastępujący cały `roleRegistry` dla Workera Grok (pozostałe ustawienia instalacji pozostają jak w przykładzie Codexa). Recenzent i odbiorca mają innego dostawcę. Brak `receiver-client` zachowuje historycznego Groka i przy Workerze Grok oznacza odmowę. Wspólny dostawca wymaga osobnego jawnego `requireIndependentProvider: false` odpowiedniej roli: pozostaje partial i znak „częściowa: bez niezależnego sprawdzenia”; wyjątek odbiorcy wymaga chronionego `review_receipt.receiverIndependenceWaived=true` zapisanego przez `accept_review`. Recenzenckie false nie zwalnia niezależności odbiorcy.
341
341
 
342
+ Po zmianie pary ról karty w toku trzeba ponowić („Ponów pracę”) albo przywrócić poprzednią konfigurację. `HOLD clientPair` dotyczy wskazanej karty; pozostałe poprawne karty mogą pracować dalej.
343
+
342
344
  <!-- grok-worker-example:start -->
343
345
  ```json
344
346
  {
@@ -509,7 +511,7 @@ Brak/null/pusty/nieczytelny `local_receiver.reason` albo brak rozpoznania blokad
509
511
 
510
512
  Powrót wykonuje asystent z kluczem A (klucz użyty do wejścia B nie zapisze później niezależnego odbioru), konto ograniczone nie wyjdzie z `blocked`, pełny limit aktywnych kart wymaga zwolnienia miejsca, kliknięcie w panelu przy `enforced` nie zastępuje asystenta; przy każdej odmowie narzędzia stan zostaje, a właściciel dostaje dosłowny powód.
511
513
 
512
- - **Ponów pracę (nie odbiór tej samej dostawy):** otwórz Planer w panelu Dashboard (`https://robisie.app/dashboard/plugins/planer`) (sekcja „Projekty”), wybierz projekt i kartę. W sekcji „Etap” wybierz „Do wzięcia” (`ready`), a karta wróci do kolejki agenta.
514
+ - **Ponów pracę (nie odbiór tej samej dostawy):** otwórz Planer w panelu Dashboard (`https://robisie.app/dashboard/plugins/planer`) (sekcja „Projekty”), wybierz projekt i kartę. W sekcji „Etap” wybierz „Do wzięcia” (`ready`), a karta wróci do kolejki agenta. Bez panelu, dla `blocked` oraz `in_review` z `HOLD clientPair`: najpierw `get_task({id, include:[], fullDetails:true})`, następnie `update_task({id, status: "ready"})` kluczem A. Po zapisie odczytaj ponownie pełną kartę tym samym `get_task` i potwierdź `ready` oraz niezmienione `details`. To ponowienie pracy; powrót tej samej dostawy do odbioru używa opisanej wyżej drogi `blocked → in_review`. Odmowa narzędzia zachowuje stan; bez zmiany praw ani kasowania stanu.
513
515
  - **Porzuć:** w tym samym oknie karty kliknij „Usuń”; na pytanie „Na pewno usunąć?” wybierz „Tak, usuń”. **Usunięcie jest nieodwracalne — nie da się go cofnąć.** Gałąź `masz-<pierwsze 8 znaków id karty>` z pracą agenta zostaje w repozytorium.
514
516
 
515
517
  <!-- sekcja: aktualizacja -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robisie",
3
- "version": "0.5.44",
3
+ "version": "0.5.45",
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",