integ: land the genuine agent-term backlog (compare-and-integrate)#90
Merged
Conversation
…dapter (closes #9, #18) - tui.py: Textual App with sidebar pane selector (all 14 PANE_ORDER panes), event log, approval affordance bar for side-effecting commands, and governed /agent-machine command input. Wired as `agent-term tui` CLI entry point. Import-guarded — graceful error without textual installed. - agent_machine_adapter.py: Agent Machine workspace adapter with 6 ChatOps commands (doctor/init/attach/run/fingerprint/evidence), all producing governed AgentTermEvents. Resolves participants through Agent Registry before dispatch. Non-human agent kinds (codex/claude-code/hermes/openclaw/local-shell/github-bot) get governed=true. Includes EXAMPLE_LIFECYCLE_TRACE fixture covering the full init→attach→run→evidence lifecycle. - cli.py: wire `tui` subcommand; add /agent-machine* to interactive shell with all 6 commands. 164 tests passing (24 pre-existing failures unchanged). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- alias agent_machine_adapter imports (cmd_init collided with existing cli.cmd_init - real runtime bug on /agent-machine init) - drop unused AdapterResult import and json_mode assignment - rename ambiguous 'l' loop vars in graph_binding - de-f-string usage message
mdheller
force-pushed
the
integ/agent-term-backlog-batch-1
branch
from
July 19, 2026 03:25
8c1da6e to
3986ac4
Compare
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.
Compare-and-integrate triage of the agent-term branch backlog.
Integrated
src/agent_term/tui.py, new) +agent-term tuiCLI entry point — closes Implement Textual TUI for Matrix rooms, threads, agents, approvals, workrooms, context, graphs, and evidence #9, Integrate AgentTerm with SourceOS Agent Machine workspaces #18.src/agent_term/agent_machine_adapter.py, new) — 6 governed ChatOps commands (doctor/init/attach/run/fingerprint/evidence), resolves participants via Agent Registry, non-human kinds governed=true.cli.py: wiretuisubcommand +/agent-machine*shell commands (+51 lines).Cherry-picked cleanly from
feat/state-integrity-graph-reasoning-stubscommit 427745d. The other commit on that branch (state-integrity/graph/reasoning-run/ops-history CLI) was already captured by #89 and is byte-identical on main — not re-landed.Verification
origin/main(identical baseline), unaffected by this change. New modules import cleanly (test_cli collects+passes).Triage of the rest
All 41 other remote branches are
ahead=0(fully merged into main). Backed up tobackup/*and deleted as captured. See BRANCH_TRIAGE.tsv.