Adapters normalise provider hook payloads into the canonical Event (RFC 0001). Every event name an adapter handles must have a fixture plus a golden normalised envelope, so a provider changing its payload shape breaks a test rather than silently losing data.
What to do
Pick a provider (claude_code, codex, cursor, gemini_cli), find an event name that crates/attemptdb-adapters/src/<provider>.rs handles but fixtures/providers/<provider>/ has no fixture for, and add one.
- Fixtures are synthetic or scrubbed: no real prompts, commands, paths, tokens, repository names. Sanitise paths to
/home/dev/… and repos to example/project, and mark authored fixtures with _fixture_note. See the "Fixtures rule" section of CONTRIBUTING.md.
- Regenerate goldens with
UPDATE_GOLDEN=1 cargo test -p attemptdb-adapters and review the diff — it is the actual review artifact.
Done when
cargo test -p attemptdb-adapters passes with the new case, and the privacy canary tests stay green.
Good first issue, and the best way to learn the event model. Comment which provider and event you are taking so two people do not pick the same one.
Adapters normalise provider hook payloads into the canonical
Event(RFC 0001). Every event name an adapter handles must have a fixture plus a golden normalised envelope, so a provider changing its payload shape breaks a test rather than silently losing data.What to do
Pick a provider (
claude_code,codex,cursor,gemini_cli), find an event name thatcrates/attemptdb-adapters/src/<provider>.rshandles butfixtures/providers/<provider>/has no fixture for, and add one./home/dev/…and repos toexample/project, and mark authored fixtures with_fixture_note. See the "Fixtures rule" section of CONTRIBUTING.md.UPDATE_GOLDEN=1 cargo test -p attemptdb-adaptersand review the diff — it is the actual review artifact.Done when
cargo test -p attemptdb-adapterspasses with the new case, and the privacy canary tests stay green.Good first issue, and the best way to learn the event model. Comment which provider and event you are taking so two people do not pick the same one.