You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
id(worlds): mixed timed and untimed revocations report an incomplete window count as Known #12041
project in pkgs/id/crates/id-worlds/src/world_owner_report.rs derives revoked_in_window from only revocations with a timestamp. It reports Unavailable(RevokeTimeNotRecorded) only when all revocations are untimed; in a mixed journal it returns Known(count) while silently excluding untimed revocations that may fall inside the requested window.
Evidence
At world_owner_report.rs:666-679, revoked_timed counts timed revocations. revoked_in_window is unavailable only when revoked > 0 && revoked_timed == 0; otherwise it counts only f.revoked && in_range(f.revoked_at). Thus a journal with at least one timed revocation and at least one untimed revocation yields Known(n) even though the window count is incomplete. revoked_untimed is reported separately, but it does not say whether those revocations occurred inside this particular window.
This contrasts with the joins window, which exposes in_window_complete when any relevant timestamps are missing or fall outside known coverage (world_owner_report.rs:637-650).
Why it matters
Consumers may interpret revoked_in_window: Known(n) as a complete count for the requested interval, although untimed revocations were excluded and could belong to it. This affects owner-report comparisons and decisions based on revocation activity.
Acceptance criteria
Represent incomplete revocation-window coverage explicitly (for example, a completeness flag or an unavailable result whenever any relevant revocation lacks a timestamp).
Preserve the known timed count if useful, but do not present it as a complete Known window total when untimed revocations exist.
Add a regression test with at least one timed and one untimed revoked participant, asserting that the requested window result communicates incompleteness.
changed the title [-]id(worlds): revoked_at for a capability delegated under an already-revoked ancestor diverges between the live core and journal replay[/-][+]id(worlds): mixed timed and untimed revocations report an incomplete window count as Known[/+]on Nov 19, 2026
Correction to my original report: I could not validate the claimed live-core/replay divergence, and have removed that claim from the issue. delegate() authorizes the parent before minting, so a new live child cannot be delegated beneath a revoked ancestor. The checkpoint scenario also does not establish divergence: replay applies the entry time carried by the checkpoint, matching the live record. The issue is now narrowed to the independently verified owner-report window-completeness defect described above.
Activity
developing-today commentedon Nov 19, 2026
CODE-4385
[-]id(worlds): revoked_at for a capability delegated under an already-revoked ancestor diverges between the live core and journal replay[/-][+]id(worlds): mixed timed and untimed revocations report an incomplete window count as Known[/+]dezren39 commentedon Nov 19, 2026
Correction to my original report: I could not validate the claimed live-core/replay divergence, and have removed that claim from the issue.
delegate()authorizes the parent before minting, so a new live child cannot be delegated beneath a revoked ancestor. The checkpoint scenario also does not establish divergence: replay applies the entry time carried by the checkpoint, matching the live record. The issue is now narrowed to the independently verified owner-report window-completeness defect described above.