robisie 0.6.6 → 0.6.7

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.6.7](https://github.com/chuppa12/robisie-app/compare/client-v0.6.6...client-v0.6.7) (2026-11-18)
4
+
5
+
6
+ ### Factory Cards
7
+
8
+ * Aktualizacja klienta na Linuksie z systemd nie pada: jednostki paczki zapisują WorkingDirectory jako gołą ścieżkę bez cudzysłowu ([34d7ff1](https://github.com/chuppa12/robisie-app/commit/34d7ff10a9ad134361acb4d18c5e6393fc4cd336))
9
+ * praca workera task-mwm1tzx7-ktsndv (auto-commit) ([a2615e4](https://github.com/chuppa12/robisie-app/commit/a2615e46ef0cfb686614a3c2e65bc579754c9d36))
10
+ * praca workera task-mwm8o0mx-9chgsf (auto-commit) ([4efe2e2](https://github.com/chuppa12/robisie-app/commit/4efe2e26bce66c592e96eb4c890adf8e517dd1d8))
11
+
3
12
  ## [0.6.6](https://github.com/chuppa12/robisie-app/compare/client-v0.6.5...client-v0.6.6) (2026-11-18)
4
13
 
5
14
 
@@ -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.6";
3
+ export declare const PACKAGE_VERSION = "0.6.7";
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.6"; // x-release-please-version
3
+ export const PACKAGE_VERSION = "0.6.7"; // 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":"d7a8316d16701e715d7f725bfbfed210e0581dc4","dirty":false}
1
+ {"schema":1,"sha":"ecab7848938aefc2798695cefa13f0354f424afe","dirty":false}
@@ -1725,6 +1725,6 @@
1725
1725
  "status": 0,
1726
1726
  "signal": null,
1727
1727
  "stdout": "v24.3.0\n",
1728
- "stderr": "(node:24508) 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:24538) 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.6";
37655
+ PACKAGE_VERSION = "0.6.7";
37656
37656
  SUPPORTED_CONTRACT_MAJOR = 1;
37657
37657
  DEFAULT_ORIGIN = "https://robisie.app";
37658
37658
  MCP_SERVER_NAME = "robisie";
@@ -50453,9 +50453,9 @@ var init_lib = __esm({
50453
50453
  STALL_EXCLUDED_STATUSES = ["ready", "delivered", "done", "draft"];
50454
50454
  RULING_VERDICTS = ["UCHYLONE", "PODTRZYMANE"];
50455
50455
  RULING_TEXT_FIELDS = ["znalezisko", "powod", "at"];
50456
- CODEX_DEFAULT_MODEL = "gpt-6-sol";
50456
+ CODEX_DEFAULT_MODEL = "gpt-6.2-sol";
50457
50457
  CODEX_DEFAULT_EFFORT = "high";
50458
- CODEX_STRATEGIC_MODEL = "gpt-6-astra";
50458
+ CODEX_STRATEGIC_MODEL = "gpt-6.2-astra";
50459
50459
  EFFORTS = /^(none|minimal|low|medium|high|xhigh)$/;
50460
50460
  MODEL_RE = /^[A-Za-z0-9._-]{3,40}$/;
50461
50461
  CI_DISK_HOLD_STEP = "Robisie disk HOLD v1";
@@ -94762,7 +94762,7 @@ function runReview(input) {
94762
94762
  args.push("--effort", effort);
94763
94763
  }
94764
94764
  } else {
94765
- model = policy ? "gpt-6-astra" : "gpt-6-sol";
94765
+ model = policy ? "gpt-6.2-astra" : "gpt-6.2-sol";
94766
94766
  effort = solEffort;
94767
94767
  if (unknownEffort) fallbackReason = `${fallbackReason ? `${fallbackReason}; ` : ""}effort UNKNOWN: conservative high`;
94768
94768
  bin = "codex";
@@ -805,12 +805,14 @@ try {
805
805
  const unitEnv = Object.entries({ ...(host ? Object.fromEntries(Object.entries(env).filter(([key]) => /^HU_(?:HOME|MODE|LASTTICK|SK|REPO|APP|PLIST|CHECKOUT|LOG|STATE|NPM|ALARM)$/.test(key))) : {}), HOME: ctx.home, PATH: ctx.env.PATH, CODEX_HOME: ctx.env.CODEX_HOME, XDG_CONFIG_HOME: ctx.env.XDG_CONFIG_HOME })
806
806
  .filter((entry) => entry[1] !== undefined);
807
807
  let hostUpdateUnit;
808
+ if (ctx.platform === 'linux' && (!isAbsolute(ctx.cwd) || /[\n\r]/.test(ctx.cwd)))
809
+ refuse('WorkingDirectory wymaga absolutnej ścieżki bez LF i CR.');
808
810
  for (const [name, args] of [['factory', factoryArgs], ['update', updateArgs]]) {
809
811
  if (host && name === 'factory')
810
812
  continue;
811
813
  if (ctx.platform === 'linux') {
812
814
  // Tick and update own their deadlines, including the separate rollback health window.
813
- writeManaged(join(unitDir, `robisie-${name}.service`), `# robisie:update-managed\n[Unit]\nDescription=robisie ${name}\n[Service]\nType=oneshot\nTimeoutStartSec=infinity\n${unitEnv.map(([key, value]) => `Environment=${systemArg(`${key}=${value}`)}\n`).join('')}WorkingDirectory=${systemArg(ctx.cwd)}\nExecStart=${[runtime.node, launcher, ...args].map(arg => systemArg(arg, true)).join(' ')}\n`);
815
+ writeManaged(join(unitDir, `robisie-${name}.service`), `# robisie:update-managed\n[Unit]\nDescription=robisie ${name}\n[Service]\nType=oneshot\nTimeoutStartSec=infinity\n${unitEnv.map(([key, value]) => `Environment=${systemArg(`${key}=${value}`)}\n`).join('')}WorkingDirectory=${ctx.cwd.replace(/%/g, '%%')}\nExecStart=${[runtime.node, launcher, ...args].map(arg => systemArg(arg, true)).join(' ')}\n`);
814
816
  writeManaged(join(unitDir, `robisie-${name}.timer`), `# robisie:update-managed\n[Unit]\nDescription=robisie ${name}\n[Timer]\nOnBootSec=120s\nOnUnitInactiveSec=120s\nUnit=robisie-${name}.service\n[Install]\nWantedBy=timers.target\n`);
815
817
  }
816
818
  else {
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.6 \u2014 plik zarz\u0105dzany przez `npx robisie`; `npx robisie uninstall` go usunie -->";
20
+ export declare const MANAGED_LINE = "<!-- robisie:managed 0.6.7 \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.6) <!-- x-release-please-version -->
1
+ # robisie — from account to accepted card (package 0.6.7) <!-- 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
 
@@ -594,7 +594,7 @@ Once the tgz and selected copies are ready, update. After login, init and doctor
594
594
 
595
595
  The normal update is `npx robisie update` (host: add `--engine-config /absolute/path/robisie.config.json`). The first interactive invocation visibly asks for consent and saves `update={consentedAt, enabled:true}` while preserving other configuration fields. Without consent or with `enabled:false`, background invocations exit 0 without changes. After consent, launchd `com.robisie.update` or `robisie-update.timer` runs the same command every 120 seconds; factory runs `factory run --once` on its own 120-second timer. The package prepares an exact npm version in a separate directory, verifies its build-id and integrity, then switches its private current pointer. Health requires two distinct fresh OK ticks with the expected loaded build-id within 1200 seconds (polling every 20 seconds). Failure starts a separate 1200-second health window for the previous version; both confirmed and unconfirmed rollback exit nonzero. New work prevents switching or rollback. On the macOS host, the same command updates the package without board or DB access. It preserves the existing `com.robisie.maszynista` label, environment, logs and interval; it does not create a second factory clock. A fresh LAST-TICK with running Workers or an unknown execution count defers the switch. A private byte-for-byte mode backup and its SHA-256 protect the activation HOLD (`off`); the original mode must be restored with a matching hash. Failure restores the old service and package under the tick lock; real new work prevents an unsafe rollback and raises an alarm. After releasing HOLD, update observes the checkout for up to 480 seconds; the existing pinned activator performs the FF. Read the private audit and attempts in `<stateDir>/update/`; a failed preparation also records the version. To retry only after resolving the cause, remove that version’s one line from `attempts.jsonl`. Deferral is not a failed attempt; after 7200 seconds it records one alarm. `AUTO-UPDATE.off` in `HU_HOME` or the canonical host configuration directory stops host updates. The shared `auto-update.lock.d` and legacy `auto-update.state` also exclude the old updater; before a justified retry, reconcile both attempt registries. Host notifications use the existing CEO inbox and CTO surface; missing delivery is recorded in the audit. Keep the private backup and separate archive restore below. Restart the assistant after roles refresh.
596
596
 
597
- For the first upgrade from robisie ≤0.5.48, run `npm install robisie@latest` manually in the installation, then `npx robisie update` (on the host, include its `--engine-config`). Later upgrades use the same update command. Live host activation and retirement of the old updater require separate operator acceptance.
597
+ For the first upgrade from robisie ≤0.5.48, or on Linux with systemd also from robisie ≤0.6.4 (the older updater writes units that systemd rejects), run `npm install robisie@latest` manually in the installation, then `npx robisie update` (on the host, include its `--engine-config`). Later upgrades use the same update command. Live host activation and retirement of the old updater require separate operator acceptance.
598
598
 
599
599
  The update needs Node.js 24 or newer on the PATH of the shell that runs the command and of the service; check `node -v` and `command -v node`, because an older Node on the PATH ends the command with a version message.
600
600
 
package/docs/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # robisie — od konta do odebranej karty (paczka 0.6.6) <!-- x-release-please-version -->
1
+ # robisie — od konta do odebranej karty (paczka 0.6.7) <!-- 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
 
@@ -642,7 +642,7 @@ Kopia i odtworzenie obejmują oba pliki key i review-key z prywatnymi uprawnieni
642
642
 
643
643
  Zwykła aktualizacja to `npx robisie update` (host: dodaj `--engine-config /absolutna/sciezka/robisie.config.json`). Pierwsze interaktywne wywołanie pyta jawnie o zgodę i zapisuje `update={consentedAt, enabled:true}`, zachowując pozostałe pola konfiguracji. Bez zgody lub przy `enabled:false` wywołanie w tle kończy się kodem 0 bez zmian. Po zgodzie launchd `com.robisie.update` albo `robisie-update.timer` uruchamia tę samą komendę co 120 sekund; fabryka wykonuje `factory run --once` na osobnym cyklu 120 sekund. Paczka przygotowuje dokładną wersję npm w osobnym katalogu, sprawdza build-id i integralność, potem wymienia prywatny wskaźnik current. Zdrowie wymaga dwóch różnych świeżych taktów OK z loaded oczekiwanego build-id w 1200 sekund, odczytywanych co 20 sekund. Przy błędzie powrót ma osobne okno 1200 sekund dla starego wydania; zarówno potwierdzony, jak i niepotwierdzony powrót ma kod niezerowy. Nowa praca blokuje przełączenie lub powrót. Na hoście macOS ta sama komenda aktualizuje paczkę bez dostępu do tablicy i DB. Zachowuje istniejący label `com.robisie.maszynista`, środowisko, logi i interwał; nie tworzy drugiego zegara fabryki. Świeży LAST-TICK z pracującym Workerem albo nieznanym licznikiem wykonań odracza switch. Prywatna kopia bajtów mode i jej SHA-256 chronią HOLD aktywacji (`off`); oryginalny mode musi wrócić ze zgodnym hashem. Awaria odtwarza starą usługę i paczkę pod blokadą taktu; nowa rzeczywista praca powstrzymuje niebezpieczny powrót i wywołuje alarm. Po zdjęciu HOLD update obserwuje checkout do 480 sekund; FF wykonuje istniejący pinned aktywator. Prywatny audyt i próby znajdziesz w `<stateDir>/update/`; błąd przygotowania też zapisuje wersję. Aby ponowić po wyjaśnieniu przyczyny, usuń jedną linię tej wersji z `attempts.jsonl`. Odroczenie nie oznacza nieudanej próby; po 7200 sekund zapisuje jeden alarm. `AUTO-UPDATE.off` w HU_HOME albo katalogu kanonicznego configu hosta zatrzymuje hostowe aktualizacje. Wspólne `auto-update.lock.d` i legacy `auto-update.state` wykluczają też stary aktualizator; przed uzasadnionym ponowieniem rozlicz oba rejestry prób. Powiadomienia hosta korzystają z istniejącej skrzynki CEO i adresu CTO; brak dostawy trafia do audytu. Zachowaj prywatną kopię i osobny awaryjny restore archiwum. Po odświeżeniu ról uruchom ponownie asystenta.
644
644
 
645
- Pierwsze przejście z robisie ≤0.5.48 wykonaj ręcznie: `npm install robisie@latest` w instalacji, potem `npx robisie update` (na hoście z jego `--engine-config`). Kolejne wydania obsługuje ta sama komenda update. Aktywacja żywego hosta i wyłączenie starego aktualizatora wymagają osobnego odbioru operatora.
645
+ Pierwsze przejście z robisie ≤0.5.48, a na Linuxie z systemd także z robisie ≤0.6.4 (starszy aktualizator zapisuje jednostki nieprzyjmowane przez systemd), wykonaj ręcznie: `npm install robisie@latest` w instalacji, potem `npx robisie update` (na hoście z jego `--engine-config`). Kolejne wydania obsługuje ta sama komenda update. Aktywacja żywego hosta i wyłączenie starego aktualizatora wymagają osobnego odbioru operatora.
646
646
 
647
647
  Aktualizacja wymaga Node.js 24 lub nowszego na PATH powłoki, w której uruchamiasz komendę, i usługi; sprawdź `node -v` i `command -v node`, bo starszy Node na PATH kończy komendę komunikatem o wersji.
648
648
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robisie",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
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",