Repository navigation
Closed
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)kind/testTest coverage, test infrastructure, or test-only fixesTest coverage, test infrastructure, or test-only fixespriority/normalOrdinary priority (the default)Ordinary priority (the default)queue/blockedQueue or user escalation stateQueue or user escalation statesource/pr-comment-reviewFiled by the pr-comment-review jobFiled by the pr-comment-review jobstatus/blockedQueue or user escalation stateQueue or user escalation statestatus:donetask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this itemuser/escalatedRequires a Drew decision or accessRequires a Drew decision or access
Description
Finding (from PR review)
Codex (chatgpt-codex-connector[bot]) raised this finding in its review of merged PR #5657 and it was never fixed or responded to:
- PR: id: make tag.clear role-aware in the default view #5657 — "id: make tag.clear role-aware in the default view" (MERGED 2026-11-04T21:23:11Z, merge commit e4777f1)
- Comment: id: make tag.clear role-aware in the default view #5657 (comment) (chatgpt-codex-connector[bot], 2026-11-04T21:25:31Z, P1, anchored at
pkgs/id/tests/tag_clear_authority.rs:162; reviewed head b4b151c — the review was submitted just after the merge, so no in-PR fix was possible) - Essence: "Add generated coverage for settled-role authorization. The new grouped-subject authorization path is covered only by fixed examples. The updated property test in
tag_claims.rsstill generates only missing, ungrouped subjects, so its oracle never exercises owning-group selection or settled Admin membership. Add generated grouped histories checked against an independent authorization model, including different owning groups and membership changes; otherwise the central role-aware invariant remains outside the property/model coverage explicitly required by the repository's testing doctrine." (Codex cites the repo AGENTS.md testing-doctrine lines 41–45.)
No-response evidence
- The PR's inline review comments are exactly the two Codex findings (r4473530065, r4473530083); neither has any reply (
in_reply_to_idis empty for both, and no later inline comment exists). The conversation contains only the Codex review summary and a CodeRabbit rate-limit notice. - No commit after the review touched the flagged tests: the PR merged on the reviewed head, and the current-main reads below were taken on 2026-11-05, after the merge.
- Dedupe (searched 2026-11-05, open + closed, by
tag_claims+ proptest, grouped/property/tag keywords, settled/Admin/tag keywords, and PR number 5657): no existing issue covers generated grouped-subject coverage. Neighbours that do NOT cover it: issue id: tag.clear as a role-aware marker + default view (code#185 decision) #2090 (closed — the role-aware implementation itself), issue id: resolve device-admin identity in event-store tag views #5656 (open — device-admin identity resolution in tag views, a different defect), issue pkgs/id build: test_clear_spanning_more_authors_than_the_cap_clears_exactly_its_claims fails (left 41, right 1) — blocks amd switch #5736 / PR fix(id): repair clear-spanning test for the role-aware default view (#5736) #5923 (closed/merged — repaired one stale lib unit-test expectation for the role-aware view; no property coverage added).
Still live on current main (verified 2026-11-05 by two independent gh api raw reads, main 4b41b86)
pkgs/id/tests/tag_claims.rs:
- The history generator used by both
proptest!blocks (lines 453 and 483) builds every subject event withgroup: None(generator sites at lines 73, 260, 271), and the module documents the property oracle as the ungrouped rule (line 312: "only the claim author may clear these ungrouped test subjects"). - So the generated histories never exercise owning-group selection or settled Admin membership — the exact path PR id: make tag.clear role-aware in the default view #5657 added in
pkgs/id/src/event_store/claims.rs(default_view_events, which resolves the subject's owning group and checks the settled projection forGroupRole::Admin).
pkgs/id/tests/tag_clear_authority.rs (227 lines) covers the grouped path only with fixed examples: a settled group Admin clearing another author's tag (line ~159), a non-member clearer (line ~167), and an Admin with no authority for ungrouped/missing subjects (line ~184). No generated histories, no membership changes, no multiple owning groups.
Acceptance criteria
- Generated (property-based) grouped histories for tag-clear authorization: subjects owned by different groups, clearers with author / settled-Admin / non-member / removed-member roles, and membership changes mid-history, checked against an independent authorization model (the oracle), per the repo's PBT/MBT testing doctrine.
- The new coverage fails if the grouped authorization path in
default_view_eventsis broken (e.g. Admin check dropped or group selection bypassed) — demonstrate by mutation or by a recorded counterexample check. - Or: the finding is resolved on this issue by a documented decision with reasoning recorded (e.g. an argued case that the fixed examples plus other suites already bound the risk acceptably).
Metadata
Metadata
Assignees
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)kind/testTest coverage, test infrastructure, or test-only fixesTest coverage, test infrastructure, or test-only fixespriority/normalOrdinary priority (the default)Ordinary priority (the default)queue/blockedQueue or user escalation stateQueue or user escalation statesource/pr-comment-reviewFiled by the pr-comment-review jobFiled by the pr-comment-review jobstatus/blockedQueue or user escalation stateQueue or user escalation statestatus:donetask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this itemuser/escalatedRequires a Drew decision or accessRequires a Drew decision or access
Activity
developing-today commentedon Nov 5, 2026
CODE-1803
dezren39 commentedon Nov 5, 2026
🤖 Agent note · state: filed
dezren39 commentedon Nov 5, 2026
🤖 Agent note · handed off
209 remaining items
dezren39 commentedon Nov 6, 2026
🤖 Agent note · picked up
dezren39 commentedon Nov 6, 2026
🤖 Agent note · done (PR opened)
pkgs/id/tests/tag_clear_authority_properties.rs(+599) with a generated (proptest) grouped/settled-Admin tag-clear authorization history checked against an independent settled-roster oracle, plus three fixed anchors (Manage member ≠ Admin, promoted member ≠ Admin, removed creator ≠ Admin).pkgs/idunder rustc 1.99 (E0277 insrc/world_net.rs) — pre-existing, tracked as id(world_net): str vs String comparisons (E0277) break cargo check -p id on main #6567. Tests above were verified with the compiler-suggested deref fix applied locally and reverted before commit; PR test(id): generated grouped/settled-Admin property coverage for tag-clear authorization (#6193) #6573 contains only the test file. Merge once id(world_net): str vs String comparisons (E0277) break cargo check -p id on main #6567 lands and id-check is green.dezren39 commentedon Nov 8, 2026
agent-note:v1
event: picked_up
task: 13335
worker: repo-worker-code
lane: 7b47536b-c162-444c-be8a-3a9538cc4cb5
verified: Fresh GitHub revalidation: PR #6573 is OPEN at head 198419e and authored by dezren39 (Drew); linked issue #6193 is OPEN and assigned to dezren39. The packet says the PR is unowned, which conflicts with both live ownership signals. PR labels include queue/parked, status/parked, work/assigned from the earlier handoff. No PR changes made.
next: Block this task as escalated-to-user; require explicit Drew ownership handoff/authorization before any PR modification, merge, or close.
dezren39 commentedon Nov 8, 2026
agent-note:v1
event: blocked
task: 13335 (pr_shepherd, repo-health-code-pilot)
worker: repo-worker-code
lane: 7b47536b-c162-444c-be8a-3a9538cc4cb5
at: 2026-11-08T18:44Z
blocker: The packet says PR #6573 is unowned, but fresh GitHub state shows the PR is authored by dezren39 (Drew) and this linked issue is assigned to dezren39. Under the no-touch rule for Drew-owned PRs, this lane will not modify, merge, or close PR #6573. Require explicit Drew ownership handoff/authorization. The task was blocked as escalated-to-user; the packet ownership assertion is stale.
labels: user/escalated, queue/blocked, status/blocked. No changes were made to the PR or its labels. Current PR checks also include failures; no merge attempted.
dezren39 commentedon Nov 11, 2026
🤖 Agent note · done (triage reconciliation)
dezren39 commentedon Nov 11, 2026
Agent note — lane tmp-code-g, task 14843 — state: triaged
Merge pull request #6573 from developing-today/queue/11226-6193-tag-c…