You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(daemon,docs,upload): resolve P1+6 P2 Codex findings on PR #105
P1 entrypoint stub executor → refusal (codex 3352439151):
The stub returned a sentinel dispatchedTaskId, causing the leader loop
to call markIntentDispatched + completeIntent and record real pending
intents as 'done' without execution. Replace with an explicit throw so
the loop's failure path runs (intent → failed with clear refusal
message). The real executor lands in PR #107.
P2 entrypoint SIGTERM release sessionId (codex 3353069328):
releaseLeadership gates on session ownership (codex-p2 PR#101); the
fallback shutdown release passed no sessionId, so it always no-op'd
against our own session-stamped lease. Pass the loop's sessionId.
P2 install-daemon-vm.sh devDeps prune (codex 3352439158):
npm ci --omit=dev pruned typescript, breaking 'npm run build:daemon'.
Install full deps for the repo build step; runtime image in
still gets --omit=dev separately.
P2 systemd unit NODE_BIN (codex 3352439162):
Hard-coded /usr/bin/node breaks nvm / /usr/local/bin installs. Ship
unit with @@NODE_BIN@@ placeholder; install script substitutes the
detected node path before installing.
P2 systemd MDWE+JIT (codex 3352439169):
MemoryDenyWriteExecute=true is documented incompatible with V8 JIT
and would abort node at startup. Remove the flag; document why.
P2 launchd plist missing env (codex 3352439167):
launchd has no EnvironmentFile equivalent. Plist invoked node
directly without DATABASE_URL/NODE_CHITTY_ID/NODE_DESCRIPTOR, hitting
entrypoint.ts's fatal-missing-env branch on Mac Mini nodes. Add a
launchd-shim.sh that sources /etc/chittycommand/env (same shape as
systemd EnvironmentFile) then execs node.
P2 migration 0016 single-upload conflict (codex 3352439160):
Unique partial index on r2_key broke single /upload's plain
INSERT...RETURNING — re-uploads now 500'd on unique violation. Add
ON CONFLICT (r2_key) WHERE (r2_key IS NOT NULL) DO NOTHING to match
batch path; fall back to SELECT-existing returning 200.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments