Skip to content

docs: record the four new make targets and the composed-gate convention - #859

Merged
lmorchard merged 1 commit into
mainfrom
docs/gate-conventions
Sep 16, 2026
Merged

lmorchard merged 1 commit into
mainfrom
docs/gate-conventions

Conversation

@lmorchard

Copy link
Copy Markdown
Owner

Doc currency for the #852#858 run. AGENTS.md is a symlink to CLAUDE.md
(since #852), so Codex picks these up automatically.

Running

Adds the four targets this session introduced, which the list was missing:
check-tui, test-tui, prune-worktrees, prune-worktrees-dry.

Corrects two existing lines in the same block:

  • make check — now composed from lint + typecheck + check-js, not its own
    copy of those commands (fix(#856): gate scripts/ and contrib/ with ruff, scripts/ with pyright #858).
  • make lint — was described as "Compile-check"; it is ruff check over
    src/ tests/ scripts/ contrib/. This was already wrong before this session,
    fixed here only because it sits in the very list being corrected for accuracy.

Workflow

One new convention, for the defect that showed up four times in one session:
a gate that exists in the Makefile, is described as live, and runs nowhere.

Each was invisible because everything around it was green, and each was hiding
something real — a silently no-opping TUI dispatcher, and a script that
clobbered the live embedding index and then crashed.

The convention: compose targets instead of duplicating their commands, confirm
CI invokes the target and read the job log to see the commands actually run,
and probe every new gate for teeth with a deliberate fault in a throwaway file.
It also records that pyright exits 0 when it reports only warnings — so
adding a path to pyrightconfig.json makes it report without failing.

Docs only; no code paths touched.

Copilot AI lite review requested due to automatic review settings September 16, 2026 17:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The documented check target is incomplete and should list all five components.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Updates CLAUDE.md with new Make targets, corrected command descriptions, and gate-composition guidance.

Changes:

  • Documents TUI and worktree-pruning targets.
  • Corrects lint and check descriptions.
  • Adds workflow guidance for verifying CI gates.
File summaries
File Summary
CLAUDE.md Documentation updated; the check description should also include install-js and check-message-types.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread CLAUDE.md Outdated
Doc currency for #852-#858. AGENTS.md is a symlink to this file, so Codex picks
these up automatically.

- Running: adds check-tui, test-tui, prune-worktrees{,-dry}; corrects 'make
  check' (composed from install-js, check-message-types, lint, typecheck and
  check-js) and 'make lint' (described as 'Compile-check'; it is ruff over four
  directories, and was inaccurate before this session too — fixed because it
  sits in the same list being corrected for accuracy).
- Workflow: a new convention for the defect that recurred four times in one
  session — a gate that exists in the Makefile and still runs nowhere. Compose
  targets rather than duplicating their commands, confirm CI invokes the target
  and read the job log, and probe every gate for teeth. Notes that pyright
  exits 0 when it reports only warnings, which makes a pyrightconfig.json
  addition report without failing.

Both composition lists are checked against Makefile:105 programmatically, not
by eye — an earlier draft listed only three of the five prerequisites.
Copilot AI review requested due to automatic review settings September 16, 2026 17:56
@lmorchard
lmorchard force-pushed the docs/gate-conventions branch from a4342b4 to b963a42 Compare September 16, 2026 17:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

Documentation-only changes have no unresolved review issues.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@lmorchard
lmorchard merged commit 41811db into main Sep 16, 2026
4 checks passed
@lmorchard
lmorchard deleted the docs/gate-conventions branch September 16, 2026 18:04
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