Repository navigation
feat: WASM CDN proxy, shell god-file reduction, production readiness - #181
Closed
aliasfoxkde wants to merge 99 commits into
Closed
aliasfoxkde wants to merge 99 commits into
aliasfoxkde wants to merge 99 commits into
Conversation
Audit of branches, PRs, issues, docs drift, code quality, parity, web and release state as of 2026-11-13 (docs/climb/AUDIT-2026-11-13.md), plus an ordered hill climb for agents: a scoreboard (S1-S13, SCOREBOARD.tsv baseline) that may only improve, and 177 atomic rungs across P0-P10, each with needs, tags, steps, done-when, verify and the metric it moves. Docs only; no code, PR, branch or issue changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The audit text carried 168/253, but xtask reachability measured 164 bound = 64.82% from main on 2026-11-13 (the #123 ledger reconciliation recorded the same figure). The scoreboard is the handoff's single source of truth, so it carries the measured value, and the README table matches it. Co-Authored-By: Claude Code <noreply@anthropic.com>
`xtask climb` computes every number `docs/climb/SCOREBOARD.tsv` carries from the tree itself, so a copied figure cannot drift into the board. Metrics that live outside the tree — the CI gate, the live deploy, the issue tracker, the coverage run — are written `n/a` rather than transcribed from an older snapshot. `xtask reachability --list` prints the unreachable registry ids to stdout, one per line, with the summary on stderr, so the list is pipeable. The menu census moves out of the test module and onto the app side as `menus::menu_census()`, so the altimeter and the pinned test read the same walk.
…26-11-13 # Conflicts: # docs/CHANGELOG.md
The execution board named 61 rows. Fifteen of them still said NOT STARTED and eight said IN PROGRESS with nothing behind either: the board reported a plan, and the tickets under docs/tasks/ recorded something else. Each row now carries the status its evidence supports, that evidence, the blockers that remain, and the date the status was reached — and each ticket restates its row. The blocker register and the release- phase summary are rewritten from the rows rather than from a narrative, so the summary cannot claim a phase the rows do not support. The board is the authority. To advance a row, edit the board; the tickets follow it. Co-Authored-By: Claude Code <noreply@anthropic.com>
The execution board and the tickets it names are two records of the same 61 release tasks, and they had drifted apart. Nothing checked that they agreed, so a board could claim a status its tickets did not record, and no one would learn of it until the release did not happen. scripts/verify_release_ledger.sh is the gate: one-to-one correspondence between rows and tickets, the same status, the same evidence, the same blockers, a completion date for every advanced status, a named blocker for every blocked row, and a status drawn from the board's own vocabulary. Its self-test demonstrates each of those failures with a deliberately broken ledger. It is bash+awk because the authoritative GitForge CI image ships no python3. A gate that only runs on a maintainer's laptop is not a gate. scripts/reconcile_release_ledger.py writes the board's rows into the tickets, one way, so the board stays the single source of truth. The GitForge pipeline gains a release-ledger job; the GitHub backup CI runs the gate and its self-test in the job every push executes. The aegis baseline is re-blessed for the literals the reconciled board and the climb plan's documents now carry, and the rule-class notes name them: GitHub run and check identifiers, an export filename with a scale marker, and the word "pan" in a gesture list. Co-Authored-By: Claude Code <noreply@anthropic.com>
Decision 0103: the coverage export counts a file once per build, so a file's reported line count can outrun the file it claims to measure. The gate said nothing about that, so a merge artifact read like a coverage regression. The gate now prints, beside its verdict: - every measured file's counters, next to the file's DA record count and its on-disk line count; - the number of .profraw files the measurement merged; - the files whose export counted them more than once, named in the failure message when the gate is red; - the measuring compiler, which the floors are a claim about. An export that claims more instrumented lines than the file has is impossible, and the gate now fails on it rather than reporting it. Co-Authored-By: Claude Code <noreply@anthropic.com>
The gate's marker for "this file was counted once per build" was `LF > DA`, which is true of most files in an ordinary export: `LF` is the lines the export found, `DA` the lines it wrote a counter for, and LLVM writes a record only for the lines that carry one. The pinned run flagged 138 of 171 measured files — the ordinary case dressed as a defect. The ratio is the signal: a file compiled in two builds reports roughly twice its own lines (the 1.100.0 export read 8138 lines for 5297 records, 1.54). The gate now marks a file at `LF >= 1.5 x DA`, where an ordinary export measures 1.00-1.33. The gate also failed on the wrong claim. An export that claims more lines than the file has is impossible, and it is the export's line count that broke: 8138 lines found for a 6309-line file, while the `DA` count sat inside it. The gate now fails when `LF` or `DA` exceeds the file's on-disk count. Decision 0118 restates the closing check that 0103 could not meet, and 0103 carries the pinned run's receipt. Co-Authored-By: Claude Code <noreply@anthropic.com>
`climb --check` was implemented but never ran: the CI step list omitted it, so the ratchet that the climb plan depends on was documentation. It now runs in `xtask ci` after `reachability`. The check is silent on stdout — a gate that prints a measurement row into CI's data channel is a gate whose output gets mistaken for content — and the direction rules moved into `regressions()`, so they are unit-tested without running a measurement. The board was re-blessed from the merged tree (S2 249/257, S6 1902, S7 18, S12 123): the old row carried 164 bound commands and 34 branches, and a ratchet that fails against a stale baseline is a ratchet that fails forever. Re-blessing is what makes the gate legal; the floor it compares against is the measured one. Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
The SBOM gate wrote a CycloneDX 1.5 document and checked only that
it was well-formed JSON. Every field name, type and licence
identifier in it was the generator's opinion rather than the
schema's rule, and nothing compared its inventory with the
lockfile it claims to describe. Two defects were reachable:
- the licence field was written as an SPDX *identifier* for every
crate, so every crate whose licence is an expression ("MIT OR
Apache-2.0") carried a licence the schema does not allow;
- nothing compared the component inventory with Cargo.lock, so a
generator change that dropped or renamed a package would have
shipped a plausible, schema-shaped, wrong document.
The published schema is now the authority and it is vendored under
xtask/schema/ (Apache-2.0, with ATTRIBUTION rows). The gate
validates the document it just built against it -- before the file
is written -- and compares its components with Cargo.lock's
[[package]] sections, naming both sides of a difference.
The validator (xtask/src/jsonschema.rs) implements the draft-07
keywords the schema uses and refuses to compile against a schema
that uses any other: a validator that ignored an unknown keyword
would report a document as valid when the schema says otherwise.
The schema's SPDX sibling is resolved by file name, and the
identifier list is read out of that sibling, so a licence is an
identifier only when the schema lists it.
The GitForge release job now runs the SBOM step on every push, so
a non-conforming or incomplete SBOM fails in CI rather than
reaching the published asset.
Decision 0119.
Co-Authored-By: Claude Code <noreply@anthropic.com>
The SBOM gate did not compile: `cargo_lock_packages` returns the packages, not a `Result`, and the `?` on it was a compile error. The combinator checks had the same shape of mistake -- `check` reports into an error list and returns nothing, so `.is_empty()` on its result was a type error twice. The combinator branches now go through one helper that checks a branch against a throwaway error list and reports whether the branch accepted the document, which is what `anyOf` and `oneOf` ask. `format` is treated as the annotation draft-07 says it is: only `date-time` is asserted, because the SBOM's timestamp is the one field where a wrong value would pass silently, and every other format is accepted and not checked. A format this validator has never heard of is therefore not a failure -- but an unimplemented *keyword* still is, because that would hide a rule the schema states. `Validator::new` is gone: with the sibling schema supplied by file name, it had no caller, and an unused public constructor in a private module is dead code the gate would have refused. Co-Authored-By: Claude Code <noreply@anthropic.com>
CI's clippy leg rejected the validator on two counts: the module docs named `CycloneDX` without backticks, and eight nested `if` blocks could be collapsed. Both are mechanical; the let-chain form keeps the same semantics. Co-Authored-By: Claude <noreply@anthropic.com>
The Find and Replace, Slices and CSS Properties panels were reachable but unverified: no test drove a panel action and asserted the command that reached the registry. Each regression now drives the panel's own method and asserts the verb it dispatches, and the Window-menu rows for the four closed-by-default web panels are checked for a bound toggle so an unbound row cannot read as a working panel. Co-Authored-By: Claude <noreply@anthropic.com>
CI's test build rejected the pattern test: the schema value was moved into the first validator and used again for the second. Clone it. Co-Authored-By: Claude <noreply@anthropic.com>
Issue #72's acceptance criterion is a completion date *and* a cited evidence link; the ledger only enforced the date. Twenty-two advanced rows cited their receipt as prose, and one row cited a verifier script that has never existed - the gate is bash+awk (scripts/verify_release_ledger.sh), not the python file the row named. The verifier now refuses a closed row whose evidence cell carries no link (NO LINK), and every advanced row carries one: a markdown link to the file, decision, receipt or check run that proves the status. The tickets are re-synced from the board, which stays the only source of truth. Co-Authored-By: Claude <noreply@anthropic.com>
The helper took the schema by value, which the workspace lint `needless_pass_by_value` denies: the value is only read, never consumed. Borrowing it also removes the clone the pattern test needed, so one schema now feeds both the failing and the passing assertion. Co-Authored-By: Claude Code <noreply@anthropic.com>
The registry hands out a reference, so the pattern has to match the reference; matching the value moved out of the borrow and the second assertion read a moved value. Co-Authored-By: Claude Code <noreply@anthropic.com>
Two board rows were waiting on a decision nobody had written down. **Android (T27-46).** The feasibility report is re-read against the current lockfile: every pinned version is unchanged, and the accesskit + `android-native-activity` conflict is re-confirmed in the vendored `eframe-0.36.2/src/lib.rs:148-153`. The stack is sound, but this fleet has no NDK/SDK image and no ARM64 device, so the port cannot be exercised. Decision 0121 defers it: T27-46 is IMPLEMENTED (the gate is recorded) and T27-47 is DEFERRED with the two conditions named, rather than blocked on a decision that now exists. **RPM (T27-31).** No issue on the tracker asks for an RPM package; the only RPM mentions are this ledger's own rows. Fedora-family users are served by the tar.gz. Decision 0070 carries a dated re-validation and the deferral stands; the matrix's RPM row cites it. Co-Authored-By: Claude Code <noreply@anthropic.com>
T27-50 asked for the live Pages deployment to be reconciled with a release bundle and the result written as a machine-readable report. The comparison was a hand inspection; now it is a tool that fetches the deployment's manifest and every file it names, hashes the bytes it received, and compares them file by file with the bundle's manifest. scripts/reconcile_deployment.py writes the report — match or the exact per-file differences, with the inventory each side has alone — and --require-match turns a difference into a non-zero exit. scripts/reconcile_deployment-selftest.py serves two directories over a local server and asserts the four ways the two can disagree. The report against the live deployment is committed: the result is 'differences'. The live deployment serves bundle 2274ac8c2925b61d while the v0.2.5 release asset carries f9dbe2f14305b2d9, so the deployment still corresponds to no identifiable release (B-6). Co-Authored-By: Claude Code <noreply@anthropic.com>
T27-56 asked for attestations that bind each published artifact's digest to the source revision, the workflow and the runner, and that verify independently. xtask dist --provenance writes dist/provenance.intoto.json: an in-toto statement whose subjects are the published assets with their SHA-256 digests, and whose predicate records the source commit, the tag, the workflow and the builder. dist --verify-provenance re-reads the statement and re-hashes the artifacts it names — a statement that disagrees with the bytes on disk fails the release. The statement is published as a release asset: the release manifest now lists it, the aggregate gate requires it, and the release workflow generates and verifies it after the checksum list and before the manifest. The statement is unsigned. A signed attestation needs the runner's OIDC identity (id-token: write and attestations: write on the build job), which this repository has not been granted; the ticket records that as the exact missing credential. Co-Authored-By: Claude Code <noreply@anthropic.com>
The SBOM gate refused the vendored SPDX sibling schema because it carries `meta:enum` — a map of every identifier to its licence name, beside the `enum` that does the validating. It is tooling metadata, so it is an annotation now. `minLength` and `maxLength` were listed among the keywords this validator implements, and were not implemented: a document shorter or longer than the schema allows passed. Both are asserted now. Co-Authored-By: Claude Code <noreply@anthropic.com>
The Find and Replace, Slices and CSS Properties panel tests read the document after undoing the step, so they asserted the state the panel was supposed to have replaced. `undo` puts the old text, the old slice type and the old background back; the three tests failed in CI for exactly that reason. The effect is now read first, and the undo is still read for the verb name it reports. Co-Authored-By: Claude Code <noreply@anthropic.com>
Clippy's collapsible-if lint rejected the nested if-let in verify_statement, and the pipeline runs with -D warnings, so the provenance build never got past the lint. Let-chains say the same thing in one condition. Co-Authored-By: Claude Code <noreply@anthropic.com>
- Replace all stale '164/253 (64.82%)' reachability quotes with current 257/257 (100%) across TASKS.md, GAPS.md, PRODUCTION-READINESS-PLAN.md, climb/README.md, wiki/ docs. - Fix TASKS.md surface gap row status to CLOSED — 257/257 (100%). - Fix TASKS.md PRODUCTION-READINESS-PLAN.md editor surface section. - Add docs/PRODUCTION-ROADMAP.md: comprehensive 8-phase production readiness plan with 37 actionable items across A-H phases.
New row records: 1,941 tests (+39), 257/257 reachable, 52 report gap. S12 (remote branches) was 123 at measurement time; 91+ branches were subsequently pruned locally (see A-3 in PRODUCTION-ROADMAP.md).
…sion dedup - Remove phantom layer crates (ops, gpu, automation, testkit) from xtask/src/layers.rs; update layer comments. xtask layers ok. - Remove CodeRabbit AI markers from NEXT, HANDOFF, CS6-PARITY, PROGRESS, TASKS.md. - Remove 3 duplicate decision files (0094-changelog, 0096-the-rewind, 0101-brand-mark). - Regenerate parity.md and scorecard from xtask tools. - Sync .gitforge.yml comment update (from prior agent work). - 91+ stale remote branches pruned (S12: 123 → 2).
- Fix remaining stale reachability quotes in TASKS.md, NEXT.md, PROGRESS.md (historical references preserved but clarified as pre-wave-2). - Remove 2 duplicate decision files (0094, 0101). - Remove phantom layer crates from layers.rs (verified xtask layers ok). - Remove CodeRabbit markers from planning docs (CS6-PARITY, HANDOFF, NEXT, PROGRESS, TASKS). - Net: -438 lines (mostly markers + dead decision files).
… on main The ARTIFACT-MATRIX claimed --source, --sbom, --manifest verbs were 'not on main' with blocker F-9. They are all on main. Removed the stale blocker and updated the 'what exists' column. Status counts unchanged (BUILD VERIFIED / IMPLEMENTED already correct). Also: --source and --sbom are on main (not 'on this branch').
added 5 commits
November 21, 2026 05:45
- text_edit.rs: begin/commit/cancel_text_edit, edit_text_selection (4 methods extracted from mod.rs) - recovery.rs: crash-recovery sidecar management (7 methods extracted from mod.rs) - mod.rs reduced 7996→7465 lines (-531 lines, -6.6%) - All module declarations present, no duplicate methods - Note: CI blocked on rustc .rmeta bug; verified structurally (no missing imports, all callers resolve) Also: updated production docs, fixed WASM size (95.6 MB)
- compose/effects.rs, compose/render.rs: move cast_possible_truncation allow to crate-level, fix doc comments (/// -> //!), fix doc_markdown - xtask/dist.rs: fix borrow checker by collecting staged paths separately
- Remove CODEC-88 CodeRabbit markers from decisions/release docs - Update TASKS.md, TODO, ROADMAP, audit with current state - Remove phantom task file (docs/tasks/filter-controls-review.md) - Update devlog with shell refactoring and WASM proxy status
Contributor
|
Important Review skippedToo many files! This PR contains 121 files, which is 21 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.
|
added 3 commits
November 21, 2026 12:08
Reduces WASM by removing unused desktop window system integrations. The browser only needs glow.
- app-cli now tied to 'native' feature only - With default-features=false (web build), app-cli and its dep scripting are excluded - Removes boa_engine, dashmap from WASM (95.6 MB WASM had these) - WASM should be significantly smaller
aliasfoxkde
force-pushed
the
feat/wasm-cdn-deploy
branch
from
November 21, 2026 23:41
a0fc039 to
54209e0
Compare
Gate dialogs, file_operations, html_preview behind cfg(native). Add stub types and stub dialogs for wasm32. Gate native-only ShellAction arms, field assignments, and methods. Add NoOpFs for wasm32 filesystem. Gate DisplayState panel for wasm32 with cfg! block. Add wasm32 stubs for Editor::open and Editor::save. Verify: clean wasm32 build (no errors).
aliasfoxkde
force-pushed
the
feat/wasm-cdn-deploy
branch
from
November 22, 2026 01:51
88c17f7 to
04450d6
Compare
added 12 commits
November 22, 2026 01:20
- PRODUCTION-VERDICT-2026-11-21.md: definitive assessment - CS6 feature parity: ~72% user-visible, ~97% tool/engine surface - Production readiness: ~55% (not ready for v1.0 public release) - 6 P0 blockers identified (release infra, trust chain, orphan deploy) - 8-item pre-release checklist - Application ~75% ready, release infra ~30% ready - docs/handoff/2026-11-21-wasm32-build-fix.md: wasm32 build fix details - 7 files changed on feat/wasm-cdn-deploy - wasm32 build: PASS (0 errors) - Native build verification steps for local machine
…s, page helpers - Add colors.rs: HSV/HLS/CMYK color conversion + CS6 Color Cubes swatch grid - Add constants.rs: CS6-extracted numeric constants (resolution presets, zoom levels, swatch grid) - Add page.rs: CSS slugify utility for export/panels - Enhance glyphs.rs: add OnceLock-cached system_is_light() for OS theme detection - Update mod.rs: new module declarations and re-exports - Import CS6 reference screenshots from experiment validation - Import experiment IMPROVEMENTS.md and CHANGELOG.md research docs
- Replace stale WASM with 19 MB release build - Add firecraft.exe (22 MB Windows binary) to dist/ - Update version.json with SHA256 digests
… CS6 chrome - Add inline text editing overlay on canvas - Add native OS file dialogs (HTML Setup, Page Setup, unsaved changes) - Add StyleLibrary enum for CS6 style presets (Dark Chrome, Glass & Gel, etc.) - Fix doc crate compile errors from subagent additions - Fix dialogs.rs brace imbalance and backslash escape syntax errors - Add RulerUnit and PanelId constants for canvas rulers and flyout panels - Add welcome overlay / splash screen support - Update WASM release: rebuild firecraft-web.wasm, JS glue, _bg.wasm - Deploy updated WASM to Cloudflare Pages - Fix shell mod.rs RulerUnit/PanelId type mismatches from text replacements
…d Ctrl+Enter text edit cancel feat(app): add smart guides rendering to canvas_ui.rs for alignment hints when dragging selections feat(app): draw lasso selection path as filled polygon during drag feat(app): add Ctrl+Enter shortcut to cancel inline text editing fix(app): resolve smart guides borrow checker issues feat(app): add object_bounds import for smart guide computation
feat(app): draw visual overlay when files are hovered for drop on canvas fix(app): simplify dropped_files to use egui visuals instead of palette refactor(app): remove dead code in dropped_files path
- The drop-overlay canvas UI used , , , but has no such fields. Replace with hardcoded Color32 values matching the CS6 charcoal dark theme. - Also remove a dead branch that served no purpose and was unreachable after the dropped_files extraction. - Raise packaging/deb/control libc6 floor from 2.36 to 2.39 to match the binary's actual requirement.
…ed, issue closeout 2026-11-24
added 3 commits
November 24, 2026 12:41
- Update TASKS.md, PRODUCTION-TODO, PRODUCTION-READINESS-PLAN, PRODUCTION-ROADMAP, HANDOFF, NEXT, CS6-PARITY, GAPS, CHANGELOG - Update wiki pages (Project-Status, Editor-and-Layout, Parity- Roadmap, Automation) - Update release EXECUTION-BOARD - Version and deployment references updated to v0.2.6/WASM CDN
The old WASM had 4457 placeholder stub imports generated by wasm-bindgen 0.2.129. The CLI-generated glue provides all 326 __wbg_* and 39 __wbindgen_* exports directly, eliminating stubs. The new glue fetches the WASM binary at runtime (no bundler needed), instantiates it with the JS glue exports as imports, and sets up the wasm variable before calling __wbindgen_start(). Verified: zero errors on load in headless Chromium. WASM binary reduced from 19.5 MB to 17.6 MB (no stub imports). Also: update index.html to use the new glue pattern.
- Merge WASM CDN proxy, CLI glue, and shell god-file reduction - Merge experiment improvements (panels, dialogs, CS6 chrome, text editing) - Merge production readiness: wasm32 fixes, reachability 257/257, coverage gates - Merge release engineering: SBOM validation, cross-platform workflows - Merge CI improvements: toolchain pin, cargo cache, audit gate - Reconcile and update all documentation - Add keymap system, shortcuts reference, marketing site roadmap - Add Linux packaging scripts (DEB, Flatpak, AppImage) - Resolve all merge conflicts with origin/main
Owner
Author
|
Superseded by PR #186 which consolidates all of this work. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR brings production readiness work from the Omp session:
WASM CDN + Proxy
firecraft-wasm-proxy.cyopsys.workers.devapp-clidependency from web/Cargo.tomlGod-File Reduction
text_edit.rs(4 methods from mod.rs)recovery.rs(7 methods from mod.rs)Documentation
Remaining Blockers