Skip to content

integ: land the genuine agent-term backlog (compare-and-integrate)#90

Merged
mdheller merged 2 commits into
mainfrom
integ/agent-term-backlog-batch-1
Jul 19, 2026
Merged

integ: land the genuine agent-term backlog (compare-and-integrate)#90
mdheller merged 2 commits into
mainfrom
integ/agent-term-backlog-batch-1

Conversation

@mdheller

Copy link
Copy Markdown
Contributor

Compare-and-integrate triage of the agent-term branch backlog.

Integrated

Cherry-picked cleanly from feat/state-integrity-graph-reasoning-stubs commit 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

  • pytest: 164 passed, 24 failed — the 24 failures are pre-existing on 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 to backup/* and deleted as captured. See BRANCH_TRIAGE.tsv.

mdheller and others added 2 commits July 18, 2026 23:24
…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
mdheller force-pushed the integ/agent-term-backlog-batch-1 branch from 8c1da6e to 3986ac4 Compare July 19, 2026 03:25
@mdheller
mdheller merged commit 7fed08f into main Jul 19, 2026
1 check passed
@mdheller
mdheller deleted the integ/agent-term-backlog-batch-1 branch July 19, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Textual TUI for Matrix rooms, threads, agents, approvals, workrooms, context, graphs, and evidence

1 participant