robisie 0.5.32 → 0.5.34
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 +17 -0
- package/README.md +2 -2
- package/dist/cli.js +5 -3
- 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 +5 -5
- package/dist/engine/tick.cjs +69 -51
- package/dist/roles.d.ts +1 -1
- package/docs/README.en.md +5 -5
- package/docs/README.md +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Historia zmian klienta / Client changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.34](https://github.com/chuppa12/robisie-app/compare/client-v0.5.33...client-v0.5.34) (2026-11-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Factory Cards
|
|
7
|
+
|
|
8
|
+
* praca workera task-mwgly51e-yminuq (auto-commit) ([1876d1c](https://github.com/chuppa12/robisie-app/commit/1876d1cccb14b28ce9d14a04f9e6b9099bb7a022))
|
|
9
|
+
* praca workera task-mwgmjwpl-zl7hif (auto-commit) ([7bc852e](https://github.com/chuppa12/robisie-app/commit/7bc852ef008748d23214222ad70cd320f33ed15c))
|
|
10
|
+
|
|
11
|
+
## [0.5.33](https://github.com/chuppa12/robisie-app/compare/client-v0.5.32...client-v0.5.33) (2026-11-14)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Factory Cards
|
|
15
|
+
|
|
16
|
+
* praca workera task-mwgaxurs-ybti54 (auto-commit) ([b3ceea6](https://github.com/chuppa12/robisie-app/commit/b3ceea6c8316e9cea8111b1e389bed50d725731a))
|
|
17
|
+
* praca workera task-mwgiflw2-ba77kz (auto-commit) ([5901a86](https://github.com/chuppa12/robisie-app/commit/5901a86e4ed2649a0dbee2e4fbff5bf7e59fd3b0))
|
|
18
|
+
* praca workera worker-b6d6321a-0252-4458-ae1a-8b28bc09763a (auto-commit) ([6cb07f4](https://github.com/chuppa12/robisie-app/commit/6cb07f426d1428acad1a9dee9b05d812d855fa85))
|
|
19
|
+
|
|
3
20
|
## [0.5.32](https://github.com/chuppa12/robisie-app/compare/client-v0.5.31...client-v0.5.32) (2026-11-14)
|
|
4
21
|
|
|
5
22
|
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ W katalogu projektu z konfiguracją silnika uruchom `npx robisie init`, potem `n
|
|
|
4
4
|
|
|
5
5
|
Przewodniki: [PL — konto → odbiór → odinstalowanie](docs/README.md) · [EN — account → acceptance → uninstall](docs/README.en.md). Przygotuj Node.js 24+ (wydanie użyte przy sprawdzeniach: 24.3.0), npm, program jednego dostawcy AI oraz pusty katalog; silnik w paczce (`dist/engine/tick.cjs`) dla klienta wymaga systemu Linux lub macOS. Jawny host Robisie (`mode: "host"`, `pr|delivered`) obsługuje także macOS; konfigurację i granice opisuje ENGINE-CONFIG. Nie potrzebujesz strony ani własnego pliku `package.json` — utworzy go poniższy krok Node.js przed instalacją. Zacznij od konta i projektu w panelu. Projekt w panelu i katalog na dysku to osobne rzeczy; CEO wymaga dokładnie jednego projektu z `list_projects`.
|
|
6
6
|
|
|
7
|
-
Konto i klucz są potrzebne do init i pracy ról.
|
|
7
|
+
Konto i klucz są potrzebne do init i pracy ról. `npx robisie doctor --engine-config ./robisie.config.json` przy jawnym `engine.mode:host` sprawdza offline strukturę konfiguracji i wejścia instalacji lokalnej, bez kontroli CLI. Przy `engine.mode:client` albo braku pola `engine.mode`, po walidacji wejść i przy dostępnym programie, sprawdza obecność CLI oraz logowanie: `codex login status` i `grok models` (`grok models` wymaga sieci; Grok potwierdza logowanie tylko prawdopodobnie), a `claude auth status` wyłącznie przy `reviewer-client.provider: claude`. Brak programu nie pozwala sprawdzić logowania. Żaden tryb nie wykonuje prawdziwego zadania AI ani komend silnika i nie potwierdza UUID projektu, repo ani modeli. Lokalne przewodniki są w `node_modules/robisie/docs/`.
|
|
8
8
|
|
|
9
9
|
Zamiast przepisywać klucze możesz uruchomić `npx robisie login`: polecenie wypisuje kod i link, Ty albo Twój agent zatwierdzacie parę kluczy A i B w przeglądarce zalogowanej do robisie.app, a klucze trafiają prosto do plików instalacji — w wersji dla testerów agent i właściciel na tym komputerze to jedna strefa zaufania (agent ma technicznie dostęp także do klucza B).
|
|
10
10
|
|
|
@@ -241,7 +241,7 @@ Zapisz konfigurację projektu i osobny rejestr wykonania w `robisie.config.json`
|
|
|
241
241
|
|
|
242
242
|
Uruchom `npx robisie doctor --engine-config ./robisie.config.json` (także `--engine-config=./robisie.config.json`). Ścieżka pliku jest względem bieżącego katalogu, a `repo` i `stateDir` względem pliku konfiguracji. Role projektu `coordinator/owner/planner/advisor` zachowują domyślne nazwy; opcjonalne pole `roles` służy ich nazwom i odmianie, osobno od `roleRegistry`.
|
|
243
243
|
|
|
244
|
-
Kod 0 oznacza poprawną strukturę konfiguracji i dokładnie cztery kompletne przypisania wykonania; raport pokazuje rolę → imię / dostawcę / model / wysiłek. Kod 1 wskazuje plik, błędne pole (jeśli dotyczy) i następny krok.
|
|
244
|
+
Kod 0 oznacza poprawną strukturę konfiguracji i dokładnie cztery kompletne przypisania wykonania; raport pokazuje rolę → imię / dostawcę / model / wysiłek. Kod 1 wskazuje plik, błędne pole (jeśli dotyczy) i następny krok. Jawny `engine.mode:host` sprawdza strukturę i wejścia offline, bez kontroli CLI. `engine.mode:client` albo brak pola `engine.mode`, po walidacji wejść i przy dostępnym programie, sprawdza obecność CLI oraz logowanie: `codex login status` i `grok models` (`grok models` wymaga sieci; Grok potwierdza logowanie tylko prawdopodobnie), a `claude auth status` wyłącznie przy `reviewer-client.provider: claude`. Brak programu nie pozwala sprawdzić logowania. Żaden tryb nie wykonuje prawdziwego zadania AI, komend silnika ani zapisu plików i nie potwierdza UUID projektu, repo ani modeli. Raport nadal stwierdza: „sprawdzono konfigurację; nie sprawdzono uruchomienia dostawców” — to brak prawdziwego zadania AI, nie brak sond CLI klienta. Zwykły `doctor` zachowuje dotychczasową diagnozę instalacji. Tryb nie wymaga klucza.
|
|
245
245
|
|
|
246
246
|
Silnik paczki — `dist/engine/tick.cjs` — jest odrębny od instalatora: `init`/`doctor`/`uninstall` go nie uruchamiają. Uruchamia go `npx robisie factory run --engine-config ./robisie.config.json` (flaga `--once` wykonuje jeden takt) na Linuxie lub macOS dla klienta (`local`) oraz jawnego hosta Robisie (`mode: "host"`, `pr|delivered`), z Node.js 24+; starszy Node, np. 22, otrzymuje odmowę przed `init`, `doctor` i `factory run`, a pozostałe systemy otrzymują kod 2 i komunikat. Pełny opis pól konfiguracji: `node_modules/robisie/docs/ENGINE-CONFIG.md`. Każdy niezerowy wynik taktu zatrzymuje nadzorcę („Fabryka zatrzymana: …”) z jedną linią diagnozy na stderr; kod 2 to eskalacja (np. brak klucza B po receiver PASS, odmowa testera, STOP odbioru) wymagająca rozstrzygnięcia przed ponowieniem, a kod 78 wskazuje konfigurację do poprawy.
|
|
247
247
|
|
package/dist/cli.js
CHANGED
|
@@ -48,10 +48,12 @@ Opcje usage:
|
|
|
48
48
|
--input=<plik.json> ta sama składnia; bez sieci i kluczy, --help nie czyta pliku
|
|
49
49
|
|
|
50
50
|
Opcje doctor:
|
|
51
|
-
--engine-config <path>
|
|
52
|
-
|
|
51
|
+
--engine-config <path> lub --engine-config=<path> plik konfiguracji; oba zapisy są równoważne
|
|
52
|
+
Jawny engine.mode:host: offline sprawdza strukturę konfiguracji i wejścia, bez kontroli CLI.
|
|
53
|
+
engine.mode:client albo brak pola engine.mode: obecność CLI i logowanie; sonda po walidacji wejść, tylko przy dostępnym programie.
|
|
53
54
|
Przykład: npx robisie doctor --engine-config ./robisie.config.json
|
|
54
|
-
|
|
55
|
+
Klient: codex login status i grok models (grok models wymaga sieci; Grok potwierdza logowanie tylko prawdopodobnie); claude auth status wyłącznie przy reviewer-client.provider: claude. Brak programu nie pozwala sprawdzić logowania.
|
|
56
|
+
Żaden tryb nie wykonuje prawdziwego zadania AI ani komend silnika; nie sprawdza UUID projektu, repo ani dostępności modeli. Bez klucza.
|
|
55
57
|
Role wykonania w tym pliku są osobne od mapy ceo/builder/quality ustawianej przez init.
|
|
56
58
|
Przewodniki i przykłady: node_modules/robisie/docs/README.md oraz README.en.md w tym samym katalogu.
|
|
57
59
|
|
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.34";
|
|
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.34"; // 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":"5ca24f7e387c473b414abd6c10161ff2f5df5b03","dirty":false}
|
|
@@ -1673,14 +1673,14 @@
|
|
|
1673
1673
|
"staticOperations": {
|
|
1674
1674
|
"beforePreflight": {
|
|
1675
1675
|
"module": "maszynista/tick.ts",
|
|
1676
|
-
"startLine":
|
|
1677
|
-
"endLine":
|
|
1676
|
+
"startLine": 9807,
|
|
1677
|
+
"endLine": 9920,
|
|
1678
1678
|
"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();"
|
|
1679
1679
|
},
|
|
1680
1680
|
"finalization": {
|
|
1681
1681
|
"module": "maszynista/tick.ts",
|
|
1682
|
-
"startLine":
|
|
1683
|
-
"endLine":
|
|
1682
|
+
"startLine": 10211,
|
|
1683
|
+
"endLine": 10263,
|
|
1684
1684
|
"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] ?? \"\"))) {"
|
|
1685
1685
|
},
|
|
1686
1686
|
"refreshTickReport": {
|
|
@@ -1706,6 +1706,6 @@
|
|
|
1706
1706
|
"status": 0,
|
|
1707
1707
|
"signal": null,
|
|
1708
1708
|
"stdout": "v24.3.0\n",
|
|
1709
|
-
"stderr": "(node:
|
|
1709
|
+
"stderr": "(node:18241) 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"
|
|
1710
1710
|
}
|
|
1711
1711
|
}
|
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.34";
|
|
37632
37632
|
SUPPORTED_CONTRACT_MAJOR = 1;
|
|
37633
37633
|
DEFAULT_ORIGIN = "https://robisie.app";
|
|
37634
37634
|
MCP_SERVER_NAME = "robisie";
|
|
@@ -319284,7 +319284,7 @@ async function land(s, uid, card, a, sha5, diskDependencies, landing = { availab
|
|
|
319284
319284
|
const runIds = [...new Set(failed2.map((f) => f.url.match(/\/actions\/runs\/(\d+)/)?.[1]).filter((x) => Boolean(x)))];
|
|
319285
319285
|
const retry = asRecord3(asRecord3(card.details?.maszynista).ciRetry);
|
|
319286
319286
|
const failedJobs = failedJobSteps(a.worktree, repository, failed2, sha5);
|
|
319287
|
-
|
|
319287
|
+
let klass = classifyCiFailure(failedJobs);
|
|
319288
319288
|
const diskMarker = failedJobs.some(hasCiDiskHold);
|
|
319289
319289
|
if (klass === "disk" || diskRecoveryPending && klass !== "code") {
|
|
319290
319290
|
if (retry.sha === sha5 && retry.reason === "disk" && retry.startedAt === failed2[0].startedAt && Date.now() - Date.parse(String(retry.at)) < 5 * 6e4) {
|
|
@@ -319350,6 +319350,73 @@ async function land(s, uid, card, a, sha5, diskDependencies, landing = { availab
|
|
|
319350
319350
|
lastTick(s, "landing", note, false, card.id);
|
|
319351
319351
|
return;
|
|
319352
319352
|
}
|
|
319353
|
+
const onlyUnitTestFailures = failedJobs.every((job) => {
|
|
319354
|
+
const failedSteps = job.steps.filter((step) => step.conclusion === "failure");
|
|
319355
|
+
return !job.evidenceMissing && failedSteps.length > 0 && failedSteps.every((step) => step.name.startsWith("Unit tests"));
|
|
319356
|
+
});
|
|
319357
|
+
const interruptedCandidate = klass === "code" && !diskMarker && onlyUnitTestFailures && runIds.length > 0 && failed2.every((check5) => check5.url.startsWith(`https://github.com/${repository}/actions/runs/`)) && failedJobs.every((job) => failed2.filter((check5) => check5.name === job.name).length === 1 && job.steps.every((step) => step.name && step.conclusion && (step.conclusion !== "failure" || /^Unit tests(?:$| \()/.test(step.name))));
|
|
319358
|
+
let interruptedLogs = interruptedCandidate;
|
|
319359
|
+
const tails = [];
|
|
319360
|
+
const tests = /* @__PURE__ */ new Set();
|
|
319361
|
+
const testNames = {};
|
|
319362
|
+
let logReadFailed = false;
|
|
319363
|
+
if (Date.now() - Date.parse(String(failed2[0].startedAt)) < 45 * 6e4) {
|
|
319364
|
+
for (const runId2 of runIds) {
|
|
319365
|
+
let status2;
|
|
319366
|
+
try {
|
|
319367
|
+
status2 = (0, import_node_child_process20.execFileSync)("gh", ["run", "view", runId2, "--repo", repository, "--json", "status", "--jq", ".status"], {
|
|
319368
|
+
cwd: a.worktree,
|
|
319369
|
+
encoding: "utf-8",
|
|
319370
|
+
env: hostEnv(),
|
|
319371
|
+
timeout: remainingTickMs(6e4)
|
|
319372
|
+
}).trim();
|
|
319373
|
+
} catch (error48) {
|
|
319374
|
+
log2(`gh run view ${runId2} --json status: ${errorText5(error48)}`);
|
|
319375
|
+
break;
|
|
319376
|
+
}
|
|
319377
|
+
if (status2 !== "completed") {
|
|
319378
|
+
lastTick(s, "landing", `CI: czekam na koniec runu ${runId2} (log pad\u0142ych test\xF3w dost\u0119pny dopiero po zako\u0144czeniu ca\u0142ego runu)`, false, card.id);
|
|
319379
|
+
return;
|
|
319380
|
+
}
|
|
319381
|
+
}
|
|
319382
|
+
}
|
|
319383
|
+
if (klass !== "infra" && klass !== "host" || diskMarker) {
|
|
319384
|
+
for (const runId2 of runIds) {
|
|
319385
|
+
try {
|
|
319386
|
+
const raw = (0, import_node_child_process20.execFileSync)("gh", ["run", "view", runId2, "--log-failed", "--repo", repository], {
|
|
319387
|
+
cwd: a.worktree,
|
|
319388
|
+
encoding: "utf-8",
|
|
319389
|
+
env: hostEnv(),
|
|
319390
|
+
timeout: remainingTickMs(6e4),
|
|
319391
|
+
maxBuffer: 20 * 1024 * 1024
|
|
319392
|
+
});
|
|
319393
|
+
for (const file3 of failedTestFiles(raw)) tests.add(file3);
|
|
319394
|
+
for (const line2 of raw.replace(/\x1b\[[0-9;]*m/g, "").split("\n")) {
|
|
319395
|
+
const match2 = line2.match(/\bFAIL\s+(\S+\.(?:test|spec)\.(?:ts|tsx|mts|mjs|js))\s+>\s+(.+)$/);
|
|
319396
|
+
if (match2) (testNames[match2[1]] ??= []).push(match2[2]);
|
|
319397
|
+
}
|
|
319398
|
+
if (interruptedCandidate) {
|
|
319399
|
+
const runJobs = failedJobs.filter((job) => failed2.some((check5) => check5.name === job.name && check5.url.match(/\/actions\/runs\/(\d+)/)?.[1] === runId2));
|
|
319400
|
+
const unitSteps = runJobs.flatMap((job) => job.steps.filter((step) => step.conclusion === "failure").map((step) => ({ job: job.name, step: step.name })));
|
|
319401
|
+
const interrupted = unitSteps.length > 0 && unitSteps.every((source) => {
|
|
319402
|
+
const lines2 = raw.split(/\r?\n/).filter((line2) => {
|
|
319403
|
+
const prefix = line2.replace(/\x1b\[[0-9;]*[A-Za-z]/g, "").match(/^([^\t]*)\t([^\t]*)\t/);
|
|
319404
|
+
return prefix ? prefix[1] === source.job && prefix[2] === source.step : unitSteps.length === 1;
|
|
319405
|
+
}).join("\n");
|
|
319406
|
+
const full = normalizeCiLogTail(lines2, Infinity, Infinity);
|
|
319407
|
+
return /^[\t ]*RUN[\t ]+v\d+(?:\.\d+)+(?:[\t ]|$)/m.test(full) && !/^[\t ]*Test Files(?:[\t ]|$)/m.test(full);
|
|
319408
|
+
});
|
|
319409
|
+
interruptedLogs &&= interrupted;
|
|
319410
|
+
}
|
|
319411
|
+
const tail2 = normalizeCiLogTail(raw);
|
|
319412
|
+
if (tail2) tails.push({ runId: runId2, tail: tail2 });
|
|
319413
|
+
} catch (error48) {
|
|
319414
|
+
logReadFailed = true;
|
|
319415
|
+
log2(`gh run view ${runId2} --log-failed: ${errorText5(error48)}`);
|
|
319416
|
+
}
|
|
319417
|
+
}
|
|
319418
|
+
}
|
|
319419
|
+
if (interruptedLogs && !logReadFailed && tests.size === 0) klass = "infra";
|
|
319353
319420
|
if ((klass === "infra" || klass === "host") && !diskMarker) {
|
|
319354
319421
|
const label2 = klass === "infra" ? "INFRA" : "HOST";
|
|
319355
319422
|
if (runIds.length === 1 && retry.sha !== sha5 && retry.runId !== runIds[0]) {
|
|
@@ -319377,56 +319444,7 @@ async function land(s, uid, card, a, sha5, diskDependencies, landing = { availab
|
|
|
319377
319444
|
lastTick(s, "landing", note, false, card.id);
|
|
319378
319445
|
return;
|
|
319379
319446
|
}
|
|
319380
|
-
if (Date.now() - Date.parse(String(failed2[0].startedAt)) < 45 * 6e4) {
|
|
319381
|
-
for (const runId2 of runIds) {
|
|
319382
|
-
let status2;
|
|
319383
|
-
try {
|
|
319384
|
-
status2 = (0, import_node_child_process20.execFileSync)("gh", ["run", "view", runId2, "--repo", repository, "--json", "status", "--jq", ".status"], {
|
|
319385
|
-
cwd: a.worktree,
|
|
319386
|
-
encoding: "utf-8",
|
|
319387
|
-
env: hostEnv(),
|
|
319388
|
-
timeout: remainingTickMs(6e4)
|
|
319389
|
-
}).trim();
|
|
319390
|
-
} catch (error48) {
|
|
319391
|
-
log2(`gh run view ${runId2} --json status: ${errorText5(error48)}`);
|
|
319392
|
-
break;
|
|
319393
|
-
}
|
|
319394
|
-
if (status2 !== "completed") {
|
|
319395
|
-
lastTick(s, "landing", `CI: czekam na koniec runu ${runId2} (log pad\u0142ych test\xF3w dost\u0119pny dopiero po zako\u0144czeniu ca\u0142ego runu)`, false, card.id);
|
|
319396
|
-
return;
|
|
319397
|
-
}
|
|
319398
|
-
}
|
|
319399
|
-
}
|
|
319400
|
-
const tails = [];
|
|
319401
|
-
const tests = /* @__PURE__ */ new Set();
|
|
319402
|
-
const testNames = {};
|
|
319403
|
-
let logReadFailed = false;
|
|
319404
|
-
for (const runId2 of runIds) {
|
|
319405
|
-
try {
|
|
319406
|
-
const raw = (0, import_node_child_process20.execFileSync)("gh", ["run", "view", runId2, "--log-failed", "--repo", repository], {
|
|
319407
|
-
cwd: a.worktree,
|
|
319408
|
-
encoding: "utf-8",
|
|
319409
|
-
env: hostEnv(),
|
|
319410
|
-
timeout: remainingTickMs(6e4),
|
|
319411
|
-
maxBuffer: 20 * 1024 * 1024
|
|
319412
|
-
});
|
|
319413
|
-
for (const file3 of failedTestFiles(raw)) tests.add(file3);
|
|
319414
|
-
for (const line2 of raw.replace(/\x1b\[[0-9;]*m/g, "").split("\n")) {
|
|
319415
|
-
const match2 = line2.match(/\bFAIL\s+(\S+\.(?:test|spec)\.(?:ts|tsx|mts|mjs|js))\s+>\s+(.+)$/);
|
|
319416
|
-
if (match2) (testNames[match2[1]] ??= []).push(match2[2]);
|
|
319417
|
-
}
|
|
319418
|
-
const tail2 = normalizeCiLogTail(raw);
|
|
319419
|
-
if (tail2) tails.push({ runId: runId2, tail: tail2 });
|
|
319420
|
-
} catch (error48) {
|
|
319421
|
-
logReadFailed = true;
|
|
319422
|
-
log2(`gh run view ${runId2} --log-failed: ${errorText5(error48)}`);
|
|
319423
|
-
}
|
|
319424
|
-
}
|
|
319425
319447
|
let outsideDiff = false;
|
|
319426
|
-
const onlyUnitTestFailures = failedJobs.every((job) => {
|
|
319427
|
-
const failedSteps = job.steps.filter((step) => step.conclusion === "failure");
|
|
319428
|
-
return !job.evidenceMissing && failedSteps.length > 0 && failedSteps.every((step) => step.name.startsWith("Unit tests"));
|
|
319429
|
-
});
|
|
319430
319448
|
if (klass === "code" && onlyUnitTestFailures && !diskMarker && !logReadFailed && tests.size > 0) {
|
|
319431
319449
|
try {
|
|
319432
319450
|
const changed = git(["diff", "--name-only", `${engineBaseRef()}...${sha5}`], a.worktree).split("\n").filter(Boolean);
|
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.34 \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.34) <!-- 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
|
|
|
@@ -7,7 +7,7 @@ Polski: [README.md](README.md).
|
|
|
7
7
|
<!-- sekcja: dostepnosc -->
|
|
8
8
|
## Availability
|
|
9
9
|
|
|
10
|
-
An account and key are needed for init and the roles.
|
|
10
|
+
An account and key are needed for init and the roles. `npx robisie doctor --engine-config ./robisie.config.json` with explicit `engine.mode:host` checks structure and local installation inputs offline, without CLI checks. With `engine.mode:client` or a missing `engine.mode` field, after input validation and when the program is available, it also checks CLI presence and login: `codex login status` and `grok models` (`grok models` requires a network; Grok confirms login only probably), plus `claude auth status` only when `reviewer-client.provider: claude`. A missing program does not check login. Neither mode runs a real AI task or engine commands, and neither confirms project UUID, repo or models. The guides shipped in this package are local at `node_modules/robisie/docs/README.md` and `node_modules/robisie/docs/README.en.md`; no website fetch is needed.
|
|
11
11
|
|
|
12
12
|
Install robisie from npm in the prepared directory; run subsequent commands and agent sessions there. [Preparation](#wymagania) → [account](#konto) → [key](#klucz) → [installation](#instalacja) → [acceptance](#recenzja-i-odbior).
|
|
13
13
|
|
|
@@ -276,7 +276,7 @@ git commit -m "Przygotuj lokalne powitanie"
|
|
|
276
276
|
```
|
|
277
277
|
<!-- local-repo-setup:end -->
|
|
278
278
|
|
|
279
|
-
Save the entire JSON below as `robisie.config.json` in the repo directory, without overwriting existing configuration. **Replace** fictitious `project` with the UUID from authenticated `list_projects`, and the `tracks` UUID and name with a real track from that project’s board. Replace `engine.repo` with the absolute current repo path and `stateDir` with a separate directory **outside the repo**. Complete all four `roleRegistry` entries. In the local flow, `worker-client` must use `provider: codex`, and `reviewer-client` can select Codex, Claude or Grok. Grok still requires `provider: grok`, `model: grok-cli`, `effort: none`. Only the reviewer supports optional boolean `requireIndependentProvider`: absent or `true` requires another provider; Codex requires explicit `false`. Every `false`, including Claude or Grok, marks review and acceptance as `partial` with the note “częściowa: bez niezależnego sprawdzenia”. Review always runs in a separate process. An unsupported pair or a configuration change during the card causes `HOLD clientPair`. For Codex roles, choose a real model available on your account and supported effort; this example uses `gpt-6.1-sol` / `high`, not fixture models. Set the Codex or Claude reviewer model and effort in the registry; the installed Grok CLI selects its model (`grok-cli` / `none`). The local flow needs an available, signed-in Codex Worker, the selected reviewer, and Grok for acceptance. `doctor --engine-config` checks this pair and login (`claude auth status`
|
|
279
|
+
Save the entire JSON below as `robisie.config.json` in the repo directory, without overwriting existing configuration. **Replace** fictitious `project` with the UUID from authenticated `list_projects`, and the `tracks` UUID and name with a real track from that project’s board. Replace `engine.repo` with the absolute current repo path and `stateDir` with a separate directory **outside the repo**. Complete all four `roleRegistry` entries. In the local flow, `worker-client` must use `provider: codex`, and `reviewer-client` can select Codex, Claude or Grok. Grok still requires `provider: grok`, `model: grok-cli`, `effort: none`. Only the reviewer supports optional boolean `requireIndependentProvider`: absent or `true` requires another provider; Codex requires explicit `false`. Every `false`, including Claude or Grok, marks review and acceptance as `partial` with the note “częściowa: bez niezależnego sprawdzenia”. Review always runs in a separate process. An unsupported pair or a configuration change during the card causes `HOLD clientPair`. For Codex roles, choose a real model available on your account and supported effort; this example uses `gpt-6.1-sol` / `high`, not fixture models. Set the Codex or Claude reviewer model and effort in the registry; the installed Grok CLI selects its model (`grok-cli` / `none`). The local flow needs an available, signed-in Codex Worker, the selected reviewer, and Grok for acceptance. `doctor --engine-config` with explicit `engine.mode:host` checks structure offline, without CLI checks. With `engine.mode:client` or a missing `engine.mode` field, after input validation and when the program is available, it checks this pair and login: `codex login status` and `grok models` (`grok models` requires a network; Grok confirms login only probably), plus `claude auth status` only when `reviewer-client.provider: claude`. A missing program does not check login, and a missing CLI or unconfirmed login prevents readiness. Neither mode runs a real AI task. Parsing and this doctor do not prove model or provider availability. This execution registry is separate from the installer’s CEO/Builder/Quality Officer map.
|
|
280
280
|
|
|
281
281
|
<!-- local-engine-config:start -->
|
|
282
282
|
```json
|
|
@@ -303,7 +303,7 @@ Save the entire JSON below as `robisie.config.json` in the repo directory, witho
|
|
|
303
303
|
```
|
|
304
304
|
<!-- local-engine-config:end -->
|
|
305
305
|
|
|
306
|
-
After replacing and saving configuration, prepare local engine inputs; init creates the project goal and tester safety list in `stateDir/inputs`. Continue only after ordinary doctor exits 0;
|
|
306
|
+
After replacing and saving configuration, prepare local engine inputs; init creates the project goal and tester safety list in `stateDir/inputs`. Continue only after ordinary doctor exits 0; `doctor --engine-config` alone does not check the account. Offline checks and no CLI apply only to explicit `engine.mode:host`; with `engine.mode:client` or a missing `engine.mode` field, probes follow input validation and only when the program is available, without a real AI task.
|
|
307
307
|
|
|
308
308
|
```sh
|
|
309
309
|
npx robisie init &&
|
|
@@ -632,6 +632,6 @@ After repair with an existing record, load the saved key as shown in Update befo
|
|
|
632
632
|
|
|
633
633
|
The installer does not start background services or the Builder on its own; after operator approval, the CEO can start the Builder through `spawn_builder`. Helpers run during agent sessions using the project directory (or `ROBISIE_PROJECT_CONTEXT`) as context. The installer contacts robisie to check the contract and key; the package file does not provide an account or AI provider access. One shared key identity does not provide three different permission levels. Acceptance requires independent review, evidence and the operator's approval.
|
|
634
634
|
|
|
635
|
-
Windows/WSL are unverified.
|
|
635
|
+
Windows/WSL are unverified. `doctor --engine-config` with explicit `engine.mode:host` checks structure and local installation inputs offline, without CLI checks. With `engine.mode:client` or a missing `engine.mode` field, after input validation and when the program is available, it checks CLI presence and login: `codex login status` and `grok models` (`grok models` requires a network; Grok confirms login only probably), plus `claude auth status` only when `reviewer-client.provider: claude`. A missing program does not check login. Neither mode runs a real AI task or engine commands, and neither confirms project UUID, repo existence or model availability.
|
|
636
636
|
|
|
637
637
|
The package engine (`dist/engine/tick.cjs`) is separate from the installer: it is started by `npx robisie factory run --engine-config ./robisie.config.json` on Linux or macOS for the client (`local`) or an explicit Robisie host (`mode: "host"`, `pr|delivered`). Other systems receive code 2 and a message. The `--once` option runs one tick without a pause and excludes an explicit `--interval`. Every nonzero tick result stops the supervisor („Fabryka zatrzymana: …”) with one diagnostic line on stderr; code 2 means an escalation (e.g. missing B key after receiver PASS, tester refusal, acceptance STOP) that must be resolved before retrying, and code 78 points to configuration repair. Real customer use on Linux will be proven in the D9 acceptance; a live macOS host switch and return require separate operator acceptance. Automatic FJ plans for customers are announced (“soon”) but are not in this release; the selector returns the true result.
|
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.34) <!-- 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
|
|
|
@@ -9,7 +9,7 @@ English: [README.en.md](README.en.md).
|
|
|
9
9
|
<!-- sekcja: dostepnosc -->
|
|
10
10
|
## Dostępność
|
|
11
11
|
|
|
12
|
-
Konto i klucz są potrzebne do init i pracy ról.
|
|
12
|
+
Konto i klucz są potrzebne do init i pracy ról. `npx robisie doctor --engine-config ./robisie.config.json` przy jawnym `engine.mode:host` sprawdza offline strukturę konfiguracji i wejścia instalacji lokalnej, bez kontroli CLI. Przy `engine.mode:client` albo braku pola `engine.mode`, po walidacji wejść i przy dostępnym programie, sprawdza obecność CLI oraz logowanie: `codex login status` i `grok models` (`grok models` wymaga sieci; Grok potwierdza logowanie tylko prawdopodobnie), a `claude auth status` wyłącznie przy `reviewer-client.provider: claude`. Brak programu nie pozwala sprawdzić logowania. Żaden tryb nie wykonuje prawdziwego zadania AI ani komend silnika i nie potwierdza UUID projektu, repo ani modeli. Przewodniki z tej paczki znajdziesz lokalnie w `node_modules/robisie/docs/README.md` i `node_modules/robisie/docs/README.en.md`; nie trzeba pobierać ich ze strony.
|
|
13
13
|
|
|
14
14
|
Zainstaluj robisie z npm w przygotowanym katalogu; w nim uruchamiaj dalsze polecenia i sesje agentów. [Przygotowanie](#wymagania) → [konto](#konto) → [klucz](#klucz) → [instalacja](#instalacja) → [odbiór](#recenzja-i-odbior).
|
|
15
15
|
|
|
@@ -321,7 +321,7 @@ git commit -m "Przygotuj lokalne powitanie"
|
|
|
321
321
|
```
|
|
322
322
|
<!-- local-repo-setup:end -->
|
|
323
323
|
|
|
324
|
-
Zapisz cały poniższy JSON jako `robisie.config.json` w katalogu repo, bez nadpisywania istniejącej konfiguracji. **Podmień** fikcyjne `project` na UUID z uwierzytelnionego `list_projects`, a UUID i nazwę `tracks` na rzeczywisty tor z tablicy tego projektu. Podmień `engine.repo` na absolutną ścieżkę bieżącego repo, a `stateDir` na osobny katalog **poza repo**. Uzupełnij wszystkie cztery wpisy `roleRegistry`. W lokalnym przebiegu `worker-client` musi używać `provider: codex`, a `reviewer-client` może wybrać Codex, Claude albo Grok. Grok nadal wymaga `provider: grok`, `model: grok-cli`, `effort: none`. Tylko recenzent ma opcjonalne boolean `requireIndependentProvider`: brak lub `true` wymaga innego dostawcy; Codex wymaga jawnego `false`. Każde `false`, także przy Claude lub Groku, zapisuje review i acceptance jako `partial` z notą „częściowa: bez niezależnego sprawdzenia”. Recenzja zawsze działa w osobnym procesie. Niedozwolona para lub zmiana konfiguracji w trakcie karty daje `HOLD clientPair`. Dla ról Codex wybierz rzeczywisty model dostępny na swoim koncie i obsługiwany effort; przykład używa `gpt-6.1-sol` / `high`, nie modeli fixture. Dla Codex i Claude ustaw model oraz effort recenzenta w rejestrze; model Groka wybiera zainstalowany Grok CLI (`grok-cli` / `none`). Lokalny przebieg wymaga dostępnego i zalogowanego Codexa Workera, wybranego recenzenta oraz Groka odbiorcy. `doctor --engine-config` sprawdza tę parę i logowanie (`claude auth status`
|
|
324
|
+
Zapisz cały poniższy JSON jako `robisie.config.json` w katalogu repo, bez nadpisywania istniejącej konfiguracji. **Podmień** fikcyjne `project` na UUID z uwierzytelnionego `list_projects`, a UUID i nazwę `tracks` na rzeczywisty tor z tablicy tego projektu. Podmień `engine.repo` na absolutną ścieżkę bieżącego repo, a `stateDir` na osobny katalog **poza repo**. Uzupełnij wszystkie cztery wpisy `roleRegistry`. W lokalnym przebiegu `worker-client` musi używać `provider: codex`, a `reviewer-client` może wybrać Codex, Claude albo Grok. Grok nadal wymaga `provider: grok`, `model: grok-cli`, `effort: none`. Tylko recenzent ma opcjonalne boolean `requireIndependentProvider`: brak lub `true` wymaga innego dostawcy; Codex wymaga jawnego `false`. Każde `false`, także przy Claude lub Groku, zapisuje review i acceptance jako `partial` z notą „częściowa: bez niezależnego sprawdzenia”. Recenzja zawsze działa w osobnym procesie. Niedozwolona para lub zmiana konfiguracji w trakcie karty daje `HOLD clientPair`. Dla ról Codex wybierz rzeczywisty model dostępny na swoim koncie i obsługiwany effort; przykład używa `gpt-6.1-sol` / `high`, nie modeli fixture. Dla Codex i Claude ustaw model oraz effort recenzenta w rejestrze; model Groka wybiera zainstalowany Grok CLI (`grok-cli` / `none`). Lokalny przebieg wymaga dostępnego i zalogowanego Codexa Workera, wybranego recenzenta oraz Groka odbiorcy. `doctor --engine-config` przy jawnym `engine.mode:host` sprawdza strukturę offline, bez kontroli CLI. Przy `engine.mode:client` albo braku pola `engine.mode` sprawdza tę parę i logowanie po walidacji wejść i przy dostępnym programie: `codex login status` i `grok models` (`grok models` wymaga sieci; Grok potwierdza logowanie tylko prawdopodobnie), a `claude auth status` wyłącznie przy `reviewer-client.provider: claude`. Brak programu nie pozwala sprawdzić logowania; brak CLI lub potwierdzenia logowania nie daje gotowości. Żaden tryb nie wykonuje prawdziwego zadania AI. Same parsowanie i ten doctor nie dowodzą dostępności modeli ani dostawców. Rejestr wykonania jest odrębny od mapy instalatora CEO/Builder/Quality Officer.
|
|
325
325
|
|
|
326
326
|
Worker Codex na Linuksie może uruchamiać testy tworzące procesy, ale proxy deny-all blokuje dostęp do internetu: komenda próbująca ruchu sieciowego zostanie PRZERWANA (exit −1), zamiast zwrócić zwykły błąd. Zależności przygotuj poza Workerem. Runner dopisuje `127.0.0.1,localhost` osobno do `NO_PROXY` i `no_proxy`, zachowując istniejące listy użytkownika i dostęp HTTP do localhost. Pomiar dotyczy Codex 0.166.0 na Linux aarch64; nie potwierdza rzeczywistego użycia u Dota na Linux x64 po wydaniu.
|
|
327
327
|
|
|
@@ -350,7 +350,7 @@ Worker Codex na Linuksie może uruchamiać testy tworzące procesy, ale proxy de
|
|
|
350
350
|
```
|
|
351
351
|
<!-- local-engine-config:end -->
|
|
352
352
|
|
|
353
|
-
Po podmianie i zapisaniu konfiguracji przygotuj wejścia lokalnego silnika; init utworzy cel projektu i listę ochrony testera w `stateDir/inputs`. Kontynuuj dopiero po zwykłym doctor z exit 0;
|
|
353
|
+
Po podmianie i zapisaniu konfiguracji przygotuj wejścia lokalnego silnika; init utworzy cel projektu i listę ochrony testera w `stateDir/inputs`. Kontynuuj dopiero po zwykłym doctor z exit 0; samo `doctor --engine-config` nie sprawdza konta. Offline i brak CLI dotyczą wyłącznie jawnego `engine.mode:host`; przy `engine.mode:client` albo braku pola `engine.mode` sondy następują po walidacji wejść i przy dostępnym programie, bez prawdziwego zadania AI.
|
|
354
354
|
|
|
355
355
|
```sh
|
|
356
356
|
npx robisie init &&
|
|
@@ -679,6 +679,6 @@ Po naprawie przy istniejącej ewidencji wczytaj zapisany klucz według Aktualiza
|
|
|
679
679
|
|
|
680
680
|
Instalator nie uruchamia sam usług w tle ani Buildera; po zgodzie operatora CEO może uruchomić Buildera przez `spawn_builder`. Pomocniki działają podczas sesji agenta, z kontekstem katalogu projektu (lub `ROBISIE_PROJECT_CONTEXT`). Instalator łączy się z robisie w celu sprawdzenia kontraktu i klucza; plik paczki nie zapewnia konta ani dostępu do dostawcy AI. Jedna wspólna tożsamość klucza nie daje trzech różnych poziomów uprawnień. Odbiór wymaga niezależnej recenzji, dowodów i zgody operatora.
|
|
681
681
|
|
|
682
|
-
Windows/WSL są niezweryfikowane.
|
|
682
|
+
Windows/WSL są niezweryfikowane. `doctor --engine-config` przy jawnym `engine.mode:host` sprawdza offline strukturę konfiguracji i wejścia, bez kontroli CLI; przy `engine.mode:client` albo braku pola `engine.mode`, po walidacji wejść i przy dostępnym programie, sprawdza CLI: `codex login status`, `grok models` (`grok models` wymaga sieci; Grok potwierdza logowanie tylko prawdopodobnie) i `claude auth status` wyłącznie przy `reviewer-client.provider: claude`. Brak programu nie pozwala sprawdzić logowania. Żaden tryb nie wykonuje prawdziwego zadania AI ani komend silnika i nie potwierdza UUID projektu, istnienia repo ani dostępności modeli.
|
|
683
683
|
|
|
684
684
|
Silnik paczki (`dist/engine/tick.cjs`) jest odrębny od instalatora: uruchamia go `npx robisie factory run --engine-config ./robisie.config.json` na Linuxie lub macOS dla klienta (`local`) oraz jawnego hosta Robisie (`mode: "host"`, `pr|delivered`). Pozostałe systemy otrzymują kod 2 i komunikat. Opcja `--once` uruchamia jeden takt bez przerwy i wyklucza jawne `--interval`. Każdy niezerowy wynik taktu zatrzymuje nadzorcę („Fabryka zatrzymana: …”) z jedną linią diagnozy na stderr; kod 2 to eskalacja (np. brak klucza B po receiver PASS, odmowa testera, STOP odbioru) wymagająca rozstrzygnięcia przed ponowieniem, a kod 78 wskazuje konfigurację do poprawy. Realne użycie u klienta na Linuxie zostanie udowodnione w odbiorze D9; próba żywego hosta na macOS i jego powrotu wymaga osobnego odbioru operatora. Automatyczne plany FJ u klienta są zapowiedziane („wkrótce”), ale nie ma ich w tym wydaniu; selektor zwraca prawdziwy wynik.
|
package/package.json
CHANGED