Skip to content

fix(ci): validate session inventory admission policy - #201720

Merged
vincentkoc merged 1 commit into
mainfrom
fix/session-inventory-admission-test-20261119
Nov 19, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/session-inventory-admission-test-20261119

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The session-inventory privacy test expects a role change to reject a read that was already admitted. Both Node and Bun resolve that read under the captured admission policy from #201334, so the stale assertion blocks runtime qualification.

User Impact

No runtime behavior changes. The test checks that an admitted inventory retains its authorized rows while a new read obeys the narrowed role.

Why This Change Was Made

Replace only the stale rejection with assertions for both admitted session keys and the already-authorized transcript text. The existing fresh invocation still requires only the viewer's own row and excludes the other transcript. Draft visibility, lifecycle, cancellation, physical-store and custody checks remain intact.

Production +0/-0; tests +6/-3. Reuses the existing real profile mutation and Gateway fixture without adding mocks or a runtime policy owner.

Related: #199959

Evidence

  • Full pin validation fails the old role-change rejection on Node and Bun; the other privacy cases pass.
  • Source audit follows the captured role policy and the separate live row-visibility, identity and lifecycle checks. The admitted/fresh sharing contract is already covered by the policy change linked above.
  • Independent source review passed. Local ClawSweeper completed 58e735cba379598a3de6955f3985ccf5a8783319..0286f4c419dce8f8bd77d7e9041ddefd937397fb with no correctness or security findings.
  • Native commit hooks (format and line cap) and git diff --check passed.
  • Exact-head CI passes all 14 session-inventory privacy cases under Bun, including the role-change case. Other required checks are finishing. Repaired-head Node execution remains pending for the broader dual-runtime pin qualification; the successful compact-small job does not execute this suite. Local dependencies remain unqualified, so no local execution pass is claimed.

@clawsweeper

clawsweeper Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc vincentkoc self-assigned this Nov 19, 2026
@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: XS labels Nov 19, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review November 19, 2026 08:31
@vincentkoc
vincentkoc enabled auto-merge (squash) November 19, 2026 08:32
@vincentkoc
vincentkoc merged commit ebbd85c into main Nov 19, 2026
241 of 242 checks passed
@vincentkoc
vincentkoc deleted the fix/session-inventory-admission-test-20261119 branch November 19, 2026 08:41
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

RomneyDa added a commit that referenced this pull request Nov 20, 2026
Bounded beta2 FRV repair; preserve the existing runtime contract and original failure assertions. Combined qualification follows integration.

Selected source hunks only; unrelated source changes excluded.

(cherry picked from commit ebbd85c)

Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant