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
plugin-security cascade-delete parity test case 4 is flaky: its hook count filters ids by a two-character prefix that generated ids can carry #34413
bugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Filing gate: ① (named location, measured red on CI).
Where:packages/plugins/plugin-security/src/cascade-delete-security-parity.test.ts, case "4. each child's delete-side work runs once per child > one audit delete row, every share revoked, and each object-less hook phase once, per child, a child two relations reach included" (the object-less hook count, around line 371, filters with s.id.startsWith('h1')).
Measured: CI Test Core (8/8) on PR #34358 head d4ea9c4 (job 133332217883, run 43876410651): objectLessBefore received one extra key h1katWpkF0jVGL2s. Object-less hooks also see deletes of rows with generated 16-character ids (audit and share rows), so a generated id that happens to start with h1 is counted. PR #34358 touches no plugin-security, objectql or audit file and no delete path.
Ask: use a prefix generated ids cannot carry (one with an underscore), or filter on the exact known child ids, so the count is deterministic.
Business reason: a chance collision (about 1 in 3,800 per generated id) reds Test Core on unrelated PRs and costs a re-run each time.
Reader who acts: the owner of plugin-security tests; triage first-touches domain and grade.
Dedupe: searched open issues for "cascade-delete-security-parity", "startsWith prefix flaky": none.
Triage: first touch → domain:server · p2 · out of focus (CI health) · 2026-11-16T14:46Z
⛔ Not a claim.
Case 4 of the cascade-delete parity test filters hook ids by a two-character prefix that a generated id can also carry, so it goes red at random. Measured red on CI. No user is affected, but a flaky case in the full battery ejects merge groups and costs every queued PR a rebuild. p2: queue health is kept even outside the focus themes.
Claim: PM loop round 1 · 2026-11-16T21:54Z
Session: session_01ADHkmQ2SN4K183oqAvUajA (seat); a card thread of this account's project is the dev and reports its own session id
Account: os-steve
Branch: pending — the card thread's designated branch; a follow-up Claim: from this session names it before the first push
Worktree: objectstack-issue-34413
Domain: domain:server
Seat: repo:objectstack#2
File surface: packages/plugins/plugin-security/src/cascade-delete-security-parity.test.ts only (test-only; skip-changeset)
Container & model: S, mode:thread, model: default tier, effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack: the test filters ids by the two-character prefix h1 that a generated 16-character id can carry | none | every PR whose Test Core shard runs this case (red at about 1 in 3,800 per generated id)
Thread-read: 6919728846
Premise: holds at origin/main3bf9c5c per the card (case 4 filters hook ids by the h1 prefix); the dev re-reads the line.
Serial constraints cleared: none — no open PR lists this test file (open-PR file scan at seating).
Pre-claim lane: domain:server (a plugin-security test file).
Pre-claim deps: no Blocked-by:; none named.
Prior rulings read: check-prior-rulings.mjs --card 34413 → 136 title-term hits; ADR-0054 Decision §1, ADR-0045 Decision §6, ADR-0071 Decision §1, ADR-0076 D4/D5/D6/D8, ADR-0077 Decision §3, ADR-0082 Decision §6, ADR-0139 D3; thread: none.
Lease: lease:o2-C. Order: /mnt/project-files/objectstack-seat2/34413-delta.md with the seat's standard order beside it (project share).
{
"issue": 34413,
"status": "done",
"branch": "claude/project-thread-ih4n5f",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34491",
"head": "843a675558",
"session": "session_01ADHkmPU5CJAVmqhAdNPYrB",
"premise_still_valid": true,
"files_changed": ["packages/plugins/plugin-security/src/cascade-delete-security-parity.test.ts (+13 -3)"],
"line_budget": "13 additions, 3 deletions, one test file; no published file",
"gates": "dispatch-gates --commands at 843a675558 (merge of origin/main onto 2cebbd4e1, derived list byte-identical to the one at 2cebbd4e1): 54 derived, 54 run, all exit 0; --ran: 54 derived, 54 run, 0 NOT-MEASURED, 0 UNRUN. First pass at 2cebbd4e1: 51 exit 0, 3 exit 3 (check-plugin-teardown-shape --self-test, check:dual-build-cjs-loads, check:i18n), each exit 0 after git fetch --unshallow and a ./packages/** build. Package: plugin-security test Test Files 274/274, Tests 6849 passed, 45 skipped; typecheck exit 0. Repro: injected share id h1PROBEcollision reds case 4 before the fix (Tests 1 failed | 7 passed (8), face auditedDeletes) and passes after (8/8). PR check-runs at 843a675558: every completed run success or skipped; Test Core (1/8) in_progress at report time.",
"deviations": [
"The card names the object-less hook count (line 383) as the leak; measured on main, that count only ever sees fixture ids, and the deterministic repro reds auditedDeletes only. The fix is in auditedDeletes; the count is unchanged.",
"The order's first option (a prefix with an underscore) does not exclude generated ids: nanoid's alphabet includes the underscore (measured share id 4iL3UarT_0SnMA4D). The fix filters on the fixture objects instead."
],
"mcp_calls": "5: issue_read x2, get_job_logs x1, pull_request_read x2 (all reads)",
"api_writes": "2: pr_create via fleet-write relay (#34491, draft, assignee os-steve, label skip-changeset); this comment via post-stamped",
"security_findings": "none",
"out_of_scope_findings": []
}
bugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 16, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:server· p2 · out of focus (CI health) · 2026-11-16T14:46Z⛔ Not a claim.
Case 4 of the cascade-delete parity test filters hook ids by a two-character prefix that a generated id can also carry, so it goes red at random. Measured red on CI. No user is affected, but a flaky case in the full battery ejects merge groups and costs every queued PR a rebuild. p2: queue health is kept even outside the focus themes.
objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA
Claim: PM loop round 1 · 2026-11-16T21:54Z
Session:
session_01ADHkmQ2SN4K183oqAvUajA(seat); a card thread of this account's project is the dev and reports its own session idAccount:
os-steveBranch: pending — the card thread's designated branch; a follow-up
Claim:from this session names it before the first pushWorktree:
objectstack-issue-34413Domain:
domain:serverSeat:
repo:objectstack#2File surface:
packages/plugins/plugin-security/src/cascade-delete-security-parity.test.tsonly (test-only;skip-changeset)Container & model:
S,mode:thread,model: default tier,effort: mediumClause-②: no
Metadata-protocol: none
Responsibility:
objectstack: the test filters ids by the two-character prefix h1 that a generated 16-character id can carry | none | every PR whose Test Core shard runs this case (red at about 1 in 3,800 per generated id)Thread-read: 6919728846
Premise: holds at
origin/main3bf9c5c per the card (case 4 filters hook ids by theh1prefix); the dev re-reads the line.Serial constraints cleared: none — no open PR lists this test file (open-PR file scan at seating).
Pre-claim lane:
domain:server(aplugin-securitytest file).Pre-claim deps: no
Blocked-by:; none named.Prior rulings read:
check-prior-rulings.mjs --card 34413→ 136 title-term hits; ADR-0054 Decision §1, ADR-0045 Decision §6, ADR-0071 Decision §1, ADR-0076 D4/D5/D6/D8, ADR-0077 Decision §3, ADR-0082 Decision §6, ADR-0139 D3; thread: none.Lease:
lease:o2-C. Order:/mnt/project-files/objectstack-seat2/34413-delta.mdwith the seat's standard order beside it (project share).objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA
Claim: PM loop round 1 · branch named · 2026-11-16T21:59Z
Follow-up to claim 6930547095 (same seat, same claim).
Thread session:
session_01ADHkmPU5CJAVmqhAdNPYrBAccount:
os-steveBranch:
claude/project-thread-ih4n5fSeat:
repo:objectstack#2objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#2 · os-steve · session_01ADHkmPU5CJAVmqhAdNPYrB
os-dev-report
{ "issue": 34413, "status": "done", "branch": "claude/project-thread-ih4n5f", "pr": "https://github.com/objectstack-ai/objectstack/pull/34491", "head": "843a675558", "session": "session_01ADHkmPU5CJAVmqhAdNPYrB", "premise_still_valid": true, "files_changed": ["packages/plugins/plugin-security/src/cascade-delete-security-parity.test.ts (+13 -3)"], "line_budget": "13 additions, 3 deletions, one test file; no published file", "gates": "dispatch-gates --commands at 843a675558 (merge of origin/main onto 2cebbd4e1, derived list byte-identical to the one at 2cebbd4e1): 54 derived, 54 run, all exit 0; --ran: 54 derived, 54 run, 0 NOT-MEASURED, 0 UNRUN. First pass at 2cebbd4e1: 51 exit 0, 3 exit 3 (check-plugin-teardown-shape --self-test, check:dual-build-cjs-loads, check:i18n), each exit 0 after git fetch --unshallow and a ./packages/** build. Package: plugin-security test Test Files 274/274, Tests 6849 passed, 45 skipped; typecheck exit 0. Repro: injected share id h1PROBEcollision reds case 4 before the fix (Tests 1 failed | 7 passed (8), face auditedDeletes) and passes after (8/8). PR check-runs at 843a675558: every completed run success or skipped; Test Core (1/8) in_progress at report time.", "deviations": [ "The card names the object-less hook count (line 383) as the leak; measured on main, that count only ever sees fixture ids, and the deterministic repro reds auditedDeletes only. The fix is in auditedDeletes; the count is unchanged.", "The order's first option (a prefix with an underscore) does not exclude generated ids: nanoid's alphabet includes the underscore (measured share id 4iL3UarT_0SnMA4D). The fix filters on the fixture objects instead." ], "mcp_calls": "5: issue_read x2, get_job_logs x1, pull_request_read x2 (all reads)", "api_writes": "2: pr_create via fleet-write relay (#34491, draft, assignee os-steve, label skip-changeset); this comment via post-stamped", "security_findings": "none", "out_of_scope_findings": [] }