Khu Cấm
Bản thiết kế và kế hoạch triển khai — mọi quyết định kiến trúc được ghi lại từ các phiên brainstorm.
Bậc Thầy
Những lăng kính hiếm Claude Code triệu hồi khi công việc đòi hỏi một thiên tài cụ thể — không phải nghề, mà là người.
Reveal.js presentation system at /hogwarts/library/ — 116 movie-based AI lesson plans, EmDash CMS content, 6 slide layouts, dark theme
9-task implementation: seed schema, 3 fully-written lesson decks (Big Hero 6, JARVIS→FRIDAY, Ex Machina), 113 placeholder lessons, 3 Astro pages, Reveal.js integration
All 6 task tracking systems running simultaneously with HP theming — Remembrall, Marauders Map, O.W.L.s, Room of Requirement, Pensieve Strands, Marauders Parchment
11-step implementation: D1 schema, log-task.sh hook, MCP servers, session-tracker, TASKS.md, CLAUDE.md routing, Task Observatory page, RoR dashboard, diary integration
Design doc for big upgrade to /Trương: fact refresh, new Community section, aesthetic consolidation around Architect-Mage + Scholar-Wizard archetype.
17-task plan across 5 phases: content refresh, community section, 27 effect cuts, 7 new mage effects, verification.
12-skill integration surface on top of D0 bridge. Covers huuloc (comments/subscriptions/CMS), email (personal+work Gmail via Pub/Sub), Slack (Papaya first, workspace-parameterized), GitHub (webhooks), Facebook (cron-polled Graph API), Zalo (Telegram-paste fallback — no open API), shopping wishlist, flight booking (search-only), general booking (search-only), and portraits (business-card deep research — the reference 'heavy' skill). OpenClaw internals deliberately out of scope: this spec is purely about the integration surface we build around OpenClaw — ingress routes, action Worker surfaces, credentials matrix, pending-action pattern for human-in-loop approvals, deep-research helper. Slice sequencing D0→D6 with D1=portraits as the hardest-skill validator. Zalo locked to Telegram-paste-only, bookings locked to search-only v1 (execute-via-headless-browser deferred to v2).
18-task bite-sized TDD plan for the D1 slice: the portraits skill plus the D0→D1 intent-prefix rename. Phase A migrates the intent union (approve-comment → emdash.comment.approve etc.) across the type, the action-handler switch, the tests, and a one-shot UPDATE on _agent_actions. Phase B builds the reusable deep-research helper (Brave Search v1 client, Readability-based article extractor, Claude synthesis with source attribution, research() orchestrator with depth shallow=3/deep=8 and parallel fetch with 10s timeout). Phase C adds portraits primitives: slug helper with Vietnamese diacritic folding, Anthropic-vision OCR returning strict JSON fields, portrait-file writer+reader with round-trip fidelity, highlights-file manager with slug-dedup upsert. Phase D wires the main handler (OCR → 6 parallel research surfaces for LinkedIn/Company/Facebook/X/GitHub/News → Claude synthesis → markdown file + highlights + Telegram notify) plus /portrait-note and /portrait-correct command handlers. Phase E routes events in event.ts, surfaces Telegram photos as portrait.new events in telegram.ts, deploys, runs end-to-end smoke. Explicit non-goals: no pending-action infra (deferred to D2 per catalog spec), no action-worker surface (portraits writes only to /data), no ingress route (Telegram photos arrive through OpenClaw's native connector).
Full-scope contacts subsystem at /room-of-requirement/portraits: 7 D1 tables, Claude vision OCR, Google OAuth sync, reminders, relationship graph, outreach via Resend, 5-tier portrait hierarchy (S=Founder → D=Visitor), 12 Silicon/NASDAQ demo portraits for guests. Gated on EmDash admin session. 5 implementation phases.
18 TDD tasks for Phase 1 Foundation: 7-table D1 migration, 12 placeholder portraits (Jensen/Satya/Sundar/Vượng S, Lisa Su/Dario/Collison/Bình A, Karpathy/Lattner/Rauch/Hà Đông B), requireAdmin proxy auth helper, list/get/create DB helpers with inline ULID, GET+POST /api/portraits, GET /api/portraits/:id, 4 SVG tier frames (gold/silver/bronze/etched), PortraitCard/TierSection/CorridorTable/GuestBanner components, gallery + add + detail pages, site-routes registration, end-to-end 9-step smoke test. Deliberate Phase 1 deviations from spec: detail view is full page not slide-over, gallery search/filter UI deferred, tier-bump quick menu deferred — all land in Phase 3.
Full-fidelity build-diary replay system. Captures complete Claude Code sessions (every tool call, prompt, edit) for web animations, with scrubbable four-pane replay UI (conversation / tool timeline / code state / live render). Three-phase MVP: scaffold + raw viewer → first real recording → polish. Deferred to Phase 4+: remix, non-Claude authoring, live recording, video export. Key risks: secret leakage (manual review gate on first 3 publishes), source-history drift (checksum checkpoints).
15-task implementation plan for Phase 1 surface: landing page, per-animation page, raw viewer, D1 schema, EmDash collection, placeholder animation, site routes, e2e smoke. Deferred to Plan B: capture hooks, redaction, source-history, publish script, chapter CLI.
15-task implementation plan for Plan B capture pipeline. Hooks + redaction + source-history + publish + chapter CLI + R2 loader + page swap + pre-push extension + integration test. Replaces Plan A fixture data with real published sessions on R2/D1.
Booking system to match cal.com feature set built natively into huuloc.com. 5 new collections, availability engine, booking lifecycle (cancel/reschedule), 24h reminders, public API + webhooks, audience-tagged routes. Excludes: payment, Google Meet, fancy admin.
12-task plan for core booking MVP: collections, computeSlots engine + tests, /book pages, slot picker React island, GCal insert, Resend confirmation email, rate limiter. Phases 2-4 separate plans later.
API keys (Bearer auth, SHA-256 hashed) for public bookings GET endpoint, webhook endpoints with HMAC-SHA256 signed POSTs on booking.created/cancelled/rescheduled. Admin UI for both. 8 tasks.
Round-robin host assignment for multi-host meeting_types. Slots merge availability across hosts; booking-create picks least-loaded free host. No schema changes, no new admin UI.