Skip to content

Latest commit

 

History

History
118 lines (103 loc) · 12.6 KB

LEDGER.md

File metadata and controls

118 lines (103 loc) · 12.6 KB

Manuk — LEDGER (scored work backlog)

The selection source for [[CONSTITUTION]] §5 (UCB). V=value, C=cost, U=uncertainty (all 1-10), T=times touched. score = V/C + 1.5*sqrt(ln(1+TICKS)/(1+T)) + 1.0*(U/10). Every 5th tick force the highest-U item. Update T/status/scores each tick; add items on reflection; mark dead ends superseded. Verify class per §7: HEADLESS / GUI / EXTERNAL / MEASURE.

TICKS = 16 (global tick counter; increment each tick). Done: 1–12, 13 = L41 screenshot discipline + L42 flex fix, 14 = L43 radius/shadow, 15 = L16 web components (forced-U, the first pick ADR-004's traversal rule changed — it vetoed L34 service worker). 16 = L45 block-in-inline. Tick 17 pick: L46 empirical real-page visual audit vs Chrome — the screenshot discipline has now found the bug that the tick then fixed, two ticks running (L42 flex, L45 block-in-inline). Stop guessing which fidelity gap matters: render real pages beside headless Chrome and let the diff choose the work. Highest expected value per ADR-004 (traversal breadth).

EPOCH tracker (CONSTITUTION §10 / ADR-005)

  • Last epoch: EPOCH-1 — CLOSED (2026-07-11). Report: [[EPOCH-1]]. 12/12 star points probed. 1 CRITICAL found+fixed (dead "Downloads" button), 1 MAJOR fixed (cascade 2.69×, pipeline 1.67×), floors F1–F3 + no-dead-affordances now binding invariants (§1.7/§1.8).
  • Axis snapshot at EPOCH-1 close: RENDER 82, JS 77, COMPAT 57, PERF 65, MEM 55, STABILITY 58. (Compute the next drift from HERE.)
  • Next epoch: earliest Tick 30 (min interval 12 ticks, §10.1), or sooner if drift > 25.

STAR DEBT (outstanding — §1.9: ≥1 retired per 3 ticks; outranks new capability work)

id debt star point from
DEBT-1 Eliminate the 4 UI-thread block_ons (page load, stylesheets, fetch pump, agent panel) — each is a latent hang RELIABILITY EPOCH-1
DEBT-2 Residual cascade superlinearity (still 4.3× worse per node at 19k nodes vs 1.3k) EFFICIENCY EPOCH-1
W1 Unhidden dropdowns painting over the page DONE (T22) — root cause was visibility/opacity being entirely unsupported. Generalizes to every site hiding UI that way (most of the modern web). RENDER G1
W3 TOC sidebar never renders DONE (T23) — root cause was @supports (and @layer) being skipped: we rendered the FALLBACK branch of every progressive-enhancement site. RENDER G1
W6 A/B caught (1000px): below Vector-2022's min-width:1120px breakpoint the TOC should collapse to a hamburger (Chrome does); Manuk renders it overlapping the article. Responsive collapse + positioned-element containment. Found only by side-by-side — the 1200px shot looked fine. RENDER G1 A/B
W3-old (superseded) Page-level CSS Grid: Wikipedia's left TOC sidebar + right Appearance panel don't render at all (Chrome shows both). Vector-2022 lays the page out with grid — suspect grid template/placement on the page container. Represents the "app shell / complex skin" class. RENDER G1
W4 Infobox table layout broken — th/td overlap instead of forming columns. Represents data tables + infoboxes everywhere. RENDER G1
W5 Unrendered icon squares (black boxes) — likely SVG/icon-font/mask not painted RENDER G1
W2 HN fidelity 78.6% — table auto-layout column widths (header nav wraps) RENDER G1
G1 Real-site fidelity harness DONE — manuk-wpt fidelity (real URL → Manuk render + Chromium screenshot → block-grid comparison + side-by-side composite). Now a standing gate with a ratcheting floor. FIDELITY ADR-010
G1-old (superseded) Real-site fidelity harness (ADR-010 §1.10): generalize the Chrome probe from #p-* to every [id] element, snapshot real modern pages with CSS inlined (hermetic), compare Manuk vs Chrome boxes, report a fidelity %, ratchet it as a floor. Until this lands the 72/72 synthetic probe is NOT sufficient to claim "renders like Chromium". FIDELITY ADR-010
DEBT-3 Shell-chrome headless paint — AESTHETICS/ERGONOMICS are currently unprobeable (a probe gap, not just a feature) AESTHETICS EPOCH-1

Tier A — absorb outstanding beneficial work already suggested (do first)

These come from the tier plan, the RESEARCH_V2 directive, IMPLEMENTATION.md follow-ons, and STATE weak frontiers. High V, mostly known ⇒ high exploit ⇒ front-loaded.

id intent axis V C U T status verify
L01 fetch() + XMLHttpRequest in page JS (SPA data loading) JS/COMPAT 10 5 4 1 done (Tick 2) HEADLESS
L02 MutationObserver (SPAs mutate DOM post-load) JS/COMPAT 9 5 4 1 done (Tick 7) HEADLESS
L02b IntersectionObserver + ResizeObserver + characterData oldValue nuance JS/COMPAT 6 6 5 0 backlog (L02 follow-on) HEADLESS
L03 Cross-window postMessage + window.opener (finish OAuth popup return) JS 9 5 5 1 done (Tick 6) HEADLESS
L03b BroadcastChannel + MessageChannel/MessagePort + full structured clone (Blob/Map/Set) + window.name targeting JS 4 6 5 0 backlog (L03 follow-on) HEADLESS
L04 Downloads to disk (Content-Disposition, stream to file, manager entry) NET/UI 8 4 3 1 done (Tick 4) HEADLESS
L04b <a download> attribute trigger + streaming-to-disk progress shelf UI + open/reveal NET/UI 4 5 3 0 backlog (L04 follow-on) GUI
L05 File uploads (multipart from type=file) NET/JS 7 5 4 1 done (Tick 11; encoder+POST builder — GUI picker follow-on) HEADLESS
L06 Wire password store + autofill (keyring-derived key, save/fill on forms) UI/SECURITY 8 6 5 0 backlog EXTERNAL
L07 Wire semantic history index (record visits, query in omnibox) UI/MEM 7 5 4 0 backlog HEADLESS
L08 Wire page-translate (menu item → agent translate backend) UI/AGENT-IN 6 5 5 0 backlog EXTERNAL
L09 DevTools panel over BiDi (DOM tree, console, network) Ctrl+Shift+I UI/AGENT-EXT 8 8 5 0 backlog GUI
L10 history.pushState/popstate SPA routing correctness end-to-end JS/COMPAT 8 4 4 1 done (Tick 3) HEADLESS
L10b Same-document Back/Forward button → popstate w/ per-entry state restore (SessionHistory same-doc flag) JS/UI 5 4 4 0 backlog (L10 follow-on) HEADLESS
L11 Responsive-skin correctness: @media + collapsed-menu on Wikipedia-class RENDER 8 6 6 1 done (Tick 8) HEADLESS
L11b Container queries + matchMedia resize-listeners + full media-feature set (resolution/aspect-ratio/hover/pointer) + @supports RENDER/JS 5 6 5 0 backlog (L11 follow-on) HEADLESS
L12 New window (2nd winit window) + duplicate/close semantics UI 5 7 5 0 backlog GUI
L13 Off-thread the external-CSS/image fetch phase (R1 follow-on) PERF 6 5 4 0 backlog HEADLESS
L14 Complete human fingerprint surface (screen, timezone, fonts, canvas/WebGL consistency) FINGERPRINT 7 6 7 0 backlog HEADLESS
L15 Inline SVG rendering (P3) RENDER 6 7 6 0 backlog HEADLESS
L16 Custom Elements + Shadow DOM basics (P4) JS/RENDER 6 8 7 1 done (Tick 15) HEADLESS+VISUAL
L16b Named slots + slot reassignment; ::part/::slotted; closed-mode hiding; a scoped flat-tree walk in Stylo (shadow content currently falls back to MinimalCascade) JS/RENDER 5 6 5 0 backlog (L16 follow-on) HEADLESS
L45 block-in-inline: a block box inside an inline element loses its box RENDER 8 6 5 1 done (Tick 16) VISUAL
L46 Empirical real-page visual audit vs Chrome: render side-by-side, rank gaps, fix the top one RENDER/COMPAT 9 5 6 1 done (Tick 17; async render + bgcolor hints) VISUAL
L47 HN header nav wraps vertically — table auto-layout column-width distribution RENDER 5 5 5 0 backlog (from L46 audit) VISUAL
L50 CSS animations + transitions (a live web is animated; static pages read as broken) RENDER/PERF 8 7 6 0 backlog VISUAL
L51 <video> + <audio> playback (media-rich client apps — an ADR-004 traversal class) MEDIA/COMPAT 8 9 8 0 backlog VISUAL
L52 <canvas> 2D context (charts, games, editors — huge swathe of real apps) RENDER/JS 8 8 7 0 backlog VISUAL
L53 <iframe> / embedded content (ads, players, auth widgets, maps) COMPAT 7 8 7 0 backlog VISUAL
L17 AG2 task-intent AXTree pruning + AG3 dual (semantic+visual) targeting AGENT-EXT 6 4 5 1 done (Tick 9) HEADLESS
L18 Cookie partitioning + SameSite enforcement audit NET/SECURITY 5 4 4 0 backlog HEADLESS
L19 Settings page / preferences surface UI 4 5 4 0 backlog GUI
L20 PERF profile vs Chromium: nav + reflow + paint timings, publish numbers PERF 7 4 6 0 backlog MEASURE
L41 Headless screenshot discipline (manuk-wpt render → PNG + Chrome ref) — autonomous VISUAL verification RENDER/infra 9 2 3 1 done (Tick 13) VISUAL
L42 Fix flex/grid items with block children measuring to full container (collapse bug) RENDER 8 3 3 1 done (Tick 13) VISUAL
L43 border-radius + box-shadow paint (rounded corners + shadows) RENDER 7 5 4 1 done (Tick 14) VISUAL
L43b Per-corner + elliptical radii; radius-clip borders/images; inset + multiple shadows; spread RENDER 4 5 4 0 backlog (L43 follow-on) VISUAL
L44 Shell-chrome headless paint path → screenshot the tab strip/menus/omnibox (unblocks GUI-chrome VISUAL items) UI/infra 6 5 5 0 backlog VISUAL
L21 Non-blocking async page-fetch (don't block_on the UI thread; spawn + deliver on completion) PERF/JS 6 5 5 0 backlog (L01 follow-on) HEADLESS
L22 Real request/response fidelity for fetch: headers, Request/Headers/Response objects, credentials/cookies on XHR JS/NET 6 5 5 0 backlog (L01 follow-on) HEADLESS
L23 AbortController / signal for fetch + XHR abort() wired to cancel the host request JS 4 4 4 0 backlog (L01 follow-on) HEADLESS

Tier B — new innovation surface (exploration; higher U)

id intent axis V C U T status verify
L30 In-process automation tool surface hardening (stable selectors, wait-for, assertions) as the agent-native differentiator AGENT-EXT 9 6 7 1 done (Tick 12) HEADLESS
L31 llama.cpp agent: prompt→action grounding over the a11y tree, replayable AGENT-IN 8 7 8 1 partial (Tick 10: grounding half done HEADLESS; model inference still EXTERNAL) EXTERNAL
L32 Speculative/predictive prerender of likely-next navigations PERF 6 7 8 1 done (Tick 5) HEADLESS
L32b Idle (non-hover) prerender from ranked content links + surfaced prewarm hit-rate metric PERF 4 5 5 0 backlog (L32 follow-on) MEASURE
L33 Memory: measure reflow-cache hit rate, then SoA-DOM only if it pays MEM 6 8 7 0 backlog MEASURE
L34 Service worker / offline cache subset NET/COMPAT 6 9 8 0 backlog HEADLESS

Done (this loop's precursor session + ticks)

interactive-JS-keystone · persistent-cookies · spidermonkey-default · clicks→JS · fast-exit · clipboard+selection · tab-strip · hamburger-menu · suggestions/history-dropdown · scrollbar · position:sticky · grid-template-areas · UAX#14-linebreak · preconnect(R4) · AG5-latency · MEM3-binary-size · window.open→new-tab · fetch()+XHR real Promises (L01, Tick 2) · history.pushState/replaceState/popstate + location (L10, Tick 3) · downloads to disk (L04, Tick 4) · predictive prerender into bfcache (L32, Tick 5) · cross-window postMessage + window.opener (L03, Tick 6) · MutationObserver (L02, Tick 7) · responsive @media + matchMedia (L11, Tick 8) · agent targeting AG2/AG3 (L17, Tick 9) · action grounding (L31-slice, Tick 10) · file uploads / multipart (L05, Tick 11) · automation surface: selectors/wait/assert (L30, Tick 12) · screenshot discipline + flex block-child fix (L41/L42, Tick 13) · border-radius + box-shadow (L43, Tick 14) · Custom Elements + Shadow DOM + 2 shadow-tree bug fixes (L16, Tick 15) · block-in-inline (L45, Tick 16).

Superseded / blocked

(none yet)