lanternspec 0.3.3__tar.gz → 0.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lanternspec-0.3.3/src/lanternspec.egg-info → lanternspec-0.5.0}/PKG-INFO +19 -17
- {lanternspec-0.3.3 → lanternspec-0.5.0}/README.md +18 -16
- {lanternspec-0.3.3 → lanternspec-0.5.0}/pyproject.toml +1 -1
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/check/check_docs.py +41 -4
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/check/doctor.py +11 -3
- lanternspec-0.5.0/src/lanternspec/check/legacy.py +407 -0
- lanternspec-0.5.0/src/lanternspec/check/openspec.py +778 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/check/templates.py +1 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/cli/check.py +32 -4
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/cli/learn.py +60 -15
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/cli/report.py +72 -4
- lanternspec-0.5.0/src/lanternspec/cli/table.py +91 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/cli/tools.py +0 -2
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/cli/work.py +215 -6
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/enums.py +47 -3
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/meta.py +12 -2
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/names.py +35 -1
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/new_id.py +6 -5
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/profile.py +85 -6
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/state.py +2 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/taskfile.py +39 -4
- lanternspec-0.5.0/src/lanternspec/core/textwidth.py +54 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/learn/debt.py +72 -2
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/learn/knowledge/__init__.py +74 -8
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/learn/knowledge/drafts.py +20 -5
- lanternspec-0.5.0/src/lanternspec/learn/knowledge/keychain.py +118 -0
- lanternspec-0.5.0/src/lanternspec/learn/knowledge/notion.py +729 -0
- lanternspec-0.5.0/src/lanternspec/learn/knowledge/notion_database.py +151 -0
- lanternspec-0.5.0/src/lanternspec/learn/knowledge/notion_markdown.py +623 -0
- lanternspec-0.5.0/src/lanternspec/learn/knowledge/notion_setup.py +380 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/learn/knowledge/obsidian.py +5 -2
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/report/build_mode.py +20 -3
- lanternspec-0.5.0/src/lanternspec/report/components.py +152 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/report/evaluate.py +132 -13
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/report/obsidian.py +43 -2
- lanternspec-0.5.0/src/lanternspec/report/retro.py +676 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/report/views.py +67 -35
- lanternspec-0.5.0/src/lanternspec/resources/locales/en/agents/lantern-reviewer.md +27 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-build/SKILL.md +48 -7
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-design/SKILL.md +9 -3
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-finish/SKILL.md +1 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-init/SKILL.md +35 -7
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-learn/SKILL.md +11 -6
- lanternspec-0.5.0/src/lanternspec/resources/locales/en/skills/l-migrate/SKILL.md +50 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-plan/SKILL.md +4 -0
- lanternspec-0.5.0/src/lanternspec/resources/locales/en/templates/AI Retro.md +29 -0
- lanternspec-0.5.0/src/lanternspec/resources/locales/en/templates/Component Card.md +67 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Debt Card.md +4 -2
- lanternspec-0.5.0/src/lanternspec/resources/locales/en/templates/Design System.md +61 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Plan.md +5 -2
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Repository File Rules.md +60 -3
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Screens.md +4 -2
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Tech Selection Criteria.md +41 -2
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/_meta/enums.yaml +63 -0
- lanternspec-0.5.0/src/lanternspec/resources/locales/ko/agents/lantern-reviewer.md +27 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-build/SKILL.md +48 -7
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-design/SKILL.md +9 -3
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-finish/SKILL.md +1 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-init/SKILL.md +35 -7
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-learn/SKILL.md +11 -6
- lanternspec-0.5.0/src/lanternspec/resources/locales/ko/skills/l-migrate/SKILL.md +50 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-plan/SKILL.md +4 -0
- lanternspec-0.5.0/src/lanternspec/resources/locales/ko/templates/AI /355/232/214/352/263/240.md" +29 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates/_meta/enums.yaml +63 -0
- lanternspec-0.5.0/src/lanternspec/resources/locales/ko/templates//352/265/254/354/204/261 /354/271/264/353/223/234.md" +67 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//352/270/260/354/210/240 /354/204/240/355/203/235 /352/270/260/354/244/200.md" +41 -2
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//352/270/260/355/232/215.md +5 -2
- lanternspec-0.5.0/src/lanternspec/resources/locales/ko/templates//353/224/224/354/236/220/354/235/270 /354/213/234/354/212/244/355/205/234.md" +61 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//353/266/200/354/261/204 /354/271/264/353/223/234.md" +4 -2
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/240/200/354/236/245/354/206/214 /355/214/214/354/235/274 /352/267/234/354/271/231.md" +60 -3
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//355/231/224/353/251/264.md +4 -2
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/messages.yaml +379 -16
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/names.yaml +27 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/obsidian/lantern-kanban/main.js +30 -26
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/obsidian/lantern-kanban/manifest.json +1 -1
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/obsidian/lantern-kanban/styles.css +14 -13
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/obsidian/lantern-timeline/main.js +102 -24
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/obsidian/lantern-timeline/manifest.json +1 -1
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/obsidian/lantern-timeline/styles.css +12 -11
- lanternspec-0.5.0/src/lanternspec/resources/openspec.yaml +26 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/__init__.py +9 -2
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/agent_hooks.py +160 -4
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/antigravity.py +23 -17
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/base.py +162 -9
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/claude.py +237 -30
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/codex.py +63 -32
- lanternspec-0.5.0/src/lanternspec/tools/components.py +110 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/health.py +3 -2
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/install.py +15 -12
- lanternspec-0.5.0/src/lanternspec/tools/retired.py +117 -0
- lanternspec-0.5.0/src/lanternspec/tools/runlog.py +516 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/skills.py +1 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/work/branches.py +30 -3
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/work/epic_rules.py +14 -1
- lanternspec-0.5.0/src/lanternspec/work/loop.py +769 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/work/pack.py +15 -4
- lanternspec-0.5.0/src/lanternspec/work/review.py +556 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/work/scaffold.py +98 -2
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/work/stages.py +67 -4
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/work/tasks.py +27 -7
- {lanternspec-0.3.3 → lanternspec-0.5.0/src/lanternspec.egg-info}/PKG-INFO +19 -17
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec.egg-info/SOURCES.txt +43 -1
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_checks.py +3 -3
- lanternspec-0.5.0/tests/test_component_cards.py +153 -0
- lanternspec-0.5.0/tests/test_components.py +329 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_core.py +1 -1
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_enums_single_source.py +3 -3
- lanternspec-0.5.0/tests/test_enums_upgrade.py +91 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_install_and_aux.py +11 -44
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_later_features.py +7 -6
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_layout.py +1 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_learning_line.py +33 -5
- lanternspec-0.5.0/tests/test_legacy.py +138 -0
- lanternspec-0.5.0/tests/test_loop.py +415 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_names.py +1 -1
- lanternspec-0.5.0/tests/test_notion_markdown.py +256 -0
- lanternspec-0.5.0/tests/test_notion_read.py +260 -0
- lanternspec-0.5.0/tests/test_notion_search.py +278 -0
- lanternspec-0.5.0/tests/test_notion_setup.py +770 -0
- lanternspec-0.5.0/tests/test_notion_write.py +311 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_obsidian.py +3 -2
- lanternspec-0.5.0/tests/test_openspec.py +168 -0
- lanternspec-0.5.0/tests/test_profile_table.py +105 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_refs.py +6 -6
- lanternspec-0.5.0/tests/test_retired.py +78 -0
- lanternspec-0.5.0/tests/test_retro.py +438 -0
- lanternspec-0.5.0/tests/test_review.py +533 -0
- lanternspec-0.5.0/tests/test_runlog.py +401 -0
- lanternspec-0.5.0/tests/test_table.py +71 -0
- lanternspec-0.5.0/tests/test_task_times.py +186 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_tool_health.py +1 -1
- lanternspec-0.5.0/tests/test_understood.py +181 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_work_line.py +20 -3
- lanternspec-0.3.3/src/lanternspec/check/legacy.py +0 -183
- lanternspec-0.3.3/src/lanternspec/learn/knowledge/mcp_server.py +0 -169
- lanternspec-0.3.3/src/lanternspec/learn/knowledge/notion.py +0 -272
- lanternspec-0.3.3/src/lanternspec/tools/runlog.py +0 -183
- {lanternspec-0.3.3 → lanternspec-0.5.0}/LICENSE +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/setup.cfg +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/__init__.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/__main__.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/check/__init__.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/check/budget.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/check/githooks.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/check/layout.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/check/pr_check.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/cli/__init__.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/cli/color.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/cli/common.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/cli/core.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/cli/refs.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/__init__.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/frontmatter.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/links.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/messages.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/outline.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/principles.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/project.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/sections.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/core/templating.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/learn/__init__.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/learn/knowledge/access.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/refs/__init__.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/refs/convert.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/refs/domain.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/refs/index.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/refs/rules.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/refs/sources.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/refs/terms.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/report/__init__.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/report/doc_map.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/report/principles_doc.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/report/resume.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/report/scan.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/report/sections_doc.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/report/status.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/__init__.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/conventions/go.yaml +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/conventions/python.yaml +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/conventions/rust.yaml +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/conventions/swift.yaml +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/conventions/typescript.yaml +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/agents/AGENTS.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/git/gitmessage.txt +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/github/pull_request_template.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-adr/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-check/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-domain/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-idea/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-map/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-parallel/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-pr/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-ref/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-ref/domain.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-ref/rules.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-ref/terms.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-report/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-resume/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-sync/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-task/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/skills/l-template/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/ADR.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/API.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Architecture.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Collaboration Rules.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Competency Card.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Data.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Deployment.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Design.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Docs MOC.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Feature List.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Glossary.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Idea - Bug.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Idea - Experiment.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Idea - Feature.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Idea - Improvement.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Idea - Tech Review.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Idea.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Known Tech.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Legacy Map.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Log.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Meeting Notes.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Platform Integration.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Project Definition.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Server Operations.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Session Log.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Task Breakdown Rules.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Tasks.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/en/templates/Work Division Rules.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/agents/AGENTS.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/git/gitmessage.txt +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/github/pull_request_template.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-adr/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-check/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-domain/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-idea/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-map/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-parallel/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-pr/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-ref/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-ref/domain.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-ref/rules.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-ref/terms.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-report/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-resume/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-sync/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-task/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/skills/l-template/SKILL.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates/ADR.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates/API.md +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//352/260/234/353/260/234/353/254/270/354/204/234 MOC.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/212/245 /353/252/251/353/241/235.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//352/270/260/353/241/235.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//352/270/260/354/241/264 /353/254/270/354/204/234 /354/247/200/353/217/204.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//353/215/260/354/235/264/355/204/260.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//353/260/260/355/217/254.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/204/234/353/262/204 /353/260/260/355/217/254 /302/267 /354/232/264/354/230/201.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/204/244/352/263/204.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/204/270/354/205/230 /352/270/260/353/241/235.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/213/234/354/212/244/355/205/234 /352/265/254/354/241/260.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/225/204/353/212/224 /352/270/260/354/210/240.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264 - /352/260/234/354/204/240.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264 - /352/270/260/353/212/245.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264 - /352/270/260/354/210/240 /352/262/200/355/206/240.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264 - /353/262/204/352/267/270.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264 - /354/213/244/355/227/230.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/225/204/354/235/264/353/224/224/354/226/264.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/227/255/353/237/211 /354/271/264/353/223/234.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/232/251/354/226/264/354/247/221.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//354/236/221/354/227/205 /353/202/230/353/210/204/352/270/260 /352/270/260/354/244/200.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//355/224/204/353/241/234/354/240/235/355/212/270 /354/240/225/354/235/230/354/204/234.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//355/224/214/353/236/253/355/217/274 /354/227/260/353/217/231.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//355/225/240 /354/235/274 /353/202/230/353/210/204/352/270/260 /352/270/260/354/244/200.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//355/225/240 /354/235/274.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//355/230/221/354/227/205 /352/267/234/354/271/231.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/locales/ko/templates//355/232/214/354/235/230/353/241/235.md" +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/resources/principles.yaml +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/close.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/docs_mode.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/guard.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/parts.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/rules.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/tools/sessions.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/work/__init__.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/work/dbml.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/work/ideas.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/work/progress.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec/work/screen.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec.egg-info/dependency_links.txt +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec.egg-info/entry_points.txt +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec.egg-info/requires.txt +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/src/lanternspec.egg-info/top_level.txt +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_budget.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_color.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_english.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_git.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_guard.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_messages.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_name_overlap.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_part_delivery.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_parts.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_principles.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_principles_data.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_progress_parallel.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_release_script.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_resume.py +0 -0
- {lanternspec-0.3.3 → lanternspec-0.5.0}/tests/test_skill_commands.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lanternspec
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: Spec-driven development for agentic software engineering
|
|
5
5
|
Author: Jihyeok Jeong
|
|
6
6
|
License-Expression: MIT
|
|
@@ -122,6 +122,7 @@ What the concepts in this document mean and where they are used is gathered in [
|
|
|
122
122
|
| `/l-ref` | brings in company rules, glossaries and domain knowledge, indexes them by section and gets each section's use approved | the index, company rules in `AGENTS.md`, `Glossary.md` |
|
|
123
123
|
| `/l-domain` | when domain rules matter, finds the matching section in the index and reads just that section word for word | (the plan's "Domain Knowledge Used") |
|
|
124
124
|
| `/l-pr` | writes the title and body for the direction that fits the branch flow, and opens the PR once confirmed (never merges) | — |
|
|
125
|
+
| `/l-migrate` | brings another tool's (OpenSpec's) changes over: finished ones as archived works, ones in progress as works, notes as ideas (originals kept, approved after a preview) | `2. Work/` · `1. Ideas/` |
|
|
125
126
|
| `/l-parallel` | before starting several works at once, checks what they must decide together and their order, records the decisions as ADRs, then opens a worktree per work | ADR |
|
|
126
127
|
| `/l-finish` | when parallel works are done, gathers person checks in the base folder, merges them one at a time, then updates the current state, archives and reports once | current state, `Archive/` |
|
|
127
128
|
|
|
@@ -162,8 +163,8 @@ Sections lantern reads and writes (protected sections, such as "Now" in a log) m
|
|
|
162
163
|
|
|
163
164
|
### Viewing the docs in Obsidian
|
|
164
165
|
Open the `docs/` folder as a vault in Obsidian and it is already set up for reading (`docs/.obsidian/`).
|
|
165
|
-
`lantern obsidian plugins` also adds Lantern Timeline, which shows the report's timeline as bars: stretches with work in fine columns (5 minutes to an hour), time with no task folded away, and how long each finished task took beside it. Tasks without a date wait with their size in a "no date yet" column on the right; drag one onto a day to plan it. Drag a planned task that has not started to move it, or drag its ends to change its length; the dates are saved in its planned and due attributes.
|
|
166
|
-
Lantern Kanban comes along too: works as cards in stage columns (plan · design · tasks · build · done), each opening its tasks in a window when clicked (read only). Turn off a view you don't want in Obsidian's settings, and reports draw without it.
|
|
166
|
+
`lantern obsidian plugins` also adds Lantern Timeline, which shows the report's timeline as bars: stretches with work in fine columns (5 minutes to an hour), time with no task folded away, and how long each finished task took beside it. A work's row shows when planning, design, splitting into tasks and the build happened, one bar per stage. Tasks without a date wait with their size in a "no date yet" column on the right; drag one onto a day to plan it. Drag a planned task that has not started to move it, or drag its ends to change its length; the dates are saved in its planned and due attributes.
|
|
167
|
+
Lantern Kanban comes along too: works as cards in stage columns (plan · design · tasks · build · done), each showing who is on its tasks in progress and opening its tasks in a window when clicked (read only). Turn off a view you don't want in Obsidian's settings, and reports draw without it.
|
|
167
168
|
The task list (`Tasks.md`) reads like a table: names on the left, size · after · criteria in columns on the right. The file keeps one line per task.
|
|
168
169
|
|
|
169
170
|
- **Folder colors, folder and file icons, callouts and quotes** — each document stage has its own folder color, folders and files get icons, and callouts and quotes look clean. Works on top of any theme.
|
|
@@ -198,11 +199,11 @@ To run several works at once, check them with `/l-parallel`, run `/l-build` in e
|
|
|
198
199
|
|
|
199
200
|
## Supported AI tools
|
|
200
201
|
|
|
201
|
-
| Tool | Skills | Rules | Agent hooks |
|
|
202
|
-
|
|
203
|
-
| Claude Code | `.claude/skills` | `AGENTS.md` (an existing `CLAUDE.md` gets `@AGENTS.md`) | `.claude/settings.json` |
|
|
204
|
-
| Codex | `.agents/skills` (`$l-…`) | `AGENTS.md` | `.codex/hooks.json` |
|
|
205
|
-
| Antigravity CLI (`agy`) | `.agents/skills` | `AGENTS.md` | `.agents/hooks.json` (no save-before-compaction — there is no compaction hook) |
|
|
202
|
+
| Tool | Skills | Rules | Agent hooks |
|
|
203
|
+
|---|---|---|---|
|
|
204
|
+
| Claude Code | `.claude/skills` | `AGENTS.md` (an existing `CLAUDE.md` gets `@AGENTS.md`) | `.claude/settings.json` |
|
|
205
|
+
| Codex | `.agents/skills` (`$l-…`) | `AGENTS.md` | `.codex/hooks.json` |
|
|
206
|
+
| Antigravity CLI (`agy`) | `.agents/skills` | `AGENTS.md` | `.agents/hooks.json` (no save-before-compaction — there is no compaction hook) |
|
|
206
207
|
|
|
207
208
|
- **Rules live in `AGENTS.md`.** LanternSpec manages only the `<!-- lanternspec:start -->` block inside it and leaves everything outside the block alone. When a file goes past what the installed tools read in full, `lantern doctor` tells you.
|
|
208
209
|
- **Codex and Antigravity share the skills folder.** When you use both, skill bodies say `/l-build`, and `AGENTS.md` tells Codex to use `$` instead.
|
|
@@ -254,14 +255,14 @@ When the AI uses a technology you don't know, LanternSpec compares it with the n
|
|
|
254
255
|
- 🟡 you have a note but asked again → tells you what to review
|
|
255
256
|
- 🔴 no note yet → suggests a draft study note
|
|
256
257
|
|
|
257
|
-
Anything you don't understand yet is kept as a debt card, and every time you ask about it again the count goes up.
|
|
258
|
+
Anything you don't understand yet is kept as a debt card, and every time you ask about it again the count goes up. Only what a person asked or chose to keep becomes a card; what the AI got stuck on while building goes to the AI retro with `lantern retro note`.
|
|
258
259
|
|
|
259
260
|
| Knowledge base (`knowledge.type`) | How | Writing |
|
|
260
261
|
|---|---|---|
|
|
261
262
|
| `obsidian` · `folder` | reads Markdown files directly | creates notes after approval (drafts only with `propose_only`) |
|
|
262
|
-
| `notion` |
|
|
263
|
+
| `notion` | Fetches the list of pages and searches titles and properties; reads blocks inside blocks | New page or database row after approval (drafts only with `propose_only`). Connect with `lantern knowledge setup notion` |
|
|
263
264
|
|
|
264
|
-
Every knowledge base supports the same four actions: search · read · propose · write
|
|
265
|
+
Every knowledge base supports the same four actions: search · read · propose · write (`lantern knowledge …`).
|
|
265
266
|
|
|
266
267
|
Folders of the knowledge base the AI must not open go in `knowledge.deny` in `lantern.yaml` (or list the only open ones in `knowledge.allow`). lantern neither searches nor reads closed folders. To also stop the AI tool from opening them directly, start it with `lantern guard -- claude`: the tool runs inside the operating system's sandbox (macOS, and Linux with bubblewrap; works with `claude` · `codex` · `agy`; on macOS the tool's own sandbox has to be off, and lantern turns Codex's off itself).
|
|
267
268
|
|
|
@@ -295,7 +296,8 @@ Picks design principles and code conventions from a table, based on the project
|
|
|
295
296
|
- **Parallel works:** whether to run different works at once in worktrees (checked with `/l-parallel`)
|
|
296
297
|
|
|
297
298
|
### Evaluation
|
|
298
|
-
`lantern eval` uses the run log to compare cost (time · tool calls) and results (format errors at wrap-up) per skill, model and setting.
|
|
299
|
+
`lantern eval` uses the run log to compare cost (time · tool calls) and results (format errors at wrap-up) per skill, model and setting. For Claude Code it also shows the calls and failures of each MCP server and plugin.
|
|
300
|
+
Why one was added and what to expect of it goes on a component card (`lantern scaffold component`).
|
|
299
301
|
|
|
300
302
|
### Design tools
|
|
301
303
|
Claude Design: in Claude Code, the AI draws wireframes on a Design canvas itself. Figma and Canva work through each tool's MCP.
|
|
@@ -305,15 +307,15 @@ Import mockups with `lantern screen import`; `lantern screen compare` finds wher
|
|
|
305
307
|
## CLI at a glance
|
|
306
308
|
|
|
307
309
|
```text
|
|
308
|
-
setup install [--language] [--tools] [--
|
|
310
|
+
setup install [--language] [--tools] [--ci|--no-ci] [--pr-template] [--commit-template] · upgrade [--apply] · doctor · build-mode suggest · guard -- <tool>
|
|
309
311
|
profile profile show|docs|write|set · principles show|detect · parts [add|ignore] · enums list|rename · sections list|rename|off|on
|
|
310
|
-
documents scaffold init [--plan] | work | doc | idea | adr | meeting | custom · new-id · map · meta get|set
|
|
312
|
+
documents scaffold init [--plan] | work | doc | idea | adr | component | meeting | custom · new-id · map · meta get|set
|
|
311
313
|
checks check [--changed] [--epic W-012] · check-pr · lint [--ci] · check-dbml · dbml render|from-sql|diff
|
|
312
314
|
work task next [--all]|start|done|ac|list|estimate · task add [--parallel] [--spike] · pack · screen import|compare
|
|
313
315
|
work branch|start|list|overlap|finish|archive|stage|flow · design approve · unit-log add · idea find|status
|
|
314
|
-
learning knowledge search|read|propose|write|areas · debt find|new|ask|resolve|promote|practice|known|status|list
|
|
315
|
-
reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · obsidian plugins
|
|
316
|
-
templates template list|show|lint|level|bump|outdated|diff|usage|new|migrate · legacy adopt|todos
|
|
316
|
+
learning knowledge search|read|propose|write|areas|properties|setup · debt find|new|ask|resolve|promote|practice|known|status|list
|
|
317
|
+
reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · retro add|note|judge|confirm|review · obsidian plugins
|
|
318
|
+
templates template list|show|lint|level|bump|outdated|diff|usage|new|migrate · legacy adopt [--apply]|todos · migrate openspec [--apply]
|
|
317
319
|
references ref list|check|index|read · tag|exclude|rules · terms|term|glossary|candidate · domain|describe|attach · convert [--apply]|preview
|
|
318
320
|
git hooks install|uninstall|status · docs-mode local|shared
|
|
319
321
|
wrap-up close <skill>
|
|
@@ -107,6 +107,7 @@ What the concepts in this document mean and where they are used is gathered in [
|
|
|
107
107
|
| `/l-ref` | brings in company rules, glossaries and domain knowledge, indexes them by section and gets each section's use approved | the index, company rules in `AGENTS.md`, `Glossary.md` |
|
|
108
108
|
| `/l-domain` | when domain rules matter, finds the matching section in the index and reads just that section word for word | (the plan's "Domain Knowledge Used") |
|
|
109
109
|
| `/l-pr` | writes the title and body for the direction that fits the branch flow, and opens the PR once confirmed (never merges) | — |
|
|
110
|
+
| `/l-migrate` | brings another tool's (OpenSpec's) changes over: finished ones as archived works, ones in progress as works, notes as ideas (originals kept, approved after a preview) | `2. Work/` · `1. Ideas/` |
|
|
110
111
|
| `/l-parallel` | before starting several works at once, checks what they must decide together and their order, records the decisions as ADRs, then opens a worktree per work | ADR |
|
|
111
112
|
| `/l-finish` | when parallel works are done, gathers person checks in the base folder, merges them one at a time, then updates the current state, archives and reports once | current state, `Archive/` |
|
|
112
113
|
|
|
@@ -147,8 +148,8 @@ Sections lantern reads and writes (protected sections, such as "Now" in a log) m
|
|
|
147
148
|
|
|
148
149
|
### Viewing the docs in Obsidian
|
|
149
150
|
Open the `docs/` folder as a vault in Obsidian and it is already set up for reading (`docs/.obsidian/`).
|
|
150
|
-
`lantern obsidian plugins` also adds Lantern Timeline, which shows the report's timeline as bars: stretches with work in fine columns (5 minutes to an hour), time with no task folded away, and how long each finished task took beside it. Tasks without a date wait with their size in a "no date yet" column on the right; drag one onto a day to plan it. Drag a planned task that has not started to move it, or drag its ends to change its length; the dates are saved in its planned and due attributes.
|
|
151
|
-
Lantern Kanban comes along too: works as cards in stage columns (plan · design · tasks · build · done), each opening its tasks in a window when clicked (read only). Turn off a view you don't want in Obsidian's settings, and reports draw without it.
|
|
151
|
+
`lantern obsidian plugins` also adds Lantern Timeline, which shows the report's timeline as bars: stretches with work in fine columns (5 minutes to an hour), time with no task folded away, and how long each finished task took beside it. A work's row shows when planning, design, splitting into tasks and the build happened, one bar per stage. Tasks without a date wait with their size in a "no date yet" column on the right; drag one onto a day to plan it. Drag a planned task that has not started to move it, or drag its ends to change its length; the dates are saved in its planned and due attributes.
|
|
152
|
+
Lantern Kanban comes along too: works as cards in stage columns (plan · design · tasks · build · done), each showing who is on its tasks in progress and opening its tasks in a window when clicked (read only). Turn off a view you don't want in Obsidian's settings, and reports draw without it.
|
|
152
153
|
The task list (`Tasks.md`) reads like a table: names on the left, size · after · criteria in columns on the right. The file keeps one line per task.
|
|
153
154
|
|
|
154
155
|
- **Folder colors, folder and file icons, callouts and quotes** — each document stage has its own folder color, folders and files get icons, and callouts and quotes look clean. Works on top of any theme.
|
|
@@ -183,11 +184,11 @@ To run several works at once, check them with `/l-parallel`, run `/l-build` in e
|
|
|
183
184
|
|
|
184
185
|
## Supported AI tools
|
|
185
186
|
|
|
186
|
-
| Tool | Skills | Rules | Agent hooks |
|
|
187
|
-
|
|
188
|
-
| Claude Code | `.claude/skills` | `AGENTS.md` (an existing `CLAUDE.md` gets `@AGENTS.md`) | `.claude/settings.json` |
|
|
189
|
-
| Codex | `.agents/skills` (`$l-…`) | `AGENTS.md` | `.codex/hooks.json` |
|
|
190
|
-
| Antigravity CLI (`agy`) | `.agents/skills` | `AGENTS.md` | `.agents/hooks.json` (no save-before-compaction — there is no compaction hook) |
|
|
187
|
+
| Tool | Skills | Rules | Agent hooks |
|
|
188
|
+
|---|---|---|---|
|
|
189
|
+
| Claude Code | `.claude/skills` | `AGENTS.md` (an existing `CLAUDE.md` gets `@AGENTS.md`) | `.claude/settings.json` |
|
|
190
|
+
| Codex | `.agents/skills` (`$l-…`) | `AGENTS.md` | `.codex/hooks.json` |
|
|
191
|
+
| Antigravity CLI (`agy`) | `.agents/skills` | `AGENTS.md` | `.agents/hooks.json` (no save-before-compaction — there is no compaction hook) |
|
|
191
192
|
|
|
192
193
|
- **Rules live in `AGENTS.md`.** LanternSpec manages only the `<!-- lanternspec:start -->` block inside it and leaves everything outside the block alone. When a file goes past what the installed tools read in full, `lantern doctor` tells you.
|
|
193
194
|
- **Codex and Antigravity share the skills folder.** When you use both, skill bodies say `/l-build`, and `AGENTS.md` tells Codex to use `$` instead.
|
|
@@ -239,14 +240,14 @@ When the AI uses a technology you don't know, LanternSpec compares it with the n
|
|
|
239
240
|
- 🟡 you have a note but asked again → tells you what to review
|
|
240
241
|
- 🔴 no note yet → suggests a draft study note
|
|
241
242
|
|
|
242
|
-
Anything you don't understand yet is kept as a debt card, and every time you ask about it again the count goes up.
|
|
243
|
+
Anything you don't understand yet is kept as a debt card, and every time you ask about it again the count goes up. Only what a person asked or chose to keep becomes a card; what the AI got stuck on while building goes to the AI retro with `lantern retro note`.
|
|
243
244
|
|
|
244
245
|
| Knowledge base (`knowledge.type`) | How | Writing |
|
|
245
246
|
|---|---|---|
|
|
246
247
|
| `obsidian` · `folder` | reads Markdown files directly | creates notes after approval (drafts only with `propose_only`) |
|
|
247
|
-
| `notion` |
|
|
248
|
+
| `notion` | Fetches the list of pages and searches titles and properties; reads blocks inside blocks | New page or database row after approval (drafts only with `propose_only`). Connect with `lantern knowledge setup notion` |
|
|
248
249
|
|
|
249
|
-
Every knowledge base supports the same four actions: search · read · propose · write
|
|
250
|
+
Every knowledge base supports the same four actions: search · read · propose · write (`lantern knowledge …`).
|
|
250
251
|
|
|
251
252
|
Folders of the knowledge base the AI must not open go in `knowledge.deny` in `lantern.yaml` (or list the only open ones in `knowledge.allow`). lantern neither searches nor reads closed folders. To also stop the AI tool from opening them directly, start it with `lantern guard -- claude`: the tool runs inside the operating system's sandbox (macOS, and Linux with bubblewrap; works with `claude` · `codex` · `agy`; on macOS the tool's own sandbox has to be off, and lantern turns Codex's off itself).
|
|
252
253
|
|
|
@@ -280,7 +281,8 @@ Picks design principles and code conventions from a table, based on the project
|
|
|
280
281
|
- **Parallel works:** whether to run different works at once in worktrees (checked with `/l-parallel`)
|
|
281
282
|
|
|
282
283
|
### Evaluation
|
|
283
|
-
`lantern eval` uses the run log to compare cost (time · tool calls) and results (format errors at wrap-up) per skill, model and setting.
|
|
284
|
+
`lantern eval` uses the run log to compare cost (time · tool calls) and results (format errors at wrap-up) per skill, model and setting. For Claude Code it also shows the calls and failures of each MCP server and plugin.
|
|
285
|
+
Why one was added and what to expect of it goes on a component card (`lantern scaffold component`).
|
|
284
286
|
|
|
285
287
|
### Design tools
|
|
286
288
|
Claude Design: in Claude Code, the AI draws wireframes on a Design canvas itself. Figma and Canva work through each tool's MCP.
|
|
@@ -290,15 +292,15 @@ Import mockups with `lantern screen import`; `lantern screen compare` finds wher
|
|
|
290
292
|
## CLI at a glance
|
|
291
293
|
|
|
292
294
|
```text
|
|
293
|
-
setup install [--language] [--tools] [--
|
|
295
|
+
setup install [--language] [--tools] [--ci|--no-ci] [--pr-template] [--commit-template] · upgrade [--apply] · doctor · build-mode suggest · guard -- <tool>
|
|
294
296
|
profile profile show|docs|write|set · principles show|detect · parts [add|ignore] · enums list|rename · sections list|rename|off|on
|
|
295
|
-
documents scaffold init [--plan] | work | doc | idea | adr | meeting | custom · new-id · map · meta get|set
|
|
297
|
+
documents scaffold init [--plan] | work | doc | idea | adr | component | meeting | custom · new-id · map · meta get|set
|
|
296
298
|
checks check [--changed] [--epic W-012] · check-pr · lint [--ci] · check-dbml · dbml render|from-sql|diff
|
|
297
299
|
work task next [--all]|start|done|ac|list|estimate · task add [--parallel] [--spike] · pack · screen import|compare
|
|
298
300
|
work branch|start|list|overlap|finish|archive|stage|flow · design approve · unit-log add · idea find|status
|
|
299
|
-
learning knowledge search|read|propose|write|areas · debt find|new|ask|resolve|promote|practice|known|status|list
|
|
300
|
-
reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · obsidian plugins
|
|
301
|
-
templates template list|show|lint|level|bump|outdated|diff|usage|new|migrate · legacy adopt|todos
|
|
301
|
+
learning knowledge search|read|propose|write|areas|properties|setup · debt find|new|ask|resolve|promote|practice|known|status|list
|
|
302
|
+
reports report [--views] [--summary] · status · resume [--session] [--more] · scan [--tests] [--ci] · sync adopt · eval · retro add|note|judge|confirm|review · obsidian plugins
|
|
303
|
+
templates template list|show|lint|level|bump|outdated|diff|usage|new|migrate · legacy adopt [--apply]|todos · migrate openspec [--apply]
|
|
302
304
|
references ref list|check|index|read · tag|exclude|rules · terms|term|glossary|candidate · domain|describe|attach · convert [--apply]|preview
|
|
303
305
|
git hooks install|uninstall|status · docs-mode local|shared
|
|
304
306
|
wrap-up close <skill>
|
|
@@ -10,6 +10,7 @@ Not here:
|
|
|
10
10
|
|
|
11
11
|
from __future__ import annotations
|
|
12
12
|
|
|
13
|
+
import datetime as _dt
|
|
13
14
|
import json
|
|
14
15
|
import re
|
|
15
16
|
from collections import Counter, defaultdict
|
|
@@ -22,7 +23,7 @@ from ..core.links import Resolver, iter_links
|
|
|
22
23
|
from ..core.messages import msg
|
|
23
24
|
from ..core.project import Project, git_out, nfc, read
|
|
24
25
|
from ..core.sections import outside_guides
|
|
25
|
-
from ..core.taskfile import parse_criteria, parse_tasks, size_role
|
|
26
|
+
from ..core.taskfile import Task, parse_criteria, parse_tasks, size_role
|
|
26
27
|
|
|
27
28
|
COMMON_FIELDS = ["id", "type", "status", "created", "updated", "links", "template", "template_version"]
|
|
28
29
|
LEVEL_ICON = {"error": "✖", "warn": "⚠", "info": "ℹ"}
|
|
@@ -639,6 +640,12 @@ def check_file(project: Project, path: Path, text: str, ctx: _Ctx) -> list[Findi
|
|
|
639
640
|
if doc_type == "tasks":
|
|
640
641
|
out += _check_tasks(project, path, text, rel)
|
|
641
642
|
|
|
643
|
+
# AI retro rows: the weakness and the remedy come from the lists
|
|
644
|
+
if path.parent == project.folder("retro"):
|
|
645
|
+
from ..report.retro import problems
|
|
646
|
+
|
|
647
|
+
out += [Finding("warn", rel, code, message, line) for line, code, message in problems(project, text)]
|
|
648
|
+
|
|
642
649
|
# length
|
|
643
650
|
max_lines = int(project.profile.get("check.max_lines") or 300)
|
|
644
651
|
n_lines = text.count("\n") + 1
|
|
@@ -665,6 +672,33 @@ def check_file(project: Project, path: Path, text: str, ctx: _Ctx) -> list[Findi
|
|
|
665
672
|
return out
|
|
666
673
|
|
|
667
674
|
|
|
675
|
+
FUTURE_SLACK = _dt.timedelta(days=1) # times are local: one written further east may be up to a day ahead of where it is checked (CI)
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
def _time_problems(project: Project, t: Task) -> list[str]:
|
|
679
|
+
"""What can't be true of a task's times. `lantern task start · done` stamp them, so such a time was written by hand."""
|
|
680
|
+
start, finish = (_task_time(t, role) for role in ("start", "finish"))
|
|
681
|
+
out = []
|
|
682
|
+
if start and finish:
|
|
683
|
+
by_day = len(t.started.strip()) < 16 or len(t.finished.strip()) < 16 # a date alone has no time of day to compare
|
|
684
|
+
if finish.date() < start.date() if by_day else finish < start:
|
|
685
|
+
out.append(msg("{id}: it finished before it started ({start} → {finish})", id=t.id, start=t.started, finish=t.finished))
|
|
686
|
+
latest = _dt.datetime.now() + FUTURE_SLACK
|
|
687
|
+
for role, at in (("start", start), ("finish", finish)):
|
|
688
|
+
if at and at > latest:
|
|
689
|
+
out.append(msg("{id}: [{attr}] is in the future ({at})", id=t.id, attr=project.names.attr(role), at=f"{at:%Y-%m-%d %H:%M}"))
|
|
690
|
+
return out
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
def _task_time(t: Task, role: str) -> _dt.datetime | None:
|
|
694
|
+
for fmt in ("%Y-%m-%d %H:%M", "%Y-%m-%d"):
|
|
695
|
+
try:
|
|
696
|
+
return _dt.datetime.strptime((t.started if role == "start" else t.finished).strip(), fmt)
|
|
697
|
+
except ValueError:
|
|
698
|
+
continue
|
|
699
|
+
return None
|
|
700
|
+
|
|
701
|
+
|
|
668
702
|
def _check_tasks(project: Project, path: Path, text: str, rel: str) -> list[Finding]:
|
|
669
703
|
out: list[Finding] = []
|
|
670
704
|
tasks = parse_tasks(text, project.names)
|
|
@@ -673,6 +707,8 @@ def _check_tasks(project: Project, path: Path, text: str, rel: str) -> list[Find
|
|
|
673
707
|
plan = project.doc_path(path.parent, "plan")
|
|
674
708
|
acs = {c.id for c in parse_criteria(read(plan))} if plan.exists() else set()
|
|
675
709
|
team = project.profile.team
|
|
710
|
+
# a finished work is not planned any more: sizes and the task behind each criterion are asked only while it runs
|
|
711
|
+
finished = frontmatter.parse(text).meta.get("status") == project.enums.value("work_status", "done")
|
|
676
712
|
for t in tasks:
|
|
677
713
|
line = t.line_no + 1
|
|
678
714
|
if ids[t.id] > 1:
|
|
@@ -684,7 +720,7 @@ def _check_tasks(project: Project, path: Path, text: str, rel: str) -> list[Find
|
|
|
684
720
|
"warn", rel, "task-size", msg("{id} size is one of {sizes} (now '{size}')", id=t.id, sizes=sizes, size=t.size), line
|
|
685
721
|
)
|
|
686
722
|
)
|
|
687
|
-
if not t.size:
|
|
723
|
+
if not t.size and not t.done and not finished:
|
|
688
724
|
out.append(
|
|
689
725
|
Finding(
|
|
690
726
|
"warn",
|
|
@@ -694,6 +730,7 @@ def _check_tasks(project: Project, path: Path, text: str, rel: str) -> list[Find
|
|
|
694
730
|
line,
|
|
695
731
|
)
|
|
696
732
|
)
|
|
733
|
+
out += [Finding("warn", rel, "task-time", problem, line) for problem in _time_problems(project, t)]
|
|
697
734
|
for dep in t.deps:
|
|
698
735
|
if dep not in known:
|
|
699
736
|
out.append(
|
|
@@ -717,7 +754,7 @@ def _check_tasks(project: Project, path: Path, text: str, rel: str) -> list[Find
|
|
|
717
754
|
out.append(Finding("info", rel, "task-owner", msg("{id} has no {owner} [{owner}:: name]", id=t.id, owner=owner), line))
|
|
718
755
|
covered = {ac for t in tasks for ac in t.criteria}
|
|
719
756
|
real_tasks = [t for t in tasks if "{{" not in t.title]
|
|
720
|
-
if real_tasks:
|
|
757
|
+
if real_tasks and not finished:
|
|
721
758
|
for ac in sorted(acs - covered, key=lambda x: int(x.split("-")[1])):
|
|
722
759
|
out.append(
|
|
723
760
|
Finding(
|
|
@@ -729,7 +766,7 @@ def _check_tasks(project: Project, path: Path, text: str, rel: str) -> list[Find
|
|
|
729
766
|
f"lantern task add … --ac {ac}",
|
|
730
767
|
)
|
|
731
768
|
)
|
|
732
|
-
if len(tasks) > 10:
|
|
769
|
+
if len(tasks) > 10 and not finished:
|
|
733
770
|
out.append(Finding("info", rel, "task-many", msg("{count} tasks — consider splitting the work", count=len(tasks))))
|
|
734
771
|
# cycles
|
|
735
772
|
graph: dict[str, list[str]] = {}
|
|
@@ -82,14 +82,22 @@ def run(project: Project) -> list[tuple[str, str]]:
|
|
|
82
82
|
from pathlib import Path
|
|
83
83
|
|
|
84
84
|
if k["type"] == "notion":
|
|
85
|
-
import
|
|
85
|
+
from ..learn.knowledge.notion import notion_token, token_sources
|
|
86
86
|
|
|
87
87
|
env = str(k.get("token_env") or "NOTION_TOKEN")
|
|
88
88
|
out.append(
|
|
89
89
|
(OK, msg("Notion token {env} is set", env=env))
|
|
90
|
-
if
|
|
91
|
-
else (WARN, msg("No Notion token — environment variable {env}", env=env))
|
|
90
|
+
if notion_token(env)
|
|
91
|
+
else (WARN, msg("No Notion token — run `lantern knowledge setup notion` (or set the environment variable {env})", env=env))
|
|
92
92
|
)
|
|
93
|
+
from_env, from_keychain = token_sources(env)
|
|
94
|
+
if from_env and from_keychain and from_env != from_keychain:
|
|
95
|
+
out.append(
|
|
96
|
+
(
|
|
97
|
+
WARN,
|
|
98
|
+
msg("The environment variable {env} and the Keychain hold different tokens — the Keychain is used first", env=env),
|
|
99
|
+
)
|
|
100
|
+
)
|
|
93
101
|
else:
|
|
94
102
|
path = Path(str(k["path"])).expanduser()
|
|
95
103
|
out.append(
|