Skip to content

Finalize V1: undo feedback, shared test harness - #23

Merged
ActualLearner merged 1 commit into
mainfrom
finalize-v1
Aug 26, 2026
Merged

ActualLearner merged 1 commit into
mainfrom
finalize-v1

Conversation

@ActualLearner

Copy link
Copy Markdown
Owner

What

Final cleanup before the V1 wrap-up:

  1. :KeyCoachUndo reverses acceptance — undoing an applied mapping now clears the pattern's accepted entry and records rejected_key feedback, so the next cycle proposes a different key instead of leaving the card retired forever.
  2. Shared test harness — fake_hooks moves to tests/harness.lua, ending the duplication between collector_spec and smoke_spec (standards-review finding).

No behavior changes beyond the undo semantics; docs unchanged.

Test plan

  • New behavioral test: apply → undo → next flush proposes a different key.
  • 98 tests pass, StyLua clean.

- :KeyCoachUndo now reverses the acceptance: the pattern's accepted entry
  is cleared and a rejected_key feedback is recorded, so the next cycle
  proposes a different key instead of leaving the card retired forever.
- fake_hooks moves to tests/harness.lua, ending the duplication between
  collector_spec and smoke_spec.
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a65e06cf-abe4-4027-997d-0c07b1d4e6d6


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ActualLearner
ActualLearner merged commit 971bf79 into main Aug 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant