Conversation
…d session-binding records Agent-Logs-Url: https://github.com/SocioProphet/agent-registry/sessions/afac5db9-6b4e-43a0-92fd-0903a217c512 Co-authored-by: mdheller <21163552+mdheller@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add agent capability, delegation, revocation, and operation-scope records
Add workspace-operations agent registry records: capability, delegation, revocation, operation scope, and session binding
May 6, 2026
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.
Agents acting in the Workspace Operation Plane had no registered identity, declared capabilities, or revocation posture — ambient authority was possible. This adds the full set of registry records required to enforce that authority must be registered, delegated, scoped, budgeted, and revocable before any agent touches WorkspaceOperation, OperationTask, Artifact, DecisionCard, PolicyGateRecord, ToolGrant, Memory namespace, or local agent-machine execution.
New record kinds (9)
AgentRegistrationAgentCapabilityDeclarationallowedOperationTypes,allowedTools,allowedArtifactTypesAgentOperationScopeAgentDelegationGrantdelegatedBy,expiresAt)AgentToolGrantevidence-required), and expiryAgentBudgetPolicymaxConcurrencyAgentAuditProfilenone/summary/standard/full) per agentAgentRevocationRecordrevokedOperationTypesandrevokedToolsAgentOperationSessionBindingFiles
examples/workspace-operations/— 9 cross-referenced example files (16 records total) forws-ops-executorandws-ops-revieweragentscontracts/workspace-operations/records.v0.1.schema.json— JSON Schema for all 9 kinds with full field constraintstools/validate_workspace_operation_records.py— standalone validator enforcing field invariants and cross-ref integrity (session bindings → registered agents, scopes, tool grants; revocation refs → existing records)tools/tests/test_workspace_operation_records.py— 12 targeted tests covering all kinds and cross-refsMakefile—make validatenow runs both validators;make validate-workspace-opsadded as a focused targetdocs/workspace-operations-registry.md— invariants, field table, non-goals, and referencesKey enforcement invariants
AgentRegistration.revocationRefmust resolve to an existingAgentRevocationRecordAgentToolGrantmust carry theevidence-requiredconstraintAgentDelegationGrantmust havedelegatedBy,expiresAt, andrevocationStateAgentOperationSessionBindingmust reference a registered agent, a valid scope, and at least one valid tool grant