MS4 (#27/#28) — group questions + concepts under learning-map modules#6
Merged
Conversation
MS4 final item, per REVIEW-012. The five surfaces were siloed: explain-back questions and DSA concepts were flat lists with no link to the learning-map modules. Now every question and concept carries a stable module key, so the learning map shows what belongs to each module. - schema: soft `module_key` column on explain_back_questions + concept_links (migration 0010, nullable — manual entries stay null). - learning-map.service: modules gain a stable `key` slug; `moduleKeyForTitle` backfills it for pre-existing maps (grouping works retroactively). Exported MODULE_KEYS. - project-analyzer: deterministic tagging that works on BOTH the AI and the offline-heuristic paths (no AI-schema dependency) — questions via an inferQuestionModuleKey keyword classifier; code-grounded concepts → key-files; conceptual concepts → how-it-works. - learning-map page + ModuleCard: each module card links to its N questions / M concepts on the explain-back and DSA tabs. - tests: questions + concepts are tagged with valid keys; code-grounded concepts land under key-files; modules carry stable keys. Suite 22/22. Gate: lint + typecheck + build + test all green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…12 resolved) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Final MS4 item (REVIEW-012). Links the previously-siloed surfaces: explain-back questions and DSA concepts now carry a stable module key, so the learning map shows what belongs to each module.
What's in it
module_keyonexplain_back_questions+concept_links(migration 0010, nullable).keyslug;moduleKeyForTitlebackfills it for pre-existing maps so grouping works retroactively.key-files; conceptual concepts →how-it-works.Design note
Deliberately deterministic (not an AI-schema field) so the value lands on the offline analyzer — the product's default path — not just BYOK-AI users.
Gate: lint + typecheck + build + test (22/22) all green.
🤖 Generated with Claude Code