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.0.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2 npm notice To update run: npm install -g npm@12.0.2 npm notice > will@0.1.0 check > biome check src scripts web deploy rolldown.config.ts playwright.config.ts package.json tsconfig.json && tsc --noEmit Checked 75 files in 249ms. No fixes applied. > will@0.1.0 test > node --test src ✔ explicit fake wins even with a key (3.058369ms) ✔ no env at all falls back to fake (0.530432ms) ✔ key alone gives the real session (0.471578ms) ✔ explicit real without a key fails loudly (1.304466ms) ✔ explicit real with a key is real (0.721587ms) ✔ thinking level defaults to medium (1.167411ms) ✔ ZAI_THINKING_LEVEL overrides the default (1.98292ms) ✔ unknown ZAI_THINKING_LEVEL fails loudly (0.58477ms) ✔ wake queue persists across reopen; heartbeat coalesces; done compacts (12.329192ms) ✔ wake queue defer reorders wake with backoff (5.96457ms) {"ts":"2026-09-21T21:11:04.244Z","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 (5204.608125ms) ✔ agent state persists mutations atomically (2.887446ms) {"ts":"2026-09-21T21:11:11.570Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} {"ts":"2026-09-21T21:11:11.581Z","level":"warn","component":"agent","message":"running with a FAKE session (no model calls; set ZAI_API_KEY for real)"} {"ts":"2026-09-21T21:11:11.582Z","level":"warn","component":"agent","message":"worktree not ready","error":"worktree missing and no git url configured"} {"ts":"2026-09-21T21:11:11.663Z","level":"info","component":"telegram","message":"bot identified","username":"will_bot"} {"ts":"2026-09-21T21:11:12.734Z","level":"info","component":"agent","message":"agent stopped cleanly"} {"ts":"2026-09-21T21:11:12.750Z","level":"warn","component":"agent","message":"spool drain failed","error":"fetch failed"} {"ts":"2026-09-21T21:11:13.021Z","level":"warn","component":"agent","message":"spool drain failed","error":"fetch failed"} ✔ end to end: mention reaches the resident session and readiness is healthy (6330.804454ms) ✔ chat turn completes, budget spent, wake removed (15.9819ms) ✔ boot context appears only on the first turn (5.310386ms) ✔ model failure retries with backoff, then defers after three attempts (3.946245ms) ✔ turn timeout enqueues exactly one recovery wake and completes the original (54.964794ms) ✔ budget cap blocks ordinary wakes but reserve admits recovery wakes (4.708532ms) ✔ storage stop pauses ordinary wakes, recovery continues (3.136572ms) ✔ system prompt is exactly the lexically ordered personality (4.31684ms) ✔ wake prompts render per-kind templates with facts (0.707135ms) ✔ facts block omits missing values instead of rendering undefined (0.42934ms) ✔ all coding tools are bound to the editable worktree (11.552976ms) ✔ worktree: clone, ff-only when clean, preserved when dirty or ahead (381.505185ms) ✔ readWorktreeState: fresh head and dirty flag without fetch or merge (139.246477ms) {"ts":"2026-09-21T21:11:26.835Z","level":"debug","component":"ciwatch","message":"ci poll","runs":1,"wakes":0} {"ts":"2026-09-21T21:11:26.843Z","level":"debug","component":"ciwatch","message":"ci poll","runs":2,"wakes":1} {"ts":"2026-09-21T21:11:26.846Z","level":"debug","component":"ciwatch","message":"ci poll","runs":2,"wakes":0} {"ts":"2026-09-21T21:11:26.848Z","level":"debug","component":"ciwatch","message":"ci poll","runs":3,"wakes":0} ✔ ci watch enqueues one failure wake per failed run of a tracked sha (67.984375ms) {"ts":"2026-09-21T21:11:26.979Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} {"ts":"2026-09-21T21:11:27.006Z","level":"info","component":"deploy","message":"deploy events imported","count":2} ✔ deploy events poll mirrors into service and wakes on failures only (5182.447727ms) {"ts":"2026-09-21T21:11:32.144Z","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 (5141.995947ms) {"ts":"2026-09-21T21:11:37.293Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} {"ts":"2026-09-21T21:11:37.311Z","level":"warn","component":"loop","message":"storage threshold transition","from":"ok","to":"warn"} ✔ storage watch: transitions emit deterministic outbox notice (5139.919652ms) ✔ readiness server reports 503 until local init completes (11.738787ms) ✔ fake telegram sanity (78.464983ms) {"ts":"2026-09-21T21:11:42.846Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} {"ts":"2026-09-21T21:11:42.854Z","level":"info","component":"telegram","message":"bot identified","username":"will_bot"} ✔ mention wakes, chatter archives without wake, other chats ignored (5184.283867ms) {"ts":"2026-09-21T21:11:48.018Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} {"ts":"2026-09-21T21:11:48.027Z","level":"info","component":"telegram","message":"bot identified","username":"will_bot"} ✔ media message downloads into service store and references digest (5176.544832ms) {"ts":"2026-09-21T21:11:53.201Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} {"ts":"2026-09-21T21:11:53.212Z","level":"info","component":"telegram","message":"bot identified","username":"will_bot"} ✔ /hide via reply tombstones deterministically without a model wake (5178.249755ms) {"ts":"2026-09-21T21:11:58.374Z","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 (5154.015323ms) {"ts":"2026-09-21T21:12:05.305Z","level":"warn","component":"zai","message":"zai retry","path":"/paas/v4/chat/completions","status":500,"attempt":1,"delay":500} ✔ rest client retries retryable failures (564.160415ms) ✔ rest client surfaces 4xx without retry (18.347676ms) {"ts":"2026-09-21T21:12:06.023Z","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 (5255.11882ms) {"ts":"2026-09-21T21:12:11.200Z","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 (5179.949409ms) {"ts":"2026-09-21T21:12:16.381Z","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 (8650.138911ms) {"ts":"2026-09-21T21:12:25.025Z","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 (5114.424754ms) {"ts":"2026-09-21T21:12:30.403Z","level":"info","component":"zai-mcp","message":"vision mcp connected"} ✔ mcp bridge lists and calls tools over stdio (411.324875ms) {"ts":"2026-09-21T21:12:30.875Z","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 (5221.951325ms) {"ts":"2026-09-21T21:12:36.069Z","level":"info","component":"service","message":"service listening","public":"127.0.0.1:0","internal":"127.0.0.1:0"} ✔ path traversal is rejected (5132.31698ms) {"ts":"2026-09-21T21:12:41.198Z","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 (5190.552338ms) {"ts":"2026-09-21T21:12:46.392Z","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 (5148.931617ms) {"ts":"2026-09-21T21:12:51.538Z","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 (5138.518032ms) {"ts":"2026-09-21T21:12:56.675Z","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 (5130.035658ms) ✔ audit ingest is idempotent by event id and assigns seqs (13.805797ms) ✔ recall searches beyond the newest page in hot data and archives (167.762898ms) ✔ recall orders overlapping archives and late hot rows globally (56.669952ms) ✔ recall has identical Unicode case matching before and after archival (20.731883ms) ✔ recall tie ordering is limit-prefix consistent before and after archival (17.023365ms) ✔ chat ingest is idempotent and hide tombstones (4.420001ms) ✔ deployment events mirror idempotently (4.217097ms) ✔ media store is content-addressed and idempotent (6.513217ms) ✔ analysis cache upserts by (digest, capability, model, schemaVersion) (6.072448ms) ✔ archive cycle moves old audit rows exactly once and cold reads serve them (17.995992ms) ✔ crash between publish and delete does not duplicate rows (exactly once) (12.070812ms) ✔ archive cycle moves chat after one year and tombstones keep filtering (13.816039ms) ✔ quick check reports ok and jobs are recorded (9.416758ms) ✔ vacuum runs without error (4.408638ms) ✔ ordinary calls stop at cap minus reserve (1.846947ms) ✔ recovery calls draw from the reserve only (0.309099ms) ✔ zero cap disables limiting (0.26337ms) ✔ state rolls over on a new day (1.691165ms) ✔ property: total allowed recovery calls per day equals reserve (23.276752ms) ✔ default budget exists and is sane (0.35649ms) ✔ cutoff subtracts hot days (1.925786ms) ✔ only rows strictly older than the cutoff archive (1.372172ms) ✔ rows group by month (0.370207ms) ✔ sidecar overlap selection skips non-overlapping segments (0.447591ms) ✔ property: every row lands in exactly one month group (17.694824ms) ✔ mention of the bot wakes (3.311139ms) ✔ reply to the bot wakes (0.342321ms) ✔ ordinary chatter never wakes (0.282809ms) ✔ mention inside a reply of someone else does not wake (0.293229ms) ✔ /hide via reply is deterministic, never wakes the model (0.392085ms) ✔ /hide with explicit id targets that id (0.333514ms) ✔ other commands wake (0.285761ms) ✔ caption mention on media wakes (0.340773ms) ✔ sender of the target or oliver may hide (0.386545ms) ✔ toTgMessage extracts largest photo and documents (2.600049ms) ✔ failure wakes outrank chat which outranks heartbeat (3.127806ms) ✔ FIFO inside a class (0.346625ms) ✔ deferred wakes are skipped until their time (0.348588ms) ✔ heartbeat coalescing predicate (0.449295ms) ✔ heartbeat hour is claimed at most once and never replayed (0.374615ms) ✔ property: ordering is stable sort by (priority, seq) (15.656989ms) ℹ tests 89 ℹ suites 0 ℹ pass 89 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 119636.552685 > 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 coverage-ratchet: 91.2% >= floor 91.2%