Skip to content

docs(roadmap): complete Phase 2.6 plan — 14 workstreams, first-class CLI, child-session orchestration#71

Merged
cemililik merged 2 commits into
mainfrom
development
Jul 8, 2026
Merged

docs(roadmap): complete Phase 2.6 plan — 14 workstreams, first-class CLI, child-session orchestration#71
cemililik merged 2 commits into
mainfrom
development

Conversation

@cemililik

@cemililik cemililik commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Completes the Phase 2.6 roadmap with 14 workstreams (2.6.A–N) across 6 milestones, defining the CLI as a first-class, Home-centric product.

Phase 2.6 Plan (1007-line doc)

Area Workstreams Key deliverables
Authoring spine 2.6.A/B/D @relavium/authoring package, conversational YAML authoring, {{ctx.*}} interpolation
Full-screen foundation 2.6.F Node 22 floor, alternate-screen renderer, branded Home banner, TUI harness
Home management 2.6.G/H/I/J/K Browsers + drill-down, attributed run history, provider/MCP management, onboarding v2, run-ops resume
Experience 2.6.E/L/M Syntax highlighting (ink-syntax-highlight), 5 locales (en/es/tr/fr/de), themes, toolbelt expansion
Orchestration 2.6.N Child-session spawn, parallel sub-agents, workflow-in-workflow, on-the-fly agent generation

Also included

  • Phase 7 draft — Relavium Hub agent/workflow marketplace
  • Updated phase index with new descriptions

Conformance checklist

  • No new runtime dependency declared (Phase 2.6 only; Phase 7 is future draft)
  • ADRs are planned (12 total), none pre-committed
  • --json/CI/non-TTY contract (ADR-0049) preserved throughout
  • Security posture unchanged: OS-keychain, fail-closed approval, YAML-only artifacts

Summary by Sourcery

Update the Phase 2.6 roadmap to fully define the first-class, Home-centric CLI and introduce agent orchestration as the phase-closing milestone, while adding a draft Phase 7 Hub/marketplace plan to the roadmap.

Documentation:

  • Expand the Phase 2.6 conversational-authoring roadmap doc with child-session orchestration, nested workflows, syntax highlighting, expanded localization, branded Home UX, and additional ADRs and risks.
  • Update the roadmap phase index to reflect Phase 2.6 as the phase that completes the terminal CLI product and add Phase 7 as a draft Hub/marketplace phase.
  • Introduce a new Phase 7 roadmap document outlining the Relavium Hub agent/workflow marketplace, including goals, scope, milestones, and dependencies.

Summary by CodeRabbit

  • Documentation
    • Updated the roadmap to expand Phase 2.6 with a full-screen Home-managed CLI, enhanced browsing/management experiences, broader settings and localization, and expanded agent/workflow orchestration.
    • Revised Phase 2.6 focus and acceptance criteria, including clearer milestone sequencing.
    • Added a new Phase 7 draft for a Hub marketplace, covering authenticated browsing, publishing, installation, curated starter packs, and private registries.
    • Refined milestones, scope, and risk/mitigation expectations across the updated phases.

…CLI, child-session orchestration

- Expand Phase 2.6 to 14 workstreams (2.6.A–N) across 6 milestones:
  conversational authoring, full-screen Home, management browsers,
  drillable run history, competitor-breadth toolbelt, child-session
  spawn + nested workflows + standardized I/O, settings/theming,
  5-locale i18n, onboarding v2, run-ops resume follow-up
- Add 2.6.N: child-session spawn, parallel sub-agents, workflow-in-
  workflow (subworkflow node), on-the-fly agent generation, auto-
  cleaned artifacts in ~/.relavium/artifacts/
- Add Home UX: ASCII mockup, browser navigation + loading states,
  bookmarking, permission management via /permissions, detached-run
  notification, cheat sheet overlay, transcript search
- Add syntax highlighting (ink-syntax-highlight), 5 locales
  (en/es/tr/fr/de), branded Home banner, ask_user turn-pause model
- Add Phase 7 draft: Relavium Hub agent/workflow marketplace
- Update phase index with new descriptions and Phase 7 entry
@sourcery-ai

sourcery-ai Bot commented Jul 8, 2026

Copy link
Copy Markdown

Reviewer's Guide

Expands and finalizes the Phase 2.6 roadmap doc to include child-session orchestration (workstream 2.6.N), richer TUI/UX details, syntax highlighting, expanded localization, permission management, and clarifies sequencing/dependencies, plus adds a new Phase 7 Hub/marketplace draft and updates the phase index.

Sequence diagram for chat agent child-session orchestration (2.6.N)

sequenceDiagram
    actor User
    participant ChatSession as ChatSession
    participant Engine as Engine
    participant ChildAgent as ChildAgentSession
    participant ChildWorkflow as WorkflowRun

    User ->> ChatSession: chat
    ChatSession ->> Engine: invoke_agent
    Engine ->> ChildAgent: chat
    ChildAgent -->> Engine: AgentIO
    Engine -->> ChatSession: AgentIO

    User ->> ChatSession: /spawn
    ChatSession ->> Engine: invoke_agent
    Engine ->> ChildAgent: chat
    ChildAgent -->> Engine: AgentIO
    Engine -->> ChatSession: AgentIO

    User ->> ChatSession: chat
    ChatSession ->> Engine: invoke_workflow
    Engine ->> ChildWorkflow: subworkflow
    ChildWorkflow -->> Engine: AgentIO
    Engine -->> ChatSession: AgentIO
Loading

File-Level Changes

Change Details Files
Extend Phase 2.6 roadmap to cover agent orchestration, nested workflows, and standardized agent/workflow I/O as a new workstream 2.6.N, and adjust milestones, outcomes, risks, and dependencies accordingly.
  • Add 2.6.N workstream describing child-session spawn, parallel sub-agents, workflow-in-workflow via subworkflow nodes, standardized I/O contracts, artifact lifecycle, and cost/lineage semantics.
  • Move chat sub-agent orchestration from out-of-scope into in-scope for 2.6, with explicit ADR requirement and several analysis gates (error policy, permission inheritance, streaming/visibility of child steps).
  • Update TL;DR, goals, outcomes, success criteria, milestones, sequencing diagram, dependencies, and risk table to include the new orchestration milestone and clarify its reliance on 2.6.A, 2.6.B, and 2.6.H.
docs/roadmap/phases/phase-2.6-conversational-authoring.md
Deepen the UX and implementation specification for the CLI experience: chat polish, TUI foundation, Home browsers, toolbelt behavior, permissions, syntax highlighting, accessibility, and localization.
  • Expand 2.6.E to specify markdown + syntax highlighting via ink-syntax-highlight/highlight.js, transcript search, copy-on-select, improved /help, /rewind and /fork analysis gates, type-ahead queue, history search, $EDITOR compose, and OSC-52 behavior, plus require a new ADR for markdown/highlighting.
  • Enhance 2.6.F with branded Home banner behavior, explicit alt-screen accessibility escape hatch, screen-reader considerations, and extended requirements for resize/degrade behavior and test harness.
  • Detail 2.6.H Home management browsers (workflows, agents, runs) with concrete navigation model, loading/error states, pinning, child-session tree views, detached-run notifications, and alignment with non-interactive commands.
  • Broaden 2.6.M toolbelt spec to cover invoke_agent in chat, ask_user pause/resume semantics, web_search engine-side architecture and credential wiring, permissions management via approvals and /permissions, and research items like curl/wget default grants.
  • Extend 2.6.L i18n/theming to five locales (en/es/tr/fr/de), add pluralization notes, CI key-parity across all locales, and clarify what remains English-only.
docs/roadmap/phases/phase-2.6-conversational-authoring.md
Clarify governance, ADR plan, and risk posture for Phase 2.6, especially around new dependencies, orchestration, security, and performance.
  • Increase ADR count and enumerate new ADRs for toolbelt additions, i18n/theming, syntax-highlighting/markdown architecture, and child-session/nested execution.
  • Tighten statements about preserving ADR-0049 machine-output contract and existing security postures (OS keychain, fail-closed approvals, YAML-only artifacts).
  • Expand risk table with items for added workstream breadth, child-session cascade failures, highlighting bundle size, and reiterate mitigations around rendering-sensitive data and i18n churn.
docs/roadmap/phases/phase-2.6-conversational-authoring.md
Update the roadmap phase index to reflect the broadened scope of Phase 2.6 and add Phase 7.
  • Rewrite the Phase 2.6 description to emphasize the full-screen Home-managed CLI, orchestration, settings/theming/i18n, and run-ops resume as making the CLI a complete terminal product.
  • Add Phase 7 to the index, pointing to the new Hub/marketplace doc with a concise description of its purpose.
docs/roadmap/phases/README.md
Introduce a new Phase 7 roadmap document describing the Relavium Hub agent/workflow marketplace as a future product phase.
  • Define goals, outcomes, and scope for a web-based Hub to discover, install, and publish agents/workflows, including starter packs and private org registries.
  • Specify the relavium hub CLI surface (search/install/publish/update/uninstall) and its alignment with existing YAML schemas and provenance/consent gates.
  • Lay out milestones, dependencies on managed inference and Phase 2.6’s standardized I/O, and risks/mitigations (malicious agents, secret leakage, empty marketplace, scope creep).
docs/roadmap/phases/phase-7-hub-marketplace.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: dc7f1d99-c9d0-46f7-8362-85aa5c9bbde5

📥 Commits

Reviewing files that changed from the base of the PR and between a84372f and b9cf9d0.

📒 Files selected for processing (1)
  • docs/roadmap/phases/phase-2.6-conversational-authoring.md

📝 Walkthrough

Walkthrough

Documentation-only roadmap updates expand Phase 2.6 into a Home-centric CLI plan with broader chat, browser, toolbelt, localization, and nested-workflow scope. The roadmap index is updated, and a new draft Phase 7 Hub marketplace document is added.

Changes

Roadmap Documentation Updates

Layer / File(s) Summary
Roadmap index table updates
docs/roadmap/phases/README.md
Phase 2.6’s row is rewritten and a new draft Phase 7 Hub row is added.
Phase 2.6 intro, goals, and scope rewrite
docs/roadmap/phases/phase-2.6-conversational-authoring.md
The Phase 2.6 intro, TL;DR, goals, outcomes, and out-of-scope section are rewritten for a Home-centric CLI with expanded orchestration and localization scope.
Chat polish and full-screen TUI foundation
docs/roadmap/phases/phase-2.6-conversational-authoring.md
2.6.E expands chat rendering, rewind/fork, copy, help, and search; 2.6.F adds the Home banner and alternate-screen escape hatch.
Management browser UX workstream
docs/roadmap/phases/phase-2.6-conversational-authoring.md
2.6.G expands browser mockups and behavior for navigation, pinning, session drill-down, permissions, liveness, and detached-run notifications.
Toolbelt, localization, and nested execution architecture
docs/roadmap/phases/phase-2.6-conversational-authoring.md
2.6.L and 2.6.M update locale coverage, ask_user, and web_search, and 2.6.N adds the child-session and nested-workflow architecture.
Phase 2.6 milestones, sequencing, exit criteria, ADRs, and risks
docs/roadmap/phases/phase-2.6-conversational-authoring.md
Deferred tasks, milestones, sequencing, exit criteria, ADR tracking, and risks are updated for the expanded phase scope.
New Phase 7 Hub marketplace doc
docs/roadmap/phases/phase-7-hub-marketplace.md
A new roadmap document defines Phase 7 Hub goals, scope, work breakdown, milestones, dependencies, and risks.

Estimated code review effort: 2 (Simple) | ~15 minutes

Possibly related PRs

  • HodeTech/Relavium#59: Both PRs update the Phase 2.6 planning documentation and the roadmap index table.
  • HodeTech/Relavium#70: Both PRs revise the Phase 2.6 roadmap scope and terminology in the same document set.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main roadmap update: completing Phase 2.6 with first-class CLI and child-session orchestration workstreams.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch development

Comment @coderabbitai help to get the list of available commands.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • The Phase 2.6 workstream descriptions now embed a lot of low-level implementation detail (e.g., exact keybindings, specific OSC-52 behaviors, tree-shaken language lists) that would be better moved into the corresponding ADRs or reference specs to keep the roadmap higher-level and reduce future drift between plan and implementation.
  • For the new child-session/invoke_agent/invoke_workflow orchestration, it would help to explicitly call out a maximum nesting depth and concurrency limits in the roadmap (not just as TBD analysis gates) so downstream designs and UX (e.g., error messages, history views) can assume concrete guardrails from the start.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The Phase 2.6 workstream descriptions now embed a lot of low-level implementation detail (e.g., exact keybindings, specific OSC-52 behaviors, tree-shaken language lists) that would be better moved into the corresponding ADRs or reference specs to keep the roadmap higher-level and reduce future drift between plan and implementation.
- For the new child-session/`invoke_agent`/`invoke_workflow` orchestration, it would help to explicitly call out a maximum nesting depth and concurrency limits in the roadmap (not just as TBD analysis gates) so downstream designs and UX (e.g., error messages, history views) can assume concrete guardrails from the start.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@gemini-code-assist

Copy link
Copy Markdown

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
docs/roadmap/phases/phase-2.6-conversational-authoring.md (1)

727-735: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Move the exact AgentIO shape to the canonical reference doc.

This section is defining a concrete API contract inline. Per the docs guideline, roadmap docs should link to the canonical spec under docs/reference/ instead of restating the schema here, or this becomes a second source of truth.

As per coding guidelines: concrete specs should live only in docs/reference/; other docs should link to them rather than restating them.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/roadmap/phases/phase-2.6-conversational-authoring.md` around lines 727 -
735, The roadmap section is restating the concrete AgentIO schema inline,
creating a second source of truth. Remove the exact input/output shape from this
phase doc and replace it with a brief pointer to the canonical reference spec
under docs/reference/; keep only a high-level summary here. Update the
surrounding text that mentions the contract, `@relavium/shared`, invokeAgent, and
workflow inputs/outputs so it clearly references the canonical spec instead of
duplicating the schema.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@docs/roadmap/phases/phase-2.6-conversational-authoring.md`:
- Around line 727-735: The roadmap section is restating the concrete AgentIO
schema inline, creating a second source of truth. Remove the exact input/output
shape from this phase doc and replace it with a brief pointer to the canonical
reference spec under docs/reference/; keep only a high-level summary here.
Update the surrounding text that mentions the contract, `@relavium/shared`,
invokeAgent, and workflow inputs/outputs so it clearly references the canonical
spec instead of duplicating the schema.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d2661a94-8209-4c7d-ab02-b062a4ef8506

📥 Commits

Reviewing files that changed from the base of the PR and between a58f3ae and a84372f.

📒 Files selected for processing (3)
  • docs/roadmap/phases/README.md
  • docs/roadmap/phases/phase-2.6-conversational-authoring.md
  • docs/roadmap/phases/phase-7-hub-marketplace.md

- Remove inline AgentIO schema; replace with pointer to canonical reference spec
- Trim OSC-52 protocol details, tree-shaken language list, exact bundle sizes
- Add hard guardrails: max nesting depth 3 (engine-enforced), max concurrent
  children 5 (configurable ceiling)
- Keep fail_fast semantics as analysis gate (genuinely needs design work)
@cemililik
cemililik merged commit 05e919a into main Jul 8, 2026
9 of 10 checks passed
@sonarqubecloud

sonarqubecloud Bot commented Jul 8, 2026

Copy link
Copy Markdown

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.

1 participant