[P1-07] Make interstitial execution objects first-class and render them in the TUI #30

Closed
opened 2026-08-28 20:54:38 +01:00 by conductor · 3 comments
Owner

Plain summary

Task, model, tool, and memory events become first-class runtime objects (CognitiveJob, ToolAction, ToolResult, Observation, Outcome, ...) rendered in a work pane — not hidden text in the transcript.

Example

Every tool execution maps to a visible event ID; task continuity never relies on reconstructing chat text.

Technical details

Parent epic: #16

Manifest ID: P1-07

Priority: P1
Goal: task/model/tool/memory events exist as runtime objects, not hidden text.

Create:

  • CognitiveJob;
  • ToolAction;
  • ToolResult;
  • MemoryQuery;
  • Observation;
  • VerificationResult;
  • Outcome;
  • UserResponse.

TUI requirement:

  • work pane renders observable plan/action/result state;
  • chat pane remains conversation;
  • do not expose hidden raw chain of thought.

Acceptance criteria:

  • every tool execution maps to a visible event ID;
  • task continuity does not rely on reconstructing chat text;
  • one Rune, shared state, different panes/authority.

Dependencies: P0-02, P0-05.


Resolved dependency references

  • Depends on: #18 (P0-02), #21 (P0-05)
  • Blocks: #31 (P1-08), #49 (P3-06)

Relevant source files

Not specified in the handoff. P0-01 must identify authoritative paths before implementation; do not guess by adding another path.

Do not do

  • Do not begin this issue before its dependencies are complete.
  • Do not create a parallel authority path; replace, extend, or remain dormant.
  • Do not add unrelated cognitive subsystems or additive feature growth.
  • Do not treat module/schema existence, background activity, or model self-report as acceptance evidence.

Source directive

Preserved from /home/nick/Desktop/rune_v1_course_correction_handoff.md, Section 14. The handoff is authoritative if this issue summary is ambiguous.

Pipeline requirements

  • TDD: frozen/regression tests written first, red → green
  • ruff check and ruff format --check clean
  • Spec-compliance review gate: PASS
  • Code-quality review gate: Approved
  • Full orchestration suite regression green
  • Canary passes (where applicable)
  • Closed with a properly formatted closing comment + commit/PR references
## Plain summary Task, model, tool, and memory events become first-class runtime objects (CognitiveJob, ToolAction, ToolResult, Observation, Outcome, ...) rendered in a work pane — not hidden text in the transcript. ## Example Every tool execution maps to a visible event ID; task continuity never relies on reconstructing chat text. ## Technical details Parent epic: #16 Manifest ID: **P1-07** **Priority:** P1 **Goal:** task/model/tool/memory events exist as runtime objects, not hidden text. Create: - CognitiveJob; - ToolAction; - ToolResult; - MemoryQuery; - Observation; - VerificationResult; - Outcome; - UserResponse. **TUI requirement:** - work pane renders observable plan/action/result state; - chat pane remains conversation; - do not expose hidden raw chain of thought. **Acceptance criteria:** - every tool execution maps to a visible event ID; - task continuity does not rely on reconstructing chat text; - one Rune, shared state, different panes/authority. **Dependencies:** P0-02, P0-05. --- ## Resolved dependency references - Depends on: #18 (P0-02), #21 (P0-05) - Blocks: #31 (P1-08), #49 (P3-06) ## Relevant source files Not specified in the handoff. P0-01 must identify authoritative paths before implementation; do not guess by adding another path. ## Do not do - Do not begin this issue before its dependencies are complete. - Do not create a parallel authority path; replace, extend, or remain dormant. - Do not add unrelated cognitive subsystems or additive feature growth. - Do not treat module/schema existence, background activity, or model self-report as acceptance evidence. ## Source directive Preserved from `/home/nick/Desktop/rune_v1_course_correction_handoff.md`, Section 14. The handoff is authoritative if this issue summary is ambiguous. ## Pipeline requirements - [ ] TDD: frozen/regression tests written first, red → green - [ ] `ruff check` and `ruff format --check` clean - [ ] Spec-compliance review gate: PASS - [ ] Code-quality review gate: Approved - [ ] Full orchestration suite regression green - [ ] Canary passes (where applicable) - [ ] Closed with a properly formatted closing comment + commit/PR references
conductor added the P1 — highv1-course-correction labels 2026-08-28 20:54:38 +01:00
gitea-actions Bot added the featuregrowthinfrastructurememory labels 2026-08-28 20:55:16 +01:00
gitea-actions Bot added the custodian label 2026-09-03 22:54:03 +01:00
gitea-actions Bot added the ready label 2026-09-05 18:53:27 +01:00

🎓 NEXT: #30 — [P1-07] Make interstitial execution objects first-class and render them in the TUI — dependencies satisfied (scheduled sweep); Rune may start.

🎓 **NEXT: #30 — [P1-07] Make interstitial execution objects first-class and render them in the TUI** — dependencies satisfied (scheduled sweep); Rune may start.
Author
Owner

Plan landed

Plan committed on branch p1-07-work-pane: work pane (third column, Ctrl+3 toggle) + the full typed object set (MemoryQuery, Observation, VerificationResult, Outcome — additive to the existing ToolRequest/ToolEvent) + operator emission points + 9 frozen tests. Tool widgets stay in the chat log (narrative view); the work pane is the operational index. No chain-of-thought anywhere. Outcome shape designed to feed #33's OutcomeLedger directly.

Implementation dispatching now.

## Plan landed Plan committed on branch `p1-07-work-pane`: work pane (third column, Ctrl+3 toggle) + the full typed object set (MemoryQuery, Observation, VerificationResult, Outcome — additive to the existing ToolRequest/ToolEvent) + operator emission points + 9 frozen tests. Tool widgets stay in the chat log (narrative view); the work pane is the operational index. No chain-of-thought anywhere. Outcome shape designed to feed #33's OutcomeLedger directly. Implementation dispatching now.
Author
Owner

Completed - PR #180 merged (master 451fbf5)

Delivered (P1-07): five typed first-class runtime objects (MemoryQuery, Observation, VerificationResult, Outcome + envelope) with round-trips; operator emission points for broker memory queries, verification results, task outcomes (incl. failed + approval-resumed turns), degraded subsystems, compaction; WorkPane as third collapsible column (Ctrl+3, active-channel scoped, bounded at 120 entries, newest-first by event id); docs/runtime-objects.md; authority-map entries; canary registered same-commit.

Governed pipeline evidence:

  • TDD red-green: 9 frozen tests + 3 quality-discharge tests; suite 526 passed + 84 subtests (baseline 513), zero regressions
  • Independent spec gate: PASS (3 minors, non-blocking); independent quality gate: Approved with all 3 Importants discharged red-first (2ac2c5e: I-1 straight-read verification link, I-2 approval-resume emission via shared _attach_runtime_objects, I-3 pane cap + channel scoping)
  • CI on rune-ci-desktop (desktop runner): all 8 jobs success; protected check 'CI Pipeline / required-checks (pull_request)' success on head 3ce4cde
  • One genuine CI defect found and fixed in-flight: tui_validator CSS allowlist lacked per-side border/outline properties (valid Textual 8.x, verified against the engine) - 66e31c6
  • henxels exit 0; ruff check+format clean; plan deviations D1-D4 recorded in plan tail

Verification for Nick: open the TUI on the task channel - tool calls, memory queries, observations, verification and outcomes render live in the work pane; Ctrl+3 toggles it; the chat channel log is unchanged. Branch p1-07-work-pane deleted post-merge per house rules.

## Completed - PR #180 merged (master 451fbf5) **Delivered (P1-07):** five typed first-class runtime objects (MemoryQuery, Observation, VerificationResult, Outcome + envelope) with round-trips; operator emission points for broker memory queries, verification results, task outcomes (incl. failed + approval-resumed turns), degraded subsystems, compaction; WorkPane as third collapsible column (Ctrl+3, active-channel scoped, bounded at 120 entries, newest-first by event id); docs/runtime-objects.md; authority-map entries; canary registered same-commit. **Governed pipeline evidence:** - TDD red-green: 9 frozen tests + 3 quality-discharge tests; suite 526 passed + 84 subtests (baseline 513), zero regressions - Independent spec gate: PASS (3 minors, non-blocking); independent quality gate: Approved with all 3 Importants discharged red-first (2ac2c5e: I-1 straight-read verification link, I-2 approval-resume emission via shared _attach_runtime_objects, I-3 pane cap + channel scoping) - CI on rune-ci-desktop (desktop runner): all 8 jobs success; protected check 'CI Pipeline / required-checks (pull_request)' success on head 3ce4cde - One genuine CI defect found and fixed in-flight: tui_validator CSS allowlist lacked per-side border/outline properties (valid Textual 8.x, verified against the engine) - 66e31c6 - henxels exit 0; ruff check+format clean; plan deviations D1-D4 recorded in plan tail **Verification for Nick:** open the TUI on the task channel - tool calls, memory queries, observations, verification and outcomes render live in the work pane; Ctrl+3 toggles it; the chat channel log is unchanged. Branch p1-07-work-pane deleted post-merge per house rules.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: conductor/rune#30