The Story
The first Kimi Code run on the page, and the first billed on a flat subscription rather than pay-per-token: Kimi K3 Max at Moonshot’s $39/month Allegretto plan, thinking effort set to max. Same “do it in one go without stopping… test everything via Pest… simulate user behaviour using the Playwright MCP… then make a full review meeting” brief as every other build. What sets this run apart is not the harness’s ambition but its economics: “this build required 157% of the weekly limit and multiple 5h limits,” as the operator put it, and the session spans a full week of wall-clock time because of it.
Kimi split the spec into a strict 12-phase sub-agent pipeline (foundation → catalog → themes → cart → payments → accounts → three admin-UI phases → search → analytics → apps/API → seeders → polish), each phase a single Agent call handed a full written report back to the main thread before the next was spawned — closer to Codex’s sequential goal-mode than to Claude’s team mode. For the final QA pass it switched tools entirely: one AgentSwarm call fanned out 5 parallel browser-test shards covering all 143 acceptance tests. What makes the transcript unusual is how often it had to restart: 7 separate provider-imposed stalls interrupt the run, from short 429 rate-limit backoffs up to a 132-hour wait for the weekly quota to reset after Phase 11, and the first AgentSwarm attempt was killed outright by a 403 usage-limit error and had to be resumed hours later, after a second same-day quota window passed. Each time, a plain “continue” was enough to pick the same phase back up mid-task.
The result lands solidly in the upper half of the page: 134 of 143 acceptance tests pass (94.1% weighted), the fourth-highest score here behind #14 Fable 5 (99.7%), #15 Codex Ultra (95.8%), and #13 Opus 4.8 team mode (95.5%). The customer funnel, admin CRUD, discounts, and multi-tenant storefront isolation are essentially solid. But the failures cluster in one place: the entire customer-account section has a systemic click-handling bug — order-history “View” links, address add/edit, and logout all fail to respond to clicks despite correct hrefs and working routes underneath (direct navigation and a manual form.submit() both succeed), pointing at one shared front-end regression rather than four separate ones. On top of that, the familiar cross-tenant admin catalog leak survives yet again, and the admin order-status filter and product-archive toggle are both broken. SonarCloud’s gate failed on reliability alone (C) with security and maintainability both clean (A) — a milder profile than most builds here, and consistent with 226 classes at the second-highest average maintainability index (96.4) on the page, behind only #13’s 104.5.
Net: a solid mid-pack-to-upper build, kept out of the top three by one systemic front-end bug that costs four test failures at once. The number that actually differentiates this run is time, not tokens — 20h 21m of genuine active work stretched across 7 days 5h47m of wall clock by repeated provider quota exhaustion, at an equivalent OpenRouter cost of $190 for a subscription that nominally costs $39/month. Against #14 Fable 5 (99.7% weighted, $423, 6h58m) this run is cheaper but noticeably less complete, and the quota stalls make it operationally the least predictable build on the page — a capable model bottlenecked by its own billing plan as much as by its own competence.
Active Duration
20h 21m
Jul 19, 10:01 - Jul 26, 23:48
Estimated Cost
$190.38
485.6M total tokens
Main Thread Tool Calls
688
32 unique
Sub-agents
24
phases + AgentSwarm shards
Team Total
25
main thread + sub-agents
Commits
29
git commits made
Provider Quota Stalls
7 stalls excluded from duration
Provider Quota Stalls
User Prompt (verbatim)
Your mission is to implement an entire shop system based on the specifications im specs/*. You must do in one go without stopping. You might use sub-agents or team mode! You must test everything via Pest (unit, and functional tests). You must also additional simulate user behaviour using the Playwright MPC and confirm that all acceptance criterias are met. If you find bugs, you must fix them. The result is a perfect shop system. All requirements are perfectly implemented. All acceptance criterias are met, tested and confirmed by you. Continuously keep track of the progress in specs/progress.md Commit your progress after every relevant iteration with a meaningful message. When implementation is fully done, then make a full review meeting and showcase all features (customer- and admin-side) to me. In case bugs appear, you must fix them all and restart the review meeting. Don't re-use any existing implementation in another branch. Build it from scratch.
Wall clock vs. active work
7d 5h47m
only 20h 21m was actual model work
Weekly quota used
157%
operator-reported, on a $39/mo plan
Agent Timeline
24 sub-agents, wall clock
Agent Timeline
Timeline spans the full 7d 5h47m wall clock, so most of the visual gap between agents is provider quota stalls, not idle planning time. See “Provider Quota Stalls” above for the excluded windows.
Sub-Agent Roster
24 agents (19 phases + 5 AgentSwarm shards)
Sub-Agent Roster
Phase 4: Cart/Checkout Engine
kimi-code/k3 sub-agent
started ~12:58:58
Phase 4 is complete and fully green. Here's the handoff: ## Test results `php artisan test --compact`: **219 passed, 757 assertions** (105 pre-existing + 114 new), after which `vendor/bin/pint --dirty --format agent` was run (5 files reformatted, suite re-verified). New tests per spec 09 §3 tables: Unit — `PricingEngineTest` (14), `DiscountCalculatorTest` (13), `TaxCalculatorTest` (7), `Shippin
Browser Suite C: Customer Account + Tenant Isolation + Responsive + Accessibility (36 tests)
kimi-code/k3 sub-agent
started ~12:28:06
# Suite C complete — 36/36 browser tests green ## Files created (only these; no app/infra files touched) | File | Tests | Status | |---|---|---| | `tests/Browser/Storefront/CustomerAccountTest.php` (Suite 10) | 12 | green | | `tests/Browser/Storefront/TenantIsolationTest.php` (Suite 12) | 5 | green | | `tests/Browser/Storefront/ResponsiveTest.php` (Suite 13) | 8 | green | | `tests/Browser/Storef
Phase 5: Payments/Orders
kimi-code/k3 sub-agent
started ~14:30:27
All green after Pint. Phase 5 is complete — here's the full report. ## Phase 5 complete — Payments, Orders, Fulfillment, Customers **Test results:** `php artisan test --compact` — **294 passed, 1018 assertions** (219 pre-existing + 75 new), fully green. `vendor/bin/pint --dirty --format agent` run (3 files auto-fixed). `php artisan view:cache` confirms all Blade compiles. No git mutations, specs
Phase 10: Apps/Webhooks/API (retry)
kimi-code/k3 sub-agent
started ~10:14:27
Phase 10 complete. Full suite: **634 passed, 2289 assertions** (`php artisan test --compact`, exit 0) — 549 pre-existing + 85 new. Pint run (`--dirty --format agent`), one unused import auto-fixed. No commits made; specs untouched. ## Files created **A. Models + factories** (Phase-1 tables have no timestamps, so models set `$timestamps = false` / `UPDATED_AT = null` accordingly) - `app/Models/Ap
Phase 12: Polish (completion, post weekly-quota reset)
kimi-code/k3 sub-agent
started ~09:43:14
All done. Final verification is complete — here's the full handoff. ## Phase 12 (Polish) — Complete ### A. Error pages (spec 04 §13) Created `resources/views/errors/` with a shared `layout.blade.php` + `404`, `503`, `403`, `500` views. Storefront-family styling (dark mode via same system/toggle script, skip link, minimal header/footer with home/collections/search links). The layout resolves stor
Phase 6: Accounts + Auth UI (retry)
kimi-code/k3 sub-agent
started ~19:03:28
Phase 6 is complete: full suite green (342 passed, up from 294), Pint clean, no specs touched, no commits. ## What was built **A. Admin auth** (`app/Livewire/Admin/Auth/`) - `Login.php` / `ForgotPassword.php` / `ResetPassword.php` + Flux views in `resources/views/livewire/admin/auth/`; centered-card layout `resources/views/admin/layouts/auth.blade.php` (Vite, `@fluxAppearance`/`@fluxScripts`, da
Phase 1: Foundation
kimi-code/k3 sub-agent
started ~10:18:48
Phase 1 foundation is complete and verified. Final report: ## Results - **`php artisan migrate:fresh` (dev DB `database/database.sqlite`): SUCCESS** — all 49 migrations ran (3 Laravel defaults incl. rewritten users + 46 spec migrations; Sanctum's `personal_access_tokens` auto-loaded from vendor). Result: **56 tables** (55 spec'd + `migrations`). - **`php artisan test --compact`: 15 passed, 0 fai
Phase 8: Search (FTS5)
kimi-code/k3 sub-agent
started ~23:44:45
Phase 8 (Search via SQLite FTS5) is complete. Full suite: **516 tests passing (1825 assertions)** — 462 pre-existing + **54 new**, all green; `vendor/bin/pint --dirty --format agent` reports pass. No git commits, no spec changes. ## Files created - `database/migrations/2026_07_19_000003_create_products_fts_table.php` — FTS5 virtual table via raw SQL (store_id/product_id UNINDEXED + title/descrip
Browser Suite E: Admin Orders + Discounts + Settings + Customers + Analytics (30 tests)
kimi-code/k3 sub-agent
started ~12:28:06
All work is complete. Final report: ## Suite E complete — 30/30 tests green ### Test files created (all under `tests/Browser/Admin/`) | File | Tests | Spec suite | |---|---|---| | `OrderManagementTest.php` | 11 | Suite 4 | | `DiscountManagementTest.php` | 6 | Suite 5 | | `SettingsTest.php` | 7 | Suite 6 | | `CustomerManagementTest.php` | 3 | Suite 16 | | `AnalyticsTest.php` | 3 | Suite 18 | Fi
Browser Suite D: Admin Auth + Products + Collections + Pages (23 tests)
kimi-code/k3 sub-agent
started ~12:28:06
The SmokeTest change is from another agent working in parallel — my footprint is only the 4 assigned files in `tests/Browser/Admin/`. All work is complete and verified. ## Report ### Test files created (all under `tests/Browser/Admin/`) | File | Tests | Spec suite | |------|:-----:|------------| | `AuthenticationTest.php` | 10 | Suite 2 (all tests 2.1–2.10) | | `ProductManagementTest.php` | 7 |
Phase 11: Demo Seeders
kimi-code/k3 sub-agent
started ~11:25:57
All done. Final summary of the complete phase: ## Phase 11 (Seeders + demo data) — Complete ### Files created (19 seeders + 1 test) All in `database/seeders/`: `OrganizationSeeder`, `StoreSeeder`, `StoreDomainSeeder`, `UserSeeder`, `StoreUserSeeder`, `StoreSettingsSeeder`, `TaxSettingsSeeder`, `ShippingSeeder`, `CollectionSeeder`, `ProductSeeder`, `DiscountSeeder`, `CustomerSeeder`, `OrderSeeder
Phase 3: Themes + Storefront
kimi-code/k3 sub-agent
started ~11:51:41
Phase 3 is complete. Full report below. ## Files created **Models** (`app/Models/`) — `Theme.php` (BelongsToStore, `files()`/`settings()` relations, `publish()` demotes other themes transactionally, `duplicate()` copies files+settings as draft), `ThemeFile.php`, `ThemeSettings.php` (PK `theme_id`, `settings_json=>array`), `Page.php` (auto-handle via `HandleGenerator` on creating when blank, `San
Phase 7a: Admin Core UI
kimi-code/k3 sub-agent
started ~19:55:20
PHASE 7a complete. Full suite: **371 tests passed (1,269 assertions)** — 342 pre-existing + 29 new. `vendor/bin/pint --dirty --format agent` → `{"result":"pass"}`. No git commits, no spec modifications. ## Files created **Layout shell (A)** - `resources/views/admin/layouts/app.blade.php` — fixed 256px sidebar desktop / slide-over mobile with backdrop, topbar, main area, toast container, dark-mod
Phase 7c: Content/Settings/Themes UI
kimi-code/k3 sub-agent
started ~23:17:35
Phase 7c is complete. Full suite green: **462 tests (418 existing + 44 new), 1635 assertions**. Pint run, no git commits made, specs untouched. ## Files created **Livewire components (class-based, matching existing convention):** - `app/Livewire/Admin/Collections/Index.php` — search, status filter, `withCount('products')`, delete behind confirmation modal + `CollectionPolicy` - `app/Livewire/Adm
Phase 9: Analytics (attempt 1)
kimi-code/k3 sub-agent
started ~00:16:06
Found it: the `date` cast normalizes the stored value to a datetime string on save, breaking the inclusive `whereBetween` on date strings. The column should stay a plain `Y-m-d` string.
Browser Suite B: Cart + Checkout (25 tests)
kimi-code/k3 sub-agent
started ~12:28:06
Suite B complete — both files green, all 25 spec'd tests implemented. ## Test files created - `tests/Browser/Storefront/CartTest.php` — **12 tests** (8.1–8.12), all pass - `tests/Browser/Storefront/CheckoutTest.php` — **13 tests** (9.1–9.13), all pass Only these two files were created/edited. No app code, specs, `tests/Pest.php`, `tests/TestCase.php`, or `phpunit.xml` touched. Pint passes on bo
Phase 2: Catalog
kimi-code/k3 sub-agent
started ~11:10:17
Catalog phase complete. Full suite green: **78 passed (206 assertions)** — 15 pre-existing Phase 1 tests plus 63 new catalog tests (14 Unit + 49 Feature/Products). `vendor/bin/pint --dirty` applied minor fixes; suite re-run after pint, still green. No git commit; specs/, config/auth.php, bootstrap/app.php untouched. ## Files created **Models** (`app/Models/`) — Product, ProductOption, ProductOpt
Browser Suite A: Smoke + Browsing + Inventory (29 tests)
kimi-code/k3 sub-agent
started ~12:28:06
Suite A complete. All 29 tests green across two consecutive full runs; Pint passes clean. ## Files created - `tests/Browser/SmokeTest.php` — **10 tests** (Suite 1). Note: this file previously held 3 placeholder infrastructure tests (home page, admin dashboard, admin login). I replaced them with the 10 spec'd Suite-1 tests; the admin login/dashboard coverage belongs to Suite 2 (`Admin/Authenticat
Phase 7b: Orders/Customers/Discounts UI (attempt 1)
kimi-code/k3 sub-agent
started ~20:33:08
Let me verify the routes register and PHP parses:
Phase 7b: Orders/Customers/Discounts UI (retry)
kimi-code/k3 sub-agent
started ~23:03:03
Phase 7b is complete. Final report: ## Summary **Important context:** when this run started, an earlier (interrupted) run of the same task had already written all six Livewire components, their Blade views, and the routes — uncommitted in the working tree on top of commit `4337a167` (Phase 7a). I verified that existing work line-by-line against specs 03 §7-10/§19-20, 05 §7/§10.7/§11.4-5 and the
Phase 6: Accounts + Auth UI (attempt 1)
kimi-code/k3 sub-agent
started ~16:13:44
Exploration is done. Let me verify two Livewire v4 details before building: `wire:confirm` support and initial render exception handling.
Phase 10: Apps/Webhooks/API (attempt 1)
kimi-code/k3 sub-agent
started ~08:11:37
Exploration done. Starting the build with the missing Sanctum migration and models.
Phase 12: Polish (attempt 1)
kimi-code/k3 sub-agent
started ~12:12:11
Exploration done. Key finding: HTTP exceptions render custom `errors::{status}` views even with `APP_DEBUG=true` (only non-HTTP 500s use the debug renderer). Now building task A.
Phase 9: Analytics (completion)
kimi-code/k3 sub-agent
started ~07:54:10
# Phase 9 (Analytics) — Completion Report ## Inventory: what the interrupted run left The partial work was ~95% complete and well-aligned with the specs. Present in the tree: - **Modified (8):** `app/Services/CartService.php` (add_to_cart / remove_from_cart tracking), `app/Services/CheckoutService.php` (checkout_started with deterministic `client_event_id`), `app/Services/OrderService.php` (che
Cost & Tool Usage
$190.38 total
Cost & Tool Usage
Kimi Code bills a flat subscription (Moonshot’s $39/month Allegretto plan), so no per-token charge actually applied. The figure here is the equivalent OpenRouter API cost: every usage.record event across the main thread and all 24 sub-agents is summed and priced at moonshotai/kimi-k3’s live OpenRouter rate ($3/$15/$0.30 per M for input/output/cache-read). This build’s actual token volume repeatedly exceeded the plan’s weekly and 5h-rolling quotas — 157% of the weekly limit per the operator — which is why the equivalent cost sits so far above the plan’s nominal price.
Cache reads were 98.4% of all input tokens (476.2M of 484.0M), and they — not fresh input or output — dominate the bill: $142.84 of the $190.38 total. Unlike Codex’s shared process-wide counter, Kimi’s usage.record events are per-step deltas, so summing all 25 files does not double-count tokens.
Cost Breakdown (main thread + all 24 sub-agents)
Full Calculation (OpenRouter moonshotai/kimi-k3 rates)
| Category | Tokens | Cost |
|---|---|---|
| Input (uncached) | 7.8M | $23.45 |
| Cached Input (read) | 476.2M | $142.84 |
| Output | 1.6M | $24.08 |
| Total | $190.38 |
Tool Usage (main thread - 688 calls)
The 24 sub-agents made 2.8K additional tool calls of their own (Bash/Edit/Read/Playwright), not broken out per-tool above.
Sub-agents by Workload
24 sub-agents
Sub-agents by Workload
Ranked by tool calls. Suite C (customer account, tenant isolation, responsive, accessibility - 36 tests) and Phase 4 (cart/checkout engine) top the list; several phases show a “(retry)” or “(completion)” suffix where a quota stall killed the first attempt mid-task and a fresh agent picked the work back up.
| # | Agent | Started | Tool Calls |
|---|---|---|---|
| 1 | Phase 4: Cart/Checkout Engine | ~12:58:58 | 192 |
| 2 | Browser Suite C: Customer Account + Tenant Isolation + Responsive + Accessibility (36 tests) | ~12:28:06 | 190 |
| 3 | Phase 5: Payments/Orders | ~14:30:27 | 185 |
| 4 | Phase 10: Apps/Webhooks/API (retry) | ~10:14:27 | 177 |
| 5 | Phase 12: Polish (completion, post weekly-quota reset) | ~09:43:14 | 167 |
| 6 | Phase 6: Accounts + Auth UI (retry) | ~19:03:28 | 166 |
| 7 | Phase 1: Foundation | ~10:18:48 | 162 |
| 8 | Phase 8: Search (FTS5) | ~23:44:45 | 144 |
| 9 | Browser Suite E: Admin Orders + Discounts + Settings + Customers + Analytics (30 tests) | ~12:28:06 | 128 |
| 10 | Browser Suite D: Admin Auth + Products + Collections + Pages (23 tests) | ~12:28:06 | 124 |
| 11 | Phase 11: Demo Seeders | ~11:25:57 | 116 |
| 12 | Phase 3: Themes + Storefront | ~11:51:41 | 114 |
| 13 | Phase 7a: Admin Core UI | ~19:55:20 | 111 |
| 14 | Phase 7c: Content/Settings/Themes UI | ~23:17:35 | 105 |
| 15 | Phase 9: Analytics (attempt 1) | ~00:16:06 | 95 |
| 16 | Browser Suite B: Cart + Checkout (25 tests) | ~12:28:06 | 84 |
| 17 | Phase 2: Catalog | ~11:10:17 | 83 |
| 18 | Browser Suite A: Smoke + Browsing + Inventory (29 tests) | ~12:28:06 | 79 |
| 19 | Phase 7b: Orders/Customers/Discounts UI (attempt 1) | ~20:33:08 | 77 |
| 20 | Phase 7b: Orders/Customers/Discounts UI (retry) | ~23:03:03 | 77 |
| 21 | Phase 6: Accounts + Auth UI (attempt 1) | ~16:13:44 | 73 |
| 22 | Phase 10: Apps/Webhooks/API (attempt 1) | ~08:11:37 | 73 |
| 23 | Phase 12: Polish (attempt 1) | ~12:12:11 | 68 |
| 24 | Phase 9: Analytics (completion) | ~07:54:10 | 56 |
| 24 sub-agents total | 2.8K | ||
Commits
29 commits
Commits
Session Details
d76aef6d
Session Details
Raw Session Logs
Plus 24 sub-agent transcripts (~23 MB total) available at /2026-07-19-kimi-code-k3/subagents/. Token usage and cost are reconstructed from Kimi Code’s own per-step usage.record events, priced at live OpenRouter rates since the harness bills a flat subscription.