Execution log
will / validate
Page 1Download original
[luci] step 1/5: export NPM_CONFIG_CACHE="$PWD/.npm-cache" [luci] step 1/5 done in 0s [luci] step 2/5: npm ci --prefer-offline npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead added 230 packages, and audited 231 packages in 12s 47 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm notice npm notice New major version of npm available! 11.19.1 -> 12.1.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.1.0 npm notice To update run: npm install -g npm@12.1.0 npm notice [luci] step 2/5 done in 14s [luci] step 3/5: npm run check > will@0.1.0 check > biome check src scripts web deploy rolldown.config.ts playwright.config.ts package.json tsconfig.json && tsc --noEmit Checked 79 files in 252ms. No fixes applied. [luci] step 3/5 done in 13s [luci] step 4/5: npm test > will@0.1.0 test > node --test src ✔ explicit fake wins even with a key (1.871904ms) ✔ no env at all falls back to fake (0.251249ms) ✔ key alone gives the real session (0.245092ms) ✔ explicit real without a key fails loudly (0.732369ms) ✔ explicit real with a key is real (0.292712ms) ✔ thinking level defaults to medium (0.81805ms) ✔ ZAI_THINKING_LEVEL overrides the default (2.069556ms) ✔ unknown ZAI_THINKING_LEVEL fails loudly (0.354686ms) ✔ wake queue persists across reopen; heartbeat coalesces; done compacts (17.343947ms) ✔ wake queue defer reorders wake with backoff (5.920789ms) {"ts":"2026-09-26T17:08:30.608Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ spool drains idempotently into the running service (5310.848647ms) ✔ agent state persists mutations atomically (4.925681ms) {"ts":"2026-09-26T17:08:37.619Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} {"ts":"2026-09-26T17:08:37.627Z","level":"warn","component":"agent","message":"running with a FAKE session (no model calls; set ZAI_API_KEY for real)"} {"ts":"2026-09-26T17:08:37.628Z","level":"warn","component":"agent","message":"worktree not ready","error":"worktree missing and no git url configured"} {"ts":"2026-09-26T17:08:37.708Z","level":"info","component":"telegram","message":"bot identified","username":"will_bot"} {"ts":"2026-09-26T17:08:38.794Z","level":"debug","component":"agent","message":"spool drained","events":2} {"ts":"2026-09-26T17:08:38.795Z","level":"info","component":"agent","message":"agent stopped cleanly"} ✔ end to end: mention reaches the resident session and readiness is healthy (6338.105219ms) ✔ chat turn completes, budget spent, wake removed (15.654495ms) ✔ boot context appears only on the first turn (6.692609ms) ✔ model failure retries with backoff, then defers after three attempts (4.075631ms) ✔ turn timeout enqueues exactly one recovery wake and completes the original (56.200339ms) ✔ budget cap blocks ordinary wakes but reserve admits recovery wakes (6.789273ms) ✔ storage stop pauses ordinary wakes, recovery continues (5.626618ms) ✔ system prompt is exactly the lexically ordered personality (6.806005ms) ✔ wake prompts render per-kind templates with facts (1.180931ms) ✔ facts block omits missing values instead of rendering undefined (0.542641ms) ✔ all coding tools are bound to the editable worktree (11.960582ms) ✔ worktree: clone, ff-only when clean, preserved when dirty or ahead (396.829194ms) ✔ readWorktreeState: fresh head and dirty flag without fetch or merge (135.10215ms) {"ts":"2026-09-26T17:08:52.927Z","level":"debug","component":"ciwatch","message":"ci poll","runs":1,"wakes":0} {"ts":"2026-09-26T17:08:52.934Z","level":"debug","component":"ciwatch","message":"ci poll","runs":2,"wakes":1} {"ts":"2026-09-26T17:08:52.937Z","level":"debug","component":"ciwatch","message":"ci poll","runs":2,"wakes":0} {"ts":"2026-09-26T17:08:52.939Z","level":"debug","component":"ciwatch","message":"ci poll","runs":3,"wakes":0} ✔ ci watch enqueues one failure wake per failed run of a tracked sha (65.371977ms) {"ts":"2026-09-26T17:08:53.073Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} {"ts":"2026-09-26T17:08:53.100Z","level":"info","component":"deploy","message":"deploy events imported","count":2} ✔ deploy events poll mirrors into service and wakes on failures only (5183.194115ms) {"ts":"2026-09-26T17:08:58.240Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ chat_send queues outbound; recall queries service; maintenance ops gated (5133.120009ms) {"ts":"2026-09-26T17:09:03.367Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} {"ts":"2026-09-26T17:09:03.385Z","level":"warn","component":"loop","message":"storage threshold transition","from":"ok","to":"warn"} ✔ storage watch: transitions emit deterministic outbox notice (5130.805726ms) ✔ readiness server reports 503 until local init completes (11.481989ms) ✔ fake telegram sanity (88.534472ms) {"ts":"2026-09-26T17:09:08.918Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} {"ts":"2026-09-26T17:09:08.927Z","level":"info","component":"telegram","message":"bot identified","username":"will_bot"} ✔ mention wakes, chatter archives without wake, other chats ignored (5205.326846ms) {"ts":"2026-09-26T17:09:14.110Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} {"ts":"2026-09-26T17:09:14.124Z","level":"info","component":"telegram","message":"bot identified","username":"will_bot"} ✔ media message downloads into service store and references digest (5187.678061ms) {"ts":"2026-09-26T17:09:19.298Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} {"ts":"2026-09-26T17:09:19.310Z","level":"info","component":"telegram","message":"bot identified","username":"will_bot"} ✔ /hide via reply tombstones deterministically without a model wake (5179.40073ms) {"ts":"2026-09-26T17:09:24.476Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ outbox delivers at-least-once and mirrors outbound to service (5153.463259ms) ✔ sums usage across assistant messages of one wake (2.837654ms) ✔ splits by provider/model and tolerates junk (0.432603ms) ✔ non-array input yields no rows (0.291423ms) {"ts":"2026-09-26T17:09:31.547Z","level":"warn","component":"zai","message":"zai retry","path":"/paas/v4/chat/completions","status":500,"attempt":1,"delay":500} ✔ rest client retries retryable failures (566.541342ms) ✔ rest client surfaces 4xx without retry (22.280396ms) {"ts":"2026-09-26T17:09:32.211Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ zai_analyze_media answers, caches by digest, second call is a hit (5213.430462ms) {"ts":"2026-09-26T17:09:37.407Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ zai_transcribe and zai_parse_document return explicit results (5176.280019ms) {"ts":"2026-09-26T17:09:42.590Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ generation tools store bytes and return digests; limits fail explicitly (8593.899831ms) {"ts":"2026-09-26T17:09:51.169Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ curated tool set carries stable names and one-line descriptions (5112.546324ms) {"ts":"2026-09-26T17:09:56.551Z","level":"info","component":"zai-mcp","message":"vision mcp connected"} ✔ mcp bridge lists and calls tools over stdio (411.275999ms) {"ts":"2026-09-26T17:09:57.040Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ healthz ok, index served, docs manifest served (5228.671797ms) {"ts":"2026-09-26T17:10:02.233Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ path traversal is rejected (5128.557259ms) {"ts":"2026-09-26T17:10:07.365Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ audit ingest -> timeline -> SSE replay with Last-Event-ID (5196.05001ms) {"ts":"2026-09-26T17:10:12.557Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ media upload, meta, public download round-trip (5149.388504ms) {"ts":"2026-09-26T17:10:17.707Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ chat ingest, hide via internal API, tombstone filters public chat (5140.635561ms) {"ts":"2026-09-26T17:10:22.847Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ status reports schema, counts and storage; recall works over HTTP (5133.949955ms) {"ts":"2026-09-26T17:10:27.976Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ usage view aggregates turn_usage rows into daily cost (5120.733594ms) ✔ audit ingest is idempotent by event id and assigns seqs (13.081535ms) ✔ recall searches beyond the newest page in hot data and archives (39.88693ms) ✔ recall orders overlapping archives and late hot rows globally (32.477865ms) ✔ recall has identical Unicode case matching before and after archival (19.85109ms) ✔ recall tie ordering is limit-prefix consistent before and after archival (16.261991ms) ✔ chat ingest is idempotent and hide tombstones (3.995879ms) ✔ deployment events mirror idempotently (3.47352ms) ✔ media store is content-addressed and idempotent (5.14075ms) ✔ analysis cache upserts by (digest, capability, model, schemaVersion) (3.623332ms) ✔ archive cycle moves old audit rows exactly once and cold reads serve them (14.034455ms) ✔ crash between publish and delete does not duplicate rows (exactly once) (10.719549ms) ✔ archive cycle moves chat after one year and tombstones keep filtering (14.660041ms) ✔ quick check reports ok and jobs are recorded (6.508267ms) ✔ vacuum runs without error (3.529856ms) ✔ cost uses the price table per MTok (2.8817ms) ✔ unknown model keeps tokens but marks cost unavailable (0.408107ms) ✔ days are grouped by UTC date and sorted ascending (1.447591ms) ✔ projection extrapolates today across the remaining month (0.350543ms) ✔ projection is null without a priced day today (0.309125ms) ✔ ordinary calls stop at cap minus reserve (1.963705ms) ✔ recovery calls draw from the reserve only (0.29253ms) ✔ zero cap disables limiting (0.382115ms) ✔ state rolls over on a new day (1.744962ms) ✔ property: total allowed recovery calls per day equals reserve (23.780144ms) ✔ default budget exists and is sane (0.42497ms) ✔ cutoff subtracts hot days (1.930527ms) ✔ only rows strictly older than the cutoff archive (1.377884ms) ✔ rows group by month (0.388563ms) ✔ sidecar overlap selection skips non-overlapping segments (0.454448ms) ✔ property: every row lands in exactly one month group (16.616079ms) ✔ mention of the bot wakes (3.166273ms) ✔ reply to the bot wakes (0.339476ms) ✔ ordinary chatter never wakes (0.28562ms) ✔ mention inside a reply of someone else does not wake (0.298566ms) ✔ /hide via reply is deterministic, never wakes the model (0.415261ms) ✔ /hide with explicit id targets that id (0.322657ms) ✔ other commands wake (0.295582ms) ✔ caption mention on media wakes (0.288308ms) ✔ sender of the target or oliver may hide (0.401255ms) ✔ toTgMessage extracts largest photo and documents (0.778299ms) ✔ failure wakes outrank chat which outranks heartbeat (3.124094ms) ✔ FIFO inside a class (0.35945ms) ✔ deferred wakes are skipped until their time (0.372422ms) ✔ heartbeat coalescing predicate (0.464593ms) ✔ heartbeat hour is claimed at most once and never replayed (0.365078ms) ✔ property: ordering is stable sort by (priority, seq) (16.36853ms) ℹ tests 98 ℹ suites 0 ℹ pass 98 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 124773.108434 [luci] step 4/5 done in 125s [luci] step 5/5: npm run coverage > will@0.1.0 coverage > node --test --experimental-test-coverage --test-coverage-include='src/**/*.ts' "src/**/*.test.ts" "src/**/*.int.test.ts" 2>&1 | node scripts/coverage-ratchet.mjs