Repository navigation
Conversation
A frames config section turns the Frames integration on. It is off by default and refused by the local build, and it is refused at load without agentTokens on and an agentTokens entry for the Frames service whose minTokenScope is read. frames.url errors name the setting and never print the value. A template's agentFrames flag gives its apps the Frames cap. It needs apiToken and a private maxSharing, as agentModel does. The cap is read per request like the others and is not narrowed by token scope, and ViaFramesToken tells a handler whether a request came with such an app's token. AgentRequest now counts Frames among a coding agent's caps. contracts.md gains the frames section and agentFrames, and its AgentRequest and RequireAgentToken entries now say that a consumer checks its own cap before calling AgentRequest. The plan's evidence, checkpoint review and deviations are updated.
This branch has not been deployed
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.
Slice 20: Frames config, template flag and Frames cap
An admin can turn Frames on in config (refused at load without a usable
agentTokensentry), a template can opt its apps into Frames, and such an app's token counts as a coding agent's for the broker.Spec: nebari-dev/tapas/docs/superpowers/specs/2026-11-30-frames-integration-design.md
Plan: nebari-dev/tapas/docs/superpowers/plans/2026-12-01-agent-tokens-and-frames.md (Slice 20)
Contracts touched: Config section
frames, Template settingagentFrames,authn.AgentCapsgainsFrames, andauthn.ViaFramesToken,authn.AgentRequestcountsFramesamong coding-agent capsDepends on: #83
framessection: off by default, refused by the local build, refused at load withoutagentTokenson and a Frames service entry atminTokenScope: read;frames.urlerrors print no value.agentFramestemplate flag (needsapiToken, privatemaxSharing), theFramescap (read per request, not narrowed by scope),ViaFramesToken.AgentRequestadmits Frames-only agents; contracts.md records that each consumer checks its own cap first.Validation
go test -count=1 ./internal/config/... ./internal/model/... ./internal/gateway/apps/... ./internal/gateway/authn/... ./internal/cli/...make test-localframes.enabledrefused by the local build)