Repository navigation
Document team memory with scoped credentials - #956
Merged
Merged
Conversation
Signed-off-by: zlareb1 <[email protected]>
The create-if-absent precondition needs server support beyond released token and namespace-role handling. Keep no-clobber protection and stop on precondition or session-protection refusals. Signed-off-by: zlareb1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry
The coding-agent connection guide shows separate scoped writer and viewer credentials sharing a team memory, then an out-of-scope namespace read.
Why
The connection guide explains client wiring, and the evaluation guide lists access-control checks. Readers still need concrete token scopes and request identities to reproduce an allowed cross-principal read and a denied namespace read.
Scope and risk
One documentation page adds operator minting, an authenticated HTTP walkthrough, expected responses and example cleanup. It distinguishes token subjects from memory identity labels, warns about point-read fallback, and requires comparing the returned identity. The example uses a disposable namespace and an absent-row write precondition.
These are commands for the reader to run, not captured live results. The HTTP check does not establish end-to-end operation in every coding client or qualify a production deployment.
Compatibility, rollout and rollback
if_match_sha256: "absent"create-if-absent contract and admitting the write under its session-protection policy. Current server source supports that precondition; released v1.2.0 does not, so its released-image setup alone is insufficient. A refusal stops the check; the precondition is retained.Tests
git diff --checkpass.bash -nparses the four added shell blocks without executing them.AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated: Codex wrote the documentation and checked its commands against the source contracts.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
make format-check,make lint,make typecheckandmake test-unitpass; required checks run in PR CI.