Bỏ qua để đến nội dung

DOL Kid Home Parent Split Architecture Implementation Plan

Plans435 words2 min read
active

Execution note: Use executing-plans to implement this plan task-by-task.

Goal: Refactor DOL Kid documentation so guest intro and parent-managed post-login logic are separated cleanly, with reusable AI-facing guidance and updated context routing.

Architecture: Keep pre-login logic inside Home & Discovery as a DOL Kid-only guest intro lane, and move post-login guardian-managed behavior into Parent Experience with explicit multi-child rules. Update context cards and documentation guidelines so future AI/doc work does not reintroduce the old single-child self-study hub model.

Tech Stack: Markdown docs, .mdc context cards, .agent/rules references, npm context quality scripts


Files:

Step 1: Replace the old “post-login self-study hub” assumption with a guest-intro-only home scope.

Step 2: Move the old hub doc into Parent Experience and rewrite it as the parent-managed learning dashboard canon.

Step 3: Make every touched overview file state the boundary explicitly: guest intro owns entry/conversion, parent experience owns post-login management.

Task 2: Write the new parent-managed dashboard logic

Phần tiêu đề “Task 2: Write the new parent-managed dashboard logic”

Files:

Step 1: Describe the post-login product model: parent overview, child switcher, per-child dashboard, alerts, reporting, and next-best action.

Step 2: Add the minimum identity/access dependencies needed for multi-child management without expanding into unnecessary technical detail.

Step 3: Keep the spec lean by removing any stale single-user or learner-home assumptions that conflict with guardian-managed ownership.

Task 3: Upgrade AI-facing guidance and context routing

Phần tiêu đề “Task 3: Upgrade AI-facing guidance and context routing”

Files:

Step 1: Add reusable writing rules so AI keeps guest intro and parent-managed dashboard separate.

Step 2: Update context cards to route DOL Kid guest-home requests to Home & Discovery docs and parent/multi-child requests to Parent Experience and Identity & Access.

Step 3: Remove stale references to self-study hub where they would misroute future work.

Files:

  • Review all files touched in Tasks 1-3

Step 1: Run npm run context:guard.

Step 2: Run npm run context:benchmark.

Step 3: Run npm run context:stale.

Step 4: Re-open any file that still contains stale assumptions, trim duplicated language, and keep only the minimum durable guidance.