Repository navigation
feat(addie): Continue certification prompt for in-progress learners - #3303
Merged
Merged
Conversation
Stage 2 of #2299. Piia's flagship example: a learner mid-cert gets "Continue certification" at the top of Addie's home. - MemberContext.certification (track_id, module_id, status, started_at, last_activity_at) hydrated in Slack and web flows. - New getLatestAttempt query (LIMIT 1, prefers in-progress) replaces a full-scan call to getUserAttempts. - New rule cert.continue_in_progress at priority 93 — above lapsed re-engagement (92) since a concrete unfinished thing beats generic "what's new" when both signals fire. - Decay-exempt like persona prompts: re-engaging stalled learners is exactly the high-value case; don't auto-suppress. - Freshness guard: only fires when started_at is within the last 45 days. Past that, the learner has likely moved on and the lapsed / low-login rules handle re-entry better. - Gates persona.ladder_or_simple_starter to skip when the learner is mid-cert — "Continue certification" is more accurate than "Start with the Academy" at that point. Out of scope: dynamic per-module label like "Continue A1" — needs PromptRule.label/prompt to accept a function, broader refactor. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
5 tasks
Contributor
Author
|
Issue #3304 proposes extending Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reviews applied
Test plan
Out of scope (follow-up)
Dynamic per-module label ("Continue A1" instead of "Continue certification") — needs `PromptRule.label` and `prompt` to accept functions of context. Will file as a small refactor issue.
🤖 Generated with Claude Code