Skip to content

Add color to command center - #92

Closed
Sahag117 wants to merge 1 commit into
kunchenguid:mainfrom
Sahag117:fm/command-center-color-b8
Closed

Sahag117 wants to merge 1 commit into
kunchenguid:mainfrom
Sahag117:fm/command-center-color-b8

Conversation

@Sahag117

Copy link
Copy Markdown

Summary:

  • add ANSI color to the command center dashboard for headers, dividers, task ids, labels, and pane/session states
  • keep redirected output plain by default, with FORCE_COLOR/CLICOLOR_FORCE opt-in and NO_COLOR opt-out
  • add focused shell coverage for the color behavior

Verification:

  • bash -n bin/fm-command-center.sh
  • bash -n tests/fm-command-center-color.test.sh
  • bash tests/fm-command-center-color.test.sh
  • for test_script in tests/*.test.sh; do "$test_script"; done

Not run:

  • shellcheck bin/fm-command-center.sh tests/fm-command-center-color.test.sh (shellcheck is not installed in this environment)

@Sahag117 Sahag117 closed this Jun 26, 2026
@Sahag117
Sahag117 deleted the fm/command-center-color-b8 branch June 26, 2026 05:34

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b23b2aed9d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread bin/fm-command-center.sh
Comment on lines +197 to +198
tmux new-session -d -s "$SESSION" -n "$DASHBOARD_WINDOW" \
"$SCRIPT_PATH" __dashboard_loop

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve the selected home for dashboard panes

Captain, when this is invoked for a non-default firstmate home or with FM_STATE_OVERRIDE, the dashboard process created by tmux re-runs the script from tmux's session/global environment rather than this shell's resolved FM_HOME/override values; tmux only carries variables in update-environment or those passed with -e VARIABLE=value. In an existing tmux server those firstmate-specific variables are typically absent, so the command center falls back to the repo root and shows/links the wrong task state. Please pass the resolved home/override environment into the new-session/new-window/respawn-pane dashboard commands (and the split path).

Useful? React with 👍 / 👎.

@rtkzoop

rtkzoop commented Sep 24, 2026

Copy link
Copy Markdown

Live proof still open: the Langfuse metrics query grouped by environment and release, and the tokens-by-harness widget, need this change deployed to the fleet's gateway and observer after merge. A worker-run read-back of that query also depends on the sibling gateway read-back item (I-1), which is not on main yet, so this PR proves the dimensions offline and through the real gateway process to a synthetic HTTPS destination. CI jobs did not start because of a GitHub Actions billing refusal on the account, not a code failure; CI must be rerun once billing is restored.

fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 2, 2026
…unchenguid#92)

Surface 1 (CONTRIBUTING upstream pointer): fixed. Step 1 of the workflow
still told contributors to set origin to the pre-fork
git@github.com:kunchenguid/firstmate.git. It now targets
git@github.com:Amplify-Logic/firstmate.git and credits kunchenguid/firstmate
explicitly as the upstream this fork descends from, matching
fork-surface.conf's upstream_remote declaration.

Surface 2 (validation-pipeline fork target): already correct, no change.
The only tracked no-mistakes configuration is .no-mistakes.yaml, which
carries no push or PR target; the pipeline's push target lives in
gitignored local state. git grep over tracked files finds no
pipeline-target reference to the pre-fork repository.

Surface 3 (PR compliance marker): already correct, no change. The marker in
.github/workflows/no-mistakes-required.yml references the no-mistakes tool
project (kunchenguid/no-mistakes), not the pre-fork firstmate repository,
and is byte-identical to the signature the installed pipeline writes into
this fork's PR bodies (verified against merged PR kunchenguid#91's body). Changing it
would break the compliance check, and tests/no-mistakes-required-workflow.test.sh
asserts the marker contract.

Remaining tracked kunchenguid/firstmate references are deliberate: the new
upstream-credit line in CONTRIBUTING.md, fork-surface.conf's upstream_remote
declaration, an upstream-recorded verification transcript in
docs/gitlab-merge-watch.md, and synthetic test-fixture URLs.
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.

2 participants