Skip to content

fix(kb): bootstrap containment authority with private permissions - #329

Merged
tzhouam merged 1 commit into
mainfrom
fix/kb-authority-private-bootstrap-20261008
Oct 8, 2026
Merged

tzhouam merged 1 commit into
mainfrom
fix/kb-authority-private-bootstrap-20261008

Conversation

@tzhouam

@tzhouam tzhouam commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

A fresh containment authority could fail its first scheduler tick: importing consumer updates created the authority parent through a child directory, so a 002 umask left the parent group-writable and policy signing rejected it. Initialize and validate the authority itself before taking the consumer-import lock, releasing the authority lock before ACK handling can reacquire it. Existing insecure directories are rejected without changing their permissions.

Validation: all four new regressions fail on the previous main and pass with this fix. All 79 focused bootstrap, containment, and maintenance-flow tests pass, including real ledger leases, signed empty policies, 002/022 umasks, and unchanged rejection of existing 0775/0777 directories. No SDK, knowledge resource, consumer protocol, or bot pin changes.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T05:41:01.936067Z 1af28fb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tzhouam
tzhouam merged commit 6c77194 into main Oct 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant