Skip to content

docs: tj optimize coverage — README + manual test runbooks#63

Merged
anilmurty merged 4 commits into
mainfrom
chore/manual-test-docs-optimize
May 15, 2026
Merged

docs: tj optimize coverage — README + manual test runbooks#63
anilmurty merged 4 commits into
mainfrom
chore/manual-test-docs-optimize

Conversation

@anilmurty
Copy link
Copy Markdown
Contributor

@anilmurty anilmurty commented May 15, 2026

Follow-up to #62. Docs-only updates that surface the new tj optimize and
tj backfill claude-code features so users can find them.

README

  • New top-of-page block leads with the 3-line UX (install → onboard → optimize)
    and a realistic terminal example with both analyzers. Mandatory caveat line
    visible.
  • Claude Code section now leads with the optimize workflow and gets a new
    "tj optimize — what you actually get" subsection covering the two
    analyzers, scoping flags, and the read-only fallback that lets it run
    alongside tj serve.
  • CLI list adds tj optimize and tj backfill claude-code.
  • Comparison table gains "Model-downgrade cost recommendations" — a real
    differentiator vs LangSmith / Langfuse / Datadog.
  • MCP tool count corrected (13 → 14) and get_optimize_report added at the
    top of the tools table with a description that surfaces both phrasings
    the tool fires on (cost-saving questions AND budget-projection questions).

Manual test runbooks

  • tests/manual-pre-release-testing.md: new step 9b walking through the
    empty-DB short-circuit, backfill idempotency (re-runs report "Skipped …
    spans already present"), the analyzer renderer (caveat must appear in
    human output), and a JSON-output assertion that any downgrade finding
    carries the caveat. Quick-test block now exercises tj optimize.
  • tests/manual-new-release-tests.md: new step 11 with a focused smoke
    check for the new commands. Codex and Claude Code integration blocks
    trimmed from ~33 / ~25 lines down to ~14 each — the multi-step cross-sync
    and multi-project coverage already lives in the pre-release file and
    doesn't catch new bugs when repeated post-release.

Net across both test docs: +57 / −49.

🤖 Generated with Claude Code

anilmurty and others added 2 commits May 15, 2026 09:20
…dex/CC sections

- pre-release: add step 9b walking through the empty-DB short-circuit,
  backfill idempotency, the analyzer renderer, and JSON caveat enforcement.
- release: add step 11 with a focused smoke check for the new commands and
  point the Codex + Claude Code integration blocks at the pre-release file
  instead of duplicating ~50 lines of multi-project / cross-sync coverage
  (these are exercised before release; re-doing them after release adds
  noise without catching new bugs).

Net: +17 lines from new coverage, –24 from removed duplication; coverage
of the new feature is now present in both docs at the appropriate depth.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- New top-of-page block leads with the killer 3-line UX: install,
  onboard --claude-code (auto-backfills history), tj optimize. Shows
  a realistic terminal example with both analyzers — model-downgrade
  candidates carrying the mandatory caveat line, and a budget
  projection with exhaustion date.
- Quick-start section now references `tj optimize` after `tj onboard
  --claude-code` so the demo path is visible.
- New "tj optimize — what you actually get" subsection under Claude
  Code with the two analyzer descriptions, scoping flags, and a note
  that it works alongside a running tj serve via a read-only fallback.
- CLI list grew by tj optimize and tj backfill claude-code.
- Comparison table gained "Model-downgrade cost recommendations" row.
- MCP tool count corrected (13 -> 14) and get_optimize_report added
  to the tools table at the top, with a description that mentions
  both phrasings the tool fires on (cost-saving / budget).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@anilmurty anilmurty changed the title docs: cover tj optimize + tj backfill in manual test runbooks docs: tj optimize coverage — README + manual test runbooks May 15, 2026
anilmurty and others added 2 commits May 15, 2026 12:31
The previous example used invented numbers and a different format from
what the renderer actually produces (wrong decimal precision, missing
lines, slightly different wording). Replaced with output captured
directly from _render_report against a seeded DB so what's on the
page is exactly what users see at the terminal.

Also splits the showcase: one block for the natural `tj optimize` run
(under-budget projection), one for the over-budget renderer triggered
by `--budget-usd 50`. Both are real outputs of the shipping code.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Five real screenshots embedded in a 2x2 + 1 grid right after the Web UI
section: Status, Traces, Cost, Alerts, Budget. Captured from a populated
local instance so the data shown is recognizable (claude-code-<project>
agents, real costs, real alerts) rather than placeholder.

Total ~800KB added under docs/screenshots/.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@anilmurty anilmurty merged commit 8752a92 into main May 15, 2026
4 checks passed
@anilmurty anilmurty mentioned this pull request May 18, 2026
6 tasks
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.

1 participant