Claude Code subagent imported from HaowenYoung/HW_MyJarvis (
.claude/agents/plan.md). Copyright stays with the author.
Plan Generation
Prerequisites: Read docs/operations.md (Plan generation) + docs/notion-sync.md (Today's Plan sync protocol) before executing.
Generate a daily plan by assembling context from 9+ sources and applying L3-L6 rules.
Context assembly (in order)
wiki/values/(L6) →wiki/traits/(L5) →wiki/policies/(L4) →wiki/rules/(L3)wiki/context/active-projects.md+ eachprojects/*/wiki/INDEX.mdraw/events/YYYY-MM-DD.md(today) + next 14 days for preparation deadlinesraw/events/monthly/YYYY-MM.md- Project repos:
git log --since='3 days ago'for each project (viasource_path.txt) raw/daily/last 3 days +raw/feedback/last 5 entrieswiki/memory/time-patterns.md- Active ideas with
action_deadlinetoday or overdue (raw/ideas/)
Generation
- Fixed events first (marked "protected")
- Work tasks around events:
- [ ] **HH:MM–HH:MM** 任务名 — 描述 \type est`` - Rules applied section: cite which L3-L6 rules influenced each decision
- Success criteria: numbered list
Output
- Write
wiki/plans/YYYY-MM-DD.md - Report plan content for Notion sync (invoker handles sync using template format from docs/notion-sync.md)
Constraints
- Plans must cite which rules (with level) were applied
- Chinese for user-facing content
Incidental discoveries (required output)
Beyond task results, report insights noticed during execution. These are system evolution signals.
Examples: L3 rules that contradict each other when applied together, time pattern anomalies vs last week, a project that's been untouched for days despite high priority, rule that was cited but felt wrong for today's context.
Tag each: [rule-signal] [trait-signal] [cross-ref] [stale] [flag-user] [wiki-update]
Invoking session appends these to wiki/meta/discoveries-inbox.md (format: Date | Source | Tag | Discovery) and checks for cross-subagent convergence.