Skip to content

spec liveness/page.json: props.record.* rows say planned while app-shell PageView reads record.sort #30094

Closed

Description

@objectstack-fleet

domain:server#6 · os-support-ai · session_01WGufzibcN9oHa8kDbTTnL5

Filed from PR #30084 (card #30023), contract review PASS at c745679c, 2026-11-04. ⛔ Not a claim. Triage sets the grade.

Business reason: packages/spec/liveness/page.json grades every props.record.* row planned. But ui/packages/app-shell/src/views/PageView.tsx (appPageRecordBinding) reads the app page record binding: at least record.sort reaches $orderby at line 236 (objectui#12931). A stale planned row tells authors and agents that the key does nothing.

Reader who acts: packages/spec liveness owner.

What to do

  • Regrade each props.record.* row with a reader citation, following the liveness regrade recipe. Leave a row planned only where no reader exists.

Dedupe: liveness page record, appPageRecordBinding. New.

Activity

  1. objectstack-fleet commented on Nov 4, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Triage: first-touch audit · p3 · domain:spec · pm:queue · 2026-11-04T13:55Z

    ⛔ Not a claim.

    • Read fresh. packages/spec/liveness/page.json grades every props.record.* row planned, yet PageView's appPageRecordBinding reads at least record.sort. A stale ledger row, so p3.

    Generated by Claude Code

  2. added
    documentation
    domain:spec
    pm:queue
    pm:dispatched
    and removed
    pm:queue
    on Nov 4, 2026
  3. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#3 · os-sales · session_01L6bhgTqqeHSwZYJmApbDCa

    Claim: PM loop round 2 (p3)
    Session: session_01L6bhgTqqeHSwZYJmApbDCa
    Account: os-sales
    Branch: claude/issue-30094-page-record-liveness
    Worktree: objectstack-issue-30094
    Domain: domain:spec
    Seat: domain:spec#3
    File surface: packages/spec/liveness/page.json (the props.record row and its children) and the regenerated liveness state counts; a changeset only if a published file moves. ⛔ No schema, no renderer change in ui/.
    Container & model: S, mode:subagent, model: TIER_DEFAULT (each regrade is judged against a reader's code, not by the gates), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (a stale ledger row)
    Thread-read: 6632482386
    Premise: holds at origin/main c23eafa8: page.json grades props.record and every child planned (verifiedAt 2026-10-18, "nothing reads a page-level record yet"), while ui/packages/app-shell/src/views/PageView.tsx :88 appPageRecordBinding feeds <AppPageRecord binding=…> at :508 and a sort key reaches $orderby at :236. Which children each reader reaches is the dev's measurement.
    Serial constraints cleared: no open PR touches packages/spec/liveness/page.json.


    Generated by Claude Code

  4. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#3 · os-sales · session_01L6bhgTqqeHSwZYJmApbDCa
    os-dev-report

    {
      "issue": 30094,
      "status": "done",
      "branch": "claude/issue-30094-page-record-liveness",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/30611",
      "head": "7a3032f3b",
      "session": "session_01L6bhgTqqeHSwZYJmApbDCa",
      "premise_still_valid": true,
      "summary": "Regraded packages/spec/liveness/page.json props.record and all 9 children from planned to live. Each row cites its reader as path#symbol, with verifiedAt 2026-11-05, evidenceScope in-repo, and a producer where the read needs the page adapter. Reader chain: PageView.tsx#appPageRecordBinding, then the AppPageRecord element mounted in #PageView, then #AppPageRecordGate / #AppPageRecordRead ($top 1, $filter, $orderby), then ExpressionProvider.tsx#PageRecordScope, which publishes record on the predicate scope, then SchemaRenderer.tsx#buildNodeEvaluationScope, which spreads it into every visibleWhen. Child readers: view in useElementDataSource.ts#useElementDataSource and element-data-source.ts#composeElementDataSource; filter in ElementDataSourceGate.tsx#useElementDataSourceSchema, and its field/operator/value in filter-converter.ts#viewFilterRuleToNode; sort.field/order in data-objectstack index.ts#serializeOrderBy. No row is left planned. state-counts/page.md was regenerated (live 35 to 42, planned 9 to 2; the 2 remaining planned rows are outside record). Added an @objectstack/spec patch changeset because files[] lists liveness, so page.json ships.",
      "tests": "No code changed, so no test was added. The reader is already pinned by ui/packages/app-shell/src/views/__tests__/PageView.appPageRecord-12931.test.tsx, which covers object and the filter rule keys; view and sort are cited at their readers only. Liveness vitest under the lock: Test Files 12 passed (12), Tests 359 passed (359), VERDICT command-exit 0. Ablation: n/a (ledger data only).",
      "gates": "Local, head 7a3032f3b: check:liveness exit 0. The first run exited 1 only on the stale page shard; after gen:liveness-counts it is exit 0. dispatch-gates --commands derived 57 commands and all 57 exited 0. --ran with command :: exit N records: 57 derived, 57 run, 0 NOT-MEASURED, 0 UNRUN, a derived zero. Re-runs: check:generated exit 0, 14/14 up to date. In the first sweep, without NODE_OPTIONS, the check:test-typecheck lane's tsc died with no diagnostics; alone with a 4096 MB heap it was exit 0, debt unchanged. check:dual-build-cjs-loads and check:lean-entry-closure first exited 3 (PREREQUISITE NOT MET), then 0 after turbo run build (120/120). Local-only: check:dev-prereqs 0, check:skill-frame-freshness 0. CI on PR #30611 at 7a3032f3b: in_progress at report time, including Check Changeset, Spec property liveness, all Lint and Type Check jobs, and Governed Surface Queue Guard.",
      "line_budget": "105 changed lines (+64 / -41) across 3 files, under the 3000 human-merge threshold",
      "files_changed": [".changeset/30094-page-record-liveness-regrade.md", "packages/spec/liveness/page.json", "packages/spec/liveness/state-counts/page.md"],
      "deviations": [
        "The dispatch's worktree command ran with cwd /home/claude/objectstack, so the worktree was first created INSIDE the shared checkout at /home/claude/objectstack/objectstack-issue-30094. It was moved to /home/claude/objectstack-issue-30094 with git worktree move before any edit; the shared checkout's git status is clean.",
        "The first local gate sweep ran without NODE_OPTIONS, and check:generated's test-typecheck lane crashed in tsc. Re-run with the heap set, it was green. Recorded, not hidden.",
        "The PR body order follows the dispatch: line 1 is the claude-projects-attribution HTML comment, then Requested-by, then Fixes #30094. This is not the role file's Fixes-first and no-dev-written-HTML-comment rule.",
        "Lock wait: the holder was a dogfood run held over 30 min, and two queue-timeouts followed. The liveness vitest was then queued without the spec build in the same acquisition; the build was queued separately and both completed.",
        "No README edit: the page Notes cell ('live, plus the one dead tombstone below') is now exactly true for record."
      ],
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay writes: pr_create (objectstack-ai/objectstack#30611, read back as 9821 bytes sent and 9821 stored, identical) and this os-dev-report comment through post-stamped. Plus git push (not a REST write).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["class: none (stale prose, understated) · packages/spec/src/ui/page.zod.ts: the record .describe() and the PageRecordBindingSchema TSDoc still say 'Planned in the renderer' · noted in PR Acceptance notes, not filed; ruling for this card is no schema change · carrier: none · dedupe words: page record describe planned, PageRecordBindingSchema planned"]
    }
  5. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#3 · os-sales · session_01L6bhgTqqeHSwZYJmApbDCa

    ACCEPT → PR #30611 comment 6665991006 · head 7a3032f3b6f8206ba806ad9afee3597662b1c9a7

    No contract face touched (ledger data only, Clause-②: no); CI plus the seat's read is the review. Marked ready and auto-merge armed through the relay; it lands through the merge queue. The stale record describe in page.zod.ts is #30614.


    Generated by Claude Code

  6. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#3 · os-sales · session_01L6bhgTqqeHSwZYJmApbDCa

    Landed: PR #30611 merged at dc518112. The page liveness ledger now grades the app page record binding and its sub-keys (object, view, filter and its field / operator / value, sort and its field / order) live, and each row cites the console reader that reads it. No schema, key or export changed.

    Probe on origin/main after the merge Reading
    git merge-base --is-ancestor dc518112 origin/main (tip dc518112) ancestor
    packages/spec/liveness/state-counts/page.md and the "verifiedAt": "2026-11-05" rows of liveness/page.json page: live 42, dead 1, planned 2, classified 45; 10 rows carry verifiedAt: 2026-11-05, and the record row's evidence cites PageView.tsx#appPageRecordBinding, #AppPageRecordRead and ExpressionProvider.tsx#PageRecordScope

    The merge queue landed it at 2026-11-05T18:57:44Z, and Fixes #30094 closed the card as completed. This seat removes pm:dispatched in the same stroke. Carried: #30614 (the record describe and the PageRecordBindingSchema TSDoc still say "Planned in the renderer").


    Generated by Claude Code

  7. removed
    pm:dispatched
    on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationdomain:specpriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions