Skip to content

audit seal: review follow-ups of PR #37605 (sealed expiry) — notices, pins, the chain plan and taking a floor back #37879

Backlog

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① (review follow-ups, one card per PR) · Source: fleet (contract review records on PR #37605, Part of #31908: 7198128323 and its delta rounds through 7213680494)

What happens

PR #37605 makes a sealed object's rows expire only through a registered, signed seam, with a retention floor, for objects whose lifecycle is declared in packaged metadata. Its review left these nits open, each accepted for a follow-up:

  • n11: no run-time notice when a tenant window is set and not applied (expiry.ts, lifecycle-service.ts). The three texts carry the cost; the sweep reports the object like any other. A once-only notice naming the object and the column.
  • n12: no resume pin holds more than one page (audit-seal-expiry-admission.test.ts). The second page of the paged read runs in no test; a backlog of more than twenty checkpoints is ordinary.
  • n13: plan() finds chains by the latest cutoff any window allows (expiry.ts). Where the windows sit on another column, every chain with a checkpoint that old is opened to take nothing. Find them by the longest window's cutoff in that case.
  • n15: the floor rule holds by registration (audit-plugin.ts). If a refresh throws, the expiry stays registered and later objects in that call are skipped. Nothing shipped throws there; a check in the expiry itself, against the declaration the registry holds, would hold the rule without registration.
  • n16: a floor is never taken back (retention-floor.ts, lifecycle-service.ts). After seal is dropped or archive added, the last floor stays until restart. Taking it back needs a disposer on a public method.
  • n18: no test saves a sealed definition through the metadata door on a real kernel and sweeps it. The real-kernel SQLite run is the place.
  • n21: two cases named, three exist. The describe, objects.mdx and the changeset name "declared in packaged metadata" and "created at runtime"; an object registered from code under a package id no installed code or marketplace package answers also keeps the row-cutoff sweep (seat reading 7212989029 on plugin-audit + objectql lifecycle: build the audit tamper-evidence ADR — sealer, signed checkpoints, redaction and expiry amendments, os audit verify #31908). Say "any other sealed object".

Done when

Each box above is fixed, or closed with a reason.

Grade: area:data · bug · reach: audit seal expiry hardening, tests and docs wording · evidence: the review records above
Suggested-grade: p3
Size: M
Related: PR #37605, #31908.

Activity

  1. added
    bug
    pm:queue
    domain:server
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:data · domain:server · Task · p3 · pm:queue · size S; rationale: review nits on sealed expiry (PR #37605): a once-only notice for an unapplied tenant window, resume pins, the chain plan, and taking a floor back. Accepted follow-ups with no user harm, so p3 stands. Audit restatement, tier 3. Recorded 2026-11-27T21:20Z.

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

    area:databugdomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions