A-06 Conditional pass 

The Living Ledger

A paused Flutter and Firebase app for tracking real estate wealth, rebuilt as a local-first web app in one working session on 3 April 2026. All seven Phoenix agents produced their outputs; five build passes ran; 51 tests pass. The pipeline’s own certifier, run in the same session, gave a conditional pass. This page reports what the record shows, including what it does not.

7
Agents Run
51
Tests Passing
0
Firebase Deps
Cond.
A-06 Pass
React 19
Stack
Live
w2t.semanticintent.ai

Pipeline: Phoenix Runtime, seven agents

Corrected · 7 November 2026

The first version of this page (April 2026) said more than the record supports. It was checked against the engagement’s own files, commit history and the live app, and corrected. The main changes:

  • Certification: A-06 gave a conditional pass, not a full certification, and it ran in the same session as the build, not independently. “Production-ready” is withdrawn.
  • Agents and passes: all seven agents ran (not three). Five build passes ran; the sixth was skipped after the ep-001 change of direction.
  • The headline bug: the “frequencyFactor: 0” cash-flow bug is not in the pipeline’s records. The bugs it did find are listed below. The rebuild itself has a cash-flow error for one-time expenses.
  • Offline and data: the app does not work offline, and address search sends the typed address to OpenStreetMap’s Nominatim.
  • Stack: React 19 and Vite 8, not React 18 and Vite 5.
  • Unsourced text removed: a quote attributed to the founding team, “six weeks”, “reached Apple review”, and quotes credited to agents. The TestFlight history is confirmed and now dated.

What the original app was carrying

The application was a Flutter real estate wealth tracker built by a three-person founding team. It tracked investment properties, mortgages, rent income and a portfolio overview across CAD and USD. It went to beta testers through Apple’s TestFlight, from the first invitations on 6 April 2020 to build 1.1.19 on 10 December 2020, and development then paused. It is not in either app store today.

The original stack had no TypeScript, no unit tests and no separation between data access and display. Firebase provided sign-in and storage, so every session, including guest sign-in, depended on a cloud connection.

Data

Calculation bugs the pipeline found

The archaeology stages documented real defects in the original: the loan-to-value calculation divided by market value with no guard, giving NaN or Infinity when market value was zero; the metrics service could be created twice and diverge, with a race between calculating and initialising; and expense totals did not update until the user navigated away and back.

Source: specs and certification/cert.summary.sil, “bugs-resolved-from-original”.
Types

No type surface to reason from

Property, borrowing and expense records were passed as untyped maps. A cascade delete in the original targeted the collection name 'additionalProperties' where the data lived in additional expenses, a category error that types would have caught. In the rebuild it uses the typed table db.additionalExpenses.

Impact: deleting a property left its additional expenses behind.
Arch

Firebase coupling

All user data lived in Firestore and there was no export. For a personal finance tool, that meant a cloud dependency on sensitive data and no way for the user to take their records with them.

Impact: no data portability; cloud dependency on personal data.

What the original app actually did

The original was a serious prototype, not a sketch. The mission brief lists fifteen named screens, multi-currency support across CAD and USD with a user-set exchange rate, and aggregation across properties.

Property was the central entity, with three embedded parts — PropertyDetails, PropertyRenting and PropertyExpenses — plus two sub-collections, Borrowing and AdditionalExpense. The Money value object carried amount, currency and a frequency factor. The overview and market-value figures were computed views, never stored.

Property
Central entity — address, building type, 3 embedded parts, 2 sub-collections
Borrowing
Per-property loan or mortgage — institution, rate, term, renewal date, payment frequency
AdditionalExpense
Free-form expenses; in the original, annual or monthly
Money
Value object — amount, currency, frequency factor; CAD/USD conversion
OverviewModel
Computed — market value, equity, borrowings, funds, cash flow; never stored
MarketValueModel
Computed — per-property LTV against total borrowings; never stored

The first commit was on 21 March 2020, and the first TestFlight build (1.0.2) reached testers on 7 April, about two and a half weeks later. Most features landed by mid-May, with updates until December. Releases were built with Codemagic; the last TestFlight build was 1.1.19 on 10 December 2020.

The domain model held up. The stack did not fit the use case. The rebuild kept the model and replaced the infrastructure.

— The case author’s reading, not an agent finding

The artifact trail

Each stage leaves its output as .sil files — plain text, readable by people and agents, diffable in Git. For wealth2track the trail is:

wealth2track/
├── _mission.sil                              ← brief every agent reads first
│
├── signals/                                    ← A-00: 14 signal files, one per workflow
├── workflows/                                  ← A-01: 14 workflow traces
├── screens/                                    ← A-02: 15 screen wireframes
├── specs/                                      ← A-03: 14 intent specs
│
├── episodes/
│   └── ep-001.sil                            ← change of direction: Flutter → mobile-first web app
│                                                  (Proton-like UX); A-00–A-03 not re-run after it
│
├── architecture/                               ← A-04: 4 files, stack and layer blueprints
│
├── build/                                      ← A-05: five passes ran
│   ├── pass.1.sil                               UI shell, stub data
│   ├── pass.2.sil                               Data layer: Dexie, CRUD, cascade delete
│   ├── pass.3.sil                               Boundaries: address search, JSON export/import
│   ├── pass.4.sil                               Background processes: normaliseToMonthly()
│   └── pass.5.sil                               Tests: calculateLtv() extracted, 51 tests
│                                                  pass 6 skipped after ep-001
│
├── certification/                              ← A-06: 14 workflow certs + summary
│   └── cert.summary.sil                      ← verdict: CONDITIONAL PASS
│
└── .phoenix/
    └── state.json                            ← machine state: 7 agent records, gate approvals

The trail was written as the pipeline ran, not after it. It has one gap that matters for a research record: the gate approvals carry empty notes and the pass files still say human-gate: pending. Each pass was reviewed live in the session, but that review is not written down anywhere.

The pipeline, as it ran

Everything ran in one interactive Claude CLI session on 3 April 2026, one step at a time, with the owner reviewing each step before the next. A-00 to A-03 extracted the original system into signals, traces, wireframes and specs. Then the owner changed direction: episode ep-001 replaced the Flutter target with a mobile-first web app, styled after Proton’s apps. The extraction was kept and not re-run. A-04 designed the new stack, A-05 built it in five passes (the sixth was skipped after the change), and A-06 certified it in the same session.

Pipeline A-00–03 Extract → ep-001 Pivot → A-04 Architect → A-05 Build ×5 → A-06 Conditional
A-00–03

Extraction — what was there

Fourteen workflows were traced on the server side and in the UI, and each was written up as an intent spec. This is where the original’s bugs were found: the cascade delete, the LTV division by zero, the duplicated metrics service and the stale expense totals.

Output: 14 signals, 14 traces, 15 wireframes, 14 specs.
A-04

Architecture

A-04 recommended a React and TypeScript web app with Tailwind, local storage in IndexedDB through Dexie.js, no sign-in and no Firebase, with an optional Electron wrapper for desktop. Its overview raised items marked “needs human review”; decisions on them are not recorded.

Output: 4 architecture files.
A-05

Build — five passes

Five passes ran: UI shell, data layer, boundaries, background processes and tests. normaliseToMonthly() became the single place for frequency normalisation, and calculateLtv() a pure function with a zero guard. The test suite has 51 tests in 4 files (Vitest, fake-indexeddb): database operations 20, export and import 9, LTV 9, metrics 13. No test covers the overview or cash-flow totals.

Output: 51 tests passing at pass 5.
A-06

Certification — same session, conditional pass

A-06 reviewed the build against the specs in the same session that built it, so it shared the builder’s context. It certified all 14 workflows, 8 of them with notes (its summary header says 5; its own breakdown lists 8), and made the result conditional on one human decision: the default exchange rate and its direction. Eleven minutes after the certification, a follow-up commit set the rate to 0.72 (1 CAD = 0.72 USD) and fixed list ordering, the skip button, email validation, the funds NaN guard and the expense frequency setting. The certification was not re-run after those changes.

Output: CONDITIONAL PASS — 14 certs, 8 with notes, 1 condition.

What the new stack is

The rebuilt application runs on React 19, TypeScript, Vite 8, Tailwind CSS, Zustand and Dexie.js. Data is stored in IndexedDB on the user’s device. There is no sign-in and no Firebase. Data can be exported to a JSON file and imported again.

Two limits. Address search sends what the user types to OpenStreetMap’s Nominatim service, which the app’s own privacy screen discloses; nothing else leaves the browser. And the app does not work offline: it has no service worker, so it needs a connection to load, although the data stays on the device between visits.

Conditional pass
A-06 verdict, 3 April 2026, as recorded: “CONDITIONAL PASS — One item requires human decision before shipping: the default exchange rate (0.74 vs spec 1.42) and its directional label must be confirmed as the intended direction and value. All other gaps are display-order or low-severity UX deviations that do not affect data integrity.” The rate was then set to 0.72 in a follow-up commit.
Phoenix TraceExcerpts from the run’s own files
-- episodes/ep-001.sil (excerpt)
date:      2026-04-03
trigger:   requirement change
change:    Stack pivot — rebuild wealth2track as a mobile-first HTML web app
           (Proton-like UX) instead of Flutter, optionally wrapped in Electron
skip:      A-00, A-01, A-02, A-03 → (skipped)

-- .phoenix/state.json (abridged)
{
  "project": "wealth2track",
  "agents": {
    "a-00": { "outputCount": 14 },  "a-01": { "outputCount": 14 },
    "a-02": { "outputCount": 15 },  "a-03": { "outputCount": 14 },
    "a-04": { "outputCount": 4 },   "a-05": { "outputCount": 5 },
    "a-06": { "outputCount": 15 }
  },
  "gates": { "a-04-approved", "pass-1" … "pass-6": "approved", "notes": "" }
}
-- "pass-6" approved = skipped after ep-001; no pass 6 file exists.
EXTRACT A-00 to A-03 produced 57 files describing the original: what each workflow did on the server and on screen, and what it was meant to accomplish. The certification summary lists the defects carried over from the original and resolved in the rebuild, among them the cascade delete collection name, the LTV division by zero and the duplicated metrics service.
BUILD Five passes, each with a gate approval in state.json and live review in the session. 51 tests at pass 5. The test files cover normalisation, LTV edge cases, database operations and export/import round trips.
CERTIFY Same session as the build. CONDITIONAL PASS with one condition (exchange rate) and eight known gaps, all low severity. Follow-up fixes were committed after the certification and not re-certified.
DEPLOY Deployed to Cloudflare Pages at w2t.semanticintent.ai. The current build is 433 KB of JavaScript (124 KB gzipped) and 19 KB of CSS (4.6 KB gzipped). It runs and stores data in the browser, with no server and no account.

What this case shows, and what it does not

The extraction found real defects

Reading the original workflow by workflow, on the server side and in the UI, surfaced bugs nobody had written down: a cascade delete aimed at the wrong collection, an unguarded division in the LTV figure, a metrics service that could run twice. All were fixed in the rebuild and are listed in the certification summary.

Tests protect only what they cover

The 51 tests cover normalisation, LTV and storage, but not the overview or cash-flow totals. A “one-time” expense option added after certification is counted in full every month in cash flow, and no test caught it. The live app still has this error.

Local-first, with one exception and one gap

Moving off Firebase put the data on the user’s device and made it exportable. The exception is address search, which calls Nominatim. The gap is offline loading, which needs a service worker the build does not have.

Certification is only as independent as its session

A-06 ran in the same session as the builder, so it shared the builder’s context. It still found real gaps, but this case does not show independent certification. For PX-002: run A-06 in a fresh session with only the artifacts, write a note with every gate approval, and record skipped stages as skipped.

One case, one small app, one session.

PX-001 shows that the intent of a working prototype can be extracted and the app rebuilt from it under live human review. It does not show independent certification, behaviour at scale, timelines or cost. Those need further cases.