Repository navigation
Conversation
…sink Scheduled-run records reference the schedule's current grant record, not the original setup. Each scheduled-run session open records the consent facts it relies on, and each scheduled-run end records its reason. Retention is counted from each record's own LoggedAt; schedule grant records (setup and renewal) get the deployment period plus AS-1's horizon cap. Transcript retention is left open for the transcript decision. Correct the logger: toolhive-core's audit logger takes an io.Writer and has no HTTP sink, so HTTP delivery needs an adapter. Co-Authored-By: mecatl <[email protected]>
The vMCP verifies the operation ID in the token's call entry, which AS-1 and AS-2 signed. The copy a client sends in _meta stays reported. Mark the verified value as such in the audit profile and the ledger. Name the interim mecatl subject enricher (#3023) as a stopgap for the token jti and entry operation ID, to be removed once #6979 lands. AS-2 redemption records the jti of the access token it issues, which links the redemption to the vMCP's record of the call. Co-Authored-By: mecatl <[email protected]>
Each reconciliation row now names the record fields it compares, using logical names rather than storage keys, since #3023 and #6979 store the same values in different places. Two checks wait on later work: the AS-2 access-token jti (#7375, which waits on #3919) and the vMCP's verified operation ID (the #3023 stopgap, then #6979). The ledger gains a row for #7375. Co-Authored-By: mecatl <[email protected]>
This was referenced Nov 29, 2026
…ords Under lossless delivery: a local file destination must rotate without losing or splitting a record, and a failed rotation makes the sink refuse the next record. Rotation flags and operator docs belong with the implementation. Co-Authored-By: mecatl <[email protected]>
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.
Scheduled-run audit: design edits
Design-only change to
docs/drafts/agent-identity/. It makes the audit design say what scheduled runs need from the trail, and corrects two statements about the toolhive-core logger.AuditIDof the current grant record.signed_out,upstream_revoked,owner_action_required,horizon_reached,revoked,deleted). AS-1 records its schedule-grant revocations.LoggedAt. Schedule grant records (setup and renewal) are kept that long plus AS-1's horizon cap. The store enforces retention; Mecatl runs no timers. Transcript retention is left to the open decision in the transcript issue.io.Writerand has no HTTP sink. HTTP delivery needs an adapter._metastays reported. Until #6979 lands, a mecatl subject enricher (Name the gateway token and its operation on the embedded gateway's audit events #3023) is an interim stopgap for the tokenjtiand entry operation ID.jtiof the access token it issues, linking the redemption to the vMCP's record of the call.jti(#7375, which waits on #3919) and the vMCP's verified operation ID (the Name the gateway token and its operation on the embedded gateway's audit events #3023 stopgap, then #6979).Open scope proposal (for discussion; not applied)
Move AS-1's schedule-grant events (issuance at setup with its horizon, the child-grant exchange at each run open with the upstream re-check result, and each ID-JAG issuance with its source grant) from phase 3 into phase 2. This would change:
The authorization-server events need toolhive#3919 for at least these events before the end-to-end scenario (#2817) closes.
Tracker fixes to make (not applied in this PR)
Not in this PR