Skip to content

id: impl: author tooling — linter and multi-target preview (from #5855) #7920

Open

Description

@dezren39

Implementation follow-up filed from the #5855 decision record (rendering pipeline & conformance suite, from #5679). Scope: the author tooling settled there — linter rules (unknown element/assertion, unmapped-assertion warnings, raw-CSS override listing, essential content in conditional blocks as an error) and the one-command multi-target preview rendering all target artefacts plus the coverage/conflict report. No work is scheduled by this filing; implementation timing is a separate decision under programme #2056.

Acceptance criteria

  • The linter implements the rules settled in the id: design: rendering pipeline & conformance suite (from #5679) #5855 decision record: unknown element/assertion, unmapped-assertion warnings, raw-CSS override listing, and essential content in conditional blocks reported as an error.
  • One command renders the multi-target preview of all target artefacts plus the coverage/conflict report.
  • Both land via PR referencing this issue, with tests for each linter rule.

Activity

  1. developing-today commented on Nov 9, 2026

    @developing-today
    Contributor
  2. added
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 9, 2026
  3. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    Intake review

  4. added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    and removed on Nov 10, 2026
  5. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged

  6. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    task 14568 — parked, waiting-dependency (lane code-k, direct row 5764). Fresh check: issue #7920 OPEN, triaged 2026-11-10T05:42Z; the multi-target preview renders artefacts from issue #7918 (compiler core), which is still OPEN — dependency unmet, and implementation timing is programme #2056's per the issue body. Parked 3600s; resume when issue #7918 lands.

  7. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked (waiting-dependency, resumed check)

  8. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked — awaiting dependency

  9. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 10, 2026
  10. 38 remaining items

  11. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: picked_up
    task: 14568
    lane: oc-code-04
    worker: repo-worker-code

    Claimed in the OpenChamber scheduled lane. Fresh verification: #7920 OPEN; no hard-stop labels; no competing open PR; PR #7921 (decision record) MERGED. #7918 remains OPEN: stages 1–5 for web/native/GUI are landed, but assertion validation and #5851 state lowering remain blocked on the still-open #5850 vocabulary. Those outputs are required for the complete multi-target preview and unmapped-assertion linter acceptance. No source work or worktree started.

    Next: structurally block task 14568 on #7918; resume when #7918’s remaining compiler outputs land, then revalidate and implement the complete #7920 acceptance.

  12. added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 22, 2026
  13. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: blocked (dependency)
    task: 14568
    lane: oc-code-04
    worker: repo-worker-code

    Task 14568 is structurally blocked on #7918. Fresh evidence: #7918 is OPEN; web/native/GUI lowering is merged (#10657, #10768, #10847, #10860, #10861), but its assertion validation and #5851 state-lowering remainder are still gated on #5850, which remains OPEN. #7920 requires complete target artefacts and unmapped-assertion coverage, so implementing before those compiler outputs land would be incomplete. No source changes or worktree created.

    Resume condition: #7918’s remaining compiler outputs land (and issue #7918 closes); then revalidate #7920, ownership, and PR state and implement its full acceptance. Resume brief and dependency are recorded on task 14568.

  14. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: picked_up
    task: 14568
    lane: lane-fm
    worker: archer

    Claimed by Lane FM (Muse sandbox seat) via fleet agent next.

    Fresh premise verification 2026-11-23: #7920 OPEN, no live claim (last notes are parks/triages). The structural blocker has cleared: #7918 closed as completed today (2026-11-23T03:32Z) with PR #12857 merged — the compiler core (parse + vocabulary validation, composition, target lowering over the #5851/#5852/#5853 tables, assertion-vocabulary validation, artefact + coverage/conflict reports) is on main. #5850 and #5851 are also closed.

    Plan: scope the #5855 linter rules (unknown element/assertion, unmapped-assertion warnings, raw-CSS override listing, essential content in conditional blocks as error) plus the one-command multi-target preview against what id-render already exposes on main; land the slice via PR with a test per linter rule.

  15. added a commit that references this issue on Nov 23, 2026
  16. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: done (slice landed; issue stays open for the named remainders)
    task: 14568
    lane: lane-fm
    worker: archer

    Landed: PR #12945 merged (f7ba00b90f078902a41cf21c11bf284bfa0a9edb, head 72cc81ad0fa), exactly three files in pkgs/id/crates/id-render (+879/−0), verified present on main:

    • src/tooling.rs — the author-tooling surface id: design: rendering pipeline & conformance suite (from #5679) #5855 §4 settles:
      • lint(source, plans) → diagnostics (severity, rule, location, target, element path): unknown-element and unknown-assertion errors checked against the same id: design: semantic markup vocabulary v1 (from #5679) #5849/id: design: style assertion vocabulary (from #5679) #5850 vocabulary data stage 2 consumes (vocabulary::lookup, assertion_vocabulary::parse_assert_slot); unmapped-assertion warnings read from each target's own lowering coverage report; raw-css-override warnings listing the id: design: per-target customisation system (from #5679) #5854 §6b reported overrides on web. Composition ties / lowering failures surface as per-target error diagnostics instead of stopping the lint.
      • preview(source, plans) — the pipeline in report mode: every target's artefact with a unified coverage report (mapped / defaulted / element defaults / reported overrides); a conflicting target is a Conflict outcome, never a failed preview. standard_plans() is the one-command default set (web, mac, windows, gnome, gui).
    • tests/tooling.rs — 7 tests: one per shipped lint rule, the clean-document control, preview coverage across all five targets (web accounts all 6 source assertions mapped), and preview conflict behaviour (tie on web, mac still renders).
    • src/lib.rs — module registration + crate-doc entry.

    Verification (laptop worktree off origin/main, nix develop in pkgs/id, under the fleet build lock): cargo test -p id-render 75 passed / 0 failed (run twice — before and after clippy cleanups); cargo fmt -- --check clean; clippy clean for the new code apart from the crate-wide doc-paragraph pedantic style the existing modules also carry.

    What remains on #7920 (in order):

    1. Essential content in conditional blocks (error) — cannot be expressed yet: the id: design: semantic markup vocabulary v1 (from #5679) #5849 v1 vocabulary has no conditional element kind, so a conditional block has no source representation (the same stated boundary stage 3 records in compose). id: design: rendering pipeline & conformance suite (from #5679) #5855 §4's own gate says a rule that cannot be expressed over the pipeline's inputs does not ship. This slice lands with the id: design: semantic markup vocabulary v1 (from #5679) #5849 vocabulary addition for conditional blocks, not before it; the linter's walk is where the rule will live.
    2. Duplicated semantic source across target folders (error, §4) — needs a multi-source/folder surface; lint takes one source today.
    3. The remaining §4 warnings that need the same conditional representation (conditional block excluding content on all targets).

    The acceptance criterion "tests for each linter rule" is met for every rule that shipped; the conditional rule is the one criterion deferred, on the record's own terms above.

  17. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Block lifted — stale-block sweep, 2026-11-23 (Survey B, archer).

    Named blocker of record: #7918 (rendering pipeline compiler core), per task 14568's structural dependency block on this issue.

    Evidence the blocker resolved, verified first-hand via gh GraphQL this sweep:

    Action: queue/blocked removed, queue/queued added. The issue stays open for the named remainders recorded in Lane FM's done note; those are this issue's own scope, not an external block.

  18. added and removed
    queue/blockedQueue or user escalation state
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)queue/queuedHas a queued queue taskstatus/blockedQueue or user escalation statestatus:in-reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions