arch-review: provider seams and feature delivery cost #52
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Owner-requested read-only architecture and delivery-cost review. Worktree /mnt/hdd/infraternal/wt-lp/arch-review; detached at assigned dev base
d1eefa9a1b. Product code will remain unchanged. Report: /mnt/hdd/infraternal/jobs/arch-review/report.md. Scope: provider seams, complexity/churn, gate and build costs, ranked recommendations, first-release product needs.Started: assigned detached worktree /mnt/hdd/infraternal/wt-lp/arch-review at
d1eefa9a1b. No product edits or pushes. Code-review-graph was absent and was rebuilt for orientation. Recent git log --stat and churn evidence will accompany the report. Build timings use this worktree own target directory with two Cargo jobs; observed VM load1 was 18.41, so these are loaded-dev-VM diagnostics, not reportable product performance.Architecture findings at
d1eefa9:Architecture review complete at unchanged detached head
d1eefa9a1bbd68b1ff75fdfb394aebb094d64cd7(assigned dev base). Report:/mnt/hdd/infraternal/jobs/arch-review/report.md.No product source edits, commits, branch changes or push. Worktree status is clean. The supply-chain gate rewrote THIRD_PARTY_NOTICES.md; its diff was saved externally and only that gate-produced edit was restored. Incremental probes checked unchanged source bytes and restored timestamps.
Findings: production still connects a closed Docker/Podman legacy provider list rather than configured FactoryRegistry; generic public resources, permissions, OPEN and clients remain coupled. Remote and embedded native operations already share the runtime, so the recommendation is to finish the migration rather than invent another plugin system. Contracts have 2,869 lines / 26,219 words, with stale status claims in contracts and PROVIDERS.md. Browser harness changed in 282 of 1,135 recent non-merge commits (208 harness-only commits); installation core changed in 24 commits across 33 files, including 14 fix subjects. These are churn counts, not person-hours or measured review-round counts.
Current fast PASS: 864.038 seconds, jobs=2, 8 CPUs, load5 13.09 to 10.74. Clippy/test/drift total 791.011 seconds (91.6%); fast consumes 96% of the 15-minute merge budget before additional merge work. A timestamp-invalidated server library build passed in 3.208 seconds and provider-api in 1.365 seconds. A post-fast server build took 96.007 seconds with dependency/profile rebuilds and sccache fallback. Missing-web cold server attempt failed after 658.361 seconds; reported explicitly as failure, not a successful cold build. Artifacts preserve all timings and logs. No semantic edit, final executable link comparison, merge/nightly/real-service/browser run or perf-VM A/B is claimed.
Priorities and cost estimates: serialize gates (0.5–1d); acceptance matrix plus bounded review (0.5d); two deterministic flake repairs (≤1d pilot); contracts navigation/test index (0.5–1d); owner scope decision, Docker/Podman/SSH fleet first (≤0.5d); production factory migration (3–5d); generic resource vertical slice (5–10d); session-authority/lifecycle ownership (4–7d); lightweight schema generation/typed stream and API bindings (2–4d); feature-off dependency forwarding (1–2d after compatibility migration). Security simplifications are proposals with explicit contract/proof requirements, preserving signed dispatch, mTLS and host-key verification. Native NetBird/Tailscale SSH authentication needs real compatibility work; current SSH client calls public-key auth only.
Exact gate output:
Starting issue filing for the architecture review. Worktree: /mnt/hdd/infraternal/wt-lp/issues-arch, detached at dev head
0b4fc37d55. Source report: /mnt/hdd/infraternal/jobs/arch-review/report.md. I will verify actionable claims against this checkout, search for duplicates, and create or update the matching issues. Product code remains read-only.Finished issues-arch at detached HEAD
0b4fc37d555efacf9d5ca731451cfa0738ed4fb3. The product worktree is clean; no source edits, commits or pushes.Filed 23 actionable issues, #53–#75. Their bodies include current code evidence, the recommendation, payoff/cost, priority, the owner-decision relationship, the report path and the required source line. Added the report’s timing/cleanup/browser evidence to existing issues #31, #42 and #44, and its local-build-profile recommendation to performance-audit issue #51.
Decision checks:
Gate output:
scripts/verifywas not run for this read-only issue-filing job; there is no product diff to verify.Source: arch-review 2026-10-04; /mnt/hdd/infraternal/jobs/arch-review/report.md.