Kernel and policy
Changelog
Every change to the Ark kernel or board policy lands here. Keeping this page current is a standing rule in the kaptio-ark repo: a kernel change without a changelog entry does not ship.
2026-11-27
Creating an intent from a chat happens once
fixCreating an intent from a Cursor chat could report an internal server error even though the intent was created, so agents retried and made copies. It happened to people who have both the team hook and an older per-person hook, which send the request twice. The board now creates one intent at a time and gives a repeated request from the same person with the same title the intent it already made. It also stopped three of its own background jobs clashing on the same checkout, which left the board's view of main stale until the next 10-minute refresh.
2026-11-26
os qa-test runs and publishes the test
featureOnce a QA test intent's gates are clear and ARK_REGRESSION_PUBLISH=live, os qa-test new and os qa-test submit run the intent themselves, so the test reaches Kaptio DX as a Draft without a separate os run, and the run log and task status are pushed to main afterwards. An Epic or release pack of more than five tests runs only with --run, and --no-run skips the run; when Ark does not run it, the command and the run log say why and give the os run command. A re-run no longer sends a test again that an earlier run already published or proved from the same commit. DEVOPS-678.
2026-11-26
Any Verifier signs QA tests, on main
policyA Verifier of any pod, not only the intent's own pod, may align a QA test intent and approve its plan, and os qa-test signs both in their name only when it creates the intent; anyone else's new intent waits as a draft instead of being refused. Adding a test with --intent never signs: a Verifier's new task inherits the current approval, and anyone else's waits for a Verifier. The intent files and every align or approval on a QA test intent are pushed straight to main, and a waiting intent shows as waiting on a Verifier in the run log, os status and the board. DEVOPS-678.
2026-11-26
Verifiers self-sign their own QA tests
policyWhen the person running os qa-test new or os qa-test submit holds a Verifier seat in the intent's pod, Ark records align and plan approval in that person's name, after the same read-back as os intent align, and the run log says so. This is the regression lane's qaSelfSign policy and covers QA test intents only. Anyone else, the Pod Lead and Agent Operators included, is refused before anything is written and pointed to --no-self-sign, which leaves the intent for a Verifier or the Pod Lead as before. A QA still accepts each Draft in Kaptio DX. DEVOPS-678.
2026-11-26
QA tests choose customer, folder and intent
featureos qa-test new and the new os qa-test submit --outline <file> take --target-customer (then the intent's test_target, then ARK_REGRESSION_TARGET_CUSTOMER, then qa-portal-test for a new intent), --folder "Single Test/{key}" (then the intent's test_folder, then ARK_REGRESSION_TARGET_FOLDER, else the library root) and --intent INT-N, which adds the test as a new task to an existing QA test intent. With ARK_DX_BASE_URL and ARK_DX_API_KEY set, Ark asks Kaptio DX whether the customer exists before it writes anything. A folder Kaptio DX would reject (for example more than 8 levels, or a part outside 1 to 80 characters) is not refused: the test goes to the library root and Ark prints a warning naming the path and the reason. An outline is a QA's own manual case in the Kaptio DX format; the builder copies it as written, and the qa-test-outline Cursor skill helps write one. DEVOPS-678.
2026-11-25
The hook check trusts what the board recorded
fixos session status, the commit guard and the check before intent-writing commands used to judge your hook only from files on your laptop, so an old clone could report a working hook as not installed. A chat the board recorded from you in the last 72 hours now counts as proof, and status says <em>working: the board recorded your chat at</em> and the time. When it still finds a problem, it says how far your clone is behind main. Intent-writing commands bring a stale main up to date before they check.
2026-11-25
Activation intents get shape warnings
featureIntents that carry a workstream now get board warnings, never lint failures, where the Customer Activation scorecard cannot read them: a metric window that does not start with a gate id or ISO date, such as G1 2026-11-20 (Week 1), a go-live row without a go_live_g8 metric dated the same way, a title over 15 words, or an outcome_when longer than one sentence. A success metric can also record customer sign-off progress as acs: { total, signed_off }, for the number of acceptance criteria a SIT or UAT moment has signed off; Ark warns on any intent where signed_off is above total or either is negative. A push to main that changes an intent also starts the journeys-catalogue pipeline, so the scorecard follows Ark within one build once the JOURNEYS_CATALOGUE_TRIGGER_TOKEN CI variable is set.
2026-11-25
Sweeps log their own run-log stage
improvementSweep cycles now write run-log entries with stage sweep, headed ### date - sweep - lead (model), instead of measure, which stays the Verifier's outcome measurement. The Customer Activation scorecard skips these entries when it shows a row's last entry. Older entries keep the stage they were written with.
2026-11-25
Intents carry a customer activation workstream
featureAn intent can now say which row of a customer activation it fills with workstream: data-migration, access, integrations-crm, integrations, build-verification, customer-feedback or go-live. The activation is the intent's alignment.project, so the field needs one. The board lint fails when a project has two live intents on the same row, and warns when an activation has rows but no CRM adapter intent. Intents without the field are unchanged.
2026-11-25
A chat starts on General and moves to its intent
policyA chat with no intent is now registered on General (INT-0511) from its first turn, so a chat that only answers, runs in Ask mode or is abandoned no longer leaves spend without an intent. Until it has its intent, the agent can only read and search. It finds an intent with echo ark-intent-search words, or creates a draft you own with echo ark-intent-new "outcome title" from any repository. Once the chat registers an intent, the reconcile moves the whole chat, the search included, to it. Subagents now follow their parent chat's intent; under enforcement they were refused every tool. Claude Code uses the same rules through PreToolUse and no longer blocks a prompt. ARK-EXEMPT: and ARK-NEW-INTENT: are retired.
2026-11-25
Spend no method places goes to General
policyFrom 25 November, spend the reconcile cannot place any other way goes to General (INT-0511) under its own method, general_fallback. That covers cloud runs that never fired a hook and people whose hook does not run. It still appears per person in attribution.json and ATTRIBUTION.md, and the daily reconciliation watch reports it apart from automatic reconciliation, so it never counts toward the 95% target. Earlier days keep their figures.
2026-11-25
Acceptance orgs use artifact ids
featureos dx datasets printed one storage path per dataset, always in GCS form, and there was no listing for metadata. Archives that live in GitLab have nothing at that path, so an intent that named one sent Kaptio DX a path its preflight could not find, and the acceptance org was never built. Now os dx datasets --customer <slug> lists the customer's datasets as artifactId => name and its metadata as metadataArtifactId => name. The provision spec takes those ids, and Ark sends them with the customer's id, which Kaptio DX resolves wherever the archive is stored. Ark checks each value against the listing first and stops before Kaptio DX is called when one matches nothing. A row with no id still goes by its catalog name, which is a real GCS object. Specs that name a row by its catalog name keep working and are sent by that row's id. The Kaptio DX side lets Ark's key list metadata with ids, shows ids on GCS archives without a backfill, and counts an id-only build towards the verified badge. Until that reaches the Kaptio DX an intent uses, metadata is not listed: take the metadata id from the customer page in Kaptio DX, and Ark sends it unchecked with a warning. To deploy the customer's metadata, put its id in the spec: the SF Devs Kaptio DX does not add it to a build that names only a dataset, and Ark warns when a spec does that. DEVOPS-672.
2026-11-25
Board compares main with the sf-devs copy
featureSince 23 November the Ark service on sf-devs loads every intent change on main into Firestore, usually within 40 seconds, and a toggle in the board's top bar switches between main and a read-only sf-devs view. GitLab main stays the source of truth: the write API at /v1/intents commits to main first, then loads the change into Firestore with an audit event naming the person. Board and write API metrics now record which side answered a request and how long each write's git commit and Firestore load took, so the two can be compared before anything depends on the copy.
2026-11-24
Session rows reach main without a publish
improvementos session start and stop now send the window to the Ark board with your ingest.env token, and the board commits it to main with the hook rows. The local file is used only when the board cannot take the event. The commit gate and session publish skip a local row when the board already recorded that chat on the same intent, so people who still have the older hook installed are no longer asked to publish duplicates. The Cursor dashboard team hooks become small loaders that fetch the current hook from the board, so after one last paste a hook change reaches every machine with the next board deploy.
2026-11-24
A chat can create its own intent
improvementWith enforcement on, a chat with no intent could not run os intent new, so nobody could start work on an intent that did not exist yet. In Cursor the agent may now run a plain npm run ark -- intent new -t "title" before the chat has an intent, then register the new id with echo ark-intent INT-NNNN. In Claude Code, start the prompt with ARK-NEW-INTENT: and what it is for; the chat is held until a later prompt names the new INT-NNNN. The chat's spend from before the new intent was registered goes to that intent. It applies once the updated hook is in place: Cursor team hooks need the new copies pasted into the dashboard.
2026-11-24
Every Cursor chat needs an intent
policyEnforcement now applies to everyone, not only the pilot accounts. In Cursor, a chat's tool calls are denied until the chat has an intent: the agent picks one from your last 7 days when your first prompt clearly fits, uses INT-0511 for a clearly general question, or asks you. A Claude Code prompt with no intent is blocked. Start a prompt with ARK-EXEMPT: and a reason to skip tracking for that chat. An unreachable board still lets work through. On 23 November, chats with a working hook but no intent were the largest share of the spend that missed reconciliation, which stood at 82.4% automatic against the 95% target.
2026-11-23
os mr warns on missing dataset evidence
improvementWhen an intent links the dataset repository (kaptio-tooling/kaptio) or its run log points at it, os mr now checks intents/evidence/<intent id>/ for the export, the validate and import commands and the per-object counts, and prints a warning for each gap. It never blocks the MR, and intents with no dataset repository link are not checked. Work that never reaches the dataset repository is not detected. DEVOPS-663.
2026-11-23
Shared default datasets need a named approver
policyPublishing or replacing a shared default dataset (the Kaptio DX catalog or the dataset repository's default branch) is now a high-blast-radius write, because every new acceptance org seeds from it. It is Capability lane: an agent proposes it, names the approver, and does not publish or replace it on a chat request alone. The dataset is built through Kaptio DX or the Kaptio plugin only, and a new archive version gets a new incremental name instead of overwriting the original. DEVOPS-663.
2026-11-23
Datasets are exported, never hand-built
policyA dataset for an acceptance org is now built or changed only through the Kaptio plugin, the same as outside Ark. Export and import can each be done through Kaptio DX or through the Kaptio plugin directly (sf kaptio data export, sf kaptio data import). Kaptio DX runs the plugin, so the result is the same. Validate with sf kaptio data validate. No new route is introduced. Nobody hand-writes records, appends batch folders or edits an extraction in place, because the importer skips files outside each object's own folder sequence without an error. Before a dataset is published, validate it, import it into a fresh org and compare per-object record counts with the source org. The commands, the counts and every script go in the run log and intents/evidence/<intent id>. The Lead is given this rule when it plans an intent; the plugin and the Kaptio DX validators are unchanged. DEVOPS-663.
2026-11-23
Cursor needs only your ingest.env
improvementThe Ark board's download message and the cost guide no longer tell everyone to run install.sh. Cursor on a Mac or Windows laptop already runs the Ark hook through the Cursor team hooks, so save the file as ~/.ark/ingest.env (Windows: %USERPROFILE%\.ark\ingest.env) and send a prompt. Claude Code and Cursor on Linux have no team hook and still run install.sh, and rerun it after the hook changes because it copies a snapshot.
2026-11-23
Cursor can require a working Ark hook
policyArk can now block every Cursor prompt from someone whose Ark hook cannot record sessions, usually because their ingest token is missing, until they download it from the Ark board. A chat with no intent is not blocked for that: the agent still picks the intent or asks. The switch is one line in hook-policy.json and has been on since 23 November.
2026-11-19
A general intent for everyone
policyINT-0511 is open to everyone at Kaptio for Cursor chats that fit no other intent, such as a tool or process question or a quick lookup. Its spend is reported as company overhead, with a target of at most 5% of weekly Cursor spend. When a chat starts with no intent, the agent offers it only for a clearly general question and asks when unsure.
2026-11-19
The agent picks the intent or asks
improvementA Cursor chat that starts with no intent now gets the intents you worked on in the last 7 days. If your first prompt clearly belongs to one, the agent records it and tells you which and why; name another INT-NNNN to change it. If it is not clear, the agent asks and waits. Where blocking is on, the agent cannot use tools until the chat has an intent, and the prompt itself is no longer blocked, so the agent can read it.
2026-11-18
Enforcement of intent tracking is a commit away
policyWhether Ark's session hooks warn or block is now one file on main, tools/enforcement/hook-policy.json, read by every laptop and cloud agent through the Ark board. Enforcing blocks a Cursor prompt in a chat with no intent and a prompt from someone with no token. It also blocks a cloud run's tool calls until it records its intent, and subagents from a chat with no intent. A prompt starting ARK-EXEMPT: and a reason goes through. A pilot can enforce a named list first. Cursor team hooks now cover laptops too, so nobody installs the Cursor hook by hand. The file says warn today.
2026-11-18
Each agent role can pick its engine
featureOS_ENGINE_LEAD, OS_ENGINE_BUILDER, OS_ENGINE_REVIEWER, OS_ENGINE_VERIFIER, OS_ENGINE_PROBE and OS_ENGINE_UAT set one role's engine and win over OS_ENGINE. One run can put the builder on the experimental Claude Code engine and keep the reviewer on Cursor. With none of them set, every role stays on Cursor. Before a run, Ark checks each role's model with that role's engine.
2026-11-18
Subagent chats reach their parent’s intent
fixCursor bills each subagent under its own conversation, and no prompt names it, so on the ingest hook its spend reached no intent. The hook now registers each subagent with the parent chat’s intent when the subagent stops, through one team hook, so nobody reinstalls. Publishing session rows also derives subagent rows for chats the ingest hook recorded.
2026-11-18
Declared session windows count as automatic
policyThe daily reconciliation watch measures how much Cursor spend reaches an intent without manual or retrofit rows. A person's own session start and session stop now count as automatic, like naming the intent in a prompt: both say what the work is for while it happens. Backfills and rows written afterwards for past work still count as manual.
2026-11-18
The board takes main when an intent conflicts
fixThe board pulls main every 10 minutes. When an intent file had also changed in the board's own copy, it kept its copy and never updated that intent again: 124 files were stuck on 18 Nov, so INT-0505 showed SIT failed after a run on main passed. The board now takes the version on main and logs the file it replaced. It keeps its own copy only for a board edit that has not reached GitLab yet.
2026-11-17
Spend reconciles without a laptop
improvementArk now publishes each machine's kernel ledger to the repo after every agent run, so the hourly reconcile places kernel runs without the daily laptop recompute. That job had not run since 13 October, and it is now retired. A person's own Ark runs match only to that person's spend, with no list of operators to keep.
2026-11-17
QA operators can turn a Jira ticket, Epic or release into manual tests
featureos qa-test new <jira-key-or-release-id> --type manual [--target-customer <dx-customer>] [--max-tickets <n>] reads Jira and scaffolds a regression intent. A ticket key gives one task and one test. An Epic key, a release id or a versions URL gives one task per Done ticket that has a description, one test per ticket carrying its own Jira link, filed under epics/<name> or releases/<name>, and a DX pack when ARK_QA_TEST_PACK_DATASET is set. Tickets with no description are skipped and listed. A pack covers 25 tickets by default and 100 at most (ARK_QA_TEST_PACK_DEFAULT_CAP, ARK_QA_TEST_PACK_MAX_CAP), and writes no ark label to any ticket. After the usual align and plan approval, which now also covers each task's ticket, os run publishes to Kaptio DX. The customer comes from the --target-customer flag of os regression-tests, then the intent's test_target (default qa-portal-test), then ARK_REGRESSION_TARGET_CUSTOMER. A manual test is blocked from the shared kaptio library however the override arrives, in any letter case. Publishing is a dry run unless ARK_REGRESSION_PUBLISH=live. Tests arrive as Drafts and a QA approves them in Kaptio DX; Ark cannot. A Kaptio DX answer of 400 for a ticket that does not exist or that its Jira user cannot see holds the publish as failed until the key is fixed. Playwright as a test-type is refused until it's built. A re-publish may reset a folder a QA moved, and a pack over 40 tickets cannot be edited from the board. QA Verifiers of the deciding pod can now align and plan-approve such an intent themselves. DEVOPS-637, DEVOPS-638, DEVOPS-642.
2026-11-16
One shared token for cloud agent runs
policyArk ingest now takes one shared cloud token, stored as a Cursor team secret, for events that name a cloud agent run, whoever started it. Laptop events still need the person's own token. Ingest records a cloud-token event against the run's id only, never a laptop chat, and the reconcile places a run's spend by that id. So the worst a token holder can do is tag a run whose id they know.
2026-11-16
Cloud agents register with the ingest hook
featureThe ingest hook now registers a Cursor cloud agent run at its first shell command or file edit, because a cloud run's first turn fires no prompt event. Run as a team hook, it does nothing on laptops. A cloud run's row no longer opens a 12-hour session window, so it cannot pull the same person's other chats onto its intent.
2026-11-13
Builders fix their own PMD findings
featureAfter a local Apex task passes its quality gate, Ark runs the repo's own PMD ruleset (Salesforce Code Analyzer) on the changed classes and triggers and sends new findings back to the builder for up to 2 rewrite attempts (hard cap 3). It does not fail a task over findings or missing tooling: when the tooling (the Salesforce CLI, the Code Analyzer plugin or Java 11+; PMD is bundled with the plugin) or the ruleset is missing, or the analyzer output cannot be read, it skips and says so in the MR description, and findings still open after the cap are listed in the MR description. It runs again on a reviewer-requested fix. A task fails only if Ark cannot restore a commit after a bad rewrite. It came from a field-order finding that only surfaced late in review. A task with no findings adds one scan of about 6 seconds and no model spend; cloud builders are not covered. DEVOPS-620.
2026-11-13
Send-back tasks count verdicts signed in on the catalogue
improvementThe Journeys catalogue now takes verdicts and comments from people signed in with their Kaptio account and posts them through one review bot, naming the person in each note. os review-feedback counts those notes as that person's verdict when OS_REVIEW_BOT_USER_ID holds the bot's GitLab user id. Notes from catalogue members at Developer or above still count; every other bot and any guest comment stays context. With the variable unset, no bot note counts.
2026-11-12
The ingest hook is the way to track spend
policyThe cost guide, onboarding and the agent rule now point people at the ingest hook: download your ingest.env from the Ark board and run tools/enforcement/install.sh. It sends sessions straight to Ark, so there is nothing to publish. session install-hook is now the once-per-clone step that adds the commit gate. The target in the guide is 95% reconciled automatically, up from the 80% it used to state.
2026-11-12
Migration results need a ledger at 100%
policyA new rule, migration-ledgers, applies to every data-migration load or correction window. Each figure or done statement reported needs a ledger behind it, and a window passes only when every ledger row matches the source or carries an approved exception. Results are reported as 'X of Y records match, Z open', with an owner and a fix for each open item, after a fresh reviewer has checked the claims against the org. The practice comes from the DuVine migration and now applies to Bunnik.
2026-11-11
The reconciliation watch names people in Slack, not figures
policyThe daily reconciliation watch used to post the full summary to Slack: dollars billed, automatic, manual and unreconciled amounts and percentages, and a dollar figure beside each person. It now posts the reason (below target, stale, or both), the five people with the most spend not reconciled automatically, and a link to the job. The figures stay in the CI job log.
2026-11-11
The reconcile survives a bad intent and catches up when stale
fixA malformed intent (INT-0437, front matter opened and never closed) failed 16 hourly reconcile runs on 10 and 11 Nov, the 05 UTC write slot among them, and the committed numbers aged 33 hours. The cost sync now skips an intent the store refuses to write and reports it; a run outside the write window commits when the reconcile on main is 25 hours old or more; intents-guard-check refuses a change that leaves an intent's front matter unclosed; and the daily reconciliation watch fails when the committed reconcile is older than 30 hours. Slack alerts still need ARK_WATCH_SLACK_WEBHOOK_URL.
2026-11-11
Coverage is reported for the live days, apart from the carried baseline
improvementThe headline coverage blends days carried unchanged from the 13 Oct reconcile (81.1%) with the days recomputed since (66.5% on 10 Nov), so it read 77.6% while the live part slid. ATTRIBUTION.md now shows both rows under the headline, and os reconcile prints the live figure beside it. Retrofit rows for days inside the carried span cannot change it until someone with the team-admin key runs a full recompute.
2026-11-11
The board ingest hook counts as a working session hook
fixThe pre-commit gate and the install preflight only knew ark-session.sh. People on the board ingest hook (ark-session-hook.sh, from tools/enforcement/install.sh) would have been told to reinstall a hook their installer removes, and session install-hook would have added it back beside the ingest hook, recording every prompt twice. Ark now treats an ingest entry as a working hook, and session install-hook leaves hooks.json alone for those people and installs only the commit gate.
2026-11-11
Long run logs can live in month files
improvementos intent archive <id> --split moves an intent's whole run log, verbatim, into month files under intents/archive/<id>/run-log-YYYY-MM.md and leaves a pointer in the intent; --unsplit puts it back byte for byte. The board, the Activity tab, os intent context, cost sync and the Lead read the split log as if it were still in place. The intent index warns when an intent's notes file is older than its newest run-log entry, or when a split log no longer reads back. Only intents a person approves are split.
2026-11-10
Known issues are one file each
improvementKNOWN_ISSUES.md had grown to 263 KB, and agents read it whole before kernel work. Each of the 110 open issues now has its own file under known-issues/, and KNOWN_ISSUES.md is a 22 KB index with one linked line per issue. To record a new issue, add a file and one index line; a test keeps the two in step. When the Lead plans an intent it is handed the matching issue titles with the file to read.
2026-11-10
Act review packets and send-back tasks
featureA factory that has recorded a Journeys act now runs os act publish. It uploads the narrated video to the catalogue's package registry, writes the act's packet.yaml and transcript.vtt, and runs the catalogue's packet check. When an act is sent back in the catalogue's verification queue, os review-feedback reads the review issue and turns the reviewer's verdicts and comments into fix tasks for the factory that owns the act, and --apply adds them to the task graph. A note counts as a reviewer's only when GitLab shows its author as a catalogue member at Developer or above who is not a bot; guest comments and everyone else's notes go to those tasks as context and never count as a verdict.
2026-11-10
Situational rules load on demand
policyEvery Cursor session in kaptio-ark loaded 17 rules plus AGENTS.md, 80 KB, before reading anything about its task. Eleven rules that apply to one kind of work (intents, state reads, sweeps, code-lane delivery, MRs, kernel changes, Slack, Jira, coordination) now load when the agent does that work, and AGENTS.md lists which rule to read for each. The always-loaded layer is 35 KB, and a test fails if it grows. The target is 25 KB.
2026-11-10
Scratch orgs come from Kaptio DX only
policyNobody holds the Kaptio Dev Hub, so people no longer get asked to log in to it. For a code-rigor lane on a Salesforce repo the environment doctor now requires the Kaptio DX credentials and fails with no_direct_devhub when the machine has a Dev Hub authorised or set as target-dev-hub. The old Dev Hub scratch-capability and namespace checks are gone, because DX owns both. Builders on Salesforce repos are told never to create a scratch org or use a Dev Hub.
2026-11-09
Ark asks you to install the session hook
policyCommands that write intent state (run, plan, mr, intent new and log, task done and the rest) now check the Cursor session hook and the pre-commit gate first. On a terminal Ark offers to run session install-hook and then stops, because Cursor loads hooks at start-up: restart it and run the command again. With no terminal, such as a Cursor agent session, Ark refuses and prints the command. CI, launchd jobs (sweeps, dispatcher, daemon), ARK_UNATTENDED=1 and the ark@kaptio.com identity are never blocked, and session install-hook, session publish and setup always run.
2026-11-09
Pod leaders can edit intents on the board
featureAn intent now has an Edit tab: move its status through the gates (aligning shows the read-back first), change its pod, supporting pods, lane, owner, customer, priority, sprint priority and Jira links. The Intents table selects up to 100 intents for one bulk change and opens on your own pods. Budgets edits one envelope per org lane, and shows spend by pod. Who may change what comes from the org registry: a Pod Lead, Product Direction or director seat edits that pod's intents, the gate holder makes each status change, and a lane director sets that lane's envelope. A sign-in the board rejects now shows what it received instead of an empty board. The title, problem, outcome and tasks stay in git.
2026-11-09
Commits need your session rows on main
policyCoverage fell from 81% on 11 Oct to 73.8% on 8 Nov because rows stayed on laptops: one person's Cursor hook had not fired since 27 Oct. session install-hook now also installs a pre-commit hook in the checkout. A commit by a person is refused while their Cursor hook is broken or any local session row is not yet on main, and the message prints the fix (session publish --push from the main checkout). CI, commits authored as ark@kaptio.com and commits that touch only handover/sessions/ are not gated. It is a tracking gate: os reconcile still runs only in the hourly CI job.
2026-11-08
Cloud runs register with their intent
featureFrom 2 to 8 Nov, about 455 cloud agent runs and $14.3k of spend had no run record, so reconcile could not place them. Cursor Project coordinators now map to a default intent in handover/sessions/cloud-projects.json (DuVine, Costa, TTC Optionals, PLX, Lyra for PLX, Aurora, Kai and ark), and reconcile books their own runs there under the method cloud_run_inferred. A hook in the Projects repo registers each worker run as well, taking the intent from an "Ark intent: INT-NNNN" line in the prompt, or the Project default when the prompt names none. A published run record still wins over a default.
2026-11-08
Kai posts are labelled by caller
improvementThe sweep dispatcher now sends an x-kai-caller: ark-dispatcher header on every Kai API call, and the cycle prompts that post as Kai send ark-cycle and never ask for a reviewed post. The Kai backend logs each post with its caller once kaptio-agents !463 is deployed, and ignores the header until then. Ark answers keep every customer-channel gate.
2026-11-06
A retest task kind for reported paths
featureA retest task re-runs a reported path on a named org and proves the fix holds there: the fix test passes and a screenshot or video of the path is saved. It changes no product code and writes no regression bundle, so nothing is published to Kaptio DX. The Lead can plan it, and the patch lane template (now version 3) admits it after the implement task as an advisory stage. Other lanes do not.
2026-11-04
Builders write cleaner Apex
policyBuilders on Apex tasks now read the repo they are working in and follow its existing patterns before writing new code, keep the code they touch free of duplication, condense hand-rolled loops with newer Apex methods up to the sourceApiVersion of the repo, write new tests with Assert, and count queries and DML against governor limits, while leaving code the task does not touch alone. The rule sits in the kernel rules and in the builder prompt, backed by a committed Apex API reference with a lookup script and an advisory lint that never blocks a run. The reference comes from Salesforce documentation release 264.0 (API 68.0) and is refreshed by hand after a release, and the repo sourceApiVersion is the ceiling for system methods, not the version of a single class or the latest release. The lookup defaults to it, and a scratch-org compile of that policy has not been run (DEVOPS-552).
2026-11-04
MRs target the declared branch
policyEvery MR an Ark session opens, through os mr or straight through glab, takes its target from the intent or task base_ref. If neither names one, the agent asks instead of guessing. It checks the branch is still open and only targets release branches, main or tags in kaptiotravel, ktapi and kaptioconnect when a person named them. The MR description states the target and where it came from (KT-16381).
2026-11-04
Board tables sort by column
improvementClick a column heading on the intent board to sort that table: once for the first direction, again for the other, and a third time to return to the table's own order. Status, gate and priority columns follow the lifecycle rather than the alphabet, and the sort stays in the page address, so a shared link keeps it. Text on the board is also back to the browser's default size on wide screens, where it had grown by about a fifth.
2026-11-03
Session registration runs through Ark ingest
featureCursor and Claude Code hooks now register each session with the intent it names, through POST /session-events on the board. Name the intent in your first prompt (INT-0001: fix the export) or put it in .ark-intent at the repo root. Download your personal token from the board's top bar (Ark hook, Download my ingest.env), run tools/enforcement/install.sh --env-file <file> in a kaptio-ark checkout, and restart Cursor. If you installed earlier, run install.sh again to get the output cap and the model guard. The board checks that the intent exists and is open, spools the row, and publishes batches every 15 minutes as one bot commit to handover/sessions/ark-ingest-<month>.jsonl. Registration only warns today. Blocking a prompt that names no intent starts once every open intent has a pod, and the date is posted in #ark at least a day ahead. On Windows the Cursor hook runs through bash.
2026-11-03
Refused models are blocked in Cursor
policyFrom 27 Oct to 3 Nov, Cursor billed about $5.6k to models and settings the team had switched off. In Cursor, a model guard hook now refuses a prompt or subagent that asks for a disabled model (Fable) or a refused setting (Opus max, xhigh or fast, Sonnet 5 thinking or high), and the refusal names the allowed models. Claude Code managed settings cap effort at high and deny Fable. ARK_MODEL_GUARD=warn or off relaxes the guard, and it fails open on input it cannot read. Local SDK runs are not covered.
2026-11-03
Long tool output is capped
improvementAcross 19 agents from 26 Oct to 2 Nov, shell and log output made up 18% of the context added and child-agent reports 13%, and every later turn re-reads them. A hook now keeps the head and tail of anything over the cap and saves the full text under ~/.ark/output, pruned after 3 days; the model gets the file path. Claude Code caps MCP results at 12k characters and agent reports at 4k. Cursor rewrites Shell commands (not on Windows) and caps MCP output in the IDE. Cloud agents' HTTP MCP servers cannot be rewritten by hooks.
2026-11-03
The board is watched every 30 minutes
improvementA read-only CI job checks the board every 30 minutes: /health/ready, pod readiness and restarts, publish errors in the board log with the last successful publish, and that the workspace disk is Bound with Retain. Any failure fails the pipeline and mails the schedule owner, and posts to Slack when a webhook is set.
2026-11-02
The intent board runs on Flux 2
improvementThe board at kaptio-ark.sf-devs.kaptioapis.com moves to Flux 2, in a light or a dark theme. Each intent shows its Cycle 19 pod, the gate it waits on and who decides it, plus SIT, org readiness, UAT, open person takeovers, the scale advisory and a customer's AI stop. A new Pods view lists each pod's seats. Budgets groups lane envelopes under their directors and can add the Cycle 19 window. Every status, lane, gate and cost figure links to the section of this site that explains it, so this release adds those section anchors and a page section on the scale advisory.
2026-11-02
Builders follow a code-comment rule
policyCode written through Ark now follows one comment rule. Comments stay brief and appear only where the code alone does not explain why; a short summary at the top of a block is preferred over line-by-line notes, and comments do not narrate the change. Comments do not name staff, customer contacts or reviewers, and do not refer to Slack messages or threads; the Jira ticket key is cited instead. A test can cover a scenario that came from a customer, but the customer name stays out of code comments, test names, descriptions, fixtures and sample data, where neutral placeholder names are used. The rule sits in the kernel rules and in the prompt every builder receives. An automated check is still open as a follow-up.
2026-11-02
Budgets sit on lanes, set by Jón and Alex
policyFrom Cycle 19 the budget sits on the lane, not the intent: each lane gets an envelope for the planning window, set by its director (Jón for Tech health and Business tools, Alex for Go-Live Enhancements, Sweep, Migration, Patch and Regression, and Ragnar for Product & Concepts and Presales until they agree). When a lane's reconciled spend reaches its envelope, Ark stops starting new work in that lane and the budget gate names the director. Intents keep their charged cost for cost-to-outcome, and an intent's budget_usd stays as an optional cap on that intent.
2026-11-02
Journeys runs as six outcome intents
policyThe board listed Edge Journeys as one programme intent (INT-0154). Kaptio Journeys now runs as a product with six outcome intents, INT-0414 to INT-0419, each with one customer acceptor set and more than 10 acts in its body. An act groups use cases and their requirements, tasks point at them through a use_case field, and an act is never minted as its own intent.
2026-11-02
Asks from outside the roster get a plan
policyKai used to answer a change request from anyone outside the Agents & Tooling roster with "handed it to the Kaptio team" and nothing else; one week in October left a Jira ticket, a Project Hub edit and six DuVine data asks to be done by hand. Kai now routes those asks by lane and by who asked: Read-lane work such as filing a ticket runs, a literal Config change from Kaptio staff or a partner runs, and everything else becomes a plan a programme approver signs.
2026-11-02
Kai says when it cannot see the org
fixThe sweep dispatcher checks the customer org logins a programme needs before each cycle, tells the cycle which are live, and posts one notice to the team when a login dies instead of a run-log line every cycle. A cycle without a live session says so in its first sentence and names the source of any earlier check, and a cycle that stalls after answering no longer posts "something went wrong" under its own answer.
2026-11-02
UX persona renders Lightning components on the org
improvementThe UX persona now covers Salesforce Lightning components: match the Lightning UI around them, use Flux only through the shared lwcFluxStyles module, keep text in Custom Labels, and render on the acceptance org after the approved deployment step, at the users' viewport and with data shaped like the customer's, checking each design criterion and the size of every clickable control. os plan flags UI-looking tasks that carry no persona. On Stone 11, modal cells that passed Jest rendered as 4px dots on the org.
2026-11-02
A late session start opens its own window
fixA session start used to join any earlier touch for the same intent, however old, so one ten-minute declared session on 26 Oct became a window reaching back to 28 Sep and took a share of spend from chats that named no intent. A start now opens its own window unless it lands inside a live one, which keeps the 12-hour cap. Coverage for the people affected drops when the fix runs.
2026-11-02
Gates name the person to ask
featureArk reads the seven Cycle 19 pods from factory/registry and places each intent in one. When os run, os plan, os mr, os uat or os defect stops for a person, it names who decides that gate for the intent's pod, their backup and where to ask, and os who lists every gate. Lane owners and operators follow the pods, and the C18 line that kept Tauck and the Basket API off Ark is retired.
2026-10-27
One page for agents and personas
improvementAgents and personas lists every agent role and persona Ark runs, when each is invoked, its default model, where its prompt lives and when it needs updating, with the test for adding a new persona. The model table it replaces on People and roles had drifted from the code: builders, reviewers and probes default to composer-2.5 and the Lead to claude-opus-5-5-high.
2026-10-26
Person entries stay in what agents read
improvementThe run-log window now always keeps an intent's five newest person entries (os intent log --role person, or the board), so the context people add by hand still reaches the Lead and the sweeps on a busy intent. Sweeps read through the window but no longer archive run logs themselves; entries move to intents/archive/ only when a person runs os intent archive.
2026-10-26
Builders get repo-neutral scope rules
improvementEvery builder prompt asked for additive-only changes and named Ark's own kernel folders, whatever the repo. Builders are now asked for the smallest change, editing existing code in place where that is smaller, and the Lead's planners are told the brief is all a builder gets.
2026-10-21
os run refuses closed intents
policyThe align gate refused only draft and blocked intents, so os run would dispatch a released, superseded or abandoned one. It now dispatches only aligned and in-flight intents and says how a person re-opens one. os mr opens every MR it will not auto-merge as a Draft labelled ark:proposal and intent:<id>, which the autonomy ladder already required.
2026-10-21
The whole test suite runs in CI
improvementCI ran 13 of the kernel's 177 test files and never type-checked it; kernel changes now run npm run typecheck and every test. Getting the suite green fixed a kernel bug on git 2.48+, where an integration branch was cut from the current HEAD because a single-branch clone has no origin/HEAD. KNOWN_ISSUES.md now holds only open issues, listed by ### titles, with fixed ones in docs/known-issues-fixed.md.
2026-10-21
Closed-intent evidence leaves the checkout
improvementEvery full kaptio-ark worktree checked out 2.7 GB, and 963 MB of it was large evidence of closed intents that nothing reads, 850 MB of it from one load test. os evidence archive takes those files out of the checkout and records each one in a manifest; git history keeps them and os evidence restore writes them back. Files a page links to or the artefact index names stay where they are.
2026-10-20
Agents read the newest run-log entries
improvementProgramme intents gained a full run-log entry on every sweep cycle, so INT-0162 reached 43.8M characters and the Lead pasted whole intents into its planning prompts. The Lead and the sweeps now read only the newest entries (40K characters, at least three), and os intent archive moves older entries verbatim into monthly files under intents/archive/ with a pointer left in the intent. A pass that would change what the board or the align gate reads is refused; on the 20 Oct board, archiving 24 intents takes intent text from 90.4M to 8.9M characters.
2026-10-13
Ark proves its changes with regression tests
featureEvery code-rigor lane now ends with a regression task under the experimental QC persona: it writes tests that prove the change and runs them locally until they pass twice. After the run, Ark publishes them to Kaptio DX as proposed tests (the customer repository, or the shared library with customer, group, feature and release tags from the Kaptio DX vocabulary) and runs each until two in a row pass; a QA admits them. The stage is advisory, so a plan without it still runs. Publishing is a dry run unless ARK_REGRESSION_PUBLISH=live, and os regression-tests re-runs it. Intents can name the features they touch in a new features: field.
2026-10-12
The board shows every dated run-log entry
fixThe Pulse page and the Activity tab on an intent read only the first run-log section, so entries that sweeps appended at the end of a file, often under "Outcome", never showed: one intent stopped two months before its last entry. Both now read every dated entry in the file, as os status already did, and a heading that starts with a date counts as dated whatever format follows it.
2026-10-08
A customer can switch Ark off
policyThe customer registry carries a policy block per customer. When ai_tooling is prohibited, os run and os doctor refuse any intent for that customer with no override, and the sweep dispatcher disables the programme. Belmond is the first: Ragnar stopped all AI tooling on Belmond work on 28 Sep, so the Belmond sweep is off, its launcher exits, and os customer-registry --policy belmond prints the stop. The flag survives a registry refresh.
2026-10-08
Pushes that empty the repo are refused
featureA commit that deletes more than 50 tracked files, or more than 5% of the tree, is refused by a pre-push hook the kernel installs and by the mass-deletion-check pipeline job on every merge request and push to main. Three sweeps had pushed from sparse or no-checkout worktrees and deleted up to 14,562 files from main. The override is a commit trailer with a reason. The sparse-checkout recipe that caused it is withdrawn from KNOWN_ISSUES and every sweep prompt now requires a full detached worktree.
2026-10-08
Intent ids come from os intent new
policyAn intents/INT-NNNN.md that first appears in a commit other than its reservation push fails the intents-guard-check job, and so does a merge request that adds more than 500 files under intents/. Of INT-0350 to INT-0384, 17 ids were minted by hand; the test kit for INT-0383 added 5,030 files and the restore afterwards had to go in 243 batches. Ids up to INT-0384 are exempt. Each rule has a trailer override with a reason.
2026-10-08
Quiet ticks stay out of intent files
policyA scheduled sweep tick that finds no new activity writes nothing to the intent and prints one line to the launcher log instead; the log is the liveness record. The hourly cloud reconcile still computes attribution every hour but commits intent cost blocks once a day at 05:00 UTC, so an intent file no longer changes 24 times a day with no new spend. 159 hourly refresh commits had landed on main since 1 Oct, and 34 draft merge requests carrying zero-drift Aurora ticks were closed.
2026-10-05
Lane envelopes on the board
improvementOverview lane rows show sprint spend against each lane envelope. Money adds a progress bar per lane, opens the three highest-burn lanes, and warns when reconcile is older than 2 hours. The header chip shows that age. A person with the write role can set an intent lifetime budget from the Cost tab. Charged spend still comes from reconcile.
2026-10-05
One command to check a laptop
featurenpm run ark -- setup checks git identity, that main is current, Slack attribution, and the session hook, then requires the Ark Cursor key from GitLab rather than a personal key in .env. It only prints; it does not pull or edit the machine. People who never run os run use --collaborator, which skips the Cursor and GitLab checks.
2026-09-30
Default model map and lane-driven dual review
policyKernel defaults now use Composer 2.5 for builder, reviewer, verifier, and probe roles, with Opus 5.5 high for lead. Dual review runs on code-rigor lanes on the first pass; other lanes use one reviewer unless changes are requested, then escalate to dual unless OS_DUAL_REVIEWER_ENABLED=false. The sf-devs daemon Terraform env matches the same map (off Fable).
2026-09-29
Ark fetches its DX and KTAPI credentials
improvementWhen a run needs Kaptio DX or KTAPI's database, os run and os doctor read the credentials from the kaptio1/kaptio-ark CI/CD variables, the way the Ark Cursor key is read, so an intent owner no longer copies them into .env. On code-rigor lanes a credential Ark cannot resolve stops the run before any builder starts, and os run checks again once the task graph exists, so a first run is covered too.
2026-09-29
Org tasks must pass before dependents run
fixA task Ark finished with changes requested now holds the tasks that depend on it until a person accepts it with os integrate, because its branch never reached the integration branch those tasks start from. A task that asks for a scratch org or a DX build, or sets require_green in the task graph, is done only when its quality gate passes, and a failing script-style test check counts as a failure instead of zero. On INT-0351 a run spent $40.59, created no org, and still marked the org task done.
2026-09-28
Live board keeps up with main
fixThe board at kaptio-ark.sf-devs.kaptioapis.com now pulls main every 10 minutes and updates the intents that changed. Before, it showed main as it stood at the last pod restart, sometimes two days earlier. An intent file the pod edited itself still keeps the pod's copy until a person resets it.
2026-09-28
Daemon recovers its own locks
fixAfter a restart the daemon treated the repo locks its previous container left behind as still held, because the service always runs under the same process id, so 24 aligned intents on sf-devs waited for weeks. Each lock now records which process wrote it, and a restarted service reclaims the ones it did not write.
2026-09-28
Attention signals you can act on
fixStalled now reads the run-log headings sweeps actually write and means no entry dated today or yesterday; on 28 Sep that cleared 9 false flags, including the DuVine, GRJ and Bunnik sweeps. Dispatch refused shows only while the latest entry is the refusal. Up next lists only intents the daemon can start, the rest appear under Needs attention with the reason, and a new Over budget group lists intents past their budget_usd.
2026-09-28
Board stops re-reading every intent file
improvementThe board and the daemon keep a summary of each intent file and re-read a file only when it changes, instead of reading all 84 MB of intent files on every request and every daemon pass. On the same data, the intent list went from about 0.8 seconds to 0.04 seconds once warm.
2026-09-28
Money page shows billed and unattributed spend
improvementThe Money page states what Cursor billed over the attribution window and how much of it reached an intent ($289,181 of $400,907 on 28 Sep), and the Overview's lifetime spend card gives the same share. The intent drawer's kernel estimate reads the intent's own cost block when the board has no ledger of its own, and the header shows which commit of main the board's data came from.
2026-09-28
Lane operators follow the C18 roster
fixThe board's lane roster had listed each lane's owner as its only operator. It now carries the operator crews from the C18 Commitment Memo, including who is in training, and the delivery-gates rule names the code lanes it covers instead of the retired fix and full lanes. This site gained a People and roles page, a Lanes page rewritten for the twelve lanes, and the autonomy ladder on the Gates page.
2026-09-28
New intents run on Claude Opus 5.5
improvementNew intents now pin Claude Opus 5.5 for every role: planning and review at extra-high effort, building and verification at high, and the recommended OS_MODEL_* settings for operators match. It replaces Fable 5 and Sonnet 5, costs $4/$20 per million tokens against $10/$50 for Fable 5.1, and needs no data-retention exception. Existing intents keep the models in their roles block until the person working on one changes them. Superseded on 30 Sep: Composer 2.5 became the default for builder, reviewer, verifier and probe roles, with Opus 5.5 high for the lead only (see that entry).
2026-09-28
Spend counted once, everyone's chats counted
fixArk now refuses to write cost figures unless every billed cent lands on exactly one intent or on the unattributed list, and superseded intents no longer keep dollars that already moved to the intent that absorbed them ($61,690 had been listed twice). New os session commands install the Cursor prompt hook for any checkout location, publish your session rows so the hourly reconcile can see them, and show your own coverage; a prompt that lists three or more intents no longer pulls a chat onto one of them. The Cost attribution page explains what to do.
2026-09-23
Ark builds the acceptance org itself
featureAn intent whose outcome is an org a person will test on can declare verification.org_readiness.provision: the branch, the customer, the dataset (or none) and the KTAPI environment. Before any builder runs, Ark sends one request to Kaptio DX, records it on the task graph and resumes it on later runs instead of asking again, logs the org in under the readiness alias and connects KTAPI. Builders are told the alias and never request an org. On INT-0339 a builder had requested a bare org with no customer or dataset, and a retrying builder then asked for two more. os org-provision <id> does the same outside a run, and --dry-run prints the request.
2026-09-23
Stranded tasks run again
fixA task that a stopped run left in_progress was skipped by every later run, and the summary still looked clean. os run now takes a lock per intent, returns those tasks to pending and names them in the run log, and refuses a second run of the same intent on the same machine; the summary line shows in_progress=N when any remain. An intent whose only graph is the empty one os org-readiness wrote now decomposes on its first run.
2026-09-23
Gates that cannot run are not red
fixWhen a quality-gate command cannot start (the tool is missing or not on PATH) or is stopped by OS_GATE_TIMEOUT_MINUTES, the task fails as "quality gate could not run" with no fix attempts, and SIT stops instead of sending builders to fix code that was never tested. A task that asks for a scratch org or a DX build is no longer rerun by the fallback model, and gets a 90-minute stall window unless it sets one.
2026-09-23
One release MR per repository
fixos mr on a task graph that spans several repos used to push one repo's branch to Ark's own GitLab project and target. It now needs --repo <name> and opens the MR in that repo's project and target branch; without it, it prints the command for each repo. The target branch now comes from the intent's base_ref (or one every task of that repo shares) before GITLAB_TARGET_BRANCH or the repo default, and --target-branch overrides it for one MR. When the variable is the only evidence for one repo of a multi-repo graph, os mr asks for --target-branch instead of applying it to every repo.
2026-09-23
Preflight checks the Dev Hub namespace
improvementFor a namespaced Salesforce package such as kaptiotravel, the environment doctor checks that the configured Dev Hub owns the namespace before a builder runs, so scratch-org creation no longer fails halfway through a run. Jira credentials are also checked when a defect intent names its ticket only in its defect block.
2026-09-23
Visual evidence reads the files a change touched
fixTasks usually scope their work as directories, and a directory never matched a UI file pattern, so Lightning component work was recorded as touching no UI. The visual-evidence stage now also checks the files each integration branch actually changed.
2026-09-23
Ark runs under its own Cursor service account
policyEvery headless model call Ark makes (lead, builder, reviewer, verifier, probe, UAT, sweeps, packs) runs under the ark Cursor service account, so the Cursor dashboard shows Ark spend as Ark and not as the person at the keyboard. Nobody needs to copy the key any more: before an agent command runs, the kernel fetches it from the masked CI/CD variable on the kaptio-ark project with the operator's GitLab token (or the glab login when that token has expired) and asks Cursor whose key it is. A personal key still runs, with a warning on every command and the real owner recorded on the ledger rows instead of "ark". os doctor prints the source and the identity. Scheduled launchers stopped reading the Cursor CLI keychain item, which held whatever key the CLI last used on that machine. Interactive Cursor sessions are unchanged: they always run as the person and are attributed through session rows.
2026-09-22
Commits carry the intent that made them
fixArk now sets the git author on every commit it makes, passing it per command rather than reading whatever the checkout happens to be configured with. Builder, review-fix and UAT commits are authored Kaptio Ark (INT-NNNN), so git log --author=INT-0092 answers what an intent changed, in this repo and in the customer repos builders work in. This closes a provenance hole: worktrees share the configuration of the checkout they were created from, so one sweep session setting a name changed the author on every other session running at the same time. Over ten days that put 1,148 commits spanning 21 intents under the name of a single unrelated customer sweep. Existing commits are not rewritten, and a name already saved into a shared checkout still has to be cleared there by hand.
2026-09-21
Local tenant demos can share UI source
improvementJourneys now includes files from LOCAL_CONFIG_DIR/shared in every local tenant bundle under the _shared import path. Multi-tenant demos can keep one reusable surface, such as an in-room TV, without copying it into each tenant folder or adding tenant-specific application branches. The public room-TV route also stays outside the tokenless root-to-presenter redirect, so opening it directly cannot frame the presenter inside itself; booking details remain behind the TV surface's own guest gate.
2026-09-21
Seeding an acceptance org has a fixed sequence
policyThe Lead prompt, the intent template and the fix-delivery rule now state the order that made the INT-0339 Bunnik org usable: prefer a real customer extraction over a synthetic fixture; run sf kaptio data validate before importing; sanitise an extraction older than the installed package and record what was stripped; import; count the seeded objects on the org, because the importer exits 0 having persisted nothing when the archive layout is not orgData/<dataset>/; connect KTAPI and wait for the full snapshot before judging any price. The readiness example declares the count and the snapshot as checks. Customer data is evidence: a scenario the customer data does not contain is a finding for the intent owner, never a record to reshape, and a purpose-built test vehicle is labelled as one in every handover. Kaptio DX (kaptio-dx!232) fails its import step when zero records were persisted.
2026-09-19
A failed UAT verdict now blocks the MR
policyThe persona UAT loop writes its verdict onto the task graph, and os mr refuses to open a merge request while the last verdict is not_met or partial, or while the intent declares verification.uat and no verdict was ever recorded. Older reports still count: the gate reads the verdict back from intents/INT-NNNN.uat-report.md when the graph predates the field. The only way past a failed verdict is a person recording the gap with os uat <id> --accept-gap --by <name> --note, which is honoured until the next UAT run measures again. Share packs open with the verdict line, so a "run complete" message can no longer read as acceptance-ready. Written after INT-0339, where the report said not met while the acceptance org was handed over as ready.
2026-09-19
Org readiness checks before UAT and handover
featureAn intent whose outcome is an org a person will test on declares verification.org_readiness: the org by alias, and checks that call the surface the person will use (a real Package Search, a SOQL count of the seed, the KTAPI endpoint record). os org-readiness <id> runs them against that org, writes intents/INT-NNNN.org-readiness.md and records the result, with the org it checked, on the task graph. os uat and os mr refuse while the result is missing, failed, recorded against a different org than the intent names now, or older than max_age_hours (default 24). The board warns when an org outcome has no readiness block.
2026-09-19
Align gate as a read-back
featureos intent align <id> --by <name> prints the outcome, the base branch, the data decision and every constraint back to the person aligning, refuses on a consistency advisory unless --acknowledge <reason> is given, then sets aligned and records who did it. The new board advisory catches an outcome that promises a customer-shaped org while a constraint forbids that customer's data, the contradiction that sent INT-0339 down the synthetic-seed path. Against the 187 active intents it fires once, on INT-0339.
2026-09-19
The Lead reads precedent before decomposing
improvementDecompose now hands the Lead the evidence folders of earlier intents for the same customer or project and the KNOWN_ISSUES headings that share the intent's vocabulary, with instructions to adapt a proven seed or script before writing a new one and to say in the brief which precedent it used or why none applies. INT-0339 rewrote from nothing a Bunnik Package Levels seed that INT-0152 had proven on an org in July. The prompt also carries acceptance-org guidance: provision with the customer and a named dataset, prove a seed through the real surface, never disable triggers to make a seed insert.
2026-09-19
os dx datasets shows the DX catalog by customer
improvementos dx datasets [--customer <name>] lists the Kaptio DX scratch-org datasets grouped by customer, the customer default first, with the datasetName path on the line. The INT-0339 provisioning evidence recorded 57 storage paths and the operator concluded there was no Bunnik dataset; there were two, one flagged as the customer default.
2026-09-17
Customer and Tempo account on intents
policyEvery intent can carry a customer name and a Tempo account, with machine keys beside them. os customer-registry --refresh builds the vocabulary from BigQuery into a committed YAML file. The board shows both as read-only spend dimensions; a PATCH that tries to change them is rejected. Edits go through git so a wrong customer cannot silently move an invoice.
2026-09-16
UX persona promoted to standing best-practice harness
featureTasks tagged persona: ux (any lane) now run a four-stage UX harness: a design brief before any code, styling from the customer's brand tokens and the Kaptio Flux design system, a mechanical token-leak check on the diff, and a mandatory render loop — screenshot at 375px and 1280px, critique, fix, re-render, up to 3 iterations. Reviewers reject diffs without render evidence. The same harness is available to native Cursor sessions as the user-level ux-design skill. The persona is no longer marked experimental.
2026-09-14
Business tools track in EO tickets
policyThe business_tools lane no longer requires an ST or KT ticket for os mr or the evidence-manifest closeout check. Internal tools (scorecards, Penny, Ada) track in Engineering Operations as EO-*. Product lanes still need ST/KT. Support keys (KHELP) still never count as delivery tickets.
2026-09-14
Align gate checks hand-set in-flight intents
policyThe align gate already refused a draft intent. It now also refuses an in-flight intent with no task graph and an empty run log: nothing was recorded between drafting it and flipping the status, which is how two intents nearly ran before anyone aligned them in the week before the 14 September operator workshop. An in-flight intent a person is working by hand (sweeps, presales, migration programmes: 41 of the 78 in-flight intents that day) still runs, with a warning that Ark never put it in flight and that the align conversation must have happened. The lifecycle docs now state which statuses a person sets (all of them; the kernel only ever writes in-flight) and separate intent statuses from task statuses (pending, in_progress, done, failed, blocked).
2026-09-14
Record work a person finished outside Ark
featureos task done <intent> <task> --note "<what you did>" marks a task done with completed_by: person, appends a person entry to the run log, and writes a manual ledger row (declared cost with --cost when you know it). Work finished in a local Cursor session now shows on the board and in cost-to-outcome instead of disappearing. It does not merge anything; os integrate still brings the branch onto the integration branch.
2026-09-14
Review handover file when Ark cannot clear a review
featureWhen the reviewer asks for changes and the fix attempt does not clear them, Ark writes intents/INT-NNNN.review-handover.<task>.md: the brief, the reviewer notes, what Ark tried, the task constraints, and the exact commands to check out the branch, verify, and record the takeover with os task done and os integrate. The task graph records the path under review.handover and the run log points at it.
2026-09-14
Task-count advisory against the scale of the intent
featureDecompose and every run now stamp a scale advisory on the task graph: proportionate or oversized, comparing task count against a ceiling derived from the intent (8 baseline, plus 2 per extra success metric, plus 3 per extra repo) and flagging graphs where repair tasks from SIT, UAT, and assembly loops outnumber the planned ones. os plan and os status print it; an oversized verdict is written once to the run log. It never blocks. An intent that is legitimately large declares task_budget in its front matter.
2026-09-14
Per-task stall window for long org builds
fixA builder that waits silently on a DX org build or scratch-org creation was killed after 15 minutes by the stall watchdog, and the fallback builder repeated the side effect. Tasks now carry stall_minutes (the Lead sets it on org-build tasks; operators can edit it in the graph before running), and os run --stall-minutes <n> widens the window for a whole run. Precedence: task, run flag, OS_AGENT_STALL_MINUTES, then 15. 0 disables the watchdog.
2026-09-14
Experimental UX persona for user-facing surfaces
featureA task can carry persona: ux. The builder then styles from the customer's brand tokens and the Kaptio Flux design system instead of inventing colours and fonts, reuses existing components, keeps UI copy professional, renders the surface at 375px and 1280px and looks at it before finishing; the reviewer checks the same points. UX tasks can run on a different model (OS_MODEL_UX or roles.ux.model on the intent). This is a task attribute, not a lane, so it works in any lane. Experimental: os plan marks it so.
2026-09-12
Tab icons say Ark
fixThis site had kept the Flux F it was forked from: same teal tile and pink dot, now with an A. The Ark board had the opposite problem, a favicon file in the image that its page never linked to, so the tab stayed blank; the board page now points at it.
2026-09-10
Blocked intents stop before dispatch
policyAn intent can use status: blocked while it waits on an external decision or dependency. Ark refuses direct and daemon dispatch for blocked intents before budget checks, environment checks, Jira updates, or task execution; a person resumes the intent by restoring status: aligned.
2026-09-10
Writes refuse broken intent front matter
fixA kernel write used to synthesise a fresh YAML block when an intent file had no closing ---. That buried INT-0335's spec behind a cost-only block and dropped it from the board. Writes now refuse unterminated front matter, YAML parse errors, and a body that opens a second --- block. Board lint reports the same classes, including outcome reports.
2026-09-10
Slack posts name the runner, not Ragnar
policyArk no longer signs Slack posts "On behalf of" one fixed person. A post from an interactive session names the person actually running Ark, resolved from OS_SESSION_USER or the git identity against the Agents & Tooling roster; when nobody can be identified (scheduled sweeps, the trunk watchdog) it names the agents-and-tooling team tag instead. The roster, team tag, and default channels (#devops-support, then #agents-tooling-domain) live in one file, automations/ark-identity.yaml, and the new `os identity` command prints the exact attribution line. Slack-triggered sweeps accept any team member as operator, scheduled sweep plans can be approved by any member, new intents default their owner to the runner or the team, and watchdog alerts go to #devops-support. Lane ownership and per-programme approver sets are unchanged.
2026-09-09
Intent side panel is easier to open
improvementBoard rows now show a side-panel icon next to the intent number, so opening an intent no longer depends on noticing that the number is a link. Intent details open on the Overview tab with Problem and Desired outcome already expanded.
2026-09-09
Kaptio DX service client migration
improvementArk now uses the generated Kaptio DX TypeScript client and the replacement provisioning API. Requests use the named service key in ARK_DX_API_KEY, success responses are unwrapped from the data envelope, and RFC 7807 errors expose stable codes such as insufficient_scope and service_surface. Provisioning starts at POST /api/orgs/provision and polls GET /api/orgs/provision/{id}; Ark no longer depends on the pipeline endpoints scheduled to retire on 31 December 2026.
2026-09-08
Ark runs from main only
policyEvery command that writes intent state (os run, daemon, sweep, plan, mr, verify, uat, pack and the rest) now checks the kaptio-ark checkout first. A clean checkout on a feature branch is switched back to main, a stale main is fast-forwarded, and a branch with uncommitted changes is refused with the fix spelled out. The ARK_ALLOW_OFF_TRUNK override is gone. Run logs and intent updates are only useful when they land on main, where every sweep loop and cloud builder reads them; branches are for changes to Ark itself, not for work done with it. Read-only commands such as os status still work from any branch.
2026-08-17
Leadership Overview dashboard
improvementThe board Overview is now a leadership dashboard: current-window budget progress, ranked lane and portfolio allocation, a Needs attention strip from real owner-board signals, and Running now / Up next as one flow. Aggregate counts open an in-place list of the underlying intents. GET /intents includes task summaries and attention fields; GET /owner-board exposes the same stuck/unreconciled rows as os status.
2026-08-11
Run and task duration tracking
improvementCompleted os runs now persist started_at and duration_ms on the local .os/runs summary (orchestration wall-clock, distinct from the billing attribution window). os status pairs duration with charged spend on the last run and shows run elapsed while a run is active. The Live view and os watch show run-level elapsed next to cost; execution reports include a Duration line.
2026-08-10
A bad task graph no longer blanks the Live view
fixTask graphs are written by hand, so free text in a field that expects a fixed value (a task kind, a status, who completed it) is an easy mistake. Until now that mistake made the board return a server error for the affected intent, and because the Live view polls every in-flight intent, one bad file left the whole page on its loading spinner. The board now returns 200 with tasks_error, Live shows a one-line warning, and os status / the owner board flag invalid_task_graph instead of pretending the graph is missing; os run still refuses to execute against a graph it cannot validate.
2026-08-10
Execution report and live progress
featureEvery os run writes intents/INT-NNNN.execution-report.md (task outcomes, gates, cost, pointers) and prints a one-line summary via notify. os report <id> prints the report; os status surfaces the path. Cloud/pool builders now emit throttled builder_progress live events (same as local). The board Intent Details page adds a Report tab.
2026-08-10
Idle live endpoint stops 404 spam
fixGET /intents/:id/live returns an idle 200 when the intent exists but has no live events file yet (404 only for unknown ids). Intent Details polls /live only while a run or in-progress task is active, so the browser console is no longer flooded with 404s for idle in-flight intents.
2026-08-10
Board UI Flux theme and type
improvementThe Ark board palette matches Flux (SeaGreen primary, Agents purple secondary, semantic success/error/warning). Typography loads Lexend 300–700 and JetBrains Mono for ids, branches, and activity timestamps. Intent Details collapses long Problem/Desired prose by default, opens Execution for in-flight intents, and parses narrative run-log headings instead of showing unknown — unknown.
2026-08-07
Intent details execution view
featureThe board UI adds a full-page Intent Details view for execution status: task graph, SIT/assembly gates, live wave, evidence, cost, and run-log activity. Open it from the side panel or share a link with ?intent=INT-NNNN&details=1. The board API exposes GET /intents/:id/execution and task counts on GET /intents/:id for the drawer progress strip.
2026-07-31
Board rules: no single-ticket intents, fix delivery gates
policyTwo standing rules landed after the ST-3981 residual was minted as its own intent: a defect ticket is never an intent (it joins its patch-family intent or the standing patch line), and fix/full-lane work must pass two delivery gates before QA handback — the fix verified on an org through the reported repro path, and a SIT handover carried in the MR description. granularity_exception in front matter now requires board-owner sign-off before os run.
2026-07-31
Cycle-slot calendar and slot-aware dispatch
featureIntents carry per-slot priorities against a cycle calendar (c17-b, c17-c, ...). The daemon dispatches by slot priority, and planning-window budgets are attributed daily with a tripwire that stops new pickups when the reconciled burn hits the window budget.
2026-07-30
Post-run billing true-up: charged dollars, not estimates
improvementEvery os run now ends by writing CHARGED dollars onto the intent, reconciled against the Cursor Admin API by billing interval. The cache-aware cost estimator prices cache-read/cache-write tokens with rates least-squares fitted against real billing (the old estimator was 17x under on a heavy run).
2026-07-30
SIT reports and verify-pre-release
featureIntents can declare a verification.pre_release block of layered check commands. os verify-pre-release runs them against a live environment and writes INT-NNNN.sit-report.md — the SIT handover attached to delivery MRs. First shipped on the KHELP-12454 delivery (ktapi!1638, kaptiotravel!10257).
2026-07-30
Board lint: single-defect intents fail the index
policyos intent index now fails when an active intent is scoped to a single defect ticket (ticket id in the title). Defect fixes are patch-line tasks or patch-family tasks, never board-level intents.
2026-07-29
Environment doctor: lane-aware capability preflight
featureFull-lane runs on kaptiotravel had silently degraded to Jest-only when the runner lacked scratch-org capability. The environment doctor now refuses a run whose lane needs capabilities the machine does not have (Jira credentials, sf devhub scratch capability, local loop), instead of letting the harness quietly shrink.
2026-07-29
Evidence manifest gate and per-repo MR resolution
featureLane policy promises (probe evidence, before/after visuals) are now checked by an evidence-manifest gate before release. ark mr resolves the GitLab project and target branch per repo, fixing pushes that landed on the wrong project in cross-repo graphs. ark status <id> gives operators a live view of a running intent.
2026-07-28
Five-view leadership board
featureThe board UI grew a five-view IA — Dispatch, Plan, Money, Proof, Ledger — with keyboard switching. Priority buckets on the Plan view ARE the daemon dispatch order. Writes are Keycloak-role-gated and sync back to git via the GitLab Commits API.
2026-07-27
superseded_by merge pointers, lint-enforced
improvementAll superseded intents carry a machine-readable successor pointer. The index lint fails when the pointer is missing or does not resolve, so folded intents always lead the reader to the surviving outcome.
2026-07-25
Spend attribution: os reconcile
featureos reconcile allocates Cursor Admin API usage events (charged cents + token usage) to intents, including interactive sessions captured via a beforeSubmitPrompt hook. The daemon reconciles hourly, so cost-to-outcome is measured in true dollars.
2026-07-20
Outcome verification with live adapters
featureos verify runs kernel self-checks plus live adapters (script, sf_soql, bigquery, loki) against an intent's declared success metrics and writes the outcome report. The daemon measures released/validating intents automatically after go_live_at plus the metric window.
2026-06-14
Kernel bootstrap
featureFirst working os run pipeline: Lead decompose into a cross-repo task graph, parallel Builder dispatch in isolated git worktrees via the Cursor SDK, independent Reviewer, and a per-intent JSONL cost ledger.