Gortex status entry and /gortex command

Open
#54 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start by reading the existing Pi extension code for first-turn warnings and the Claude runtime probe at internal/agents/claudecode/inspect.go; compare that with cmd/gortex/doctor_runtime.go lines 154–219. Investigate which settings can change during a session, including MCP re-registration for preset changes, and how status can be computed cheaply. Done means Pi exposes the requested status and /gortex controls, and gortex doctor probes the Pi runtime.

Written by the indexing model from the issue text.

Description

enhancement
Feature

Show Gortex state in Pi and let the user control it without editing config.

Claude shows hook status lines and gortex doctor probes the Claude runtime (internal/agents/claudecode/inspect.go; cmd/gortex/doctor_runtime.go L154-219 has no Pi probe). Pi shows nothing beyond first-turn warnings.

Sketch
  • A ctx.ui.setStatus("gortex", ...) entry: connection state, daemon version, hook mode, enforcement, block count.
  • A /gortex command: status, reconnect without /reload, switch hook mode or tools preset, toggle enforcement.
  • Gortex: a Pi runtime probe for gortex doctor.
To investigate

Which settings can change mid-session (re-registering the MCP server for a preset change) and how to keep the status cheap to compute.

Dominant language
TypeScript
Stars
2
Forks
1
Avg merge
10h 45m
Merged PRs (30d)
20

Getting set up

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.

More from gortexhq/pi

All issues in gortexhq/pi

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.