Repository navigation
Gooo experiment: checking grant narrowing against required services #757
kimjooyoon
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I maintain Gooo Go Ports. While adapting Agent Mesh’s
api.MatchServicePattern, I added an original Gooo calculation: does a proposed grant narrow the old grant while preserving the service requests a workflow needs? This is an independently developed offline experiment, not an Agent Mesh integration or policy applier.Update, 21 October: preserve an ordered request list
The native MCP preview.15 is available for Linux amd64 and macOS arm64, built with Go 1.27.3. It needs no Go, compiler or Python installation. Verify the matching archive’s
.sha256, extract into a fresh directory and follow the bundled README. Start the server with--many-requiredto exposeassess_service_grant_changealongside the single-request tool.Give the multi-request MCP tool this JSON argument object:
{"before":"*","after":"mcp://*","required_requests":[{"type":"mcp","name":"weather"},{"type":"mcp","name":"calculator"}]}For these exact supplied facts, the result is
ELIGIBLE / SUBSET_AND_ALL_REQUIRED_REQUESTS_PRESERVED. Changing onlyaftertomcp://weatherreturnsREFUSED / REQUIRED_REQUEST_REMOVED, withfirst_counterexample: 1identifying calculator in the original list. Order and duplicate positions are retained.The Gooo activity makes the bounded domain, subset and preservation decisions. The response retains ordered-column facts, all 12 decision fields and source/generation bindings. The release tag’s full CI and separate native bundle checks passed; these are maintainer-controlled tests, not evidence of deployment or outside adoption.
Earlier single-request CLI
The preview.12 CLI and four runnable examples remain historical Go 1.27.2 snapshots. Their stdin JSON array interface is different from the MCP argument object above.
Scope and useful feedback
This supports the documented bounded ASCII service-pattern domain, not arbitrary permission languages or full Agent Mesh authorization. It authenticates no caller or supplied fact, checks no live grants or credential caches, contacts no service and applies no change. Live identity, current-state validation and enforcement remain host responsibilities.
If you try it, a useful report is your OS and the first setup/tool error, or one public synthetic proposal and ordered request list from a workflow it helps with—or cannot express. Please omit credentials and private service names. I’m interested in actual grant-review needs before adding more policy features.
Affiliation: project maintainer; Codex assisted implementation, testing and writing.
All reactions