robisie 0.5.19 → 0.5.20
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 +7 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/engine/build-id.json +1 -1
- package/dist/engine/bundle-report.json +1 -1
- package/dist/engine/tick.cjs +6 -4
- package/dist/roles.d.ts +1 -1
- package/docs/README.en.md +3 -3
- package/docs/README.md +3 -3
- package/package.json +1 -1
- package/roles/ceo-client.md +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Historia zmian klienta / Client changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.20](https://github.com/chuppa12/robisie-app/compare/client-v0.5.19...client-v0.5.20) (2026-11-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Factory Cards
|
|
7
|
+
|
|
8
|
+
* praca workera task-mwegaskl-px35pt (auto-commit) ([b82e38b](https://github.com/chuppa12/robisie-app/commit/b82e38b18d98bc58535ad8c6c2a6e89082732ad5))
|
|
9
|
+
|
|
3
10
|
## [0.5.19](https://github.com/chuppa12/robisie-app/compare/client-v0.5.18...client-v0.5.19) (2026-11-13)
|
|
4
11
|
|
|
5
12
|
|
package/dist/constants.d.ts
CHANGED
|
@@ -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.
|
|
3
|
+
export declare const PACKAGE_VERSION = "0.5.20";
|
|
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.
|
|
3
|
+
export const PACKAGE_VERSION = "0.5.20"; // 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":"
|
|
1
|
+
{"schema":1,"sha":"65ba83b0e614af97fb05d26e83990b580bc6de0e","dirty":false}
|
|
@@ -1688,6 +1688,6 @@
|
|
|
1688
1688
|
"status": 0,
|
|
1689
1689
|
"signal": null,
|
|
1690
1690
|
"stdout": "v24.3.0\n",
|
|
1691
|
-
"stderr": "(node:
|
|
1691
|
+
"stderr": "(node:16097) 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"
|
|
1692
1692
|
}
|
|
1693
1693
|
}
|
package/dist/engine/tick.cjs
CHANGED
|
@@ -37628,7 +37628,7 @@ var init_constants = __esm({
|
|
|
37628
37628
|
"packages/client/src/constants.ts"() {
|
|
37629
37629
|
"use strict";
|
|
37630
37630
|
PACKAGE_NAME = "robisie";
|
|
37631
|
-
PACKAGE_VERSION = "0.5.
|
|
37631
|
+
PACKAGE_VERSION = "0.5.20";
|
|
37632
37632
|
SUPPORTED_CONTRACT_MAJOR = 1;
|
|
37633
37633
|
DEFAULT_ORIGIN = "https://robisie.app";
|
|
37634
37634
|
MCP_SERVER_NAME = "robisie";
|
|
@@ -77493,7 +77493,7 @@ function localReceiverInput(ctx, card, readAt = (/* @__PURE__ */ new Date()).toI
|
|
|
77493
77493
|
readAt
|
|
77494
77494
|
};
|
|
77495
77495
|
const budget = deliveryBudget(card, tester.delivery);
|
|
77496
|
-
const refusal = previousRefusal(import_node_path26.default.join(ctx.tester.delivery.stateDir, "receiver-jobs", "local"), card,
|
|
77496
|
+
const refusal = previousRefusal(import_node_path26.default.join(ctx.tester.delivery.stateDir, "receiver-jobs", "local"), card, prepared);
|
|
77497
77497
|
return structuredClone({ card, prepared: { ...prepared, budget, ...refusal ? { refusal } : {} } });
|
|
77498
77498
|
} catch (error48) {
|
|
77499
77499
|
return structuredClone({ card, reason: failure2(error48) });
|
|
@@ -77558,14 +77558,16 @@ function deliveryBudget(card, delivery) {
|
|
|
77558
77558
|
if (budget.count === 0 !== (budget.lastAt === null)) throw new Error("Nieczytelny bud\u017Cet receivera");
|
|
77559
77559
|
return budget.delivery === empty.delivery ? budget : empty;
|
|
77560
77560
|
}
|
|
77561
|
-
function previousRefusal(dir, card,
|
|
77561
|
+
function previousRefusal(dir, card, prepared) {
|
|
77562
77562
|
const previous = record10(card.details?.local_receiver), ref = previous.ref;
|
|
77563
77563
|
if (previous.outcome !== "STOP" || typeof ref !== "string" || import_node_path26.default.dirname(ref) !== dir || !external_exports.uuid().safeParse(import_node_path26.default.basename(ref, ".json")).success) return;
|
|
77564
77564
|
try {
|
|
77565
77565
|
const c = readJson2(ref);
|
|
77566
|
-
if (!c || c.outcome !== "STOP" || c.id !== import_node_path26.default.basename(ref, ".json") || c.archive !== ref || c.input.card.id !== card.id || !("prepared" in c.input) || !(0, import_node_util6.isDeepStrictEqual)(c.input.prepared.tester.delivery, delivery) || c.packetHash !== hash6(c.input) || !(0, import_node_util6.isDeepStrictEqual)(c.patch.local_receiver, previous)) return;
|
|
77566
|
+
if (!c || c.outcome !== "STOP" || c.id !== import_node_path26.default.basename(ref, ".json") || c.archive !== ref || c.input.card.id !== card.id || !("prepared" in c.input) || !(0, import_node_util6.isDeepStrictEqual)(c.input.prepared.tester.delivery, prepared.tester.delivery) || c.packetHash !== hash6(c.input) || !(0, import_node_util6.isDeepStrictEqual)(c.patch.local_receiver, previous)) return;
|
|
77567
77567
|
localReceiverInvocation(c.response);
|
|
77568
77568
|
const results = validateLocalReceiver(record10(c.response).output, c.input);
|
|
77569
|
+
const events = (items) => items.map((e) => [e.id, e.sha256]).sort();
|
|
77570
|
+
if (!(0, import_node_util6.isDeepStrictEqual)(c.input.card.details?.done_when, card.details?.done_when) || !(0, import_node_util6.isDeepStrictEqual)(c.input.prepared.contract, prepared.contract) || !(0, import_node_util6.isDeepStrictEqual)(events(c.input.prepared.events), events(prepared.events))) return;
|
|
77569
77571
|
if (results.some((r) => r.verdict !== "PASS")) return failure2(new Error(results.map((r) => `${r.index}: ${r.verdict}: ${r.reason}`).join("; ")));
|
|
77570
77572
|
} catch {
|
|
77571
77573
|
}
|
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.
|
|
20
|
+
export declare const MANAGED_LINE = "<!-- robisie:managed 0.5.20 \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.
|
|
1
|
+
# robisie — from account to accepted card (package 0.5.20) <!-- 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
|
|
|
@@ -405,9 +405,9 @@ The project owner can use Dashboard → Planer → card → Etap → “Zrobione
|
|
|
405
405
|
|
|
406
406
|
A card in the “Blocked” stage waits for the owner's decision. The scope protection is intentional: the worker key A cannot close the card — setting `done` with key A is refused with 403. `done` is reserved for accepting a result with evidence, not for releasing scope. Do not broaden key A or change roles to bypass the refusal.
|
|
407
407
|
|
|
408
|
-
**Return the same delivery to acceptance:** first the assistant reads the full card by ID with `get_task({id, include:[], fullDetails:true})` and identifies an acceptance block from `details.local_receiver.reason`. A criterion number with FAIL/BRAK-DOWODU, e.g. `Error: 0: FAIL: …`, is a valid refusal; returning alone does not change the assessment or obtain a new model assessment. Another readable acceptance-block reason means no valid assessment:
|
|
408
|
+
**Return the same delivery to acceptance:** first the assistant reads the full card by ID with `get_task({id, include:[], fullDetails:true})` and identifies an acceptance block from `details.local_receiver.reason`. A criterion number with FAIL/BRAK-DOWODU, e.g. `Error: 0: FAIL: …`, is a valid refusal; returning alone does not change the assessment or obtain a new model assessment. After a valid refusal, an agreed criteria correction or new real use allows return and one new assessment; repeating the request alone gains nothing. For an agreed correction, allow only `detailsPatch` containing only `done_when` and `effect_check`, never full `details`; read back the full card after the patch. Every other details field remains unchanged. Another readable acceptance-block reason means no valid assessment: first resolve its named cause. In both cases, after a full read and the owner's request, assistant A calls `update_task({id, status: "in_review"})` — only `blocked → in_review` — then reads the same full ID again, verifying status and unchanged details. The next tick checks immediately, without `ready` or a new Worker. This also applies to readable historical reasons: `…; zadanie 3/3; sprawdzający niedostępny / nie oddał czytelnej oceny`, `Cytat nie odpowiada dowodowi/ID`, `Niepoprawny kontrakt JSON`, `Niepełna ocena/tożsamość`, `Niepewny terminal receivera; bez ponowienia modelu`.
|
|
409
409
|
|
|
410
|
-
Missing/null/empty/unreadable `local_receiver.reason` or failure to identify an acceptance block: preserve state and tell the owner what is missing, without guessing. Do not change `details
|
|
410
|
+
Missing/null/empty/unreadable `local_receiver.reason` or failure to identify an acceptance block: preserve state and tell the owner what is missing, without guessing. Do not change `details` except for the agreed criteria patch above, or change, reset or delete `details.local_receiver` or files in `stateDir/receiver-jobs`, including claims, results and the archive; “zadanie n/3” is not a defect to fix, and the budget remains consumed after return. Independent acceptance belongs to B after PASS from the receiver.
|
|
411
411
|
|
|
412
412
|
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.
|
|
413
413
|
|
package/docs/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# robisie — od konta do odebranej karty (paczka 0.5.
|
|
1
|
+
# robisie — od konta do odebranej karty (paczka 0.5.20) <!-- 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
|
|
|
@@ -452,9 +452,9 @@ Właściciel projektu może w panelu: Dashboard → Planer → karta → Etap wy
|
|
|
452
452
|
|
|
453
453
|
Karta w etapie „Zablokowane” czeka na decyzję właściciela. Ochrona zakresu jest celowa: klucz roboczy A (worker) nie zamknie karty — próba ustawienia `done` kluczem A kończy się odmową 403. `done` jest zarezerwowane dla odbioru wyniku z dowodem, nie do zwalniania zakresu. Nie rozszerzaj klucza A ani nie zmieniaj ról, żeby obejść odmowę.
|
|
454
454
|
|
|
455
|
-
**Powrót tej samej dostawy do odbioru:** najpierw asystent odczytuje całą kartę po jej ID przez `get_task({id, include:[], fullDetails:true})` i rozpoznaje blokadę odbioru z `details.local_receiver.reason`. Numer kryterium i FAIL/BRAK-DOWODU, np. `Error: 0: FAIL: …`, to ważna odmowa; sam powrót nie zmienia oceny i nie daje nowej oceny modelu. Inny czytelny powód blokady odbioru oznacza brak ważnej oceny:
|
|
455
|
+
**Powrót tej samej dostawy do odbioru:** najpierw asystent odczytuje całą kartę po jej ID przez `get_task({id, include:[], fullDetails:true})` i rozpoznaje blokadę odbioru z `details.local_receiver.reason`. Numer kryterium i FAIL/BRAK-DOWODU, np. `Error: 0: FAIL: …`, to ważna odmowa; sam powrót nie zmienia oceny i nie daje nowej oceny modelu. Po ważnej odmowie uzgodniona poprawka kryteriów albo nowe rzeczywiste użycie pozwala na powrót i jedną nową ocenę; samo powtórzenie prośby nic nie daje. Po uzgodnieniu poprawki dopuszczalny jest wyłącznie `detailsPatch` zawierający tylko `done_when` i `effect_check`, nigdy pełne `details`; po poprawce odczytaj ponownie całą kartę. Pozostałe pola szczegółów pozostają niezmienione. Inny czytelny powód blokady odbioru oznacza brak ważnej oceny: najpierw usuń nazwaną przyczynę. W obu przypadkach po pełnym odczycie i na prośbę właściciela asystent A wykonuje `update_task({id, status: "in_review"})` — wyłącznie `blocked → in_review` — a następnie ponownie odczytuje całe to samo ID, sprawdzając status i niezmienione szczegóły. Następny takt sprawdza od razu, bez `ready` i nowego Workera. Dotyczy to także czytelnych historycznych powodów: `…; zadanie 3/3; sprawdzający niedostępny / nie oddał czytelnej oceny`, `Cytat nie odpowiada dowodowi/ID`, `Niepoprawny kontrakt JSON`, `Niepełna ocena/tożsamość`, `Niepewny terminal receivera; bez ponowienia modelu`.
|
|
456
456
|
|
|
457
|
-
Brak/null/pusty/nieczytelny `local_receiver.reason` albo brak rozpoznania blokady odbioru: zachowaj stan i zgłoś brak właścicielowi, bez zgadywania. Nie zmieniaj `details
|
|
457
|
+
Brak/null/pusty/nieczytelny `local_receiver.reason` albo brak rozpoznania blokady odbioru: zachowaj stan i zgłoś brak właścicielowi, bez zgadywania. Nie zmieniaj `details` poza powyższą uzgodnioną poprawką, nie zmieniaj, nie zeruj ani nie usuwaj `details.local_receiver` i plików `stateDir/receiver-jobs`, w tym claimów, wyników i archiwum; „zadanie n/3” nie jest usterką do naprawienia, a budżet po powrocie pozostaje wykorzystany. Niezależny odbiór należy do B po PASS receivera.
|
|
458
458
|
|
|
459
459
|
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.
|
|
460
460
|
|
package/package.json
CHANGED
package/roles/ceo-client.md
CHANGED
|
@@ -87,7 +87,7 @@ Before every `create_task`, call `get_board` for the selected project. Then call
|
|
|
87
87
|
|
|
88
88
|
- If an open card already covers the same outcome, extend the existing card instead of creating a duplicate only when it is `draft` or `ready`. Read its full details first, preserve every unrelated field, update the complete details deliberately, and use `move_task` only when the plan order must change.
|
|
89
89
|
- If the matching card is `in_progress`, `in_review`, or `delivered`, do not mutate its scope or evidence. Tell the operator that the outcome is already active. If the request adds genuinely separate value, wait until the operator agrees, then create a separate `draft` follow-up; otherwise keep the existing card and create nothing.
|
|
90
|
-
- If the matching card is `blocked`, do not mutate it and do not duplicate its outcome, except for the
|
|
90
|
+
- If the matching card is `blocked`, do not mutate it and do not duplicate its outcome, except for the bounded local receiver return below. Report the concrete obstacle and coordinate its resolution with the operator. Only if the operator confirms genuinely distinct work may you create a separate `draft` follow-up.
|
|
91
91
|
- Reuse a suitable existing track. An existing broad work track is suitable for a single outcome; never create a new track merely to repeat the card title. If the operator identifies a suitable existing place, use it. Use `create_track` only when no existing track can hold the plan.
|
|
92
92
|
- Create new work as `draft`. Re-read each created card before promotion.
|
|
93
93
|
- Inspect any `similarOpenCards` warning. If it may identify a duplicate, stop, compare both cards, and do not promote the new card until the overlap is resolved.
|
|
@@ -99,9 +99,9 @@ Before every `create_task`, call `get_board` for the selected project. Then call
|
|
|
99
99
|
|
|
100
100
|
This is the only exception for a `blocked` card: after a full read with `get_task({id, include:[], fullDetails:true})`, and only on the owner's explicit request, return the same delivery through `update_task({id, status: "in_review"})` (`blocked → in_review`, no other fields), then perform a full read-back of the same id to verify status and unchanged details; the next engine tick checks immediately without `ready` or a new Worker.
|
|
101
101
|
|
|
102
|
-
First identify a local acceptance block from the full card and `details.local_receiver.reason`: if the reason is missing, null, empty, or unreadable, or the block cannot be identified as local acceptance, leave the card unchanged and report what is missing; never guess or repair the data. A criterion number with FAIL/BRAK-DOWODU (for example `Error: 0: FAIL: …`) is a valid refusal: returning status alone does not obtain a new assessment, so report it instead of promising another review. Another readable local acceptance block means no valid assessment: return only after resolving its named cause, including readable historical reasons on the same terms as current ones: `…; zadanie 3/3; sprawdzający niedostępny / nie oddał czytelnej oceny`, `Cytat nie odpowiada dowodowi/ID`, `Niepoprawny kontrakt JSON`, `Niepełna ocena/tożsamość`, `Niepewny terminal receivera; bez ponowienia modelu`.
|
|
102
|
+
First identify a local acceptance block from the full card and `details.local_receiver.reason`: if the reason is missing, null, empty, or unreadable, or the block cannot be identified as local acceptance, leave the card unchanged and report what is missing; never guess or repair the data. A criterion number with FAIL/BRAK-DOWODU (for example `Error: 0: FAIL: …`) is a valid refusal: returning status alone does not obtain a new assessment, so report it instead of promising another review. After a valid refusal, an agreed criteria correction or new real use allows return and one new assessment; repeating the request alone gains nothing. For an agreed correction, allow only `detailsPatch` containing only `done_when` and `effect_check`, never full `details`; read back the full card after the patch and before the status-only return above. Every other details field remains unchanged. Another readable local acceptance block means no valid assessment: return only after resolving its named cause, including readable historical reasons on the same terms as current ones: `…; zadanie 3/3; sprawdzający niedostępny / nie oddał czytelnej oceny`, `Cytat nie odpowiada dowodowi/ID`, `Niepoprawny kontrakt JSON`, `Niepełna ocena/tożsamość`, `Niepewny terminal receivera; bez ponowienia modelu`.
|
|
103
103
|
|
|
104
|
-
Never change `details
|
|
104
|
+
Never change `details` except for the agreed criteria patch above, or change, reset, or delete `details.local_receiver` or any files in `stateDir/receiver-jobs`; preserve claims, results, archives and the budget, since `zadanie n/3` is not a defect to fix. Never duplicate the delivery, mutate active scope outside this exception, review or accept it yourself; independent acceptance still belongs to B after receiver PASS.
|
|
105
105
|
|
|
106
106
|
Return 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 leave the state unchanged and give the owner the literal reason.
|
|
107
107
|
|