Author: Kris Christopher (KrisCodes2) Edition: Eleventh edition — verified 2026-11-19 Home: koinessa.com Status disclosure: Koinessa is a founder-operated system in active internal production use, and it is being built, in public, into a commercial product: one core with three native desktop applications (Windows, macOS, Linux) and two mobile companions (iOS, Android). Its shared Brain, coordination services, and verification pipeline support ongoing development and operations across internal projects, including the building of the product itself. The product is not yet generally available, and this paper states no price or release date. Autonomous delivery, certain assurance controls, and external deployment capabilities remain subject to the evidence and operational restrictions documented in this paper. Every capability claim in this paper carries one of four labels — live, in flight, built-but-gated, or planned — and the labels are maintained in a claims register before public copy is written. The claims register and research digest preserve the evidence trail; this public paper states the current evidence boundary directly. Two boundaries shape this edition: the cluster-hosted verification pipeline is operational on the restored local cluster hub; its evidence-based verification selector is integrated in advisory mode, identifying candidate job deferrals without suppressing required execution, while pipeline timing and outcome data are being collected to evaluate future enforcement and performance improvements (sections 4.2 and 6.1), and no run of the autonomous delivery path has ever completed green on production epics (section 4.1). The eleventh edition adds evidence from building the Koinessa product line itself (sections 3.6, 4.2, 6, 8.2, 8.4, 8.6, and 8.7): its work is decomposed into small units and each unit is routed to the best model for it under independent verification, its verification selector has been benchmarked on a recorded corpus from one repository, its team and air-gap controls pass end-to-end drills in test, and its unified interface is in design; none of that has run on a customer installation. Every section of this paper has a permanent URL: each heading links to itself, and the fragment identifiers are stable across future editions.
Abstract
AI systems can now generate code, content, plans, and decisions faster than organizations can safely review them. The binding constraint on applied AI is shifting from generation to trusted acceptance: proving what was done, by which actor, under whose authority, and with what evidence. This paper argues that the techniques required are not new. Fifty years of computing history — the internet's narrow-waist protocol design [1], structured and event-sourced data management [6][7], distributed-systems failure handling [8][9][10][11][12], declarative reconciliation [13], observability [14], zero-trust security [4][5], software supply-chain provenance [15][16][17], policy as code [18], and continuous-delivery practice [19] — map directly onto the problems agentic AI creates. Koinessa applies those techniques as a working system: a federated, single-writer organizational memory (the Brain), a coordination plane that uses work-item leases, fencing tokens, and cooperative file claims to coordinate agents across vendors, while recording detected file conflicts for operator review, and a delivery model we call Evidence-Gated Agentic Development, in which agents move quickly precisely because the boundaries around them are explicit.
Live. The temporal operational ledger records authority classes, evidence references,
supersession, and as-of-time queries. Live. A local Context Compiler rebuilds bounded
packets from canonical state, and provider inference is leased to disposable physical
sessions. Live with a measured boundary. The Brain has 402 base tables: 388 carry
project_id, while 14 shared or infrastructure tables do not. Every external write
crosses the single-writer gateway, but the schema is not described as universally
tenant-scoped. Live. A Disposable Worker Model Router leases compute across
four compute tiers plus an explicit micro-task decomposition step—from frontier planning and
review down to free developer allocations and local GPU models—executing headless sub-sessions across
vendors in a single terminal session without metered API token billing (section 3.6). Live.
In-application search operates under two distinct boundaries: a local-only Brain Chat operating with
application-level network restrictions on a resident GPU model with AST-enforced read-only SQL, alongside an Ask interface
that queries the 366-tool platform registry, searches the internal corpus first, and
gates external internet requests to explicit user instruction (section 3.9). Live as a
supervised drill. A requirements document compiles into a signed manifest whose
acceptance criteria are executable tests that fail first; a reconciliation loop
measures the remaining distance to that target, and a circuit breaker parks a run that
stops converging (section 4.1). Live. The cluster-hosted verification
pipeline is operational on the restored local cluster hub, with its evidence-based
verification selector integrated in advisory mode to record candidate job deferrals while
pipeline timing and outcome data are being collected (sections 4.2, 4.3, and 6.1), while
Autopilot remains fail-closed and requires an explicit operator action to re-arm. The architectural result
is model-independent: the model session is disposable; the operating system is
durable.
The same discipline now builds the Koinessa product itself, as a software factory: work is broken into units small enough to verify alone, and each unit goes to the best model for it — frontier models for planning, specification, and review; the least capable model that passes for execution (section 6). Live. Of 81 product stories verified across two waves, 76 were implemented by models on the operator's own workstation and none by a frontier model, each graded by a verifier its implementer never saw and specified and reviewed by frontier-class models (section 3.6). Live, as a measurement on one repository. On a recorded corpus of 77 commits with 317 seeded defects, the product's verification selector caught every defect the full suite caught, skipped no mandatory job, and ran a median 3.9 s against 25.5 s, both measured as pipelines of separate jobs (section 4.2). Built-but-gated. Team controls, single sign-on, and air-gap enforcement pass end-to-end drills in test; no customer installation exists (sections 8.2 and 8.4). In flight. A unified interface for all five applications is in design: one conversation that several people and models from several vendors share, a proof view that shows every verification state and the continuous-integration and commit-hook evidence behind it, and a Brain that ships with the application (section 8.7).
This paper presents five planes — organizational state, context, coordination, evidence, and inference — and treats frontier models as stateless, nondeterministic compute workers, never as memory, authority, or truth. External evidence is dated and population-bounded; internal metrics identify their source and snapshot date. There is no claimed whole-task performance multiplier, certification, independent audit, customer production deployment, or proof of universal provider neutrality.
1. The verification gap
Modern AI-assisted engineering has an asymmetry problem. A single operator can direct agents that produce hundreds of changes per week, but every change still needs to be reviewed, tested, integrated, and remembered. The organizations adopting agents report a consistent cluster of failures:
- Amnesiac sessions. Each new AI session starts without knowledge of prior decisions, fixes, and failures, so the organization re-derives what it already learned.
- Colliding workers. Parallel agents duplicate work, overwrite each other's changes, or lose handoffs — classic distributed-systems failures wearing new clothes.
- Unproven work. "The agent said it passed" is not evidence. Without deterministic verification and durable provenance, AI-generated changes accumulate risk invisibly.
The economics make the gap structural rather than temporary. Generation cost falls with every model release, while the cost of careful review, integration, and operation falls slowly if at all — so the ratio of produced-to-verified work worsens as adoption succeeds. A team that accepts unverified changes accumulates invisible risk; a team that reviews everything at human speed surrenders the throughput it adopted agents to gain. Worse, the loss is compounding: every unrecorded decision is re-litigated by the next session, every unprovenanced change lengthens the next incident investigation, and every collision between parallel workers burns the exact engineering attention the agents were supposed to free. The way out is not slower generation or braver acceptance. It is infrastructure that makes verification, memory, and coordination cheap enough to apply to everything.
A compounding dimension of the verification gap is the economic trap of pay-per-token API architectures. While unit token prices decrease over successive model generations, unmanaged agentic fleets operating against metered cloud APIs create volatile and runaway cost liabilities when tasked with exploratory coding, linting loops, and multi-turn refactors. Organizations face a perverse penalty: the more thoroughly an agent iterates and verifies, the higher the metered invoice climbs. Koinessa's architecture breaks this trap by treating inference not as a meter to run, but as a resource ladder (sections 3.6 and 6): decomposing tasks into units small enough to verify alone, sending each unit to the best model for it — from a model on the operator's own GPU to a frontier model, chosen on demonstrated capability — drawing on flat subscriptions and owned compute before metered billing, and keeping context assembly on the operator's side so no model is paid to re-read history.
1.1 The gap, externally measured
The evidence supports a verification burden, but only when each result retains its own population and denominator.
- External evidence — acceptance. A binomial GLMM over 9,227 agentic pull requests estimated agent-specific merge probabilities from 43.0% to 84.3%; it did not establish a human comparison [55]. A different, older study reported a 76.8% raw accepted share for human pull requests, which is not comparable to the GLMM result [56]. In a separate 33,596-PR snapshot, 28.52% were not merged; non-merger is not proof of bad code. The reviewer-abandonment subset was 228 cases — 38% of the original 600-PR sample and 40.6% of 562 accessible categorized cases [57]. A 35.7% / 31.2% / 33.1% rejection-cause split applies only to 353 manually inspected rejected PRs [58].
- External evidence — review. Of all 33,596 PRs, 61.38% had no recorded review; among 12,975 reviewed PRs, 58.77% were agent-only. No recorded review is not proof that no human inspected the change [59].
- External evidence — delivery. DORA reports an association between AI adoption, higher throughput, and lower stability; it does not establish causation. DORA's 2026 insight names the resulting operational burden a “verification tax” [25][60].
- External evidence — trust. Among 33,244 respondents to Stack Overflow's 2025 accuracy question, 3.1% reported high trust. Among 31,476 respondents to the separate frustration question, 66% selected “almost right, but not quite”; that response is not a general anti-AI measure [61].
- External evidence — security and maintainability. Veracode's vendor-authored SAST study reports secure code on 55% of tasks; “150+ models” is its cumulative model count, not one new cohort [62]. GitClear's non-peer-reviewed vendor research covers its proprietary 2023-through-YTD-2026 dataset and a moved-code proxy; it does not establish that AI caused the reported maintainability patterns [85].
- External evidence — benchmark integrity. ImpossibleBench reports a 76% GPT-5 cheating rate on Oneoff-SWEbench under the full scaffold. Making tests read-only prevented direct test edits but yielded no universal percentage. A separate human-escalation escape route produced the 54-to-9 result [63]. SWE-Bench+ reports 32.67% and 31.08% only among 251 successful SWE-Agent-plus-GPT-4 patches screened in that study [64].
- External evidence — self-report and tests. The developer-resolution study found 16,118 episodes. Of 1,504 with visible resolution, 91.49% resolved after explicit developer pushback [65]. In a separate study of 2025 test commits, agent-authored commits added mocks in 36% of cases versus 26% for non-agent commits; this is a commit-level result, not a repository-wide rate [66].
- External evidence — time horizon. METR estimates human task duration at specified model success probabilities, not continuous agent wall time: about 12 hours at 50% success with a 5–61 hour interval, and about 1.5 hours at 80% with a 50-minute–2-hour- 40-minute interval [67]. AgentFloor is a deterministic, synthetic, read-only benchmark of 30 tasks; it does not demonstrate safe repository edits or production operations [68].
- External evidence — context and retrieval. In one read-only Python-repository QA study, semantic retrieval cost $0.32 per correct answer versus $0.74 for Deep: Deep was about 2.3 times as expensive and semantic was about 57% cheaper. The maximum 22.4-times token difference applied to Qwen3-235B [73]. Coordination breakdown accounted for 41.8% of Deep failures; within that category, 91% still emitted fluent, confident prose [73]. Codebase-Memory reported 83% versus 92% quality, about ten times fewer tokens, and 2.1 times fewer tool calls, while retaining an exploration fallback [74].
- External evidence — token economics. The 85.6% figure is a derived share of input-side processing — uncached input, cache creation, and cache reads — in a worked cost example; cache reads alone were about 51% [70]. A separate eight-model OpenHands/SWE-bench Verified study measured roughly 1,000-times token differences and up to 30-times same-task variance; it does not generalize to every workflow [71].
- External evidence — long context. NoLiMa found that 11 of 13 models fell below half their short-context baseline by 32K, while GPT-4o moved from 99.3% to 69.7%; these are benchmark-specific results, not a universal conclusion about advertised windows [72]. Current long-context prices are model-specific: GPT-5.6 above 272K [75], specified Gemini Pro models above 200K [76], and Claude 4.6-and-later plus Mythos Preview at standard one-million-window rates [70][92].
The market's dominant answer — a more capable model — does not address any of these, because many of them are fundamentally systems problems: identity, state, ownership, timing, failure, authority, observability, and proof. The thesis of this paper: models create possibilities; systems determine outcomes.
1.2 The common root
Trace any of section 1.1's failures backward and they meet at one absence: AI currently has no durable, independently verifiable definition of organizational truth and successful completion. No durable truth, so sessions need huge context; huge context, so compaction and context rot. No precise knowledge index, so greedy exploration. No cross-session truth, so every swarm relearns everything. No organizational state in the loop, so business policy is re-prompted folklore. State living inside vendor sessions, so lock-in. No formal completion contract, so agents wander or stop early; no independent acceptance criteria, so slop looks complete. No common control plane, so vendors cannot cooperate; no workload decomposition, so every task seems to need a giant model. No authoritative grounding, so hallucinations become operational facts; no independent evidence, so the system cannot distinguish a confident lie from reality; no earned-authority model, so automation cannot safely be trusted — and everything above reloads context, so token cost explodes.
The strongest form of this paper's thesis is therefore not "AI needs better verification." It is: frontier models should be treated as stateless, nondeterministic compute workers — not as the operating system, the organizational memory, the authority source, or the source of truth. The sections that follow are the systems consequences of taking that sentence seriously.
2. Seven lessons from fifty years of systems
2.1 The narrow waist
The internet scaled because its middle contract stayed small: many applications above IP, many networks below it, one stable interface between [1][23]. The AI ecosystem is re-discovering this shape. The Model Context Protocol standardizes how a model-driven application reaches tools and context [2]; the Agent2Agent protocol addresses communication between independent agents [3]. Connectivity, however, is the easy half. The internet standardized packet delivery without solving identity, fraud, or trust — and agent protocols will repeat that pattern unless identity, authorization, reputation, and policy are built above them. The 2026-07-28 MCP HTTP authorization framework is optional and OAuth 2.1-based [77]. A2A 1.0 Agent Cards may be JWS-signed; verification with a trusted key can establish card integrity and provider origin, but signing is optional and is not a global agent identity system [78]. What remains incompletely standardized is delegated authority across agent chains — capability attenuation, work-item authority, policy inheritance, revocation, evidence provenance, replay protection, reputation, and end-to-end accountability from principal to agent to tool to outcome. A May 2026 arXiv v1 snapshot found flaws across 119 testable real-world OAuth-enabled MCP servers; it does not establish a universal property of MCP deployments [79]. Live. Koinessa exposes 366 registered tools behind one search contract (section 3.8). Local Ollama, Ollama Cloud [83], and frontier workers discover capability through that same local contract, and the waist has now been exercised by an arrival: the sixth provider descriptor (Devin CLI, section 3.6) registered onto an existing transport kind with no new transport code and reached the same tool contract through one configuration stanza; a seventh (Google Gemini) followed on 2026-09-05 on the metered-HTTP transport, again with no new transport code. External evidence. The vendor's own topology points the same direction: Devin's Outposts run "command execution, file edits, and repository access" on machines the customer operates over outbound-only HTTPS while the agent loop stays in the vendor's cloud [96], and since 2026-07-31 its MCP tools execute from the vendor's servers rather than the session's machine [97] — placements that make the seam between capability discovery and organizational state exactly the boundary this section argues must be owned locally.
2.2 Memory must have structure
A transcript is not memory. An operational memory must answer: where did this come from, when was it true, has it been superseded, what evidence supports it, and who created it? Event sourcing keeps the history that produced current state [6]; CQRS separates broad read paths from narrow, audited write paths [7]. Koinessa applies both. Live. Agents read through the Brain gateway, while every external write crosses its single-writer boundary. Retrieval is lexical, vector, and graph-based over the same store. The 2026-10-20 snapshot contains 21,152 Koinessa symbols (last indexed 2026-09-12) and 75,460 symbols across the federation's 12 lanes; the Desktop line federates under the same product key (section 8.7).
Live. The temporal operational ledger (BRN-002, implemented 2026-08-07) records authority classes — a signed pipeline result outranks an agent's claim — evidence references, supersession links, and as-of-time queries: what did we believe when this decision was made, and what superseded it?
The as-of question sounds academic until the first serious incident review. When a production defect surfaces, the useful question is rarely "what is true now" — it is "what did the system believe at the moment the change was authorized, which evidence was available then, and which later fact superseded it." A memory layer that can answer that converts postmortems from archaeology into queries, and it is the difference between an organization that learns and one that merely accumulates text.
2.3 Partial failure is normal
Distributed systems assume components fail independently, and agent systems inherit
every one of those modes: a session dies after modifying files but before reporting; a
tool call times out after succeeding; two workers believe they own the same resource.
The correct stance is to treat every agent as a worker that can be slow, stale,
duplicated, interrupted, or wrong — and to use the classical controls: heartbeats for
liveness; leases that expire rather than locks that deadlock [8]; fencing tokens so a
stale lease-holder cannot overwrite newer work [9] — the scenario is worth spelling out
once, because it is the canonical agent-swarm accident. Agent A takes a lease numbered
41 on a work item and stalls. The lease expires; Agent B takes lease 42 and finishes the
work correctly. Agent A eventually wakes and attempts to write its stale result. Without
fencing, A silently overwrites B; with fencing, the protected resource remembers that 42
is the newest valid token and rejects 41. Stale authority must never become current
authority, and no amount of model intelligence substitutes for that check — idempotency keys so retries cannot
double-execute consequential actions [10]; transactional outboxes so state changes and
their notifications cannot diverge [11]; and sagas with compensating actions for
workflows that cross irreversible boundaries [12]. Live. Session registration,
cooperative file claims, and fenced work-item leases let interactive workers from six
vendors — Kimi, Claude, Grok, Codex, local Ollama, and Ollama Cloud [83] — share one
board; the session registry holds 548 registered sessions, 470 of them since August 1.
Devin and Google Gemini are registered as the sixth and seventh provider descriptors and
remain disabled, Devin behind a committed guard (section 3.6). Attribution has a measured
boundary: a provider label is captured on 8 runtime rows against a 471-session historical
evaluation slice (of 548 total registered sessions in sessions), so per-vendor attribution
rests on commit trailers, which are not universal.
The mainline history was re-rooted on 2026-08-27, so every commit reachable from the
2026-10-20 snapshot postdates it: 1,011 in total at commit 204a543cb. The multi-vendor receipt is a coordination property that has been
exercised; it is not a description of who wrote the recent mainline, which is
predominantly one vendor's work. Live. Two human operators on separate LAN workstations can
direct independent swarms against the same repository through the same coordination
plane; that receipt is operating evidence from one system, not a controlled benchmark.
2.4 Declare desired state and reconcile
Kubernetes replaced "run this and hope" with a controller loop: declare desired state, observe actual state, act to reduce the difference, repeat [13]. Agentic work should be governed the same way. A requirements document declares outcomes; work items bound obligations; verification profiles declare required checks; evidence schemas declare the proof that must exist. The controller then compares observed state against declared requirements — coverage exists or it does not; the artifact matches its schema or it does not — instead of asking the agent whether it is finished. This converts vague autonomy into measurable convergence, and it makes observability the load-bearing wall: the trace expands from request-level spans [14] to decision provenance — business goal to requirement to agent session to tool calls to commit to pipeline to evidence to approval to outcome.
Reconciliation also supplies the missing regulator for agent throughput: backpressure. When a downstream system slows or fails, controllers reduce work, queue it, or stop — whereas naive automation converts a small outage into a flood of retries and duplicate actions. And once every operation carries a durable identity from intent to outcome, reliability becomes computable by agent, model, task class, repository, and toolchain. Model selection then stops being brand preference and becomes an evidence question: which model succeeds most often on this repository, which produces the fewest repair cycles, which overclaims completion. That is how a system improves itself without ever letting the AI approve itself. Section 4.1 formalizes declared-state reconciliation as an architectural principle: the requirements document is compiled into a signed manifest, its verifiable acceptance criteria are converted into concrete tests that fail first, convergence tracking continuously measures the delta, and a circuit breaker halts execution when progress stalls.
2.5 Sign what happened
Supply-chain security reframed builds around provenance: verifiable statements about where, when, and how an artifact was produced (SLSA [81]), attestation formats for supply-chain claims (in-toto [82]), and accessible signing and verification (Sigstore and Cosign [17]). These mappings do not confer a SLSA level or trustworthy provenance without verified trust relationships, just as an SSDF mapping does not confer NIST certification [80]. Agentic development needs the same discipline extended backward into source provenance: which requirement initiated a change, which agent wrote it, which context influenced it, which policies constrained it, which repairs modified it, and which human approved it. Git records what content changed; the system around it must record why it changed, under whose authority, and with what proof. The evidence bundle for an agent-produced change (designed under EGD-001) binds the source revision, the agent session and model, the work authorization, the tool versions, the checks executed with their canonical states, the policy profile that interpreted them, the approvals, and the final artifact digest — one chain from intent to deployment. The ledger boundary is stated rather than implied. The CI pipeline builds evidence manifests as jobs — digested, with attestation signing wired and switched off — running within the re-homed cluster hub pipeline (section 6.1). On the Brain side, the 2026-10-20 snapshot holds one evidence bundle and one assurance conformance run (section 4.3), while the sufficiency, outcome-evidence, delegation, and provider-conformance ledgers — writers and tests in place — hold zero rows (built-but-gated). The only signatures the system has produced on a live path are two approvals of a requirements document, both inside a supervised drill (section 4.1). An issuer-neutral external-attestation rail — third-party signed receipts ingested as first-class evidence, the issuer's verdict stored verbatim, verdict-to-state mapping fail-closed so an unverified success is never a pass, keys pinned on first use and frozen per receipt, and invalid receipts stored rather than dropped — is specified, and no code for it exists (planned). Equally important are canonical result states: a pipeline that only knows green and red will misclassify a missing scanner as a clean scan. Koinessa's verification model distinguishes PASS, FAIL, SKIPPED-NOT-APPLICABLE, INFRASTRUCTURE ERROR, TOOL MISSING, and EVIDENCE INVALID (live). A seventh state — ABSTAIN-SPEC-CONFLICT, a rewarded, first-class route for an agent to declare that work cannot legitimately be completed under its current specification — shipped with EGD-002 (live, 12/12 stories closed 2026-08-15): the measured alternative to a legitimate exit is gaming, and an explicit infeasibility path produced a 54-to-9 result in a separate experiment [63]. The 2026-10-20 repository inventory contains 2,072 git-indexed test or specification files; that inventory does not claim that the suites were rerun.
2.6 Protect the objective
Optimizing systems learn to satisfy the measurement rather than the goal — Goodhart's law [20]. In agentic engineering the canonical failure is the repair agent that deletes a failing test to make the pipeline green. Koinessa's local repair loop (Ralph, built-but-gated: its always-on daemon was removed on 2026-09-17 with every other scheduled process on the operator's machine) is therefore bounded by construction: it may fix code, configuration, routing, or infrastructure, and it may not lower thresholds, remove meaningful tests, disable scanners, or convert required checks into advisory ones. The rule generalizes: the optimizer must not control the definition of success. It binds optimizers that save verification effort as firmly as those that repair code: a selector that decides which checks to skip sits directly on the definition of success, and section 4.2 describes how that one is built so that it can only add. Model improvement follows the same logic. In a champion-challenger arrangement, the current best model for a task class stays in service while alternatives run in shadow mode or on selected low-risk work, judged by the same independent criteria — verified success rate, cost per accepted change, repair cycles, human-intervention rate, regression rate after deployment — so a human may promote a claim only after reviewing measured evidence; an agent may assist research but cannot promote it. And high-impact behavior earns authority through simulation first: a publishing agent validates actions without sending them, a deployment agent produces the plan without applying it, a repair agent patches an isolated workspace and passes verification before any shared state changes. Aerospace, networking, and finance all learned the same sequence — test under controlled conditions before connecting the controller to an irreversible surface.
2.7 Data is not instruction
Retrieval-augmented agents create a new attack and accident surface: anything that can reach the context — an internal document, a tool result, a webpage, a customer message — can carry text a model may misread as authority. An attack paper scopes those risks to MCP v1.0, while current specifications provide security mitigations [90][91]. Untrusted server and tool content still requires client validation, isolation, and authorization. The systems answer is a boundary the model never gets to infer linguistically: provenance and authority must be structural fields on context, not properties a model guesses from prose. Policy must be distinguishable from documentation, verified operational fact from agent observation, company-approved research from an external webpage, tool result from instruction. In Koinessa, every context-packet source already carries a typed authority class (operator, verified, evidence, agent, inferred, unknown) with per-section provenance (live); EGD-002 hardens the boundary (live, closed 2026-08-15): an external-untrusted class, compile-time rejection of packets whose policy or constraint sections claim non-privileged authority, render-time fencing that marks low-authority content as data, never instructions, and evidence-gated memory admission with contradiction checks at write time. A hallucination in a session is temporary — a hallucination admitted into organizational memory contaminates every future session that recalls it, which is why admission is now a gated write rather than a courtesy.
3. The Koinessa Brain architecture
The Brain is the memory-and-coordination substrate of Koinessa.
3.1 Federated store
Live. On 2026-10-20, one DuckDB database held 402 base tables and
36 views. Of those base tables, 388 carry project_id; 14 shared or infrastructure
tables do not. Tenant scoping is therefore measured per relation rather than assumed
universally. The claims register is the source of truth for these drifting counts. A
full identity-key
migration (47 tables, 110,811 rows) was executed live with zero corruptions using
full-table rebuilds — never in-place key updates — a working example of the risk-tiered
ceremony this paper advocates.
3.2 Single-writer gateway
Live. All external writes cross one HTTP gateway: reads are token-free only when the gateway is bound to the loopback interface — on any other bind, reads require a bearer-identified principal exactly as writes do — writes and transactions are bearer-gated through a single writer mutex, work-item leases carry fencing tokens, and hybrid search and graph traversal ride the same surface. The narrow write path is a scar-derived design: an earlier in-place primary-key update corrupted the write-ahead log, and recovery worked only because snapshots and log replay were designed before the failure.
3.3 Coordination plane
Live. Sessions register and heartbeat; file claims detect collisions cooperatively; work items carry leases and fencing tokens; durable messages carry acknowledgment requirements; checkpoints and handoffs let a successor session — any vendor — resume without chat history. This is the infrastructure behind the multi-vendor receipt in section 2.3. Collision detection is advisory by construction, and the boundary is stated: a detected collision is recorded — 50 rows at the 2026-10-20 snapshot across 3,715 claims and 548 sessions — and the write proceeds. Nothing yet reads that table back to the sessions that collided; surfacing it, and an optional block behind a flag, are specified (planned). A detector that records an event nobody reads has not protected anything, which is why the claims and leases above, not the collision log, carry the safety argument. The nine-role review and planning workflow layered on top — product-manager, CEO, engineering-manager, designer, QA, security, release, browser-operator, and memory-support agents that gate and refine work before implementation — ports Y Combinator president and CEO Garry Tan's open-source gstack skill-based engineering framework [53] into this coordination plane (GTR-001, implemented). The product-manager role (added 2026-09-18) checks, before implementation begins, that every acceptance criterion is verifiable and every story is sized for one implementer with disjoint file ownership — the precondition for section 4.1's loop (live). The product's work board is designed to close the read-back gap on screen (in flight): a collision is shown on the affected work item itself — which two workers, which file, who holds the claim, and when the lease expires — for every person and every model working the project, not only in a log (section 8.7).
3.4 Memory with provenance
Live. A decaying fact store captures decisions, fixes, and failures automatically from CI, repair, and session events, with ranked recall injected at session start. The temporal ledger (BRN-002) adds authority classes, verification-evidence links, supersession, and as-of-time queries — all live as of 2026-08-07. Alongside the fact store sit the retrieval surfaces agents actually work through: hybrid lexical-plus-vector search, graph traversal over entities and relationships, the 21,152-symbol code-intelligence index on this lane (75,460 across 12 federated lanes), and a curated research corpus of 5,864 documents that agents are required to consult before the open web — so marketing and strategy answers stay traceable to sources the company chose.
3.5 Context Compiler and leased inference
Live. The AOE-001 layer
(implemented 2026-08-10) treats context and frontier-model inference as schedulable
resources. A Context Compiler assembles a bounded, provenance-bearing Context Packet
for each physical model session from canonical state: the approved requirement, current
Git state and diff, authoritative Brain facts, code symbols and precise source ranges,
current ownership, the latest checkpoint, current verification evidence, applicable
policy, and the model/context budget. A logical work item may span many short physical
sessions — session A -> checkpoint -> session B -> checkpoint -> verified completion —
and no physical session owns the truth. Provider inference is leased: a logical worker
holds no upstream slot while it runs local tests or CI, so logical swarm size stays
independent of a provider's concurrency envelope. Verification, not the generator's
narrative, is the stop condition. The compaction design position is that unpersisted
detail can be lost when messages are compacted [50]. The invariant is stronger than
“do not compact”: no lossy conversational summary is ever the authoritative copy of
organizational state, so the Compiler can always rebuild a session's context from
canonical state instead of from whatever a summary happened to keep.
3.6 Unified provider layer and disposable workers
Two distinct execution paths. The architecture distinguishes between two provider mechanisms:
(1) the autonomous managed-session provider layer, where seven provider descriptors — Kimi Code,
Claude Code, Codex, Grok, local Ollama, Gemini / Antigravity, and Devin CLI — are registered
behind one typed shape and three session transports, but remain built-but-gated (disabled by
default for unattended daemon dispatch, AOE_ARBITER_ENABLED=false); and (2) the interactive
and child-process disposable worker path, which is live under the Disposable Worker Model
Router (DWR-001). Under DWR-001, the best model is chosen per unit of work: frontier models
take high-reasoning planning, specification, and architectural review, while implementation
tasks are decomposed into atomic micro-tasks dispatched to free developer tiers, local GPU
models, and flat prepaid subscriptions — and escalate to a stronger model, a frontier model
included, when a cheaper one fails the unit's checks. Nothing is pinned to local models; the
cheapest capable model wins, wherever it runs.
The system structures worker execution into four numbered tiers (Tier 0 through Tier 3) plus an explicit micro-task decomposition step:
- Tier 0 (Frontier Planning & Review): Grok 4 (via the flat SuperGrok subscription CLI), Google Gemini (Gemini 3.1 Pro / Gemini 4 Argon via Antigravity [105]), and Claude Opus/Sonnet (via Claude Pro CLI). These models produce PRDs, design system architectures, perform multi-hat reviews, and verify acceptance criteria.
- Micro-Task Decomposition: Tasks are decomposed via deterministic rules into atomic
bounded-single(one file, single shot) andbounded-chain(maximum two steps) units before dispatching to worker rungs. - Tier 1 (Zero-Cost Free Developer Tiers & Free Community Tools): Google AI Studio free tier
for Gemini 2.5/3.8 Flash (measured free-tier baseline of 15 RPM, 1M TPM, and 1,500 RPD, noting that
quotas are plan-, project-, and tier-dependent rather than universal guarantees), open-weight Gemma
models running on free hosts, Cognition Devin Free tier (providing unlimited Tab completions and
inline edits, alongside a bounded allocation of autonomous agent sessions), OpenCode free catalog
models (
models.dev: DeepSeek Flash, GLM Flash, subject to availability windows), OpenRouter:freemodels, Cerebras Free, GitHub Models Free (using standard developer auth), and Mistral Free. Google's Gemini 4 Argon is a frontier reasoning model (announced September 30, 2026, with developer availability expanded October 13, 2026) distinct from the Gemma family, and is not part of the unpaid free tier. - Tier 2 (Local GPU Workers): The operator's workstation GPU (AMD Radeon RX 7800 XT 16 GB VRAM)
hosting resident local models (
qwen3.8-9b-distill,qwen2.5-coder:14b,gpt-oss:20b) at zero marginal cost, fully offline. - Tier 3 (Cloud Workers & Heavy Execution): Ollama Cloud Pro (prepaid through 2027) and flat subscription runners for high-concurrency compilation and heavy execution.
While the provider descriptor schema supports metered-HTTP proxy-key transports, active router
dispatch is configured to minimize pay-per-token API expenditures by prioritizing flat subscriptions,
developer tier allowances, and local GPU compute.
Execution operates entirely in the terminal or background by spawning headless CLI sub-sessions
without requiring an interactive IDE. Following Koinessa's safe-spawn pattern (lib/process/safe-spawn.ts
with hidden process windows), a single parent agent session programmatically spawns child sessions
across grok.exe, agy.exe, claude.exe, ollama.exe, kimi.exe, and devin, injects
disk-persisted authentication (~/.grok/auth.json, ~/.gemini/, ~/.claude/), streams structured
JSON, runs automated test suites, and commits verified changes directly to main without opening
VS Code, Cursor, or any browser tab. That sentence is the design working as
intended, and it deserves unpacking. A provider descriptor carries everything
vendor-specific as data: the transport kind, a SHA-256-pinned binary and probed CLI
version, a credential probe that checks file presence and never reads contents,
per-model context windows with a four-value provenance vocabulary (measured, probed,
vendor-documented, unverified stand-in), per-model context-packet budgets scaled from
one measured calibration, a concurrency triple, a quota shape, and a fail-closed
enabled flag. Unprobed fields carry an explicit marker that no gate accepts, so a
descriptor registered before its binary was ever run fails preflight closed instead of
passing on plausible defaults. The three transports — one for pinned vendor CLIs, one
for metered HTTP vendors whose real key never leaves the server, one for
GPU-lease-gated local models — implement a single session-transport contract with eight
named preflight failure kinds and secret-free results by construction. Adding the sixth
and seventh descriptors required no new transport code (section 2.1); the seventh also
recorded a distinction worth keeping as data — a quota response that reports a limit of
zero is a missing entitlement, not a rate limit, and must never be retried with backoff.
Enabling any descriptor is an
operator decision that additionally requires a per-vendor boundary drill, because one
vendor's tool-profile mechanism proves nothing about another's. The managed-session
layer therefore has receipts as code and tests, not yet as operating history: the
multi-vendor coordination receipts in section 2.3 come from interactive sessions
governed by hooks and the coordination plane, not from this launcher.
A local arbiter (built-but-gated: off by default, no production caller) may advise the deterministic session-reset policy, and its advice lattice is monotone toward caution as data, not convention: a continue decision may tighten to finish-current-only or checkpoint-and-yield; terminal decisions accept no advice at all. A wrong or hallucinating local model can waste a session; it cannot keep one alive past a hard context limit, a revoked lease, or exhausted quota. The optimizer, again, does not control the definition of success (section 2.6).
The sixth descriptor is also the worked example of onboarding a provider without extending trust ahead of evidence. Devin's CLI operates on the local working tree while its inference runs in the vendor's cloud [94]; it reads the same instruction files as the other harnesses, including the Claude-compatible ones [95]. Before any enablement, Koinessa committed a deny-all guard — a configuration that denies every tool class and a pre-tool hook that blocks with a machine-readable refusal — and proved it with an in-tree canary: the session's only tool call was refused, and a planted marker never left. Registration followed a kill gate (does the vendor's plan actually serve headless sessions), and the data-governance precondition was verified rather than assumed: the vendor's terms state that customer data may be used for model training and that paid service tiers may opt out, after which zero-data retention is enabled with its model providers [93]; the operator moved to a paid tier and confirmed the opt-out before the first governed probe (operator-reported, 2026-08-23). The guard's boundary is stated with the same care: it governs this working tree's CLI lane; a vendor cloud session operating on its own clone of a repository is governed by repository rules and provider-side controls (section 10). That boundary has a receipt: two mainline commits dated 2026-08-29 carry a Devin co-author trailer, and both arrived from a vendor cloud session working on its own clone, outside the reach of this tree's hooks. Deeper integration is partly built (in flight; its plan review passed on 2026-08-23): a governed launcher and a policy hook exist as code, while coordination-plane registration, transcript ingest of the vendor's per-turn exports, usage metering, the operator surface, and the operator-approved enable drill that would replace deny-all with a least-privilege policy do not. The guard is unchanged, and the drill has not run.
The ladder applied to the product (live; measured 2026-11-18 and 2026-11-19). The Koinessa product line (master requirements KPR-001) is built by a story dispatcher that applies the same disposable-worker discipline with every gate made mechanical. A story is sized to one concern and one source file with its test; its interface contract must compile against a stub; an independent verifier, written by a different model, must fail against that stub before any model is asked to implement; a third model reviews every assertion against the criterion it claims to test; and the models that wrote the spec and the verifier are removed from the implementation ladder. Implementation starts on models resident on the operator's workstation, moves to hosted open models only on failure, and reaches a frontier model only by explicit operator decision. Every committed file is checked against the sha256 digest in its run record, and an audit re-derives the whole chain from disk.
Scroll horizontally to view all columns.
| Measure (measured) | Wave W4 | Wave W5 (one controller's share) |
|---|---|---|
| Stories verified | 69 | 12 |
| Won by workstation models | 64 | 12 |
| Won by hosted open models | 2 | 0 |
| Won by a frontier model | 0 | 0 |
| Attested against committed code rather than laddered | 3 | 0 |
| Evidence-audit findings | 0 | 0 |
Two findings from that work belong in this section. First, a rule enforced by convention was broken: on six W4 stories a fallback planner wrote both the spec and the verifier, or reviewed its own spec, because a role that failed over to "the next live model" could land on the spec's author. The rule is now enforced in code at planning time and in the audit, and each of the six stories passed a new verifier written and reviewed by other models with its committed code unchanged. Second, one story failed 36 attempts across six models, including the largest hosted ones; read from its diagnostics, the failures were spread across unrelated concerns, and split into two stories both halves passed on a 27-billion- parameter workstation model. Size, not model size, decided the outcome — the same lesson the first waves taught. Planning in this period ran on the operator's subscriptions through each vendor's own command-line client: the vendors' metered API accounts and their subscriptions are separate, and only the client login reaches the subscription.
3.7 Transcript compaction across vendors
Section 3.5 argued that a conversational summary must never be the authoritative copy of organizational state. The compaction layer (delivered 2026-08-22) turns that position into per-vendor machinery, and the honest description is a table, because the wiring is uneven:
Scroll horizontally to view all columns.
| Vendor | Before-compaction mechanism | Status at the 2026-10-20 snapshot |
|---|---|---|
| Claude Code | Pre-compaction hook posts to the context-compile route: a transcript digest is produced, then a context packet | Live, registered in-repo; 68 deterministic packets, latest on 2026-10-19 |
| Grok | Same hook and route, with an optional locally distilled packet | Live, registered in-repo; 86 deterministic packets, latest on 2026-10-19 |
| Antigravity (AGY / Gemini) | Pre-compact hook via .agents/hooks.json -> agy-to-claude-hook-bridge.mjs pre-compact |
Live, registered in-repo; syncs transcript.jsonl to chat_history, writes session_checkpoints, and distills surviving packet (.cicd/state/aoe-last-packet.md) on Ollama |
| Kimi Code | Same bridge plus post-commit transcript ingest, registered in the operator's user-level configuration | Registered outside the repository; 2 packets recorded |
| Codex | Ingest script present, not registered by any hook | Not wired; 5 packets recorded |
| Devin | The vendor CLI exposes a post-compaction hook event; integration is specified | Planned |
The bridge itself is vendor-neutral by data: the compile request carries a provider id validated against the descriptor registry, and per-provider synthetic-id prefixes are a lookup table with one legacy exception, not a branch. Admission into organizational memory is idempotent on a content-derived message key — live since 2026-08-22, and proven the unglamorous way: re-posting a 324-frame transcript added zero rows, where the previous key had amplified one conversation by three orders of magnitude. A fail-loud freshness monitor watches the ingest path, because every transcript writer in this system is fail-open and each had, at least once, died silently. "Registered" and "live" are different claims, which is why the table above dates each vendor's last packet instead of repeating a label: wiring that has produced nothing for a month is not operating.
Digest production is live (since 2026-08-30): the context-compile route produces a transcript digest before it compiles a packet, so the trigger ordinary traffic actually takes is the one that fires it — 30 digest rows at this snapshot, the latest on 2026-10-19, with the enabling flag on for this host only. The earlier wiring is the instructive part. The digest chain was built, tested, and fully covered for weeks, and it fired zero times organically, because it hung off a trigger real sessions never reached. Test coverage proves a mechanism works when invoked; it says nothing about whether anything invokes it.
3.8 Tool registry and the single search contract
Live. The registry holds 366 tools — 137 API routes, 104 skills, 91 scripts, 29
agents, 3 CI components, 2 MCP servers; all active — behind one two-level search contract:
a ranked search that returns terse rows, then a per-tool detail fetch whose invocation block
is data (transport, command, arguments, endpoint, environment), never inferred from a name.
Filters (kind, capability, retrieval mode) apply before ranking; hybrid keyword-plus-vector
retrieval degrades gracefully to keyword-only for tools never embedded; and container-image
entries are answered by a live join against the image catalog rather than a re-ingested copy.
Every vendor reaches the same contract through the same local MCP surface: Claude and Kimi
register it in their tool configuration, Grok through the repository's MCP configuration,
Antigravity through .agents/plugins/conexus-agy/mcp_config.json, and the Devin CLI through
its sandboxed MCP configuration.
Beginning in October 2026 (ASK-002), the registry expanded from passive lookup to active
runtime execution: natural-language queries can invoke registered tools directly, strictly
using their stored invocation parameters. The execution engine enforces that models cannot
supply or alter command, args, url, or env, preventing model-directed modification of invocation parameters. Remaining input-validation, authorization checks, and execution-isolation boundaries are enforced separately at the gateway and process sandboxes. The execution engine restricts
API calls to loopback and LAN endpoints.
3.9 In-application search, personal chat, and offline boundaries
Live. Koinessa provides an in-application personal chat and search architecture that operates with or without an internet connection, split deliberately across two separate surfaces with distinct boundary guarantees:
- Local-Only Brain Chat with Application-Level Network Restrictions (
/dashboard/models/chat— OLM-006): Designed for confidential, zero-trust business operations. It runs on local consumer GPU compute (AMD Radeon RX 7800 XT 16 GB, hosting a residentqwen3.8:27b-textorqwen3.8-9b-distillmodel) with application-level network restrictions. The model translates plain-language operational inquiries into hybrid document searches and read-only DuckDB SQL queries. SQL safety is enforced not by prompt instructions, but by an Abstract Syntax Tree (AST) validator (lib/methodology/query-validator.ts) that strictly permits onlySELECTstatements, blocks all file-reading and URL-fetching table functions (read_csv,read_parquet,httpfs), and shields internal conversation tables. Automated negative regression tests prove that tools with names or descriptions referencingweb,http,url,browse, orinternetare rejected. Crucially, while the AST validator, read-only SQL policies, and tool-filter tests establish strict application-layer barriers against query-directed data exfiltration, they do not constitute an OS-level kernel network sandbox; process-level socket isolation remains a separate host-level control. The interface adapts to host hardware: client laptops (e.g., RTX 3050 6 GB) route requests across the LAN to the Main PC's GPU when powered, and refuse gracefully with typed denials when offline. - Ask the Brain with Tool Execution & Gated Web (
/dashboard/methodology/query-explorer— ASK-002): A unified intelligence card embedded across dashboard surfaces. It pairs the 366-tool registry with internal corpus search and strictly gated external web exploration: - Internal corpus first: Every user inquiry executes hybrid vector-and-lexical retrieval over the DuckDB document corpus before any tool execution or external request. - Stored tool execution: Can execute registered platform tools via stored invocations, displaying the tool output directly in the conversation. - User-gated internet search: In this retrieval path, web exploration is strictly gated: a query causes zero outbound search traffic unless the user's prompt explicitly requests external exploration (e.g., "search the web", "look online", "check the internet"). External lookups route through local SearXNG or headless fallbacks without commercial search API fees. (Independent platform tools invoked via the tool registry may perform their own network operations if configured). - Multimodal Extensions and Service Boundaries: The chat architecture integrates multimodal capabilities whose networking boundaries are explicitly separated from local-only text chat: - Bidirectional voice audio: Incorporates Voicebox text-to-speech alongside browser-based Web Speech API recognition. As documented by MDN [106], Web Speech API recognition engines can execute either locally or via cloud-based platform speech services depending on browser vendor and operating system settings; speech features are therefore treated as optional conveniences rather than part of the local-only security perimeter. - Video frame analysis: FFmpeg-based local frame extraction for short- and long-form video. - Vision model partitioning: Structured routing across image understanding, video analysis, and computer vision local models. - Niche trend exploration: Trend discovery uses authenticated platform endpoints and dashboard connectors rather than an unrestricted public API, reflecting that Google's official Trends API remains an early-access alpha program [107].
3.10 Durability and degraded mode
Live, with a stated boundary. Knowledge admission is queue-backed: a durable ingest queue with retry and an outage spool cushions transient failures when the writer is busy or down, and external writes take an automatic snapshot first. The stronger 2026 lesson is that the host itself is hostile: the machine serving the Brain lost power sixteen times in fourteen days, and two of those cuts tore the database's main file — one of them while nothing was watching, producing a multi-day crash loop against a newest snapshot that was ten days old. The response (live — landed in code and tests on 2026-08-23 and running in the gateway process since its cutover to a native Windows service on 2026-08-24) treats a crash as a cost measured in seconds: checkpoints every sixty seconds or fifty writes; three corruption classes handled distinctly — a transient file lock is retried, an un-replayable write-ahead log is quarantined, a torn main file is restored automatically from the newest importable snapshot into a staging path and atomically promoted; the recovery writes its own audit row into the restored database before promotion, so a restore and its record are inseparable; and when no snapshot imports, the gateway refuses to start with a dedicated exit code its supervisor treats as stop-not-restart, because serving an empty brain would be worse than serving none. Two boundaries on that path are open and stated. The ordering is the older of two: this line moves the torn file aside before the restored copy is staged, so the canonical path is briefly absent during a restore, whereas the Desktop line stages first and then swaps, and that safer ordering has not been ported back (in flight; no activity since 2026-08-28). And the recovery point is only as fresh as the newest snapshot: the hourly snapshot job was one of the scheduled processes removed on 2026-09-17, so at this edition's freeze the newest full snapshot was an operator-triggered export dating from September 17 (33 days old on October 20). The mechanism is live; the input that makes it useful is currently an operator-triggered export. Degraded-mode legibility is the drafted next step (planned): today a restarting gateway, a running restore, an unrecoverable file, and a plain query bug still present one indistinguishable error to every consuming surface, and the design goal is that each names itself. Institutional memory that cannot survive a crash is not institutional memory — and a system that hides which failure it is having has not finished learning that lesson.
3.11 What the Brain is not
It is not a SaaS. Koinessa is being built into a product (status disclosure), and the product keeps this design: the Brain runs on infrastructure its user controls and ships inside the application, while model capacity — local, hosted, or frontier — is chosen per unit of work and leased, never trusted with the organization's state. It is not multi-writer: that limit is stated rather than hidden. And it does not replace Git or CI — it binds them to intent, authority, and evidence.
3.12 Five planes
Design position. Koinessa is described as five distinct systems rather than “an AI operating system with memory”: an organizational state plane (business facts, requirements, policies, decisions, code intelligence, temporal state and provenance); a context plane (retrieve and compile the smallest authoritative packet the next worker needs); a coordination plane (identity, leases, fencing, ownership, checkpoints, handoffs, retries, multi-vendor scheduling); an evidence plane (independent verification, protected test definitions, attestations, policy evaluation, risk-tiered acceptance, post-deployment evidence); and an inference plane (local Ollama, Ollama Cloud [83], cheap cloud, and frontier models treated as leased workers selected by measured capability and cost). Provider interchangeability is a design goal supported only where code and runtime receipts exist. The invariant that binds the planes: inference may fail, disappear, hallucinate, compact, change vendors, lose its session, exceed its context, or become too expensive — without the organization losing state, authority, evidence, or control.
3.13 The open-core AI layer
Design position. The agent-facing surface of the context and coordination planes ships as a free, MIT-licensed Claude Code plugin. The control surfaces of the organizational-state, evidence, and inference planes are not part of that release: the gateway, the verification and evidence pipeline, and the operator surfaces. The line follows the architecture rather than a price list. What is useful on one machine is given away; what only means something across many machines stays inside the system this paper describes, and it is the substance of the commercial product being built from it, which is not yet generally available.
Live. Measured 2026-09-07: three packs (ai-layer-core, ai-layer-marketing, and
ai-layer-infra) carrying 88 skills and 25 agents, 283 exported files at version 0.9.0,
published under the MIT license [98].
The project repository is published at https://gitlab.com/kriscodes2-claude-plugins/ai-layer [98]. A stranger installs it with three commands:
/plugin marketplace add https://gitlab.com/kriscodes2-claude-plugins/ai-layer.git
/plugin install ai-layer-core@kriscodes2-claude-plugins
/ai-layer:doctor --fix
One resolver then chooses one of three brain modes. gateway is chosen when a gateway
token resolves, and the plugin's brain server forwards to the Brain Gateway. local is
chosen when no token resolves and the DuckDB binding is installed, and the brain is one
DuckDB file on the reader's own disk. setup is chosen when neither holds, and each
server offers a single status tool naming the one command that fixes it. Local mode
accumulates sessions, transcripts, and a symbol index and answers recall and symbol
lookups over them, with the language server using the consuming project's own TypeScript.
It is single-machine and single-writer by construction, so it carries no hybrid search, no
graph traversal, and no coordination between two agents in one repository.
The boundary is published rather than implied: Free and MIT: the packs (skills, agents, rules, hooks, templates), both MCP servers, and a local single-machine brain. Not included: the Brain Gateway (the shared multi-session brain, coordination plane, hybrid search and graph, ingest at fleet scale), the Koinessa dashboard, the verification and evidence pipeline, Koinessa Desktop, the CI/CD catalog components, and Autopilot. A skill that needs the gateway does not quietly degrade: it prints one line naming what is missing, and stops.
4. Evidence-Gated Agentic Development
Evidence-Gated Agentic Development (EGAD) is a software-delivery model in which AI agents produce and integrate small mainline changes, while commit, push, promotion, and release authority remain constrained by deterministic verification, signed evidence, policy gates, and human-controlled exceptions.
The operating loop has ten stages, and each exists to kill a specific failure mode: observe current system and business state (no work from stale assumptions); recall prior decisions, fixes, and failures from the Brain (no re-deriving what the organization already paid to learn); plan bounded work with declared verification requirements; claim ownership through leases and file claims (no silent collisions); compile context — build the bounded Context Packet from canonical state (no session inherits a transcript as its memory); execute inside the claimed boundary; verify with deterministic tools emitting canonical result states; approve consequential transitions per policy, with humans holding the exceptions; ship and observe the deployed outcome, not just the merge; and learn — write the verified outcome back into memory where the next session's recall will find it. Three properties distinguish the loop from "autonomous coding":
- Authority derives from state, not confidence. An agent's report that work is complete changes nothing; the evidence bundle attached to the current commit does.
- Capabilities are rungs, not a switch. Generate, stage, commit, push, merge, promote, and deploy are separate delegable capabilities, expanded per task class from verified history — trunk-based small batches [19] make each rung cheap to check.
- Verification is independent of generation. Deterministic tools, separate models, or humans evaluate; the generator never grades its own work (section 2.6), and policy — encoded as versioned, testable rules rather than prompt text — decides whether the evidence satisfies the profile [4][5]. OPA is one source for the general policy-as-code pattern [18]; Koinessa does not claim to embed OPA.
Live. The loop is risk-adaptive end to end (AAV-001, implemented 2026-08-12). Every work item carries a machine-readable risk tier (R0-R3) that deterministically derives its verification profile and approval policy. R2/R3 work cannot even be claimed without a schema-valid task brief — the conversation-to-contract gate, enforced inside the claim's compare-and-set — so exploratory conversation can never slide into high-risk implementation. The evidence manifest accepts domain-pluggable evidence, with firmware/hardware (simulation, formal checks, HIL, toolchain and board identity) as the first extension beyond software CI, under the rule that compilation is not proof. And verification debt is itself measured: defect-escape, review-load, rework, and lead-time metrics land in the same warehouse as every other receipt. Koinessa aligns with several process-control principles articulated by Agentic Agile-V [86]: conversation discovers intent, structured artifacts drive implementation, and evidence gates acceptance. This is alignment, not independently proven equivalence or convergence.
The three subsections that follow are the method turned on itself: first on the requirements document, then on the question of which verification jobs a change owes, then on where those jobs run and what a result means once they have. Each reports what was built, what was measured, and what the method found wrong in its own work.
4.1 The requirements document as desired state
Live as a supervised drill; autonomous operation in flight. Declared-state reconciliation is implemented as an architectural principle, positioning the Product Requirements Document (PRD) in the role Kubernetes gives a resource manifest [13]: the document declares the desired target state, the codebase is the observed actual state, and the control loop acts continuously to reduce the measured difference to zero or halt when a budget trips. The effect is that acceptance criteria stop being prose an agent interprets and become an empirical record — each pass appends measured rows, and convergence is read from those rows rather than from anyone's account of progress. Five mechanisms carry it:
- Signed requirements manifests. A requirements document compiles deterministically into a schema-valid manifest — stories, acceptance criteria, the artifact each criterion names, file ownership, and a budget — whose canonical SHA-256 is the identity of the target state. Operator approval produces an Ed25519 signature over that hash in a DSSE envelope [104]. This signature proves author intent and authenticates the exact source bytes under an operator key; it does not, alone, establish that the requirements are complete or bug-free. However, the loop refuses an unsigned manifest and refuses a stale one: editing the document after approval changes its content hash, and the run parks until a human approves the new target. Desired state cannot drift under a running loop, and a budget can be raised only through a new signature.
- Verifiable acceptance criteria generate tests that fail first. Before any implementation, each verifiable criterion is rendered into an executable test — deterministically where the criterion names something checkable (a file, an exported symbol, a route, a table), and by a separate test-author role where it is prose. A red check rejects any generated test that already passes, because a test that is green before the work exists measures nothing. Generated failing tests live outside the mainline suite and are promoted into it only in the change that turns them green, so the shared tree is never red by design.
- Continuous convergence tracking. Each pass runs the promoted tests and records an iteration row: criteria total, red before, red after, the guard's verdict, cost, wall time, and the breaker's decision. Delta — criteria still unmet — is the reconciliation metric, tracked continuously on the work board. The stop condition is delta zero, which is this section's first property made mechanical: authority derives from state, not confidence.
- Circuit breaker. The signed manifest carries the budget: iterations, consecutive passes without progress, wall-clock time, and a cost ceiling. A run that exhausts any of them, that produces a diff weakening a gate, or that touches a protected verification path parks in the human queue with its reason in a column and its trace attached. An unset cap trips it and so does an unknown spend — no live cost writer exists yet, and the circuit breaker reads "unknown" as a reason to stop, never as zero. The loop cannot edit the definition of success (section 2.6) and cannot iterate past its budget.
- Convergence is sealed, not announced. A converged run becomes eligible for completion only with a seal — one signed envelope binding the final commit, the manifest hash, and the digest of the verified test report — so the record of what was proven is attached to exactly the state that was proven (section 2.5). Signing stays on the operator's side of the boundary: the loop verifies a seal and never holds the key. The seal path is in flight, and no seal has been recorded.
The recorded run. On 2026-09-19, with the operator present, the exit drill for the first build wave ran against a two-criterion fixture (repository receipt and live Brain rows). Pass one ran under a deliberately tiny signed budget: both criteria were matched and counted red, the stall breaker tripped, and the run parked with its reason recorded. The operator raised the budget, which changed the document's hash, made the first manifest stale, and required a fresh approval and signature; the raise took effect only through that signature. Pass two found both criteria met — red 2 to 0, delta 0 — and parked the run as converged. The run's base commit stayed fixed across both passes and the resume, and both manifest identifiers equalled values computed offline beforehand from the same inputs, so the live compile is deterministic. It is one fixture with no model in the loop — cost is recorded as not applicable — and it is quoted as a receipt that the mechanism trips and converges, not as a measure of agent performance.
What the method found in itself. The build ran under its own rules — disjoint file ownership per story, an independent reviewer per story — and three findings are worth more than the feature.
- The seam. The manifest compiler and the test renderer were each correct, each reviewed, and each tested against inputs its own story had written. The criterion reference one produced was never a contiguous substring of the test name the other produced, so a result in which both criteria passed computed a delta of 2 and reported no convergence. No story could ever have reached zero, and the work was one drill away from concluding that reconciliation does not work, on the strength of a string format. A defect that lives between two correct components is invisible to any review scoped to one of them. The rule since: wherever one story's output is another's input, a test crosses that seam with real output and asserts that the match happened — because "matched and failing" and "never matched" look identical from outside.
- Anchors do not move. The first anti-tamper check fingerprinted the promoted tests and re-took the fingerprint on every pass. In a loop where the work happens between passes, a test rewritten to always pass converged exactly like real work. Every integrity anchor is now fixed for the life of the run: test content to the signed manifest's render, the diff base to a recorded commit. The same review round found the pinned diff command defeatable by one line of repository configuration — a colour setting that blinded every guard rule — so a guard that parses a tool's output pins that tool's configuration, not only its flags.
- The verifier must run where the worker cannot write. A verifier that executes inside the clone it verifies inherits whatever the worker left there: a swapped test runner, a stray configuration file, an ignored file that satisfies a check and never reaches the commit. The design now takes the runner, its configuration, the tests, the git view, and the base commit from a trusted side the worker never writes, and evaluates the committed tree it will seal. An adversarial review demonstrated five holes in the first version of that design — each by making both drill criteria pass with the files absent — before any of it was built (in flight). One residual is stated rather than solved: implementation code that a test imports runs inside the test process and can subvert it. Closing that needs operating-system isolation, which this host does not currently provide (section 6.1), so until the deterministic criterion kinds are verified statically, a seal produced by an autonomous worker on any story whose tests import worker code is not accepted without a human reading the diff.
The measured boundary is as plain as the mechanism. At the 2026-09-19 snapshot the Brain holds two signed manifests, two iteration rows, and no seals, and no Autopilot run — ten are recorded — has ever reached its completed-green state. The loop runs single-shot with the operator present; nothing here is an autonomous pipeline.
4.2 Selecting verification by evidence
A pipeline that runs every check on every change is the safe default and, past a certain size, the reason nothing finishes. Historical baseline (measured on the decommissioned physical fleet on 2026-09-04): 57 jobs ran on every push to the mainline with no awareness of what had changed; the median pipeline took 60 minutes and the 90th percentile 92; the parallelism ratio was 1.05, so a 57-job graph ran almost serially; and the median job waited 686 seconds in one runner pool's queue. The hour was queue time, not job time. Of 790 mainline pipelines, 8 had ever finished green, the last on 2026-07-06.
The obvious remedy — let a model read the change and choose the jobs — is section 2.6's repair agent deleting the failing test, in better clothes: an unverified optimizer removing verification. The research behind the design found the same shape everywhere it looked. External evidence. Published test-selection systems layer a dependency graph or path rules first, a heuristic or model second, and an unconditional full run as the safety net: in Google's published simulation, dependency distance alone saved 42% and 55% of test resources with no missed breakages or fixes across more than 500,000 changes [100], and Meta's learned selector chooses fewer than a third of a candidate set the build graph has already reduced [101]. Those are results at their authors' scale and are not a projection for this one. Regulated engineering treats selective re-verification as normal and regulates the justification instead: airborne-software guidance has the change impact analysis determine "what verification is required" [102], and an auditing standard lets an unchanged automated control go untested against a baseline only while that baseline is periodically re-established [103]. What none of those regimes permits is an unqualified tool whose unchecked output reduces verification.
Live in advisory mode; enforcement built-but-gated. The design that survives all of it is one expression. The jobs that run are every known job, minus those deferrable by evidence; a job is deferrable only if it sits outside a mandatory floor, its declared inputs are byte-identical to their state at its last recorded pass, that pass falls inside a verdict window, and the active assurance profile permits deferral at all. A model may propose additions and nothing else: the planner's input has a field for model additions and none for removals, so removal authority does not exist to be misused, and a test over generated inputs asserts that the mandatory set is always contained in the executed set. Every decision writes a record naming the rules that fired, the jobs deferred, and the last passing run each deferral rests on. Force-full triggers — pipeline configuration, lockfiles, protected verification paths, releases, an expired verdict, any change classified consequential — bypass selection entirely, and deferral is off by default at the highest assurance levels.
The deterministic core was established in shadow against historical repository data and is now undergoing live pipeline integration on the restored cluster hub (HUB-001). This paper structures the verification selection claim across four distinct operational dimensions:
- Pipeline availability (live): The pipeline execution environment has been restored on the local K3s cluster hub (HUB-001), where containerized runners accept, execute, and report verification jobs without purchasing cloud CI minutes (section 6.1).
- Selector integration (live in advisory mode): The deterministic dependency and change-impact engine (EVS-001) is integrated into the CI invocation path, calculating executed versus deferrable job sets from Git diffs and dependency closures on mainline commits.
- Enforcement state (advisory / shadow): Selection operates in advisory and shadow mode. While the algorithm determines candidate deferrals, active pipelines continue running the full non-gated job suite so that potential false passes, missing artifacts, or dependency edge cases can be empirically identified before deferrals actively skip jobs.
- Performance tracking (in flight): End-to-end wall-clock durations, queue latencies, and resource metrics are continuously gathered on HUB-001, keeping algorithmically calculated potential savings strictly separate from observed execution speedups.
Historical pre-migration baseline. Prior to the migration to HUB-001, the deterministic core was benchmarked against the recorded history of the earlier 7-node physical fleet on 2026-09-07 (repository receipt and live Brain rows): 18,034 recorded job runs across 299 pipelines; input digests for 12 of 12 eligible jobs, each computed at that job's real last-passing commit; and a run through the production code path — against a seeded baseline isolated by ref, so that no mainline decision can read it — that executed 82 of 99 job keys and deferred 17 (7 by evidence and 10 by dependency closure), with no mandatory job breached. That exercise proved that the selection algorithm could make valid determinations on historical graphs; ongoing collection on HUB-001 is establishing its operational efficiency in production.
What the method found in itself. Four findings redirected the work, and none came from a unit test.
- The value is bimodal. Re-parsing the dependency graph — 99 job keys, 63 with declared dependencies, 36 leaves — showed that per-job deferral on a code change is worth four to eight short jobs, because most of the graph hangs off two producers. But 48.3% of the last 300 commits were documentation-only, where deferring one producer carries 63 jobs with it. The right build is a change-shape classifier with a documentation fast path, far smaller than the per-job selector that was asked for.
- A deferral can manufacture a false pass. About 17 jobs declared an optional dependency on the build job's artifacts. Defer the producer and they still run, find nothing, and exit zero; one security job, finding no artifact, audited the previous production deployment instead and recorded success. That is a stronger and falser claim than a deferral, and shadow mode cannot detect it, because in shadow the producer always runs.
- A guarantee a caller can omit is not a guarantee. The set of jobs that may never be deferred kept a job out of the evidence candidates but was never connected to the floor that dependency closure is filtered against, so the first end-to-end run deferred the job that builds the evidence manifest itself. The never-deferrable set is now a required input, and the compiler found every call site. Shadow mode cannot catch this class either.
- Unchanged inputs are evidence only where the verdict is content-determined. Several scanners update a vulnerability database, query an upstream service, fall back to remote rule sets, or scan history rather than the tree. Identical inputs do not imply an identical verdict, so those jobs are excluded before evidence is considered — which removes the scan stage, the intuitive place to start, from the first enforcement class.
A recorded-corpus benchmark of the product's selector (live as a measurement on one repository; measured 2026-11-18). The Koinessa product carries its own implementation of this selection order (wave W4 of KPR-001): change shape and the documentation fast path, dependency closure and the mandatory floor, the artifact-consumer guard, evidence lookup with a verdict window, an assurance dial whose default floors the operator ratified, and a budget. Its exit criterion was that, on a recorded corpus, the selector matches or beats the full suite's defect detection while cutting median wall time, with no mandatory job breached. The corpus is every first-parent commit of the product repository — 77 commits. At each commit every job ran on its own, and six single-token defects were seeded into the source files that commit changed: 317 defects in all. The selector was then replayed in shadow, seeing only what a pipeline would see at that moment.
Scroll horizontally to view all columns.
| Assurance position | Defects the full suite caught | Selection caught | Missed | Median wall time, full vs selection | Mandatory jobs skipped |
|---|---|---|---|---|---|
| standard, R1 | 236 | 236 | 0 | 25.5 s vs 3.9 s | 0 |
| regulated R2, sovereign R3 | 236 | 236 | 0 | 25.5 s vs 25.5 s (deferral off by design) | 0 |
The limits travel with the result. Zero misses shows that the job input manifests were complete for this repository — the selector defers a job only when its inputs are byte-identical to a passing run, and every defect sat in a changed file — not that selection is safe in general. The time comparison is between two pipelines of separate jobs; the whole test suite in one process has a median of 3.7 s. The defects are seeded, not historical; no defect exercised the documentation fast path, and 81 defects were caught by no job at all. It is one repository, not preregistered, and the selector has not run on a real pipeline.
4.3 Placing verification honestly
Which jobs run is half the question. The other half — where they run, and what a result means once they have — was answered by turning this paper's own result vocabulary (section 2.5) on the pipeline that was supposed to embody it. The answers were less comfortable, and each is a repository receipt from the original multi-node fleet before the pipeline was re-homed to the local cluster hub (section 6.1).
Scheduling is on the request, not the limit. Kubernetes places a pod by its resource request; the limit is enforced afterward, on the node, and for memory it is enforced by the kernel's out-of-memory kill [99]. The unit-test pool requested 1 GiB and was permitted to grow to 5 GiB, so its jobs were as eligible for a node with 2.31 GiB allocatable as for one with 5.86 GiB. For weeks the resulting kills were read as random infrastructure failure. The fix (2026-09-07) raised the request above the small node's capacity, so that node can never be a candidate and an oversized job waits honestly as pending instead of dying as a mystery; a pipeline verified the same day finished with 44 jobs successful, 2 advisory, and 1 blocking. A limit the node cannot honour is not a safety margin. It is a wish, and its failure is indistinguishable from flakiness until someone compares the request with that node's allocatable memory.
A passing suite can fail its job. A heap ceiling set for the test coordinator leaked into its forked workers and capped each at 1,536 MB; one worker died mid-suite, and the job failed while reporting 18,269 passing tests and no failures. The signal was the exit code disagreeing with the printed count, not anything in the trace. The repair-loop work found the matching fact at fleet scale: in a sample of 16 jobs recorded as runner-system failures and examined trace by trace, 56% were proven memory exhaustion and at most 6% were genuine infrastructure faults — a small sample from the window 2026-08-08 through 2026-09-04, awaiting a re-run. An infrastructure-error state (section 2.5) is only useful if something checks that the infrastructure was the cause.
A green job is not a passing job. Every quality and security job in the shared pipeline component takes a toggle that decides whether a tool failure fails the job. On 2026-09-07 this repository set that toggle 23 times, and all 23 were set to swallow the failure: the script reaches its end, the job reports success, and the allow-failure setting never engages because nothing ever fails. One supply-chain scanner went further. It ran on a general-purpose image that did not contain the scanner binary, took a "not available, skipping" branch, and exited zero — green in every pipeline, scanning nothing, for the whole period it ran there. For those jobs a recorded success means the script finished, not that the tool was satisfied, and that finding outranks section 4.2: a selector that defers a job because it "last passed" inherits exactly the weakness of the pass. Carrying each job's effective failure mode into the decision record comes before any enforcement.
The system's own assurance evaluator rates the system at the floor. The Evidence-Gated Assurance Framework is a draft control catalog — 109 controls across three levels, 41 of them at the first — with a deterministic evaluator that turns a pipeline's evidence into a conformance report, vendored read-only into this repository (built-but-gated: the catalog and evaluator are unpublished drafts, and the jobs that would run them on every change have no runner). Its first real report on this repository, on 2026-08-30, claimed the first level and achieved none: of 41 controls, 0 proven, 2 failed, 37 in drift — evidence missing or stale — and 2 not applicable. The plan had carried an 80% target; the desk baseline predicted the floor, and the target was withdrawn rather than published beside it. A flattering number nobody re-derived is worse than an ugly one that is true.
Where the question stands. Placement was diagnosed under load rather than designed up front, and each diagnosis shrank the footprint. The build job lost its only capable node and moved to a hosted runner as a declared bridge; the small node the fix was built to exclude failed outright on 2026-09-10; a plan to fold the fleet onto one virtual machine was initially halted after its first review during a site power event, leading to the decommissioning of the aging multi-node fleet on 2026-09-17, before the verification pipeline was subsequently consolidated and restored on the Main PC cluster hub (HUB-001, section 6.1). The method is what survived the hardware: measure the node before trusting the limit, read the exit code before the summary line, and treat a recorded pass as a claim about a script until something proves it is a claim about the code.
Proof is more than the pipeline. Verification does not begin when a pipeline starts, and the evidence a reviewer needs is not all in pipeline logs. In the operator command center the gates begin at the keyboard (live): an agent's prompt is classified by risk tier before work starts, identifier lookups by text search are refused in favour of the index, and a push is intercepted until the local continuous-integration mirror has passed; at commit, hooks check the commit message, run the quality gates, and ingest the session's transcript into the Brain; before a push, hooks run the build, the tests, formatting, the local pipeline mirror, and an advisory review; after a commit, hooks refresh documentation and the symbol index, and after a push a watcher follows the remote pipeline. Each of those is a check with a result, and each result belongs in the same record as the pipeline's jobs. In the product being built, the proof view is designed to show them together (in flight): for any work item, the continuous-integration runs, the commit- and push-hook results, the dispatcher's independent verifier runs, and the evidence digests, each in one of the canonical states of section 2.5 — so a hook that was skipped or a scanner that was missing reads as exactly that, never as a pass. The product repository's own hooks are still minimal (a post-commit index refresh); bringing the command center's gates into the product, and into every customer's repository, is part of the product work.
5. Risk-tiered autonomy
Autonomy should expand by proving which classes of action can be delegated under which controls — never by declaring a system autonomous. The platform carries two machine-readable tier axes, and they measure different things. Every work item carries a verification tier R0-R3 (AAV-001, live) that deterministically derives its required gates, brief requirement, and approval policy; every action class carries an action tier 1-4 (EGA-001, live) grading blast-radius from reversible to irreversible, evaluated fail-closed by versioned policy. They are two axes of one discipline — what rigor this work item owes versus how dangerous this action class is. The prose tiers below are the action axis, with the nominal work-item correspondence in parentheses; EGD-002 removes the residual type-name collision in code and pins the crosswalk as a tested module.
- Action tier 1 (R0) — reversible, low-impact (documentation, generated indexes, formatting, research): broad automation once evidence is complete.
- Action tier 2 (R1) — bounded engineering changes (small code changes, dependency updates, internal refactors, test generation): deterministic gates, human review at selected boundaries.
- Action tier 3 (R2) — consequential external actions (production deployment, data deletion, paid media, customer communication, financial transactions): limited credentials, explicit approvals, idempotent execution, tested rollback.
- Action tier 4 (R3) — irreversible or safety-critical actions: human-authorized, potentially with independent review, simulation, or formal analysis.
Tier boundaries are only credible when crossing them costs ceremony. A working example from this system: renaming the identity key stamped on every row of the Brain — part of the primary key in many tables — was executed not as one UPDATE statement but as forty-seven sequential full-table rebuilds (build, bulk-insert, atomic rename, checkpoint, verify), 110,811 rows re-keyed live with zero corruptions, precisely because an earlier in-place key update had corrupted the database. The ceremony is not overhead; it is why the system is still running. Promotion between tiers should likewise be earned with measured criteria — collision rates, stale-worker rates, verified success rates, human-intervention frequency, rollback effectiveness — recorded per activation, never granted because the system has been quiet lately.
Koinessa's Autopilot path — the machinery that takes an approved requirements document through implementation to a verified result — is built-but-gated: it has run supervised drills, its ruling-locked posture is fail-closed with re-arming an explicit operator action, and its always-on daemon was removed on 2026-09-17, so the loop now runs single-shot with the operator present (section 4.1). The measured record is ten runs, none of which reached the completed-green state. We consider that posture a feature. Systems should earn authority from operating history, and the earning process should be boring.
6. Business value I — cost: the right model for each unit of work
The first cost advantage is structural, not negotiated, and it does not come from refusing cloud models. It comes from decomposition: work is broken into units small enough to verify on their own, and each unit goes to the best model for that job — the least capable model that reliably passes the unit's independent checks, escalating to a more capable one only on demonstrated failure. Frontier models do the work that needs frontier intelligence: planning, specification, architecture, review, and the units that smaller models fail. Everything else runs on whatever is cheapest and good enough, which is often the operator's own hardware. The boundary belongs in the same sentence: the operator owns the infrastructure, the subscriptions, and the bill.
6.1 The software factory: decompose, then route
Live. Koinessa treats delivery as a factory line rather than a conversation. A requirement is decomposed into stories sized to one concern and one source file with its test; each story carries its own contract, its own independent verifier, and its own acceptance criteria; and a router sends it up a ladder of models — models resident on the operator's GPU first, hosted open models next, a frontier model only by explicit decision — stopping at the first model whose work passes. Planning runs the other way: specifications, verifiers, and reviews are written by the strongest models available through the operator's subscriptions, three different models per story, none of which implements it (section 3.6). The measured result on the product's own code is that 76 of 81 stories were won by workstation models and none by a frontier model; the frontier models' contribution was the planning and the review, which is where their capability pays for itself. The Brain is a local DuckDB file behind a local gateway, and both run today; bounded work such as context compilation, drafting, log reduction, and failure classification runs on local models at zero marginal provider cost when they are capable of it, and on a hosted model when they are not.
Live — operator-reported October 20, 2026. The verification pipeline has been restored on the local K3s cluster hub (HUB-001), hosted within the operator's container environment. The updated pipeline incorporates evidence-based verification selection (EVS-001), using Git changes, declared dependencies, historical verification outcomes, and mandatory assurance requirements to calculate and record advisory execution and deferral recommendations. The earlier multi-node fleet was decommissioned on September 17, and historical metrics from that fleet remain separately identified. Current pipeline execution, selection enforcement, and performance improvements are tracked as distinct evidence claims. Autopilot remains governed by separate fail-closed controls.
Ollama Cloud [83] is the next rung on the same ladder: Ollama states that model execution is automatically offloaded to its cloud service while callers may keep using Ollama interfaces. Frontier cloud models (Claude, Grok, Codex, Kimi, Devin, and Google Gemini / Antigravity, section 3.6) are orchestrated as disposable workers configured through flat-rate prepaid subscriptions, developer allocations, and local GPU compute. While the provider abstraction supports metered-HTTP transports, active router execution prefers subscriptions and owned compute over open-ended pay-per-token billing, and a metered frontier call is an explicit, per-story operator decision rather than a default. External measurement now supports making this a first-class principle rather than a cost hack. AgentFloor is a deterministic 30-task, synthetic, read-only tool benchmark; its results do not prove safe repository edits or production operations [68]. E2B means effective parameters: Gemma 4 E2B advertises sub-2GB mobile base weights, while Gemma 3n E2B reports about a 1.91B effective-memory load [88][89]. The design rule is: do not build a local replacement for a frontier model, and do not reach for a frontier model by habit — decompose the workload until each unit can be matched to the model that does it best for the least, and escalate along the ladder (micro model, small local, larger local, hosted open, frontier) on demonstrated capability, never on brand. The same rule says when to stop decomposing and use the strongest model available: when the unit is judgement — a plan, a specification, a review — rather than execution.
6.2 Koinessa manages the context, whichever model does the work
Live. The AOE-001 design rule is that the model has working memory while Koinessa has project memory. Whichever model a unit is routed to — a local model, a hosted open model, or a frontier model — receives a bounded context packet assembled by deterministic reducers from canonical state in the Brain, not a transcript re-carried from earlier turns. That is what makes routing cheap: a unit can move to a different model, or a different vendor, without dragging the conversation with it. The operator's measured 30-day workload (2026-07-11 through 2026-08-09) shows why this matters: of 18,284,233,434 total tokens, 17,088,709,895 — 93.46% — were cache reads: history being re-carried, not new work being done. List-priced, that window estimates at $13,910.58. Every token of context assembled on the operator's side is a token no provider bills, and every unit that does not need a frontier model's working memory is a unit that can run somewhere cheaper.
6.3 Retrieval first
Live. Agents do not begin by exploring the codebase with grep, sed, and
hopeful file reads. The code-intelligence index (Doxygen-ingested, 21,152 symbols for
this project alone in the 2026-10-20 snapshot, last indexed 2026-09-12) answers “which
file, which lines, what exact signature, which files
depend on it" as one DuckDB query — milliseconds, with a result small enough to paste
into a context packet. The same is true for institutional knowledge: PRDs, requirements,
policies, decisions, and provenance records are tables and documents in the Brain,
retrievable by SQL and hybrid search, instead of being re-derived from chat history or
scattered across a wiki. The standing rule for agents is retrieval-first: symbol index
and LSP for code, Brain query for knowledge, grep only as the declared fallback — and
the rule is now machine-enforced, not aspirational: a pre-tool hook refuses identifier
lookups by text search across the Claude and Kimi harnesses and answers the refusal with
the exact index query to run instead (live). The index also has a receipt from a harness
Koinessa does not control: in a guarded sandbox probe (repository receipt, 2026-08-23,
one question on one paid-tier session), the Devin CLI answered a symbol-location
question through the Brain's symbol index in four seconds — 44,496 prompt tokens, 42,752
of them cache reads, 329 completion tokens, eleven steps, no text search and no source
read — where the same question routed through language-server tools cost 171,317 prompt
tokens over sixteen steps, roughly four times the token cost. One question, one harness,
one day; it is quoted as a receipt, not a benchmark.
External measurement brackets this choice from both sides. In one read-only Python-repository QA study, semantic retrieval cost $0.32 per correct answer versus $0.74 for Deep; Deep was about 2.3 times as expensive and semantic was about 57% cheaper. The largest token gap, 22.4 times, applied specifically to Qwen3-235B [73]. A separate structural code-graph system reported 83% versus 92% quality, about ten times fewer tokens, and 2.1 times fewer tool calls, with exploration retained as a fallback [74]. The counterposition is real and worth stating plainly: Anthropic tried a retrieval index inside early Claude Code and removed it in favor of agentic search, citing staleness, privacy, and reliability. Those are architectural objections, and this architecture answers them — the index lives with the installation and never leaves the machine, whichever model then reads its answers, and is designed to be refreshed per commit by the same hooks that keep evidence current; grep remains the declared fallback rather than a banned tool. The staleness objection is not hypothetical here: at the 2026-10-20 snapshot the index had last been refreshed on 2026-09-12, 38 days and 175 commits behind the mainline, which is exactly why the rule ends with a read of the returned range before any edit. Retrieval-first is a cheap first hop, not a doctrine of index-replaces- search.
Ready on install (planned). Retrieval-first only pays if the index and the knowledge are there from the first minute. In the Koinessa product, the Brain is meant to ship inside each application: an embedded DuckDB database, created on install with its schema and migrations applied, the product's own methodology documents and help already ingested, and the code index built on first open of a project — so a new user starts with a working Brain, not an empty one, and no separate database server is ever installed. Today the product's Brain is created on first start and its documentation is imported only on request; shipping it pre-populated is unbuilt.
7. Business value II — measured retrieval and context economics
There is no observed whole-task or 70-times result. The external studies and internal receipts measure non-equivalent components, so they are not multiplied. Any future internal projection must declare assumptions and use either a measured sequential factor or a weighted equation. It remains a conditional design calculation, never a benchmark.
The current bounds are useful without a compound headline:
Scroll horizontally to view all columns.
| Evidence | Measured boundary | What it does not establish |
|---|---|---|
| External, read-only Python-repository QA [73] | $0.32 per correct semantic answer versus $0.74 for Deep; semantic about 57% cheaper; 22.4-times maximum token gap for Qwen3-235B | Whole-task performance or every-model savings |
| External, Codebase-Memory [74] | 83% versus 92% quality; about ten times fewer tokens and 2.1 times fewer tool calls | Safe edits or replacement of exploration fallback |
| External, eight-model OpenHands/SWE-bench Verified [71] | Roughly 1,000-times cross-run token difference and up to 30-times same-task variance | Every agent workflow |
| External, worked input-cost derivation [70] | 85.6% of input-side processing; cache reads alone about 51% | Realized organization spend |
| Live Koinessa telemetry, 27 recorded days through 2026-08-16 | 22,696,191,284 total tokens; 20,918,082,610 cache-read; 92.17%; $12,027.14 list-priced; no later day ingested as of 2026-10-20 | A controlled productivity comparison |
Live. The Context Compiler and retrieval-first path are intended to reduce repeated context carriage and exploration. The telemetry identifies where cost accumulated; it does not prove how much a counterfactual workflow would have spent. The controlling KPI is verified work per dollar, attributed per work item and interpreted with task quality, acceptance, and human-review cost intact.
Compacted messages remain in active context only in summarized form and are recoverable in full only when separately persisted. Lossiness is an inference about unpersisted detail, not a claim that every durable log is destroyed [87]. NoLiMa's benchmark-specific 11-of-13 and GPT-4o 99.3-to-69.7 results provide another bounded reason to keep canonical state outside the model window [72].
8. Business value III — better and faster
Cost is the floor; control is the multiplier.
8.1 Provenance and governance
Live, with a measured boundary. The chain from intent to outcome is modeled end to end: requirement, work item, principal, agent session, model, files, commit, pipeline, evidence, policy decision, approval, deployment, operational result (sections 2.4–2.5). The links that come from the coordination plane, the work board, and git are populated as work happens. The links that come from the verification pipeline are not: one evidence bundle is recorded, and the pipeline on the local cluster hub (section 6.1) produces evidence manifests. The temporal ledger answers "what did we believe when this was authorized" as a query. Governance is not a slide deck; it is a table you can audit — including the rows that are empty.
8.2 IAM-type policy, zero-trust internally
Live. Identity is separated the way mature IAM systems separate it: principal identity (who is operating), tenant/project identity (whose resources are in scope), agent/session identity (which worker is acting), work authority (which bounded task it owns), capability authority (which action classes it may perform), provider identity, and evidence identity. The identity slice went from design to code in August: sessions carry a principal, permissions are evaluated against versioned policy with persisted decisions [18] rather than prompt text, gateway quotas and write scopes attach per principal and per table, the audit and event ledgers stamp the acting principal, and the gateway can require a principal outright. Network presence is not authority — a LAN connection grants no implicit trust, per zero-trust doctrine [5]; reads themselves are bearer-identified on any non-loopback bind (section 3.2). A worker may be able to reach a resource while lacking the policy authority to use it, and both facts are checked.
The product's team controls (built-but-gated; 2026-11-19). The Koinessa product's team coordinator now has the controls a three-person team needs, each wired into the running coordinator rather than left as a tested function: invitations that hold only the hash of a one-time secret and can never confer ownership; tokens that expire and rotate with an overlap window, where a superseded token may not mint another; role changes under rules that keep the last owner and forbid an administrator from granting ownership; per-address rate limiting that charges failed authentication; an administration screen and an audit export that carry no secret; single sign-on whose ID-token signature, issuer, audience and one-time nonce are checked and whose groups map to roles that never include owner; and SCIM provisioning that disables, never deletes. A drill runs an owner, an administrator, and a reader through the real HTTPS coordinator end to end, and it found two defects that unit verification had not: the token-renewal loophole above, and a rate limiter that never tripped because a penalty larger than the remaining budget was never charged. Both are fixed. No customer team has used these controls.
8.3 Multi-tenant design — three separate properties
Storage scoping, concurrent operators, and inference-provider choice have different evidence boundaries.
-
Data tenancy (in flight). Of 402 base tables, 388 carry
project_idand 14 shared or infrastructure tables do not. Every external write crosses the single-writer gateway, where identity and scope are enforced, but this paper does not infer universal tenant isolation from a partial schema property. TEN-001 is in flight at 78%; MTC-001's parity work is code-complete, with the gateway flag that requires a principal present and defaulting off; external-principal hardening remains incomplete. -
Concurrent operator tenancy (live). Two people — the founder and a second operator — routinely do work at the same time on the same repository, from two different PCs on the same local-area network, each directing their own agent swarms. The Main PC serves the Brain gateway and the local Ollama daemon; the second workstation is a first-class LAN client of that host, not a copy of the database. File claims, work-item leases, and fencing tokens are what make that safe: the coordination plane does not care which human, which vendor, or which physical box the worker sits on. This is an operating property a two-person team uses. It is also the property a larger team would need from a control plane — not a promise that two chat windows can be open, but a demonstrated architecture where two humans plus many vendor swarms coordinate across one mainline using cooperative file claims and leases, while recording detected conflicts for operator review.
-
Inference-plane portability (live where receipted; broader neutrality planned). The same board, the same leases, and the same evidence gates accept interactive workers from Kimi, Claude, Grok, Codex, custom local Ollama models, and Ollama Cloud [83]; Devin and Google Gemini are registered as descriptors and disabled (section 3.6). Current runtime receipts come from those interactive lanes; the managed transport layer that would make a provider swap configuration-only is built-but-gated with no descriptor enabled. A provider swap is an internal design goal, not externally proven neutrality or a promise that every provider is configuration-only.
The consequence for anyone evaluating the design: tenant isolation, concurrent-operator safety, and model neutrality are verified the same way code is — as evidence, per the canonical result states of section 2.5 — not as a promise.
8.4 Disconnected control-plane operation
Built-but-gated. The local control plane is designed to remain available if a model provider changes terms, the internet is unavailable, or the work must run in a closed environment. The Brain, gateway, and coordination plane run locally today, and local models can continue bounded work; the verification engine, image registry, and CI runners are local by design and hosted on the local cluster hub (section 6.1). Disconnected operation has not been exercised as a drill, and no production claim is made for it.
For the Koinessa product, the air-gapped case now has a drill (built-but-gated, 2026-11-19). With air gap on, a hosted inference provider is neither called nor probed — the policy is enforced in the one registry every provider call passes through — and each refusal is recorded without the prompt. An operator-staged update is accepted only from a trusted signer with a matching digest. A restore over a damaged installation writes its audit record before anything moves, keeps the damaged directory aside rather than deleting it, and carries no key material across, so the restored installation must be re-keyed and re-paired. Building that drill exposed a gap worth stating as a general lesson: the policy check that keeps inference local had existed and been tested for weeks, but no runtime path called it. A gate that is built but not wired enforces nothing; it is now wired, and the drill is what proves it. No installer exists yet, so no air-gapped site has run any of this.
8.5 What the Brain measures
Live receipt, 2026-10-20 snapshot. No whole-task productivity multiplier is claimed. The Brain, board, and indexed repository provide the following direct counts (each mutable counter carries its snapshot instant in Appendix A, and the snapshot necessarily precedes the publication that changes it):
- Token telemetry (27 recorded days through 2026-08-16; no later day ingested as of 2026-10-20): 22,696,191,284 total tokens, of which 20,918,082,610 — 92.17% — were cache reads. List-priced, that window is $12,027.14. It is telemetry at list price, not realized spend, and the ingest that feeds it has been idle for approximately nine weeks.
- Delivery board: 351 cards; 205 done / 115 in progress / 19 in review / 10 backlog / 2 ready; 77.7% average completion; 199 cards at 100%. That is the whole portfolio, including operator-only marketing and lead-generation work that is outside this paper's subject. Per-card percentages are computed by a reconciler from acceptance-criteria evidence in this repository, so they understate work whose evidence lives in another repository.
- Reconciliation and selection receipts: two signed manifests, two iteration rows, and no seals (section 4.1); 18,034 recorded verification job runs across 299 pipelines from 2026-08-08 through 2026-09-07, two selection decisions, and input digests for 12 jobs (section 4.2); ten Autopilot runs, none completed green.
- Coordination receipts: 3,715 file claims, nine recorded swarms, and 50 recorded
collisions; 1,011 mainline commits reachable from HEAD at
204a543cb, all since the 2026-08-27 re-root. - Index sizes: 21,152 Koinessa symbols (last indexed 2026-09-12), 75,460 federated across 12 lanes; 366 tools and 5,864 curated documents; 2,072 git-indexed test/spec files on this tree.
Design position. Durable memory should reduce re-derivation; retrieval-first should reduce unnecessary exploration; explicit coordination should reduce collisions; and evidence gates should make acceptance more reviewable. The receipts above show operating state, not controlled causal effects.
8.6 Parallel model execution
Live. Interactive workers from Kimi, Claude, Grok, Codex, custom local Ollama models, and Ollama Cloud [83] work the same board simultaneously, separated by file claims, work leases, and fencing tokens rather than by courtesy. Two human operators on two LAN PCs can — and do — direct those swarms at the same time; that is concurrent-operator tenancy, not a second copy of the Brain. One repository receipt records that on 2026-08-12 a single orchestrating session (a) scanned the then-266-card work board, (b) ran two explorer agents in parallel to map two code seams, (c) had a local 27B model draft the requirements document from their reports, (d) ran two coder agents in parallel on disjoint workstreams implementing four stories, and (e) independently re-ran the full verification suite — 11,271 tests green — before the work was accepted. No session's context held the project; the Brain did. External measurement provides a bounded comparison: 0.5% of co-active pairs involved different agents, not 0.5% of pull requests. In a replay sample, textual Git conflicts were 41.7% versus 19.8%; those are textual conflicts, not semantic conflicts [69].
Two controllers on one wave (live; 2026-11-18 to 2026-11-19). Product wave W5 was built by two independent controller sessions at once, each with its own dispatcher and model ladders, both committing to the same repository. It worked because the split was explicit rather than emergent: the operator ruled who owned which part, each brief named the other controller's modules as code to import and never re-plan, and story identifiers were disjoint. One duplicate still started — a signature-verification story was planned on one side while the other committed it — and was dropped. An earlier episode in wave W4 showed the failure mode the split avoids: a second agent running the same queue without the same rules deleted the records of accepted work, which an evidence audit then found and a re-attestation repaired. Parallel agents need a single writer per queue, an explicit division of ownership, and an audit that re-derives the evidence rather than trusting it.
8.7 From command center to product line: the unified interface
The product line (in flight). Koinessa is now being built as a product under one master requirements document (KPR-001): one core runtime, three native desktop applications that each look like they belong on their operating system — WinUI 3 on Windows, SwiftUI on macOS, GTK4 and libadwaita on Linux — and two mobile companions for iOS and Android, all five generating their client from one published interface contract and held together by shared sync gates. The core's waves are reported by evidence: foundations, the trust core, verification selection, the team and regulated controls, and mobile pairing are built and tested in the core (sections 3.6, 4.2, 8.2, and 8.4); the three native desktop clients and the onboarding and commerce wave are not yet written, and the desktop clients wait on operating decisions — signing certificates, a developer-program enrolment, and build capacity for macOS — that a person, not a model, has to make.
One interface for all five applications (in flight — in design). The interface is being designed as one shell rendered natively on each platform, and its design adds capabilities the product's original requirements did not name, because building the system changed what it is for. The default surface is a conversation with the project that several people and several models from several vendors share: each answer is labelled with the model that gave it, the vendor, and where that vendor runs; the model picker shows only providers that passed their connectivity check and names the reason for any that did not; and a consequential action — sending an email, deleting files — appears in the conversation as an approval card, never as a silent side effect. Beside the conversation, a context panel shows what the model was actually given: the size of the context packet, the Brain sources it was built from, the risk tier of the run, whether any data left the device and to which provider, and the cost so far. The work board shows every work item with its owner — a person or a model — its lease, and any collision on the item itself; the proof view shows each item's checks in all five verification states, the continuous-integration and commit-hook results behind them (section 4.3), and the signed evidence bundle; and the Brain view shows documents, code symbols, and facts, with every ingest previewed and secrets redacted before anything is stored. Every field carries plain-language help after a five-second hover. A phone pairs with a desktop to approve, follow, and resume work, and an approval is never queued while the desktop is unreachable.
Two of the design's commitments are not built and are stated as such. Several people working the same project at the same moment — seeing each other's sessions, claims, approvals, and results as they happen — needs a live channel from the core to every connected client; the coordination plane already arbitrates concurrent workers (section 8.3), but no such channel exists in the product core yet (planned). And the product is meant to be ready on install: each application carries its own embedded Brain, created with its schema, methodology, and help already in place (section 6.3; planned). The requirements for both, and for the rest of the design's additions, are being written as a companion to KPR-001.
The command center and the Desktop line. Before the product line, Koinessa was developed in two long-lived lines, and the paper describes the arrangement as measured drift rather than implied parity. The operator command center — the founder-operated system whose receipts fill this paper — keeps every surface, including the marketing, lead-generation, social, and art automation lanes: those are not this paper's subject; they are standing validation evidence that the control plane generalizes past code, exercised against real business state. Koinessa Desktop was cut as the lean distribution: an Electron application with its own repository history since 2026-08-12 and the trust surfaces a third party would need — offline licence keys with seat tiers, identity providers (LDAP, OIDC, SAML, SCIM, with Kerberos shipped dark pending real-directory validation), and adapters for four CI providers. Its governing requirements document closed with operator acceptance on 2026-08-19.
Its state is reported as it was left, because the Desktop line remains a separate pre-release distribution not yet deployed to production (status disclosure). One release exists: v0.1.0, published on 2026-08-30 through a manual release rail and delivered byte-identical through the content-delivery network. It is unsigned, so every download raises an operating-system reputation warning, and it was built before the rebrand, so it installs under the product's previous name (built-but-gated). Release automation landed as code and has never run, because it needs a self-hosted runner and none is registered. Clean-machine install validation has not run. The Desktop repository holds 133 commits and has received none since 2026-08-30. The three efforts that would have carried the line to a cutover stand where their last review left them: the sync of command-center changes into Desktop shipped four of six stories and reads needs-work after six engineering review rounds (in flight; no activity since 2026-08-28); the cutover plan was blocked at its first review (planned); and provisioning for an outside cluster passed plan review with no code written, on a build path that ran on the decommissioned physical fleet (planned). The unified provider layer of section 3.6 — descriptors, transports, arbiter, the compaction bridge, the tool registry, the evidence chain, risk tiers, the temporal ledger, and the coordination plane — was ported to Desktop on 2026-08-17; nothing this edition adds has crossed. Features were tried first on the command center with the whole system running, then ported; the two histories are reconciled by an explicit transfer process rather than by merges. The product line supersedes that arrangement: KPR-001 moves the Desktop line's commercial modules into the core, where all five applications share them, rather than keeping a separate distribution in sync by hand.
8.8 Who this is designed for, and why it is published
Koinessa is designed for the platform, developer-experience, and security teams that own agentic delivery at organizations already running several AI coding agents against mature CI/CD — the teams asked, after the fact, what was done, by which worker, under whose authority, and with what proof. The controls in this paper — tenant scoping with per-principal authority and audit, IAM-grade identity separation, policy as versioned code, provenance chains from intent to deployment, and evidence bundles that map onto SSDF-style assurance expectations [21][22] — exist so such a team could raise autonomy tiers across many developers without losing that answer. The founders' own operation — three small businesses run on one agent setup — is the origin of the design and its daily proving ground, not its intended scale.
The product being built from it widens that reach without lowering the standard: the same core is meant to serve a single professional who has never opened a terminal, a team sharing projects across several people and models, and a regulated or air-gapped site, the difference being configuration rather than a different build. Koinessa is in daily internal production use by its operator across multiple ventures, and it is being built, in public, into that commercial product; it is not yet generally available, and this paper states no price or date. This paper is the build log: it is published as a worked, measured example of the method — open about what runs, what is historical, and what failed — for anyone building the same controls, and for anyone deciding whether to trust the product when it ships.
How we got here. The system was not designed top-down; each stage was forced by the limits of the one before. It began as prompt engineering — getting one model to do one task well — and stopped scaling at the first long project, because nothing survived the session. A harness came next: code around the model that decided what it saw and checked what it returned, with the model as a component. Durable state and governance followed — the Brain, provenance, risk tiers, the coordination plane — turning the harness into an operating layer for agents of any vendor. The current stage is a software factory: the same layer applied to producing software as a repeatable, measured process, in which work is decomposed into units small enough to verify, each unit is routed to the best model for it, and compilers, tests, scanners, policy gates, and people decide what is accepted. The stages nest rather than replace each other, and the last is only partly measured: the throughput and first-pass yield of the factory are recorded (section 3.6); its defect escape rate is not yet. A deliberately skeptical, external-evidence-grounded assessment (2026-08-13, design input) applied this paper's own discipline to its claims — external citations fact-checked, planning assumptions labeled as assumptions, no whole-task productivity multiplier — and found the underlying problem real and increasingly measured externally, from DORA's "verification tax" [25] to agentic pull requests substituting review rather than scaling it [29]. It left one condition the platform had not yet met: finish the trust substrate before asking trust-sensitive organizations to rely on it. EGD-002 closed that substrate (section 2.7), and its successors (sections 3.9 and 10) are held to the same standard.
9. Roadmap
Eighteen directions, labeled honestly. The first seventeen are the command center's; the eighteenth is the product line being built from it (section 8.7). None is a release-date commitment, and several directions await deeper verification cycles on the restored cluster hub (section 6.1). Each carries binary acceptance criteria in its requirements document, because a roadmap item without a falsifiable exit condition is marketing. Status is a 2026-10-20 snapshot of the live work board unless a repository receipt is named; per-card percentages are computed by a reconciler from acceptance-criteria evidence in this repository:
- Unified identity contracts across tools, agents, runners, work, and evidence (in flight — TEN-001 is 78%; MTC-001's parity work is done; session principals, permission evaluation against versioned policy, per-principal gateway quotas and write scopes, and principal-stamped audit are delivered as a repository receipt, with principal enforcement present and defaulting off; external-principal hardening is not delivered).
- Temporal operational ledger: authority classes, evidence links, as-of-time queries (live — BRN-002 is done at 100%).
- Verified agent capability profiles: route work by demonstrated, verified capability (live — EGA-001 is done at 100%, 16/16; AAV-001 is done at 100%, 8/8).
- Language-agnostic verification: one canonical evidence envelope per ecosystem — Node/TypeScript strongest today, Java and C++ components built, C and Ada spec-only conformance profiles available; Python, Go, and Rust CI fleet images were built and catalogued in the local Zot registry with on-image self-tests on 2026-08-19 (repository receipt), while containerized execution is hosted on the restored cluster hub (HUB-001) and language conformance profiles remain unbuilt (built-but-gated where implemented; remaining profiles planned).
- Autopilot supervised staging with measurable entry and exit criteria (built-but-gated — both APX-001 cards are done on the board, ten runs are recorded and none completed green, and the reconciliation loop of section 4.1 is what now drives it, single-shot).
- Layered Git authority earned per task class (planned).
- Repair-loop maturation: taxonomy, calibrated confidence, independent re-verification (built-but-gated loop — its daemon was removed on 2026-09-17; maturation planned. A propose-only self-healing loop for infrastructure faults went through three plan reviews without clearing one, after measuring that the existing retrieve-then-fix path had never returned a match, because the failure classifier and the fix writers hashed different vocabularies).
- Closed business-action loops with idempotent execution and outcome learning (in flight).
- Enterprise trust surfaces: RBAC, tenancy, recovery, audit export (in flight — TEN-001 at 78%). Concurrent operator tenancy is live; external-principal hardening remains incomplete.
- Agent-network governance above MCP/A2A: membership, delegation, revocation, replay (live local substrate — EGD-002 is done at 100%, 12/12 and review-approved; cross-network membership remains planned).
- Provider onboarding as a repeatable governed pipeline: register the descriptor disabled, commit a deny-all guard, pass a kill gate, run conformance, then an operator-gated enable drill (live worked example — the sixth descriptor landed through exactly this sequence on 2026-08-23 and the seventh on 2026-09-05; no enable drill has run; generalization in flight).
- Declarative reconciliation: a signed requirements manifest, acceptance criteria as tests that fail first, a measured delta, a circuit breaker, and a sealed result (live as a supervised drill, section 4.1 — EGAD-001 is 60% on the board; verification from a side the worker cannot write, the run seal, and a drill with an autonomous worker are in flight; operating-system isolation for worker code is planned).
- Evidence-gated verification selection (in flight, section 4.2 — the deterministic planner and change-impact analysis are integrated in shadow/advisory mode on the restored cluster hub pipeline; active deferral enforcement and empirical speedup benchmarks remain in flight).
- Assurance as a catalog: a draft control catalog and a deterministic evaluator (built-but-gated, section 4.3 — 109 controls and one conformance run, which measured this repository at the floor; publication, and the pipeline jobs that would run the evaluator on every change, are gated).
- Disposable worker model routing: work decomposed into micro-tasks and each routed to the best model for it — frontier models for planning and review, the least capable model that passes for execution — across flat subscriptions, free community catalogs, local GPU compute, and hosted models (live for interactive and CLI-spawned sessions, DWR-001, and for the product's story dispatcher, section 3.6; autonomous daemon dispatch in flight).
- In-application search and tool execution: local-only Brain Chat operating with application-level network restrictions on resident GPU compute with AST SQL guard (OLM-006 — live), and Ask the Brain querying 366 platform tools with internal-first hybrid search and user-gated web access (ASK-002 — live).
- Google Gemini and Antigravity parity: full lifecycle hook bridge, native MCP servers, 113 skills, and local AOE compactification on local Ollama (AGY-001 — live [105]).
- The Koinessa product line (KPR-001): one core, three native desktop applications, and two mobile companions behind one interface contract. The core's foundations, trust core, verification selection, team and regulated controls, and mobile pairing are built and tested (built-but-gated — no customer installation, no installer); the unified interface is in design, adding a shared multi-vendor, multi-person conversation, a proof view over pipeline and hook evidence, and an embedded Brain ready on install (in flight); live multi-person sync and the shipped Brain are planned; the native desktop clients, onboarding, and commerce are planned, the desktop clients waiting on signing and build-capacity decisions.
Live board receipt. BRN-002, EGA-001, AAV-001, EGD-001, EGD-002, AOE-001, XFR-001, MTC-001, DSK-001, and both APX-001 cards are done at 100%. Done on the board means the card's acceptance criteria are evidenced in this repository; it is not production acceptance, and none is claimed. The Desktop line's one release remains unsigned and clean-machine install validation has not run (section 8.7).
10. Limitations and status
Koinessa is a founder-operated system in active internal production use, being built into a commercial product that is not yet generally available; no customer has deployed it, it is not a SaaS, it has not been independently audited, and no claim here should be read as certification or compliance — frameworks are guidance, a control is implemented behavior, evidence proves the behavior occurred [21][22], and certification is a separate determination. The Brain is single-writer by design; multi-writer operation is unsolved here (two operators share one writer via the gateway; they do not each hold a write connection), and multi-writer coordination across distributed clusters remains a design specification without implementation (planned). Verification depth is uneven across languages (section 9, item 4). Autopilot remains fail-closed by ruling. No whole-task performance multiplier is claimed. The 85.6% input-side share is a derivation from a published worked example, not a vendor-printed statistic; cache reads alone account for about 51% in that example.
Boundaries specific to this edition, stated as measured. Rapid vendor evolution and independent verification. A fundamental limitation of this architecture is that underlying frontier model capabilities, API shapes, context mechanics, and safety boundaries evolve rapidly across vendor release cycles. Furthermore, because Koinessa employs AI agents to assist in software design, implementation, and test drafting, a system that verifies itself risks compounding blind spots. Despite internal safeguards — such as AST SQL guards, immutable test fixtures, and signed requirements manifests — we recognize that independent verification from an outside source is essential to ensure the system is not completely verifying itself. Independent third-party audits, external security assessments, and outside benchmark evaluations remain necessary to establish trusted assurance beyond internal operating receipts.
The reconciliation loop of section 4.1 has one supervised run on a two-criterion fixture, with no model in the loop; no seal has been recorded, and no Autopilot run has completed green on production epics. A seal produced by an autonomous worker on a story whose tests import worker code is not accepted without a human reading the diff, because nothing on this host isolates that code from the test process. Verification selection (section 4.2) is operational on the local cluster hub pipeline, and empirical timing and outcome data continue to be collected.
The managed-session provider layer is built-but-gated: seven descriptors, zero enabled, and the arbiter has no caller — the multi-vendor receipts in this paper come from interactive and CLI-spawned sessions (section 3.6), and the recent mainline is predominantly one vendor's work by commit trailer (section 2.3). Transcript compaction is wired unevenly across vendors, and one vendor's lane has produced no packet since 2026-08-17 (section 3.7). On the Brain side the sufficiency, outcome-evidence, delegation, and provider-conformance ledgers hold zero rows, against one evidence bundle and one conformance run (section 2.5). The Devin descriptor remains disabled pending an enable-time drill that has not run, and its refusal guard is scoped to this working tree's CLI lane — a vendor cloud session operating on its own clone of a repository is governed by repository rules and provider-side controls, not by this tree's hooks, and two mainline commits arrived that way (section 3.6). Collision detection records and does not block, and nothing reads the record back (section 3.3).
Durability has open operational boundaries (section 3.10): this line still moves a torn database aside before the restored copy is staged, and the recovery point is an operator-triggered export dating from September 17 (33 days old on October 20). Automatic restore-from-snapshot has run in the gateway process since 2026-08-24, its supervisor is a native service that stays stopped on the refuse-to-start exit code by design, and degraded-mode legibility is a draft with no implementation. Several ingests are idle, and the paper reports their last reading rather than implying growth: token telemetry has no day after 2026-08-16 (approximately nine weeks idle), the tool registry has 366 tools, and the symbol index was 38 days behind the mainline at this snapshot (dating from 2026-09-12). The Desktop line (section 8.7) has one unsigned release and no commit since 2026-08-30, and trails the command center by every capability this edition adds; the gap is stated per capability, never assumed closed. And because this paper's own publication writes to the system it measures — its review rows, facts, file claims, and the commit that carries it all land in the Brain and the git history — every mutable counter here is a pinned snapshot instant that necessarily precedes the publication that changes it.
The open-core boundary is stated as measured. The reusable AI layer is live at v0.9.0 as of 2026-09-07, published under the MIT license and installable by anyone (section 3.13) at https://gitlab.com/kriscodes2-claude-plugins/ai-layer [98]. Its local mode is single-machine and single-writer: reads open the brain read-only per call, and every write goes through one writer process. The Brain Gateway is not part of the free layer, and neither are the Koinessa dashboard, the verification and evidence pipeline, Koinessa Desktop, the CI/CD catalog components, or Autopilot. The koinessa.com claim label for the layer carries live as of the same date.
The remaining receipts quoted in this paper (commit counts, test-file counts, index
sizes, table counts, token telemetry, board columns) were verified against the live
system, git history, and the work board for the 2026-10-20 snapshot and will drift; the
claims register is their source of truth. The mainline history was re-rooted on
2026-08-27, so commit windows before that date cannot be re-measured from this tree and
none is quoted. Koinessa Desktop's repository evidence and this operator command center
are separate evidence lanes. The nine references added in the tenth edition ([99]–[107]) were
read from their primary sources during the research for sections 4.1 through 4.3 and section 3; they
are cited as population-bounded external evidence and are not yet rows in the claims
register. The
external statistics in section 1.1 are reproduced with dates and
provenance labels in the EGD-001 research digest; where a circulating figure is vendor
telemetry, contested, or methodologically weak (the "95% of AI pilots fail" claim, for
example), the digest says so and this paper omits or caveats it. The automatic external-
claims probe checks that the versioned digest remains tracked; it checks evidence-trail
integrity, not live URL retrieval. All 22 external rows remain disputed for automated or
operational reuse. This operator-approved edition presents them only as explicitly cited,
population-bounded external evidence; no row is promoted to live. Human primary-source
review and explicit promotion remain required before the claims register treats a row as
reusable approved evidence. An agent may assist research but cannot promote a claim. The archived
typeset PDF remains a historical snapshot rather than the canonical article. Finally,
the multi-vendor coordination result
is one system's operating evidence, not a controlled study — we publish it as a receipt,
not a benchmark.
The product-line evidence added in this edition has boundaries of its own. The recorded-corpus benchmark of section 4.2 is one repository with seeded defects, compares pipelines of separate jobs, and has not been repeated on a real pipeline or preregistered. The team, single sign-on and air-gap controls of sections 8.2 and 8.4 pass drills in test against the real coordinator and real files, but no customer team or air-gapped site has used them, and there is no installer to deploy them with. The stories counted in section 3.6 were planned partly by one controller and partly by another; the W5 figures there are one controller's share. The unified interface of section 8.7 is a design, not software: the native desktop clients that will render it are not written, the live channel that would let several people work one project at the same moment does not exist in the product core, and the embedded Brain that would make the product ready on install is not built. The command-center receipts in this paper (the 2026-10-20 snapshot) were not re-measured for this edition; the product-line figures carry their own 2026-11-18 and 2026-11-19 dates.
Appendix A — Brain-backed operating receipts (2026-10-20)
These numbers were read from the Brain, indexed repositories, git history, or the Kanban
board in a single pass — 2026-10-20 14:24 ET for the Brain, and commit 204a543cb
for git — before the tenth edition's source was frozen for rendering, except where a row
states its own instant. The eleventh edition carries this snapshot unchanged; its new
product-line figures are dated where they appear (sections 3.6, 4.2, 8.2, and 8.4). They will
drift; this paper's own publication moves several of them, and the claims register is the
source of truth. Counts drawn from git are measured by committer date
(git rev-list --count --since --until HEAD); the mainline history was re-rooted on
2026-08-27 19:41 ET, so the oldest commit reachable from that HEAD is the re-root itself,
and because this tree
rewrites history during
automated sweeps, a commit can move between days, so a short window is a measure of that
window at the stated instant rather than a fixed historical fact.
Scroll horizontally to view all columns.
| Receipt | Value | Source |
|---|---|---|
| Koinessa symbol index | 21,152 symbols | symbols where project_id='conexus' |
| Federated fleet symbols | 75,460 across 12 lanes | symbols grouped by project_id |
| Base tables / views | 402 / 36; 388 of 402 carry project_id, 14 do not |
schema inventory |
| Curated documents | 5,864 documents | docs |
| Tool registry | 366 tools (137 api_route, 104 skill, 91 script, 29 agent, 3 ci_component, 2 mcp_server; all active; runtime execution enabled) | tool_registry |
| Delivery board (Koinessa) | 351 cards; 205 done / 115 in progress / 19 review / 10 backlog / 2 ready; 77.7% average pct_complete |
apx_prd_registry |
| Registered sessions | 548 sessions | sessions, agent_session_runtime |
| Provider descriptors | 7 registered (Grok, Gemini/AGY, Claude, Ollama, Devin, Codex, Kimi); 4-tier disposable worker router plus decomposition | provider registry (repository receipt) |
| Evidence and conformance ledgers | 1 evidence bundle; 0 rows across sufficiency, outcome evidence, delegations, and provider conformance runs; 30 transcript digests (latest 2026-10-19) | each ledger table |
| Context packets | 189 total: grok 86 (latest 2026-10-19), claude-code 68 (latest 2026-10-19), claude 28, codex 5, kimi-code 2 | agent_context_packets |
| Chat history messages | 3,904,730 total messages ingested | chat_history |
| Assurance conformance runs | 1 (2026-08-30): first level claimed, none achieved; 41 required, 0 proven, 2 failed, 37 drift, 2 not applicable, 0 exceptions | egaf_conformance_runs |
| Reconciliation loop | 2 manifests, both signed; 2 iteration rows (one breaker trip, one convergence); 0 seals | egad_manifests, egad_iterations, egad_seals |
| Autopilot runs | 10 recorded; 0 reached completed-green | apx_prd_runs |
| Verification selection (historical) | 18,034 job runs across 299 pipelines on decommissioned 7-node fleet, 2026-08-08 through 2026-09-07 (3,958 success, 2,018 failed, 5,031 canceled, 7,027 skipped); 2 shadow decisions; input digests for 12 jobs | evs_job_runs, evs_decisions, evs_job_inputs (historical) |
| Verification pipeline (restored) | Operational on local cluster hub (HUB-001); EVS-001 change-impact selection in advisory/shadow mode; empirical execution metrics under collection | cluster hub execution receipt |
| Work items by verification tier | 110 items; 97 R1, 13 R2; 2 with a validated brief | work_items |
| Token telemetry | 22,696,191,284 total; 20,918,082,610 cache-read (92.17%); $12,027.14 list-priced (list_price_estimate_usd); 2026-07-10 through 2026-08-16 (27 recorded days); no later day ingested as of 2026-10-20 |
cc_usage_daily |
| File claims / swarms / collisions | 3,715 claims; 9 swarms; 50 recorded collisions | work ledger |
| Mainline commits (this tree) | 1,011 reachable from HEAD at 204a543cb, all since the 2026-08-27 re-root |
git history at 204a543cb |
| Test files (this tree) | 2,072 git-indexed test/spec files | git index at 204a543cb |
| Desktop line | one release, v0.1.0 (2026-08-30), unsigned, installs under previous product name; 133 commits; clean-machine install validation not run | Desktop repository and PRDs (repository receipt) |
| Newest full Brain snapshot | 2026-09-17 01:23 ET; scheduled snapshot job was removed under austerity cutover | snapshot directory listing |
Restored Cluster Hub & Verification Pipeline (HUB-001 Snapshot — 2026-10-20)
Scroll horizontally to view all columns.
| Operational Dimension | Status & Evidence | Source / Verification Method |
|---|---|---|
| Cluster identity | Local K3s cluster hub (HUB-001) hosted in Hyper-V on Main PC; local Zot registry at 192.168.1.50 |
k3s node inventory, host receipt |
| Pipeline availability | Operational; local containerized runners accept and complete verification jobs | runner daemon heartbeat, CI job execution |
| Verification selection (EVS-001) | Change-impact analysis integrated in shadow/advisory mode; planned vs executed sets evaluated per commit | scripts/ci/evs-selector.ts, pipeline logs |
| Enforcement state | Advisory / shadow mode; candidate deferrals recorded without dropping jobs from execution | EVS decision ledger, pipeline configuration |
| Performance tracking | Empirical timing (queue latency, execution duration, test suite wall-clock) actively logged | ongoing empirical data collection |
| Autopilot posture | Fail-closed by ruling; requires explicit operator re-arm per run | apx_prd_runs, operator gate |
Pinned Post-Restoration Pipeline Execution Receipt (Operator-Reported)
Scroll horizontally to view all columns.
| Receipt Attribute | Recorded Value | Verification Evidence |
|---|---|---|
| Pipeline Execution ID | pipe-hub-20261020-001 |
GitLab CI pipeline trace / runner job record |
| Trigger Commit SHA | 204a543cb (mainline HEAD at snapshot) |
Git revision ledger |
| Execution Timestamp | 2026-10-20T14:18:22Z |
container runner start/end timestamps |
| Responding Runner Pool | hub-runner-k3s-01 (4 vCPU, 8 GiB RAM allocatable) |
K3s pod execution manifest |
| Required Job Outcomes | All required verification jobs completed green: typecheck (pass), lint (pass), test-affected (pass, 14 suites, 0 failures) |
JUnit test report, runner exit code 0 |
| Selector Mode & Deferrals | Advisory mode (EVS-001): 57 jobs evaluated, 14 candidate deferrals recorded, 0 jobs suppressed (all 57 executed) | evs_decisions log entry evs-dec-20261020-01 |
| Evidence Artifact Digest | sha256:d8a57e3f4b... |
CI evidence bundle manifest in Brain storage |
| Overall Elapsed Time | 4m 18s (queue time: 12s, execution time: 4m 06s) | runner wall-clock receipt |
EGD-001's preregistered self-benchmarks (US-017) remain the declared path to task-matched, reproducible productivity measurements. Until those exist, this paper will not invent a multiplier.