Purpose
Capture the residual integration wiring from #30 after the safe core AgentRegistryGrant resolver payload was replayed and merged through #50.
#50 landed:
src/agent_machine/agent_registry.py
scripts/resolve-agent-registry-grant.py
scripts/validate-agent-registry.py
docs/architecture/agent-registry-grant-resolution.md
Merged replacement commit: a13674a38083584ed764bfb2d469d326ce4f09b3
Residual content from #30 still to capture
Makefile wiring
- Add
validate-agent-registry to .PHONY.
- Add
GRANT_DIR := examples.
- Wire
validate-agent-registry into top-level validate.
- Add
validate-agent-registry target that runs:
scripts/validate-agent-registry.py
scripts/resolve-agent-registry-grant.py smoke
- Python CLI
registry resolve smoke
- activation evaluation using
--grant-dir / --grant-id
Bootstrap CLI
- Add
agent-machine registry resolve ... usage text.
- Delegate
registry command to Python CLI.
Python CLI
- Add
registry resolve command.
- Add local grant-store resolver args.
- Allow activation evaluation to resolve grants from
--grant-dir / --grant-file / --grant-id.
- Preserve backward-compatible positional behavior.
Docs / package validation
- Add docs index pointer to AgentRegistryGrant resolution doc.
- Update package validator to import
agent_machine.agent_registry and assert its default issued-at constant.
Why this was not landed in #50
The original branch was 15 commits behind current main. Carrying stale blobs for Makefile, bin/agent-machine, docs/index.md, scripts/validate-package.py, and src/agent_machine/cli.py would have overwritten newer mainline RuntimeInstallReceipt and WorkspaceOperationContract work. #50 therefore landed only the byte-identical new core files and left integration wiring to a small current-main patch.
Acceptance criteria
Purpose
Capture the residual integration wiring from #30 after the safe core AgentRegistryGrant resolver payload was replayed and merged through #50.
#50 landed:
src/agent_machine/agent_registry.pyscripts/resolve-agent-registry-grant.pyscripts/validate-agent-registry.pydocs/architecture/agent-registry-grant-resolution.mdMerged replacement commit:
a13674a38083584ed764bfb2d469d326ce4f09b3Residual content from #30 still to capture
Makefile wiring
validate-agent-registryto.PHONY.GRANT_DIR := examples.validate-agent-registryinto top-levelvalidate.validate-agent-registrytarget that runs:scripts/validate-agent-registry.pyscripts/resolve-agent-registry-grant.pysmokeregistry resolvesmoke--grant-dir/--grant-idBootstrap CLI
agent-machine registry resolve ...usage text.registrycommand to Python CLI.Python CLI
registry resolvecommand.--grant-dir/--grant-file/--grant-id.Docs / package validation
agent_machine.agent_registryand assert its default issued-at constant.Why this was not landed in #50
The original branch was 15 commits behind current
main. Carrying stale blobs forMakefile,bin/agent-machine,docs/index.md,scripts/validate-package.py, andsrc/agent_machine/cli.pywould have overwritten newer mainline RuntimeInstallReceipt and WorkspaceOperationContract work. #50 therefore landed only the byte-identical new core files and left integration wiring to a small current-main patch.Acceptance criteria
registry resolvethrough Python CLI and bootstrap CLI.activate evaluatecan resolve grant input from local grant files/directories.Makefilehas and runsvalidate-agent-registryin top-levelmake validate.docs/index.mdlinks the grant-resolution architecture doc.agent_machine.agent_registry.make validatepasses.