feat(agent-term): state-integrity ChatOps, graph binding, reasoning-run, ops-history CLI#89
Merged
Conversation
…un, ops-history CLI (closes #33, #36, #37, #38) - state_integrity.py: StateIntegrityStatus + ConflictQueue + RepairApproval with sourceos-syncd probe; `agent-term state-integrity status [--json]` and `state-integrity conflicts [--json]` - graph_binding.py: AgentRegistryEntry + CapabilityLease + PolicyFabricDecision + GraphSnapshot stubs; `agent-term graph status|agents|leases [--json]` — governed query surface, no bypass of Agent Registry - reasoning_run.py: ReasoningRunTrace + ReasoningStep + ReasoningRunIndex stubs; `agent-term reasoning-run list|show [--json]` — Superconscious trace operator console - cli.py: wire all four new subcommands; fix ops-history policy to use --profile flag + add context-pack subcommand — all 6 ops_history tests now pass (164 total passing, 24 pre-existing failures) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Jul 18, 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.
Summary
agent-term state-integrity status [--json]+conflicts [--json]. Probes sourceos-syncd if available, stubs otherwise. Typed: StateIntegrityStatus, ConflictQueue, RepairApproval.agent-term graph status|agents|leases [--json]. Governed query surface — Agent Registry, Policy Fabric, capability leases — no bypass. Stubs until live services are reachable.agent-term reasoning-run list|show [--json]. Typed: ReasoningRunTrace, ReasoningStep, ReasoningRunIndex. Stubs until evidence store is live.ops-history policyto use--profileflag + addscontext-packsubcommand matching existing test expectations.Test results
164 passing (up from 162), 24 pre-existing failures unchanged. All 6
test_ops_history.pytests now pass.Closes
Note: #9 (Textual TUI) and #18 (Agent Machine workspace) depend on upstream services and are tracked separately.
🤖 Generated with Claude Code