Repository navigation
Description
v0.1 feature work is on main at 15925ee34f9c64d76e5c0c4cfe7e80c3166b740e. This tracks the remaining architecture and release-gate follow-ups against that exact commit. The review samples implementation paths in TypeScript and Python; it does not claim a fresh full-suite release certification.
Independent assessment
REQUEST CHANGES — architecture BLOCK — 2 confirmed HIGH findings.
| Assessment | Rating /10 |
|---|---|
| Design foundations | 8.2 |
| Current enforced architecture | 6.4 |
| Current implementation | 6.5 |
| Public API | 7.4 |
The event-log, transactional projection and conservative recovery design is strong. Two provider-authority failures prevent release approval at the reviewed commit:
- A2A outbound requests omit the actual lease fence in both runtimes. TypeScript drops ToolContext.fence when constructing Sending; Python substitutes an always-success fence when its sender omits authority. The earlier core check cannot cover ownership loss during DNS/connect. Require run authority at the actual transport write across send/status/follow/reconcile/member paths.
- Python Writer fence/renew ignore commit-unknown poison and evaluate time before queued store execution. Fault probes confirm successful ownership answers after uncertainty or expiry. Reject poisoned authority and evaluate time within the actual serialized store check.
Exact source paths and correction scope. Runnable reproducer and observed output. The saved probe was independently rerun, exit 0, with identical results. TypeScript A2A was source-traced; no separate TS runtime fault probe or live provider call was performed.
Closure requires repair SHAs and the focused stale-after-connect, commit-unknown and queued-expiry regression evidence. Do not replace these proofs with a whole-suite pass or a readability score.
Confirmed gate follow-ups
- Close or explicitly correct the 14 entries in spec/api-surface-gaps.json. Five are marked missing and nine placement. Normal CI allows the registered gaps; check_surface.py rejects them only with
--release. Invoke that gate for the release candidate after the registry is reconciled. - Repair the scheduled UI drift alarm's setup. Run 36427776409 exits at generation with
uv: command not found; the actual drift checks never execute. ui-drift.yml runs the both-language generator without installing uv. Generate TS-only if no Python host is required, or install and sync the Python environment. This is a broken non-gating alarm, not evidence of a UI protocol regression. - Extend the existing source/API checks where their coverage is insufficient.
check_api.pyvalidates the contract, but generated TypeScript surface assertions and Python surface reflection already verify exports, option presence and required flags. Adapter factories have additional signature checks. Identify uncovered core signatures and undeclared root exports, then extend those existing checks instead of introducing a second API scanner.
Review ownership
Claude owns the three Python validation repairs reported in the readability audit: A2A tool validation mode, duplicated positive-integer predicates without the safe-integer ceiling, and remote timeout input types. The architecture review owns independent assessment and evidence; no duplicate implementation lane.
Assess writer/store/team modules by responsibility and invariant ownership, rather than replace the 400-line file cap with another class-size cap. Preserve cohesive facades and keep admission, ownership and durable side-effect invariants together.
Both independent assessments are complete. Additional non-blocking concerns are Python core's concrete A2A RemoteTool dependency (prefer the existing core-owned tool-runner abstraction) and recovery documentation that distinguishes log-derived execution state from durable host receipts/inbox/schedule rows. Ratings are bounded engineering judgements, not benchmarks or proof that every feature was reviewed. TypeScript, Python, Postgres, Docker and docs CI passed at the reviewed commit; that is inherited CI evidence, not a fresh blanket rerun.
Activity
abhishekgahlot2 commentedon Sep 29, 2026
Two confirmed HIGH dispatch-authority defects at reviewed commit
15925ee34f9c64d76e5c0c4cfe7e80c3166b740eblock a release-ready verdict. These have been sent to Claude for implementation ownership.A2A outbound requests lose the run's lease fence in both runtimes. TS sender construction drops
ctx.fence; Sending/call cannot pass authority and calls the transport directly. Python sender construction leaves the fence absent; protocol.call substitutes an always-success callback at the real write boundary. A narrow Python sender/transport probe produceda2a None True: sending was admitted without writer authority. An earlier core fence does not cover lease loss while DNS or connection awaits. Thread required invocation authority through all remote-tool/member send, status and reconcile paths to the final provider write. Prove stale-after-connect sends no bytes in TS and Python.Python Writer fencing ignores poison and samples time before queued store execution. writer.py returns successful fence/renew results after commit-unknown poison; its lease check uses time captured before the store worker executes. Fault probes produced
append=Err(writer_poisoned), fence=Ok, renew=Okafter synthetic post-COMMIT uncertainty, andqueued-expiry=Okafter TTL followed by a freshErr(stale_epoch). The model send tracer trusts this result. Coordinate with writer serialization, reject poison, and sample the clock inside the actual store callback immediately before check/renew. Prove both fault sequences.Scope: the probes confirm an invalid dispatch-admission decision and the actual paths trusting it. They do not claim a live provider repeated a paid operation or that every release path was re-tested. No paid calls or broad test suites were used.
abhishekgahlot2 commentedon Sep 29, 2026
Runnable ownership reproducer for reviewed commit
15925ee34f9c64d76e5c0c4cfe7e80c3166b740e. This was executed by the implementation reviewer and independently rerun from the saved artifact, with identical output. It uses in-memory SQLite, local worker fault injection, and a fake transport; it sends no network request.In a checkout of that commit, sync the existing Python dev environment and run
./scripts/generate.sh py. Save the code below as/tmp/review_probes.py, then run:Observed:
The queued-expiry probe deliberately blocks the store worker and advances its test clock. The poison probe wraps a completed write with synthetic commit-unknown uncertainty. The A2A probe exercises the exact sender configuration with a transport that checks its supplied fence.
abhishekgahlot2 commentedon Sep 29, 2026
Both HIGH findings from the 2026-09-30 architecture review are closed and merged to main.
6049f1927c276c75b873cb7d223b3dbf0c9bc1c64e3da7a0beed156f44a9106030bcd139c1bd098fMain is
fb3092c6. CI at4e3da7a0: python 36625952451 success, typescript 36625952415 success, postgres 36625952474 success.dockeranddocswere not triggered by these paths and are not claimed green.HIGH 1 — what changed.
Sending.fenceis now a required field in both languages and_always_fencedis deleted, so an absent fence is a type error rather than an assumption; pyright found the one remaining unfenced construction site the moment the field became required. The invocation's own fence now flows through send, status, reconcile, begin and the card read. Member remotes ride the sameRemoteToolpath, so one change covers them.HIGH 1 proof.
python/tests/a2a/test_outbound_fence.pyandtypescript/packages/a2a/test/outbound/fence.test.tshand the branch to another owner after the socket is up and before the fence is awaited — the pointweb/http.py:72checks — by advancing the clock past the TTL and re-acquiring at a new epoch. Each asserts zero bytes written (sends() == []), thatremote_callstayed durable, and abranch_busyhalt. Verified by reverting: at the reviewed behaviour the first Python test failsassert ['card', 'SendMessage'] == ['card']— the send left after the branch changed owner. Reinstating only the success-default reproduces two failures.HIGH 2 proof.
tests/store/test_writer_fencing.pypins both sequences: a poisoned writer now refusesfenceandrenewasappendalready did, and the clock is sampled inside the store callback immediately beforelease.check/lease.renewrather than before queueing. The postgres run executed it on both engines with no skips.On the gate question — taking your answer: keeping the existing surface checks, extending core signature assertions, reconciling the registry rows and exercising
--release, classifying dependency direction explicitly, and reviewing unit cohesion by responsibility rather than by length. No class-length quota, and the writer transaction stays intact.