Repository navigation
feat: enforce causal lesson access policy - #19
Merged
Merged
Conversation
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.
Summary
classifyas the default compatibility modeAGENTMEMORY_REQUIRE_HTTPS=1Validation
npm test: 159 files, 1,676 tests passednpm run skills:check: 15 skills passednpm run build: passedgit diff --check: passedce10a9e629c1f1bfba472b763cbe80d04ffcb369The standard
npm testcommand intentionally excludestest/integration.test.ts.Safety and rollout
Enforcement is opt-in. This PR does not provision tokens, activate
enforce, rebuild the global package, restartagentmemory.service, updateagentmemory-lock.json, or mutate live lesson/action/lease state. Rollout requires a separately authorized policy, deployment, and non-live validation step.Known residuals:
StateKVhas no transaction spanning every non-lesson collection. Import preflights collection shapes and all lesson authority before writing, and the lesson batch restores exact preimages on failure, but a later full multi-collection storage failure can still require operator repair.