robisie 0.5.27 → 0.5.29
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 +14 -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 +7 -7
- package/dist/engine/tick.cjs +27 -17
- package/dist/roles.d.ts +1 -1
- package/docs/README.en.md +1 -1
- package/docs/README.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Historia zmian klienta / Client changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.29](https://github.com/chuppa12/robisie-app/compare/client-v0.5.28...client-v0.5.29) (2026-11-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **client-release:** smoke używa konfiguracji silnika w trybie host, bo doctor trybu client wymaga niezależnej pary i zalogowanych CLI ([#941](https://github.com/chuppa12/robisie-app/issues/941)) ([a20dc7b](https://github.com/chuppa12/robisie-app/commit/a20dc7bec4142ae809b41ce57f2f6249aefd5645))
|
|
9
|
+
|
|
10
|
+
## [0.5.28](https://github.com/chuppa12/robisie-app/compare/client-v0.5.27...client-v0.5.28) (2026-11-14)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Factory Cards
|
|
14
|
+
|
|
15
|
+
* praca workera task-mwg1ws8l-6vwkep (auto-commit) ([1275724](https://github.com/chuppa12/robisie-app/commit/1275724f79384475f3d9351cf161dd5499f81689))
|
|
16
|
+
|
|
3
17
|
## [0.5.27](https://github.com/chuppa12/robisie-app/compare/client-v0.5.26...client-v0.5.27) (2026-11-14)
|
|
4
18
|
|
|
5
19
|
|
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.29";
|
|
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.29"; // 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":"206c3dd4ed79c8c81a31e3acfcd993527ea1908f","dirty":false}
|
|
@@ -1673,20 +1673,20 @@
|
|
|
1673
1673
|
"staticOperations": {
|
|
1674
1674
|
"beforePreflight": {
|
|
1675
1675
|
"module": "maszynista/tick.ts",
|
|
1676
|
-
"startLine":
|
|
1677
|
-
"endLine":
|
|
1676
|
+
"startLine": 9636,
|
|
1677
|
+
"endLine": 9749,
|
|
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": 10038,
|
|
1683
|
+
"endLine": 10090,
|
|
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": {
|
|
1687
1687
|
"module": "maszynista/tick.ts",
|
|
1688
|
-
"startLine":
|
|
1689
|
-
"endLine":
|
|
1688
|
+
"startLine": 849,
|
|
1689
|
+
"endLine": 860,
|
|
1690
1690
|
"text": "export function refreshTickReport(observedLoaded = readLoadedSha(REPO)): void {\n loadedSha = observedLoaded;\n try { mainSha = git([\"rev-parse\", engineBranchRef()]); }\n catch (error) { mainSha = \"UNKNOWN\"; log(`Nie można odczytać main SHA: ${errorText(error)}`); }\n if (DRY) return;\n try {\n const content = readFileSync(LAST_TICK, \"utf8\");\n writeFileSync(LAST_TICK, `${content.replace(/^- (?:loaded|main):.*\\n?/gm, \"\")}- loaded: ${loadedSha}\\n- main: ${mainSha}\\n`);\n } catch (error) { if ((error as NodeJS.ErrnoException).code !== \"ENOENT\") throw error; }\n}\n\nfunction writeAtomic(file: string, content: string): void {"
|
|
1691
1691
|
},
|
|
1692
1692
|
"importTime": {
|
|
@@ -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:17969) 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.29";
|
|
37632
37632
|
SUPPORTED_CONTRACT_MAJOR = 1;
|
|
37633
37633
|
DEFAULT_ORIGIN = "https://robisie.app";
|
|
37634
37634
|
MCP_SERVER_NAME = "robisie";
|
|
@@ -315449,7 +315449,8 @@ async function recoverBlockedWorkers(s, uid, projectId2, dry = DRY2) {
|
|
|
315449
315449
|
try {
|
|
315450
315450
|
const worker = asRecord3(card.details?.maszynista);
|
|
315451
315451
|
if (worker.outcome === "WORKER_FINISHED") {
|
|
315452
|
-
if (worker.phase === "blocked" && worker.move === "blocked"
|
|
315452
|
+
if (worker.phase === "blocked" && worker.move === "blocked" && !await consumeR3Grant(s, uid, card))
|
|
315453
|
+
await consumeR4Grant(s, uid, card);
|
|
315453
315454
|
continue;
|
|
315454
315455
|
}
|
|
315455
315456
|
if (!actionableBlockerRecovery(card, predecessors)) continue;
|
|
@@ -318146,20 +318147,29 @@ function r4Grant(card) {
|
|
|
318146
318147
|
const matching = Array.isArray(rulings) ? rulings.map(asRecord3).filter((ruling2) => ruling2.znalezisko === token) : [];
|
|
318147
318148
|
if (matching.length !== 1) return null;
|
|
318148
318149
|
const ruling = matching[0], at3 = ruling.at, declared = ruling.nowy_brief_sha256;
|
|
318149
|
-
if (ruling.werdykt !== "UCHYLONE" || ruling.by !== "control-room" || typeof ruling.powod !== "string" || !ruling.powod.trim() || typeof at3 !== "string" || !/^\d{4}-\d\d-\d\dT.*Z$/.test(at3) || !Number.isFinite(Date.parse(at3)) || !Number.isFinite(Date.parse(String(review.at))) || Date.parse(at3) < Date.parse(String(review.at)) || Date.parse(at3) > Date.now()
|
|
318150
|
-
const
|
|
318151
|
-
if (typeof
|
|
318152
|
-
if (previous.toLowerCase() === current) return null;
|
|
318153
|
-
} else {
|
|
318154
|
-
const r3Ruling = [...Array.isArray(rulings) ? rulings : [], asRecord3(card.details?.unblock).verdict].find((candidate) => candidate != null && rulingSha(candidate) === asRecord3(r3).rulingSha256);
|
|
318155
|
-
const r3Brief = asRecord3(r3Ruling).nowy_brief_sha256;
|
|
318156
|
-
if (typeof r3Brief === "string" && r3Brief.toLowerCase() === current) return null;
|
|
318157
|
-
}
|
|
318158
|
-
const used = asRecord3(review.extraRound4Grant).briefSha256;
|
|
318159
|
-
if (typeof used === "string" && used.toLowerCase() === current) return null;
|
|
318150
|
+
if (ruling.werdykt !== "UCHYLONE" || ruling.by !== "control-room" || typeof ruling.powod !== "string" || !ruling.powod.trim() || typeof at3 !== "string" || !/^\d{4}-\d\d-\d\dT.*Z$/.test(at3) || !Number.isFinite(Date.parse(at3)) || !Number.isFinite(Date.parse(String(review.at))) || Date.parse(at3) < Date.parse(String(review.at)) || Date.parse(at3) > Date.now()) return null;
|
|
318151
|
+
const used = asRecord3(review.extraRound4Grant);
|
|
318152
|
+
if (used.sha === sha5 || typeof used.briefSha256 === "string" && used.briefSha256.toLowerCase() === current) return null;
|
|
318160
318153
|
try {
|
|
318161
318154
|
const full = asRecord3(JSON.parse((0, import_node_fs47.readFileSync)(checkedReceipt(review.receipt).path, "utf8")));
|
|
318162
|
-
if (full.sha !== sha5 || full.round !== 3 || full.
|
|
318155
|
+
if (full.sha !== sha5 || full.round !== 3 || full.jobKey !== review.jobKey) return null;
|
|
318156
|
+
if (full.verdict === "FAIL") {
|
|
318157
|
+
if (typeof declared !== "string" || !/^[a-f0-9]{64}$/i.test(declared) || declared.toLowerCase() !== current) return null;
|
|
318158
|
+
const previous = asRecord3(r3).briefSha256;
|
|
318159
|
+
if (typeof previous === "string") {
|
|
318160
|
+
if (previous.toLowerCase() === current) return null;
|
|
318161
|
+
} else {
|
|
318162
|
+
const r3Ruling = [...Array.isArray(rulings) ? rulings : [], asRecord3(card.details?.unblock).verdict].find((candidate) => candidate != null && rulingSha(candidate) === asRecord3(r3).rulingSha256);
|
|
318163
|
+
const r3Brief = asRecord3(r3Ruling).nowy_brief_sha256;
|
|
318164
|
+
if (typeof r3Brief === "string" && r3Brief.toLowerCase() === current) return null;
|
|
318165
|
+
}
|
|
318166
|
+
} else if (full.verdict === "PASS") {
|
|
318167
|
+
const ciResult = asRecord3(asRecord3(card.details?.maszynista).ciResult), previousSha = asRecord3(r3).sha;
|
|
318168
|
+
if (typeof previousSha !== "string" || !/^[a-f0-9]{40}$/.test(previousSha) || previousSha === sha5 || ciResult.sha !== sha5 || !Array.isArray(ciResult.runs) || !ciResult.runs.some((value) => {
|
|
318169
|
+
const { name: name3, status: status2, conclusion } = asRecord3(value);
|
|
318170
|
+
return status2 === "completed" && conclusion !== "success" && typeof name3 === "string" && REQUIRED_CHECKS2.some((required3) => name3.startsWith(required3));
|
|
318171
|
+
})) return null;
|
|
318172
|
+
} else return null;
|
|
318163
318173
|
} catch (error48) {
|
|
318164
318174
|
log2(`runda 3\u21924 ${card.id}: brak dowodu zako\u0144czonej rundy 3: ${errorText5(error48)}`);
|
|
318165
318175
|
return null;
|
|
@@ -318181,12 +318191,12 @@ async function consumeR4Grant(s, uid, card) {
|
|
|
318181
318191
|
});
|
|
318182
318192
|
const confirmed = await getTask2(uid, card.id);
|
|
318183
318193
|
if (!confirmed || confirmed.status !== "ready" || confirmed.assignee !== null || !(0, import_node_util13.isDeepStrictEqual)(confirmed.details?.review, review) || !(0, import_node_util13.isDeepStrictEqual)(confirmed.details?.maszynista, maszynista))
|
|
318184
|
-
throw new Error(`runda 3\u21924 ${card.id}: brak read-after konsumpcji grantu
|
|
318194
|
+
throw new Error(`runda 3\u21924 ${card.id}: brak read-after konsumpcji grantu`);
|
|
318185
318195
|
card.status = "ready";
|
|
318186
318196
|
card.assignee = null;
|
|
318187
318197
|
card.details = confirmed.details;
|
|
318188
318198
|
removeActive(s, card.id);
|
|
318189
|
-
lastTick(s, "repair", `CR: jednorazowa runda 3\u21924
|
|
318199
|
+
lastTick(s, "repair", `CR: jednorazowa runda 3\u21924 dla ${grant.sha}`, true, card.id);
|
|
318190
318200
|
return true;
|
|
318191
318201
|
}
|
|
318192
318202
|
async function recoverReviewRoundGrants(s, uid, cards) {
|
|
@@ -319076,7 +319086,7 @@ async function land(s, uid, card, a, sha5, diskDependencies, landing = { availab
|
|
|
319076
319086
|
log2(`CI: pomijam niewymagany check poza werdyktem: ${nonRequiredNotSuccessful.map((run) => `${run.name}: ${run.status}/${run.conclusion ?? "brak"}`).join(", ")}`);
|
|
319077
319087
|
}
|
|
319078
319088
|
const failed2 = required3.filter((run) => run.status === "completed" && run.conclusion !== "success" && run.startedAt !== null && REQUIRED_CHECKS2.some((name3) => run.name.startsWith(name3) && selected.filter((candidate) => candidate.name.startsWith(name3)).length === 1));
|
|
319079
|
-
if (!uncertain && missingRequired.length === 0 && required3.every((r) => r.status === "completed")) {
|
|
319089
|
+
if (failed2.length > 0 || !uncertain && missingRequired.length === 0 && required3.every((r) => r.status === "completed")) {
|
|
319080
319090
|
const result = { sha: sha5, runs: [...required3].sort((a2, b) => a2.name.localeCompare(b.name)) };
|
|
319081
319091
|
const event = await prepareCardEvent(uid, card, "ci", JSON.stringify(result), { key: "maszynista", value: { ciResult: result } }, result);
|
|
319082
319092
|
await reviewPhase(uid, card, { ciResult: result });
|
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.29 \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.29) <!-- x-release-please-version -->
|
|
2
2
|
|
|
3
3
|
In the project directory with its engine configuration, run `npx robisie init`, then `npx robisie doctor`: init prepares the project goal and tester protection list, and doctor checks both inputs.
|
|
4
4
|
|
package/docs/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# robisie — od konta do odebranej karty (paczka 0.5.
|
|
1
|
+
# robisie — od konta do odebranej karty (paczka 0.5.29) <!-- x-release-please-version -->
|
|
2
2
|
|
|
3
3
|
W katalogu projektu z konfiguracją silnika uruchom `npx robisie init`, potem `npx robisie doctor`: init przygotuje cel projektu i listę ochrony testera, a doctor sprawdzi oba wejścia.
|
|
4
4
|
|
package/package.json
CHANGED