mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
48f53eed16
* feat: display repo and branch info in plan document Add subtle badge display in upper-left corner of plan document showing: - Repository name (org/repo from git remote, with fallbacks) - Current branch with git branch icon New modular repo.ts handles detection with fallback chain: 1. Parse org/repo from git remote origin 2. Fall back to git repo root directory name 3. Fall back to current working directory Closes #104 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * test: add --no-git flag to sandbox script Allows testing repo info fallback behavior when not in a git repository. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Tests
Manual Tests
Local Hook Simulation (manual/local/)
Simulates the Claude Code hook locally for testing the UI.
./tests/manual/local/test-hook.sh
Builds the hook, pipes a sample plan to the server, and opens the browser. Test approving/denying and check the hook output.
SSH Remote Support (manual/ssh/)
Tests SSH session detection and port forwarding for remote development scenarios.
See manual/ssh/DOCKER_SSH_TEST.md for setup instructions.