harness / harness/cli

Explore browser-like navigation for --ui: back history and shareable links

Open
#183 1 comment 0 reactions 1 assignee View on GitHub

@BlueLabelscotch is already working on this.

Since Sep 2, 2026.

code
Dominant language
Go
Stars
22
Forks
10
Avg merge
14h 28m
Merged PRs (30d)
54

Description

Idea

Make --ui feel a bit more like a browser: add "back" history and a way to jump to a saved view via a link (command = path, flags = query params).

Current state

  • Drilldown and cross-command linking already exist (ui_commands YAML, uiLinkTarget).
  • No concept of a "link" today; the closest thing is the shell command itself.

Proposal

  • Back: turn the implicit one-level back into an explicit []uiLinkTarget history stack — enables multi-level back, forward, and cycle detection. Scope inheritance/reversion falls out for free since each hop already builds a child Ctx.
  • Links: the CLI command itself is basically already a "link." Main gaps: views don't currently track the flags/scope that produced them (needed to regenerate the command), links won't portable across different environments/clusters, and renamed flags/verbs could break saved links over time.

Requirements (keep updating with ideas)

  • LisPos: stick the #listpos=x, to remember the cursor position in the last click.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.