Skip to content

v0.18.0

Latest

Choose a tag to compare

@BrianArfi BrianArfi released this 23 Nov 05:38
· 7 commits to main since this release
  • The morning update no longer generates or enriches pre-meeting cards. The two scheduled jobs are removed and the health check no longer expects them. The skill code and the old cards stay in place.

  • Weekly planning no longer covers Secondary: the Secondary Slack scan and the Secondary review and plan sections are removed.

  • /session <id> no longer crashes when a session card lists an output as plain text.

  • Codex project hooks reuse the Slack claim and draft checks and track Ledger follow-through without automatic Git propagation.

  • Codex workspace instructions and five workflow skills route weekly planning, weekly reports, meeting minutes, tickets, and session references to the shared harness SOPs.

  • no-ai-slop: new override 8, "a reference never stands in for the information". Drafts and chat replies must state the content behind any section, appendix, decision number or ticket label, so a reader who opens nothing still knows what to check or decide (18 Nov 2026)

  • linear-connector: new initiative_restructure.py --plan <file> creates outcome initiatives (dated, with a success metric, checked against the Linear standard) and attaches existing projects to them. Dry run by default; --apply refuses to run without --approved (18 Nov 2026)

  • linear-connector: epic_rebuild.py --plan reads the plan file as UTF-8 (a project name with a dash broke it on Windows), and a parent issue for an epic with no Jira link no longer gets an empty "Original Jira epic" line.

  • linear-connector: epic_rebuild.py --plan <file> rebuilds epic-projects from any team and any Jira source, not only the W1 AFM epics. It reads a Rule 4 plan file and converts only rows whose action starts with "parent issue"; parents get the project lead or no assignee, the Jira line is skipped when there is no Jira link, and --apply or --delete-projects refuses to run without --approved. Snapshots go to epic_rebuild_snapshot_plan_<date>.json (18 Nov 2026)

  • Linear squad auto-label maps the new GiftCardsBy and Rewards Portal Product labels to the Giftcardsby and Rewards squad, so W3 issues in those projects still get their Squad label after the 17 Nov 2026 label split.

  • linear-connector: a new Rule 4 in linear_rules_check.py flags every open project that has no target date. The reason: an epic is a parent issue with sub-issues, never a project (handbook v3.2, DEC-0622). <Product>: Maintenance projects are exempt. linear_standard.check_project now refuses a project that has no target date, and its message names the parent-issue route. (17 Nov 2026)

  • announce-multichannel gets a release video gate: every ASB minor or major release (X.Y.0) needs an English feature-update explainer video (problem, before, after, real-screen demo, built with story-time) before any announce starts; patch releases (X.Y.Z) are exempt. New script asb_release_video_gate.py (classify, brief, mark, waive, check) (17 Nov 2026)

  • New Linear connector script epic_rebuild.py turns synced Jira epic-projects into parent issues (resumable, snapshot, dry run by default); used 17 Nov 2026 to rebuild the 29 AFM epics after the AFM Jira link was removed (17 Nov 2026)

  • Linear importer jira_archive_import.py --fill-synced no longer creates projects when Linear's Jira sync has not made the epic project yet; on 26 Oct 2026 it made 28 duplicate "Ecom Solutions:" projects, deleted 17 Nov 2026 (17 Nov 2026)

  • Jira connector create-issue --type Sub-task --parent <KEY> no longer sends the Epic Link field on the Work site; Jira rejected every sub-task with "You can't add sub-tasks to epics" (17 Nov 2026).

  • Meeting bot (vexa_bots.py auto) retries the Work calendar read once before it skips a cycle's joins; about 3% of cycles on 13-15 Nov 2026 lost every join to a one-off Calendar API timeout (16 Nov 2026).

  • Harness health no longer age-checks journal/state/tickets.json: no cron writes it, so the 48h watch raised a FAIL every quiet week (16 Nov 2026).

  • Public sync holds back the client workshop PDF in docs/explainer_slide_style/; the leak audit caught it on 16 Nov 2026 (the grid PNGs still ship).

  • slack_client.py post gets --broadcast: with --thread-ts, the reply is also sent to the channel (Slack's "Also send to #channel") (13 Nov 2026).

  • Linear filing is now one standard, enforced by the connector (13 Nov 2026). linear_client.py gets create-project and create-initiative, and create-issue now takes --type, --squad, --priority, --client, --description-file and --dry-run. All three check Handbook Part 2 before any write: title rules, the template headings for the type, a Given / when / then in acceptance criteria, Product and Size labels on projects, a number and an end date on initiatives, no duplicate title, AI-drafted label by default. A draft that breaks a rule is refused with the rule named; an issue missing Squad, project or priority is created and stays in Triage. /ticket documents the three objects and the dry-run-first flow.

  • /deck: update decks use the dense C-level layout (tag row, 3 to 4 bullet-card columns, 15.5px bullets, no empty bottom third); lists are always bullets, never run-on sentences; visuals before text (status dots, flows, progress bars, calendars, KPI tiles); the closing quote sits on the Thank you slide, not its own slide; publishing needs no approval, sharing the link stays gated.

  • Daily update runner skips the system-health-grafana-alerts channel (bot-only alerts nobody reads) and gives each channel 20 seconds instead of 12 in morning mode, so slow channels are read instead of reported as timeouts.

  • ledger_sync: a broken ledger can no longer be pushed. Before every push, and after every rebase, ledger_sync.py now parses the four ledgers and rejects invalid JSON and duplicate keys. A rebase that breaks a ledger is undone, and the error names the file. Git can merge two versions of a ledger as text with no conflict and still produce a file no parser accepts

  • ledger_guard.py no longer sends the routine "syncing in the background" note back to the session at end of turn; in the desktop app it re-prompted the model and caused an endless "No change." loop.

  • ledger_sync: untracked files no longer block the rebase. Before it rebases, ledger_sync.py now clears untracked files that origin/main also tracks: an identical copy is deleted, a different one moves to _temp/sync_collisions/<time>/. Such a file stopped every sync with "could not detach HEAD" and left the WSL host 22 ahead and 45 behind on 5 Nov 2026. The SessionStart hook session_git_sync.py does the same before its pull.

  • team_requests (Linear REQ intake): Project Team requests no longer create a Scoping Note Doc. Each request now appends a row to the PMO Intake Inbox Sheet (intake_sheet in team_requests.json); the PMO Apps Script creates the scope doc from that row. Failed appends retry via intake_pending.

  • Deck: no inline display on a slide, screenshot check before publish. /deck now bans an inline display on a .slide, which made one slide cover every other slide and left the deck blank. It also requires headless Chrome screenshots of the first, a middle and the last slide before publishing.

  • Deck: every deck ends with a quote. /deck now requires a final quote slide after the thank-you or ask slide: one short line that fits the argument, no other content. Work decks use a Middle Eastern proverb attributed by origin; other decks use a real quote with named speaker and year. Added to the spine check in step 1.

  • Linear: Team Requests Scoping Note. team_requests.py sync now creates a Scoping Note Google Doc for every Project Team request. It copies the PMO template into the Internal or External folder (from "Project type"), fills the placeholders from the form, and attaches the Doc to the REQ issue. Failed copies retry on the next sync.

  • Linear: Team Requests intake. New linear-connector/scripts/team_requests.py reads the Slack request forms for the Project and Growth teams and files each submission in the Linear REQ team's Triage. It sets the label (Growth Team or Project Team) and the priority, and links the Slack post as a synced thread so status changes appear there. The SOP is in Clients/Work/sops/team_requests_intake_sop.md.

  • PRD: Ed Biden's 23 PRD rules. New prd-pipeline/prd_rules.md maps each rule to the workflow. /prd now picks a tier first (S fix, M feature, L launch) and shows page one (problem, segment, evidence, non-goals, success metric, no solution) to the owner alone before drafting the solution. The template adds the Problem page, RACI with one owner, options rejected and decision log, launch checklist (support, legal, marketing, FAQ) and an Impact section filled 30 days after launch. The Crucible checks 8 more items; tier L adds a press release and a /hyperplan red team; tier S skips the Crucible score.

  • Office hours: monthly pack. New office-hours skill builds the "E-commerce Solution and B2C Office Hours" deck (latest updates and state, 12 slides) and the invite description for that month. A Thursday 13:30 WIB cron starts it four days before the first Monday. It stops at the approval queue: publishing and the calendar update wait for the owner. The deck is product level and covers the New World only; Old World client delivery stays out.

  • Google Docs: legends list one value per bullet. gdocs-create now asks that a "How to read" section, status key or size scale put each value on its own nested bullet under a bold field name, never several values in one line.

  • Linear: daily Squad auto-label. linear_squad_autolabel.py gives an open W1/W2/W3 issue with no Squad label the Squad its evidence names: the parent's Squad, the project's Product label when it is also a Squad in that team, or the synced Jira source board (TRAV, MBA, MSP, STOR, ML, MIM, RP, SP). It skips SP-board issues on LMS, Spotlight or SACO work and the AFM board, and only ever adds labels. Dry run by default; --apply --approved writes. Planned for 12:45 WIB, before the 13:00 rules check.

  • The sweep engine ships in the public template. /sweep ran run_sweep.py but the public repo had no sweep-engine, so a fresh copy fell back to a hand sweep. The adapters no longer hard-code the owner: the Slack user id and workspace URL come from auth.test, the Google Drive Slack app is matched by name, the calendar profile and the Linear mention handle come from config.json or the API. config.json, filter.json, state.json, runs/ and eval/ stay private; config.example.json and filter.example.json ship, and run_sweep.py creates filter.json from the example on the first run.

  • /sweep covers Linear in full and opens sub-sessions as each source finishes. The Linear adapter now reads every notification in 7 days (read or not; reading one in the app is not answering it) plus every issue the owner is assigned, created or subscribed to that moved in 7 days, with its comments, so a reply after the owner's own comment surfaces like a Slack thread. Linear bot comments (Jira sync errors) are dropped. run_sweep.py --stream <dir> hands over each adapter the moment it finishes (STREAM <adapter> <n> <path>, on a copy of the state), so /sweep labels and branches Linear, GitHub and calendar items in about a minute instead of waiting up to seven minutes for Slack threads.

  • A chat that reports its work closed now shows as done. session_cards.py sets a session card to done when the last reply says the tracked item is closed (for example "COM-1490 is closed" or "tugasmu sudah ditutup") and has no question, open checkbox or branch offer. Before, a card stayed active until someone ran set-status by hand, so finished chats showed a hollow circle in the session list. New activity still reopens the card. When a card turns done, session_cards.py also writes .asb/branches/status/<session-id>.json, so the ASB app shows the chat with a check in its list (the app applies that report for any session and sets it back to idle on the next turn). set-status <ref> done writes the same report.

  • Points and load per squad in Linear. New read-only linear-connector/scripts/squad_load.py splits each World cycle (W1, W2, W3) by the Squad label: issues, open issues, points done / in progress / not started, % done, unestimated and dropped per squad, plus open issues and points per person. Work is on Linear Basic with one team per World, so Linear's own cycle charts cannot show a squad; this report does. Issue count is the load measure until squads estimate (26 Oct 2026: under 2% of open Jira tickets carried story points).

  • The Seller Portal RBAC diagram publishes into Google Docs. embed_mermaid_in_gdoc.py registers [[DIAG_TWO_ROLE_SPACES]] (two role spaces on one identity backbone), so the Seller Portal RBAC and Identity PRD passes the readability gate's R3 placeholder check and renders as a real diagram on Drive publish.

  • A session moves to a new one only when that saves money. context_cap.py no longer hands off at a flat 150k. It reads the time of the last request and the cache lifetime it used (1 hour or 5 minutes) from the transcript, and asks for the handoff only when the session is at 150k or more and the cache has expired, or at 500k whatever the cache (CONTEXT_CAP_HARD, CONTEXT_CAP_SMART). The 120k warning is gone. While the cache is warm a long session just continues, because cache reads cost a tenth.

  • Token plan from the 23 Oct 2026 audit (14 days, 8,360 USD API-equivalent, 60% of it in requests above 200k context). Three new hooks: context_cap.py (UserPromptSubmit and PreToolUse on Bash/Agent) warns the session at 120k tokens of context and at 150k instructs it to finish the step, write a 10-line handoff and point the owner to /session <id>; model_nudge.py (first prompt only) suggests /model sonnet for coding, app and video work and /model opus for Slack, reply, context and document work, per the measured redo rates; output_hygiene.py (PreToolUse Bash) warns before an uncapped dump (whole-file cat, git log, Slack history, Fathom transcript, curl). New model_quality_weekly.py prints correction %, back-and-forth per session, turns per session and cost per turn by model and task class, with a keep-or-revert verdict per class (Sonnet stays only within 0.2 bolak-balik and 3 points of Opus); it runs Saturday 15:30 WIB on the WSL cron and writes journal/reports/model_quality/. claude_usage_today.py adds two health numbers (share of cost above 200k context, median first-request context). CLAUDE.md token habits now carry the 150k cap, the model-by-task-class rule and the branch-batching rule. Audit: _temp/token_audit_2026-10-23.md.

  • The evening update shows how much of each subscription plan is left. New subscription_quota.py reads the Claude plan usage (5-hour window, this week, per-model weekly limits) with the Claude Code sign-in, and the z.ai GLM Coding Plan quota with its key, and prints percent used, percent left and the reset time in WIB for each window. Read-only: it never refreshes a sign-in, and reports an expired one. Kimi and Antigravity are named as not measurable, because neither publishes its remaining quota. The evening workflow pastes the output under "Plan limits".

  • Fathom sync no longer crashes on an empty calendar token. fathom_to_notes.py and fathom_registry_sync.py treat an empty or corrupt token_calendar.json as missing: the registry sync skips that calendar, and the notes sync falls back to the Work calendar token. Why: the personal token file has been 0 bytes since 12 Oct 2026, so both evening steps failed with a JSON error and no Fathom notes or registry entries were written for 11 days.

  • Disk tidy removes stale Rust build output; disk guard watches the WSL disk. disk_tidy.sh (Saturday cron) now deletes src-tauri/target and *-target folders in ~/repos/* that have had no file touched for 7 days, and skips the step while cargo or rustc runs. The You disk_guard.py alert now warns on WhatsApp when C: is under 40 GB (was 30) or when the Ubuntu disk file (back on C:\wsl\Ubuntu) passes 450 GB, and also when Windows reports any physical drive as not Healthy. Why: on 21 Oct 2026 about 150 GB of old target folders filled the WSL disk, which lives on C:, and C: fell to 11 GB.

  • linear-connector: new jira_sanitize_for_sync.py fixes Jira descriptions before a board joins the Linear two-way sync, without changing words. Literal ``` fences become real code blocks and each + gets an inline code mark, because a Linear description edit otherwise drops fenced lines and turns `+` pairs into `` in Jira. Run it on each board after the archive and before the touch step.

  • Linear's Jira sync owns open issues; two tool changes. New jira_touch_for_sync.py lists the open issues of a Jira project and adds then removes a linear-sync label (notifyUsers=false) so the sync picks each issue up; dry run by default, --approved to write, about 3 per second, resumable state, and --verify --team KEY lists touched keys that have no synced Linear issue. jira_archive_import.py --fill-synced finds the Linear issue the sync created (one paginated query on the Jira attachment) and fills it instead of creating a copy: footer appended once, archive comments, files, epic project and sub-issue parent. An open issue with no synced issue goes to missing_sync in the state file and is skipped. With the flag, Jira issue links become real Linear relations when both ends are in the team (synced or copied), skipping relations that already exist; the footer keeps links to issues outside the team. New --closed-only runs just the closed plain copies. Behaviour without the flags is unchanged. --fill-synced no longer writes the import footer into the description of a synced issue (the description syncs both ways to Jira, so the footer leaked into live Jira): the footer goes in one top-level Linear comment, and a footer left by an older run is stripped. Epics map to the project Linear's sync created for them (found by its externalLink key) instead of a new Ecom Solutions: project; the epic footer goes in a project comment, and a new project is created only when none exists.

Changed

  • The Work Ledger is now a Google Sheet that anyone at Work edits, not a folder in git. People outside product and tech could not open pull requests. The Sheet has Decisions, Blockers and Projects tabs with dropdowns and a next-ID cell. The daily update now only reads it and saves a snapshot for AI agents; it never overwrites what people wrote.

Fixed

  • Google token guard (You repliz_integration/google_token_guard.py) now alerts the WhatsApp self-chat through the wa-for-pm bridge instead of Telegram, in plain Indonesian. A failed send writes data/archive/token_guard_alert_pending.txt. New: --test. Detection and dedupe unchanged.
  • Disk guard alerts (You tools/disk_guard.py) now go to the WhatsApp self-chat through the wa-for-pm bridge instead of Telegram. A failed send writes data/archive/disk_guard_alert_pending.txt and exits 1. New: alert --test.
  • Imported Jira tickets are easier to find in Linear. The Jira importer now adds a link attachment titled with the old key (for example "Jira ABC-123") on every issue. It also closes a code block that a Jira description left open, which used to swallow the "Imported from Jira" footer.

Added

  • Your product wins now go into your CV by themselves. A new achievements-tracker skill reads your product's monthly numbers from Metabase, a JSON file or any command. When a number grows a lot, it drafts a CV bullet with the caveats and the decisions you made in that period, and messages you. If you do not reply within 7 days, the bullet goes into your CV and an evidence file. Newer numbers replace the older bullet. A monthly "CV review" on your calendar is where you fix the wording or reject a win. Copy config.example.json to config.json to set it up. When the data source cannot be reached, it tries again on the next run, and tells you if the month is still unread by the 10th.

Changed

  • Simple requests now get done without waiting for approval. A new triage rule sorts every incoming request into: just do it (create or edit Jira, Linear and Legal tickets, update trackers, internal docs, a one-line "raised it as X" reply in the same thread), draft for approval (every other message sent as you, client-facing work, YourManager and Julie), or your decision (scope, dates, money). Reply-router sessions and the ticket command follow it. Messages that say more than "done, here is the link" still wait for your approval.

Fixed

  • Comment pins now show on slide decks. The artifact-comments client tested every pin against the <body> box, and a deck whose slides are absolutely placed has a zero-height body, so every pin was treated as off screen and hidden while the comment still saved. The client now skips <body> overflow when it only clips the viewport. Found on the Marketplace complaints deck, 19 Oct 2026.

Added

  • Pinned Claude models move to the newest version by themselves. New claude_model_pins.py lists the available Claude models with the Claude Code login (no API key) and moves every pinned id in the WSL, Windows and repo settings.json files and the Telegram bridge .env files to the newest model of the same family (haiku, sonnet, opus, fable). It keeps a dated backup, restarts a bridge whose .env changed, commits and pushes the repo settings, and reports short aliases instead of rewriting them. It runs daily in maintenance.sh with --apply --heartbeat; an unreachable Models API is reported as UNCHECKED, never as current.
  • Model names are pinned to full IDs. .claude/settings.json now names claude-opus-5-5 and subagents claude-sonnet-5-5 instead of the short names. An older Claude Code binary (for example one bundled with an editor extension) maps "opus" to the model current at its build, which on 18 Oct 2026 sent a Telegram bot to Opus 5 and its background calls to Haiku 4.5. A full ID means the same model on every binary.
  • The evening update shows what Claude cost today. New claude_usage_today.py reads the day's Claude Code transcripts (WSL and the Windows ASB app), prices them at API rates, and prints the total per model plus the three most costly sessions with their first prompt. Requests on non-Claude models are counted apart, as no Claude quota. The evening workflow pastes the output under "AI cost today". CLAUDE.md gets token cost habits (one session per subtask, prepared material, short output) and routes lookups to glm-5.3-flash or agy-bridge before Haiku.
  • Linear flags are plain labels, not a group. Linear allows one label per group on an issue, so QA failed, Blocked, Hotfix, Tech debt, AI-drafted and Jira import could not combine. The six labels were moved out of the Flag group (group deleted), jira_archive_import.py now sets the status flag and Jira import together, and LINEAR.md says so.
  • jira_archive_import.py lists open issues that need a split. Linear allows one Area label per issue. The importer sets the first Jira area and keeps the rest in the footer; an open issue with more than one area is printed on a "needs split" list for the squad lead, who splits it into one sub-issue per area (LINEAR.md v2.2, label groups).
  • jira_archive_import.py: open epics import with ALL their children (--open-epics-all-children, on by default). Rule set by the owner on 18 Oct 2026 for every board import: an open Jira epic becomes a Linear project together with its closed children and their sub-tasks, and is skipped only when empty (no child, no description, no comment). Closed children get the mapped done state (Won't Do to Canceled), completedAt from the Jira resolution date, no assignee (Linear cannot skip notifications; the footer names the Jira assignee), and files copied into Linear. --closed-children-of limits the closed pass to named epics. The importer also sets one Area label only (the group is exclusive).
  • linear-connector/scripts/jira_archive_import.py: our own Jira-to-Linear importer. Linear's native importer finished with 0 issues because its mapping object is undocumented, so this script reads the Jira archive (issues.jsonl plus saved files) and writes through the GraphQL API into one team. It imports only open issues, turns epics with an open child into projects, sub-tasks into sub-issues, applies the status mapping file, keeps comments with author and Jira date, uploads every file to Linear storage, and writes a footer with the Jira key, links and unmatched assignee. A state file makes a rerun skip finished items. It refuses to write without --approved; --dry-run prints counts only.
  • linear-connector/scripts/linear_rules_check.py: daily check of three Linear rules, plus a Product project label group. Linear cannot block these at write time, so a read-only checker lists every violation with its Linear URL and the person to fix it: open W1, W2 and W3 issues without a Squad label (Triage, completed and canceled exempt), projects without exactly one Product label (Scratch team and finished projects exempt), and initiatives missing an owner, a target date or a Success metric section. Writes journal/linear_rules/latest.md and a dated copy; exit 0 clean, 1 violations, 2 API error. --commit commits and pushes only the report files. It runs daily at 13:00 WIB on the WSL host, and the morning update reads the report. The 12 Product labels (B2C Super App, Ecom Solutions, Travel Shop, and so on) now exist in the workspace.
  • jira-connector/scripts/archive_all.py: full Jira archive before the move to Linear. Exports every issue on the 9 ExampleVendor boards with all fields, every comment with its author, the full change history, remote links, PR and branch links from the Development panel, and every attached file, into <out>/<PROJECT>/issues.jsonl plus files/<KEY>/. Writes manifest.json with counts next to the 15 Oct audit. Resumable per project and per file; --since re-exports only changed issues for archive #2.
  • gmail_manager.py send now refuses without --approved. Same gate and wording as slack_client.py (the shared require_send_approval, now labelled Gmail), checked before any network call and before the text gates, with no environment bypass. send_email() takes approved=False, so a programmatic caller is gated too. Every documented send command carries the flag, to be added only at the post-approval step; a recipient outside the work domain still needs the two-turn approval first. docs/gates_inventory.md gap 1 is closed.
  • The Slack handle gate now runs inside slack_client.py. A named, resolvable person with no <@ID> is refused on post and update before the network call, using the same logic as the hook (gates/handles.py, override SLOP_GUARD_ALLOW_PLAIN_NAMES=1, also barred from token.env). Two live accounts for one name warn and pass. The chase queue and the dashboard click-send stay warn-only: they print the finding and pass the same override to the child, so a cron send cannot start failing.
  • Em-dash gate on Linear and Jira writes. linear_client.py (create, update, comment) and jira_client.py (create, edit, comment) refuse an em-dash or en-dash in the title, summary, description or comment, after the --approved check and before the network call. Override SLOP_GUARD_ALLOW_EMDASH=1. docs/gates_inventory.md records exactly what is left for WhatsApp, which lives outside this repo.
  • Send gates now live in the sending scripts, not only in Claude Code hooks. The em-dash ban, the internal Fathom link block and the reply-router conversation claim moved into a shared package, .agent/scripts/gates/. slack_client.py (both connectors), gmail_manager.py send and gdoc_comment.py run those checks before their first network call, so the rules hold under agy-bridge, opencode, cron or a member's setup. The hooks import the same functions and behave as before. Overrides are the existing ones (SLOP_GUARD_ALLOW_EMDASH=1, SLOP_GUARD_ALLOW_FATHOM_CALLS=1, CLAIM_GUARD_DISABLE=1); slack_client.py refuses to read them from token.env. gates/outbound.py check gives WhatsApp helpers outside the repo the same check. docs/gates_inventory.md lists every hook as in-tool, moved, or hook-only with a reason.
  • A read-only checkout health check. one_host_check.py reports which checkouts hold unpushed commits, which machine last wrote each journal/state file, and whether the ASB app opens a non-canonical checkout. Nothing was changed on any machine.
  • A prompt hook recalls the right memory files. memory_recall.py (UserPromptSubmit) matches the prompt against the names and descriptions of the files in journal/memory/ that the always-loaded MEMORY.md index does not list, and prints at most five lines (Relevant memory: <name> - <description> (<path>)). Kill switch: MEMORY_RECALL_DISABLE=1.
  • Routines keep a note between runs. routine_memory.py recall <routine> prints the last note and retain <routine> --text ... stores a new one (last 20 kept in journal/state/routine_memory/<routine>.jsonl). The daily update, the sweep and the chase queue now start with recall and end with retain, so a run does not repeat the searches the last run settled.
  • Sessions can find, warn and message each other. Say "sesi lain", "yang tadi" or "the other session" and a prompt hook (session_mention.py) adds one line with the three session cards that best match your words. claims.py records which session holds a Google Doc, Jira or Linear key, file or branch (a claim goes stale after 12 hours, or when its session is done), and the Doc writers now warn when another live session holds the Doc and claim it for the current one otherwise (resource_claim_guard.py; it warns and never blocks). session_notes.py leaves a note for a session or for a work-tree node, and the target gets it at its next start (notes_inbox.py, five at most).
  • Every Claude session leaves a card, and new sessions see who else is running. At the end of each turn a Stop hook (session_card.py) writes one small JSON file per session to journal/sessions/: a spoken name, a one-line purpose, the status (active, or waiting on you when the last reply ends in a question), the links, ledger ids and work-tree nodes it touched, and up to three open items. The card points to the transcript and never copies it. Because the folder is in git, a Windows, WSL or macOS session can see the others. At session start also_running.py lists up to five sessions active in the last 24 hours, one line each. session_cards.py adds list, show, active-brief and set-status, and /session (session_ref.py) now reads cards first and opens a transcript only when the card is missing or the detail is needed.
  • Session cards get a better purpose and name over time. A card starts with the first prompt as its purpose. session_cards.py refine [--max 10] takes cards that still carry that raw text and have at least three user turns, asks claude -p --model haiku for one plain English line under 90 characters plus a 2 to 4 word spoken name, and stores purpose_refined. It runs from a temp directory with the card hook off, so it writes no card of its own, and it never runs inside the Stop hook. At session start also_running.py launches refine --max 5 in the background with no output and no wait, at most once every 30 minutes (stamp file journal/sessions/.refine_stamp, gitignored). Off switch: SESSION_REFINE_DISABLE=1.
  • Every work-tree node now shows the records filed under it. Commitments, waiting-on and decisions already named their node; now the node names them back. work_tree_rollup.py builds the reverse link from the records on every ledger sync, so it never drifts from them: a node's live records, counts for everything below it, last activity, and a health worked out from the records (red only when something slipped in the last 7 days, amber for older overdue, due soon, or live past 30 days). A parent takes the worst health below it. You can set a node's health by hand, but only with a reason, and with an end date if you want it to lapse. work_tree.py show <node> prints all of it, and the dashboard Work tab shows it next to the node. work_tree.py set-next ties a node's next step to the records it waits on, and the rollup flags record ids in a node's notes that have since closed.
  • Waiting-on records tell you when they move. The waiting watchdog checks every hour whether the person you are waiting on replied in the thread, and runs "done-checks" for asks that finish as an action instead of a reply (first one: a GitHub repository now exists). When a record you watch moves, by any path, one Slack DM from the bot lists it with the link, so you can continue straight away. New records are watched by default; older ones only after watch <id> --on. The morning update opens with "Moved since yesterday" from the new moved command.
  • The daily update can keep a read-only Sheet copy of a git ledger. A team that records decisions and blockers as files in a git repository can let people without git still read them. When the workspace has a ledger mirror script, /daily-update runs it once a day in Step 4: it pulls the ledger repository, rewrites a Google Sheet that nobody edits, and does nothing on a second run the same day. Creating the Sheet the first time still needs an explicit go.
  • Haiku agents stay under 100,000 tokens of context. Claude Haiku 5.5 charges five times more per token once one request's prompt passes 100,000 tokens, cache reads included, and every turn re-reads the whole history. Splitting 400k of work into five fresh agents of 100k or less costs about a tenth of one long run. New chunk_work.py splits a work list into chunks of about 85k tokens and keeps findings in a state file, so each fresh harvester reads one chunk plus the earlier findings and stops. harvester gets maxTurns: 20 as a backstop, and CLAUDE.md Subagents has the rule.
  • Ledger records lose priority when nobody raises them. priority_decay.py calculates
    each open commitment, waiting-on and decision's priority on every read: one level down
    after 14 days with no signal, another after 30, and at 30 days it goes on the Saturday
    review list. A signal is a reply in the record's Slack thread, a meeting note or decision
    citing it, a ticket update, a chase, or priority_decay.py signal <ID> --why "...". Your
    own briefings do not count, so listing a record does not keep it alive. Records due within
    7 days, or owed to or by the two named VIPs, never decay; records under a live work-tree
    node drop one level at most. The tracker opens with a Relevance section, the morning
    carry-over shows each record's level, and the chase list picks by level.
  • Linear admin access can be cut back in one command. linear_client.py restrict-admins --keep a@x.com,b@x.com
    shows who keeps admin and who drops to member, and changes nothing until --approved.
    linear_client.py members lists every active user with their role.
  • Calendar events can repeat. gcal_manager.py create --recurrence 'FREQ=MONTHLY;BYMONTHDAY=5'
    makes one recurring event, for checks like a monthly earnings review.
  • A weekly report shows which sessions spent the most, and on which model. token_usage_report.py
    ranks sessions by price-weighted tokens, splits parent and subagent spend, and shows the share of
    subagent spend on Opus. It runs every Monday at 12:55 WIB.
  • Subagents with no model run on Sonnet, and costly spawns get a warning. .claude/settings.json
    sets CLAUDE_CODE_SUBAGENT_MODEL=sonnet, so a spawned agent no longer inherits an Opus session.
    The new agent_spend_guard.py hook warns, and never blocks, when Opus is named for QA or lookup
    work, a session passes 15 agents, or an agent spawns another agent. It is safe to also register
    globally: two copies of the hook on one spawn log and warn once.

Changed

  • CLAUDE.md is smaller. The always-on file went from about 83 KB to about 61 KB (about 30 KB outside the app-managed sections). Long mechanics moved verbatim to docs/claude_md_detail.md; every hard rule keeps a one-line statement and a link. The map of what moved where is docs/claude_md_slim_2026-10-15.md.
  • MEMORY.md is split by scope. It keeps the user and feedback lines (always loaded). Project and reference lines moved to INDEX_project.md and INDEX_reference.md in the same folder, each linked from MEMORY.md.
  • The Dashboard no longer loads into every session. dashboard_context.py now injects a 2-line pointer; the trimmed Dashboard block loads at session start only for cron or daily-update runs (AGENT_MODE=1, PSB_ROUTINE, or a headless claude -p ancestor) or with DASHBOARD_CONTEXT_FULL=1. Otherwise dashboard_prompt_context.py (UserPromptSubmit) injects it once, the first time a prompt looks like Work or PM work.
  • Records can no longer sit on a top-level area. Filing a commitment, waiting-on or decision on an area like "E-Commerce Solution" or "B2C Super App" told you nothing about which piece of work it moves, so the ledger tools now refuse it and list the nodes underneath. A top-level node with nothing under it still takes records. work_tree.py coverage and validate report any record still sitting on one.
  • A record's squad now comes from its work-tree node. portfolio_tagger.py reads the node first and only falls back to guessing from the record's text when the node does not say which squad owns the work.

Fixed

  • commitment_ledger.py close, drop and dedupe no longer crash on a record whose notes is a plain string. A shared _notes() helper turns the string into a list before appending, so the weekly audit can drop old records.
  • Session card refine no longer pops up a terminal window on Windows. also_running.py started session_cards.py refine with DETACHED_PROCESS, so the child had no console, and its claude -p --model haiku call got a new visible console (shown by Windows Terminal) at most every 30 minutes. The hook now uses CREATE_NO_WINDOW | NEW_PROCESS_GROUP, and summarize_with_claude() passes CREATE_NO_WINDOW as well.
  • The ledger watcher now sees gmail_manager.py send --approved as a sent email, and ignores a refused one. The old pattern only matched gmail_connector or gmail.py, so a real send by the connector script filed no "Email sent" reminder. The draft_lint_stop.py hook also takes DRAFT_LINT_LOG, so tests no longer write fake events into journal/draft_feedback/lint_events.jsonl.
  • Draft jobs fall back to GLM when the Gemini quota runs out. When z.ai came back on 21 Sep, GLM was re-added to the reasoning and cross-lineage chains but not to the draft chain. So when the Antigravity Gemini quota ran out, every pre-meeting card skipped its cheap writer and went to Claude. This happened on three mornings in a row. glm-5.3-flash now sits third in the draft chain, after the two Gemini models, which matches the 22 Jul ordering decision.
  • Unattended Claude jobs find Claude again when only the editor extension has it. On a machine where Claude Code exists only inside the VS Code (or Cursor) extension, ai_call.py found no Claude and handed every job to the non-Claude bridge. Jobs that need tools refused to run, so the Saturday ledger audit skipped itself with "tools-unavailable" and the waiting-on pile grew unchecked. It now falls back to the newest extension binary, which shares the same sign-in. The audit also stopped forcing an old stored token over that sign-in: the token had expired, and every run failed on "Invalid bearer token" in two seconds.
  • A deferred or cancelled ticket no longer closes a record. The daily automatic check closed any commitment or waiting-on whose ticket Jira files as "done", and Jira files Deferred, Won't Do and Cancelled there too. Two records closed as answered because their ticket was deferred. Those states now go to the model and the weekly review as evidence instead, and Linear's Canceled is treated the same way.
  • Published artifacts now show up in the app's Outputs panel. publish_cf.py deploy printed only the per-build https://<hash>.work-artifacts.pages.dev address, which Outputs skips on purpose, so no published HTML artifact ever reached Outputs. A deploy now ends with one Name -> https://work-artifacts.pages.dev/<slug> line for each artifact it added or changed, and the new publish_cf.py links <slug> prints the stable link of an artifact that is already live, for handing it over.
  • The public sync survives a sync from another machine. When the public repo already had a newer sync commit, the push was rejected as non-fast-forward and the release never ran. The sync now moves onto the remote commit and keeps the freshly built tree, so nothing published there is lost.
  • The waiting-on sweep closes a record only when its owner replies. Before, any reply in the
    thread from someone other than the owner closed it, so one person's answer could close another
    person's open ask. When the owner's Slack id is unknown, the old behaviour stays.
  • The calendar sweep shows the right "Today" before 07:00 WIB. gcal_manager.py sweep
    took the date in UTC, so an early morning update listed yesterday's meetings. It now uses
    the host's local timezone.
  • link_sync.py no longer crashes on a Windows console. Its tick-mark output raised a
    UnicodeEncodeError under cp1252, so the run looked failed. Output is now UTF-8.

Added

  • Migration backlog rows show where the work really is. afm_linked_sync.py
    reads the delivery tickets each backlog row cites (MSP, STOR, MBA, MP, MPS),
    writes them as clickable links with their live status, and fills the PRD
    column. It proposes a row status change only from the row's own delivery
    ticket, never from a legacy or dependency ticket. A second mode rewrites each
    tracking ticket's description from its sheet row: what, context, engineering
    questions and answers, blockers, related tickets, PRD and backlog link.
    Both modes are dry runs until --approved.
  • Backlog rows without a ticket get one, with a one-pager inside it.
    afm_create_tickets.py turns a one-pager per backlog row (story, why, scope,
    acceptance criteria, dependencies, open questions, what is missing before
    estimation) into an AFM Jira ticket: epics first, stories under them, every
    description linking its PRD section and the sheet row. A dry run writes one
    review file to read before anything is created.
  • Long Jira batches survive slow responses, and a ticket rewrite never loses
    text.
    The AFM Jira helper retries reads and updates after a timeout (never
    creates, which may have landed). Rewriting a ticket description keeps the
    text it replaces under a "Previous description" heading.
  • Reply drafts get a review page with pinned comments. draft_review.py publish
    turns a draft file (the original thread plus the draft) into an unlisted page on
    the artifact host with shared comments on, so the owner marks the exact line to
    change instead of retyping it in chat. Revisions republish to the same URL,
    comments reads the pins back, and pages expire from the site after 30 days.
    Sending still needs approval in chat.

Fixed

  • Mixpanel raw export reaches the EU data host. The connector called
    data.eu.mixpanel.com, which does not resolve, so every export failed with
    a DNS error. It now calls data-eu.mixpanel.com.
  • The public sync blocks timestamped token backups. A file named
    token*.json.bak-<date> slipped past both token*.json and *.bak. The leak
    audit stopped the push, so nothing leaked, and the blocklist now covers the name.

Full changelog: v0.17.0...v0.18.0