feat(workflows): add an explore-panopticon shell workflow#322
Open
tildesrc wants to merge 3 commits into
Open
Conversation
A new `runner_type = "shell"` workflow (no container) that clones panopticon into a self-cleaning temp dir and opens an interactive `claude` in it, framed as a read-only guide to help the operator understand and navigate the codebase. The clone is pinned to the version the operator is running: it clones the public remote and checks out the `v<version>` tag (falling back to the default branch when there's no matching tag). A `mktemp -d` dir removed by an EXIT trap gives the "automatically cleaned up" temporary directory; on quitting `claude` the script advances the task to COMPLETE via the panopticon shell lib. Like `setup-repo`, it's hidden from the pickers and launched from the repos modal — a new `p` hotkey creates the task on the highlighted repo (which only supplies the host shell's `claude` credentials; the clone is always panopticon). Stays LLM-free control plane: the only LLM call is the operator's own interactive `claude`, spawned by the host shell. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…task Adds a direct top-level launch for the guided-tour workflow alongside the repos modal's `p`: `e` picks a repo (skipping the picker when there's only one) and creates an explore-panopticon task on it. The repo only supplies the task and the host shell's `claude` credentials; the clone is always panopticon. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
… shortcut The spawn hotkey is only a testing convenience, not a user-facing feature, so consolidate the earlier top-level `e` and repos-modal `p` launches into a single low-profile `E` binding on the workflow picker. Pressed there, it spawns the hidden explore-panopticon workflow on the repo already chosen for the new task, without it needing to be a menu entry. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
explore-panopticon, arunner_type = "shell"workflow (no container) that opens a throwaway clone of panopticon plus an interactiveclaudeto help the operator understand and navigate the codebase.What it does
mktemp -d+ an EXIT trap thatrm -rfs it), so nothing is left behind however the session ends.v<version>tag (resolved frompanopticon.__version__), falling back to the default branch when there's no matching tag.claudein the clone with an appended system prompt framing it as a read-only guide — pointed atAGENTS.md,docs/design/, and the module map — to answer the operator's questions. No changes, no MCP wiring.claude, the temp clone is removed and the task advances toCOMPLETEvia the panopticon shell lib.How it's launched
Like
setup-repo, it's hidden from both pickers and launched from the repos modal — a newphotkey creates the task on the highlighted repo. The repo only supplies the task'srepo_idand the host shell'sclaudecredentials (its env-file); the clone is always panopticon.Notes
setup-reposhell-workflow structure (.py+ sibling.shshipped in the wheel,ShellRunner,task_lib.sh).claude, spawned by the host shell — the determinism invariant holds.🤖 Generated with Claude Code