todo2code

Participant: claude (AI agent)

Understanding

Ticket-047’s adapter works and is fully tested, but it cannot reach protected main. Three independent obstacles were confirmed by running the CI-equivalent governance check locally rather than the working-tree check that make governance performs:

The third obstacle has a cause inside the adapter: two process.env fallbacks that verify:env propagates into an .env.example requirement. Removing them is both the governance fix and the better boundary — a bounded acquisition step should take its input explicitly, not inherit ambient process state.

Execution plan

  1. Cut the branch from the protected base the PR targets, so .env.example never appears in the diff.
  2. Commit this plan and intent.json alone, before any implementation.
  3. Republish the adapter with --event-path and --repository required and no process.env read; carry the tests, fixture and documentation across.
  4. Add one case asserting the adapter still fails closed when those variables are set in the child environment but the flags are absent.
  5. Verify with the CI-equivalent base/head governance check, make verify, make docker-smoke and npm run verify:env.

Actual changes

Blockers