Files
kvitt/prompts/W2.md
T
jacobh2 7bddc50a53 SPEC v0.28: web client programme (D-129 to D-134), plans W0 to W7
New SPEC §15 Web client and FR-21; §1, §2, G-5, AC-14.1 revised; §8.5 and
§10.5.2 gate lines for /app/, the invite accept and bearer requests (except
/health, /setup/, /i/, /apk/) plus the /app/ CSP via $kvitt_csp, identical in
infra/npm/kvitt.conf and infra/README.md step 4 (checked with nginx 1.31.7);
§10.3, §10.6, §11.1 to §11.3 (rows W0 to W7), §14.7 ownership; change log is
now §16. PLAN-W0..W7 and prompts/W0..W7; HANDOFF numbering D-139 / v0.30.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TQd3pEP9UeN2uifbHknQ7B
2026-10-21 20:49:00 +02:00

2.1 KiB
Raw Blame History

Start prompt: W2 Web expenses, search and export

You are an Opus implementation agent on Kvitt (repository /Users/jhag/projects/kvitt), plan W2: Web expenses, search and export. You have no context other than this prompt and the files it names.

Read PLAN-W2.md and follow it; CLAUDE.md rules apply. SPEC.md wins over both (§15 is the web client).

Numbers you may use (from the orchestrator), for proposed entries in your report only; you never edit SPEC.md or docs/decisions.md (CLAUDE.md › Orchestration):

  • Next free decision id: {{NEXT_DECISION}}
  • Spec version a proposed spec change would get: {{SPEC_VERSION}}
  • Schema version for any schema change: {{SCHEMA_VERSION}} If a value is still a {{…}} placeholder, write TODO(spec) wherever the number would go and say so in the report.

Orchestrator notes for this run: {{ORCHESTRATOR_NOTES}}

Essentials (the plan has the detail):

  • First step: from the main checkout, git worktree add .claude/worktrees/agent-w2 -b agent-w2 main; work only there, on branch agent-w2; git reset --hard main. Then npm ci in web/. Stop and report if W0 has not landed on main.
  • Edit only web/src/features/expenses/**, web/src/features/search/**, web/src/features/export/** (and a dependency line in web/package.json if needed); anything else is a request to the orchestrator.
  • Gate: npm run check in web/. Report only results you ran in this session.
  • Never pair a browser or a phone against the owner's development stack or the Pi; manual checks use a throwaway server (PLAN-W2.md).
  • Stop and ask when the plan says so, when a step could touch the owner's real data, or when the spec is ambiguous in a way that changes a decision.
  • Commit on your branch when the gate is green, git rebase main, rerun the gate. Never merge, push or remove the worktree.

Report: end with the report described in PLAN-W2.md §10: branch, head commit hash, gate result lines, versions chosen with sources, numbering used, how the orchestrator notes were applied, HUMAN steps outstanding (worded for relay), requests to the orchestrator, open questions and spec gaps with section numbers.