feat: code-review-tea — Gitea/tea fork of Anthropic's code-review plugin #10

Open
alee wants to merge 11 commits from plugin/code-review-tea into main

11 Commits

Author SHA1 Message Date
adlee-was-taken
df4233f08f docs(plugin): document code-review-tea fork and CLAUDE.md note
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-27 14:11:04 -04:00
adlee-was-taken
571eb45b3e fix(plugin): correct plugin layout + discovery model
Per Claude Code plugin docs (code.claude.com/docs/en/plugins):
- commands/ belongs at plugin ROOT, not inside .claude-plugin/ (only
  plugin.json goes in .claude-plugin/). Moved via git mv.
- Repo-local .claude/plugins/<name>/ is NOT auto-discovered. Load via
  `claude --plugin-dir` or `claude plugin init`.
- Plugin commands are namespaced: invoke as /code-review-tea:code-review,
  not /code-review-tea.
- Bake verified Task 2 facts into RESOLVED_INVOCATION content: -F not -f,
  /repos/ prefix required, tea pulls --fields diff empty (use git diff),
  SHA must be remote-present.

Plan only (no plugin source changed beyond the dir move).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-27 14:07:42 -04:00
adlee-was-taken
47c0da5959 feat(plugin): gitea/tea port of code-review command
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-27 13:30:44 -04:00
adlee-was-taken
03925e3e11 docs(plan): correct code-review-tea plan with verified tea facts
Incorporate findings from Task 2 verification:
- -F (typed field) reads @-/@file; -f posts literal '@-'. Use -F.
- Endpoint requires /repos/ prefix: /repos/{owner}/{repo}/...
- tea pulls --fields diff returns empty in tea 0.14.1 -> use git diff
- SHA must be remote-present (PR headSha); local-only SHA 404s
- tea api prints JSON to stdout; -o is file-output not format

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-27 13:27:00 -04:00
adlee-was-taken
6754f81019 chore(plugin): scaffold code-review-tea plugin manifest
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-27 13:03:53 -04:00
adlee-was-taken
07e0d82f1d feat(sim): add camera stream simulator script
Loops phone-recorded mp4 files as local RTSP streams via MediaMTX +
ffmpeg so Vigilar's camera pipeline can be exercised end-to-end
without physical cameras. Reads camera ids from vigilar.toml,
expects videos/<id>.mp4 for each, writes a vigilar.sim.toml with
rtsp_urls rewritten to the local endpoints.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 13:24:42 -04:00
adlee-was-taken
276bbf7ab2 test(sim): guard simulator shell scripts with bash -n + shellcheck
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 13:21:04 -04:00
adlee-was-taken
4c0e621758 feat(sim): add MediaMTX binary downloader
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 13:18:51 -04:00
adlee-was-taken
b3a79580f4 chore(gitignore): ignore camera simulator working files
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 13:17:34 -04:00
adlee-was-taken
3a6a79bf68 docs(plans): camera stream simulator implementation plan
Task-by-task plan for the dev-only RTSP simulator: gitignore entries,
MediaMTX downloader, syntax-check test guard, the sim script itself,
and a human acceptance walk-through.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 13:16:22 -04:00
adlee-was-taken
475c7b097b docs(specs): camera stream simulator design
Dev-only tooling to loop phone-recorded mp4s as local RTSP streams
(MediaMTX + ffmpeg) so the real camera pipeline can be exercised
without physical cameras.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 13:11:54 -04:00