feat: add multi-contributor managed memory - #179
Merged
Merged
Conversation
Contributor
Author
|
Managed-service integration is open at https://github.com/kushalpatil07/managed-greplica/pull/7. Merge order: this OSS PR first, then update the managed PR's submodule/workflow allowlist to the final merged OSS commit before merging managed. |
Contributor
Author
|
CI follow-up: handled harmless child-stdin EPIPE in the managed CLI test harness. The managed integration is now repinned to this PR head |
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
Adds the open-source client, protocol, graph rendering, and trusted GitHub Action support for multi-contributor managed memory.
working/<authenticated-user>view across sessions and branchesmain + mine, with repeatable/case-insensitive-deduplicated explicit--with-working,--main-only, Memory PR, and quarantine selectors--main-onlysuppresses personal working while still composing with an explicit Memory PR or quarantine overlaymemory pr context(main + Memory PR, without unrelated caller working memory)Exact-checkout repair evidence
Servers advertising
reconciliation-code-evidence-v1may opt a candidate into a boundedcode_evidenceattestation. Older candidates retain their exact prior wire shape.100644/100755blobs in the attested Git tree; checkout bytes must equal the blobresolved/file_onlyentries with a valid transmitted snippet hash and current fingerprintunverifiablefailuresThe reusable workflow revision is
f88edc0a2c02fe213f3bcc7166aac3b8928a42d7; it pins the composite Action implementation at2c1e8a152126e3b156c2c8b924201bb27db66c07.Compatibility
Local single-user behavior remains unchanged. New protocol fields are optional where older managed servers may omit them. Managed requests advertise the collaboration capabilities, while ordinary unselected reads continue to work with older servers. Explicit collaboration selectors fail closed if the server does not acknowledge them.
This PR is the upstream dependency of the companion managed-service PR. The managed PR must point
vendor/greplicaand all workflow allowlist/build references at this exact workflow revision, then update to the final merged OSS commit before it merges.Validation
npm run typechecknpm testnpm run test:managed-collaborationnpm run test:reconciliation-code-evidencenpm audit --audit-level=high— 0 vulnerabilitiesgit diff --check origin/main...HEADgit fsck --no-danglingThe full suite has been run repeatedly. In addition to the collaboration/provenance coverage, the evidence suite exercises exact merged snippets and SHA binding, code/hash changes, canonical hash tampering, per-entry and aggregate truncation, >128 rejection, normalized-path traversal, external and in-repository symlinks, ignored secrets, gitlinks/submodules, sensitive paths and provider/private-key content, binary/oversized/missing files, duplicate anchors, dirty and mismatched checkouts, and repository no-write behavior.