Skip to content

πŸ—οΈ Define interactive terminal grid architecture (#717) - #734

Open
taras wants to merge 1 commit into
mainfrom
architect/717-terminal-grid-contract
Open

πŸ—οΈ Define interactive terminal grid architecture (#717)#734
taras wants to merge 1 commit into
mainfrom
architect/717-terminal-grid-contract

Conversation

@taras

@taras taras commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Why

Quest #717 needs one accepted contract for terminal-grid syntax, concurrent pane
execution, native Agent sessions, provider replacement, foreground attachment,
and complete teardown before its implementation Stories can compose safely.

What changes

Before:

The repository had proof evidence for persistent tmux pane workers, but no
product contract assigning the provider-neutral structure, lifecycle,
durability, host responsibilities, or acceptance evidence.

After:

The architecture and specifications define <Terminal.Grid> and <Terminal>,
the replaceable terminal authority, concurrent pane scopes, atomic startup,
foreground attachment, replay behavior, native session ownership, and the
teardown boundary every provider must satisfy.

How it works

authored grid β†’ provider-neutral layout β†’ concurrent pane leases β†’ host provider
             β†’ foreground view β†’ complete teardown β†’ document continuation

The contract separates core structure and lifecycle from runtime-specific host
assembly. The tmux topology proven by #726 and PR #727 is recorded as evidence,
not installed as product implementation.

Review guide

Start with: architecture.md Β§ Interactive terminal grids

Then review:

  1. specs/executable-mdx-spec.md Β§6.21 and Tier TG
  2. specs/native-agent-session-launch-spec.md pane-scoped launch ownership
  3. The four Story boundaries and dependency order recorded in Quest: Add interactive terminal grids to executable documentsΒ #717

Look carefully at:

  • Atomic startup and foreground ownership
  • Independent pane settlement
  • Durable replay and terminal-session ownership
  • The teardown proof required before document continuation

What must stay true

How to verify it

Scope

Included

  • Terminal-grid product and architecture contract
  • Executable MDX grammar, lifecycle, durability, host profiles, and evidence map
  • Native Agent session behavior inside terminal panes

Intentionally unchanged

  • No parser, runtime, provider, native launcher, or tmux implementation
  • No new proof-of-concept or terminal-holder latency threshold

Risks and limitations

Scope confirmation

  • Every changed file supports the purpose described above.
  • Unrelated cleanup and formatting changes are excluded.
  • Generated or mechanical changes are clearly identified.
  • The description matches the final diff and verification.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

PR #734: πŸ—οΈ Define interactive terminal grid architecture (#717)

3 files, +777 / -34

Scope

πŸ”΄ PR has 811 lines changed. Split into focused PRs.

🟑 811 lines changed. PRs under 400 receive more thorough review.

Structural

βœ… No structural bloat detected.

Slop

βœ… Slop indicators look low.

Static Analysis

βœ… Oxlint found no issues.

Correctness

No extraneous code patterns detected.

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.

Test persistent tmux pane workers for <Terminal.Grid>

1 participant