lore-agent-task-manager 0.3.1__tar.gz → 0.4.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.
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/.gitignore +1 -0
- lore_agent_task_manager-0.4.0/.lore/CODEX.md +37 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults/docs → lore_agent_task_manager-0.4.0/.lore}/LORE-AGENT.md +5 -1
- {lore_agent_task_manager-0.3.1/src/lore/defaults/artifacts → lore_agent_task_manager-0.4.0/.lore/artifacts/default}/codex/CODEX.md +0 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults/artifacts → lore_agent_task_manager-0.4.0/.lore/artifacts/default}/feature-implementation/user-story.md +0 -0
- lore_agent_task_manager-0.4.0/.lore/artifacts/default/lore-design-documents/glossary-design.md +86 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/CODEX.md +3 -1
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/entities/artifact.md +1 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/entities/doctrine.md +1 -1
- lore_agent_task_manager-0.4.0/.lore/codex/conceptual/entities/glossary.md +103 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/entities/knight.md +1 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/entities/mission.md +1 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/entities/quest.md +1 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/entities/watcher.md +1 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/codex.md +18 -2
- lore_agent_task_manager-0.4.0/.lore/codex/conceptual/workflows/glossary.md +242 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/health.md +25 -7
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/lore-init.md +14 -3
- lore_agent_task_manager-0.4.0/.lore/codex/decisions/013-toml-for-config-yaml-for-glossary.md +97 -0
- lore_agent_task_manager-0.4.0/.lore/codex/glossary.yaml +12 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/api/surface.md +9 -5
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/architecture/initialized-project-structure.md +15 -4
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/architecture/schemas.md +7 -4
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/architecture/source-layout.md +9 -4
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/cli/commands.md +51 -5
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/cli/entity-crud-matrix.md +12 -7
- lore_agent_task_manager-0.4.0/.lore/config.toml +4 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults/doctrines → lore_agent_task_manager-0.4.0/.lore/doctrines/default}/feature-implementation/feature-implementation.yaml +0 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults/doctrines → lore_agent_task_manager-0.4.0/.lore/doctrines/default}/feature-implementation/quick-feature-implementation.yaml +0 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults/doctrines → lore_agent_task_manager-0.4.0/.lore/doctrines/default}/feature-implementation/tdd-implementation.yaml +0 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults/knights → lore_agent_task_manager-0.4.0/.lore/knights/default}/feature-implementation/ba.md +0 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults/knights → lore_agent_task_manager-0.4.0/.lore/knights/default}/feature-implementation/pm.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/knights/default/feature-implementation/scout.md +8 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults/knights → lore_agent_task_manager-0.4.0/.lore/knights/default}/feature-implementation/tdd-green.md +0 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults/knights → lore_agent_task_manager-0.4.0/.lore/knights/default}/feature-implementation/tdd-red.md +0 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults/knights → lore_agent_task_manager-0.4.0/.lore/knights/default}/feature-implementation/tech-writer.md +11 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/lore.db +0 -0
- lore_agent_task_manager-0.4.0/.lore/skills/.gitignore +11 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults → lore_agent_task_manager-0.4.0/.lore}/skills/explore-codex/SKILL.md +3 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults → lore_agent_task_manager-0.4.0/.lore}/skills/ingest-source/SKILL.md +8 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults → lore_agent_task_manager-0.4.0/.lore}/skills/refresh-source/SKILL.md +8 -0
- {lore_agent_task_manager-0.3.1/src/lore/defaults → lore_agent_task_manager-0.4.0/.lore}/skills/start-quest/SKILL.md +2 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/CHANGELOG.md +41 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/PKG-INFO +2 -3
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/pyproject.toml +2 -3
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/cli.py +307 -11
- lore_agent_task_manager-0.4.0/src/lore/config.py +143 -0
- {lore_agent_task_manager-0.3.1/.lore/artifacts/default → lore_agent_task_manager-0.4.0/src/lore/defaults/artifacts}/codex/CODEX.md +43 -39
- {lore_agent_task_manager-0.3.1/.lore/artifacts/default → lore_agent_task_manager-0.4.0/src/lore/defaults/artifacts}/feature-implementation/user-story.md +12 -0
- lore_agent_task_manager-0.4.0/src/lore/defaults/artifacts/lore-design-documents/glossary-design.md +86 -0
- lore_agent_task_manager-0.4.0/src/lore/defaults/docs/CODEX.md +37 -0
- {lore_agent_task_manager-0.3.1/.lore → lore_agent_task_manager-0.4.0/src/lore/defaults/docs}/LORE-AGENT.md +5 -1
- {lore_agent_task_manager-0.3.1/.lore/doctrines/default → lore_agent_task_manager-0.4.0/src/lore/defaults/doctrines}/feature-implementation/feature-implementation.yaml +21 -1
- {lore_agent_task_manager-0.3.1/.lore/doctrines/default → lore_agent_task_manager-0.4.0/src/lore/defaults/doctrines}/feature-implementation/quick-feature-implementation.yaml +13 -1
- {lore_agent_task_manager-0.3.1/.lore/doctrines/default → lore_agent_task_manager-0.4.0/src/lore/defaults/doctrines}/feature-implementation/tdd-implementation.yaml +17 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/gitignore +1 -0
- {lore_agent_task_manager-0.3.1/.lore/knights/default → lore_agent_task_manager-0.4.0/src/lore/defaults/knights}/feature-implementation/ba.md +1 -0
- {lore_agent_task_manager-0.3.1/.lore/knights/default → lore_agent_task_manager-0.4.0/src/lore/defaults/knights}/feature-implementation/pm.md +1 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/knights/feature-implementation/scout.md +8 -0
- {lore_agent_task_manager-0.3.1/.lore/knights/default → lore_agent_task_manager-0.4.0/src/lore/defaults/knights}/feature-implementation/tdd-green.md +3 -1
- {lore_agent_task_manager-0.3.1/.lore/knights/default → lore_agent_task_manager-0.4.0/src/lore/defaults/knights}/feature-implementation/tdd-red.md +3 -1
- {lore_agent_task_manager-0.3.1/.lore/knights/default → lore_agent_task_manager-0.4.0/src/lore/defaults/knights}/feature-implementation/tech-writer.md +11 -0
- {lore_agent_task_manager-0.3.1/.lore → lore_agent_task_manager-0.4.0/src/lore/defaults}/skills/explore-codex/SKILL.md +3 -0
- lore_agent_task_manager-0.4.0/src/lore/defaults/skills/ingest-source/SKILL.md +89 -0
- lore_agent_task_manager-0.4.0/src/lore/defaults/skills/refresh-source/SKILL.md +77 -0
- {lore_agent_task_manager-0.3.1/.lore → lore_agent_task_manager-0.4.0/src/lore/defaults}/skills/start-quest/SKILL.md +6 -4
- lore_agent_task_manager-0.4.0/src/lore/glossary.py +277 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/health.py +195 -4
- lore_agent_task_manager-0.4.0/src/lore/init.py +208 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/models.py +20 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/paths.py +8 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/schemas/__init__.py +20 -2
- lore_agent_task_manager-0.4.0/src/lore/schemas/glossary.yaml +42 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_codex.py +368 -0
- lore_agent_task_manager-0.4.0/tests/e2e/test_config.py +142 -0
- lore_agent_task_manager-0.4.0/tests/e2e/test_glossary.py +524 -0
- lore_agent_task_manager-0.4.0/tests/e2e/test_health_glossary.py +323 -0
- lore_agent_task_manager-0.4.0/tests/e2e/test_lore_init_glossary.py +543 -0
- lore_agent_task_manager-0.4.0/tests/unit/test_cli_codex_show.py +138 -0
- lore_agent_task_manager-0.4.0/tests/unit/test_cli_glossary.py +281 -0
- lore_agent_task_manager-0.4.0/tests/unit/test_config.py +204 -0
- lore_agent_task_manager-0.4.0/tests/unit/test_default_seed_glossary_content.py +156 -0
- lore_agent_task_manager-0.4.0/tests/unit/test_glossary.py +542 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_health.py +237 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_health_schemas.py +38 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_health_schemas_us007.py +2 -2
- lore_agent_task_manager-0.4.0/tests/unit/test_lore_init.py +215 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_models.py +85 -0
- lore_agent_task_manager-0.4.0/tests/unit/test_paths.py +21 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_schemas.py +100 -0
- lore_agent_task_manager-0.3.1/.lore/codex/transient/health-2026-04-22T13-30-29.md +0 -9
- lore_agent_task_manager-0.3.1/src/lore/init.py +0 -128
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.gitignore +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/GETTING-STARTED.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/conceptual/entities/task.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/conceptual/entities/user.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/conceptual/relationships/user--task.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/conceptual/workflows/complete-task.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/conceptual/workflows/create-and-assign-entity.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/constraints/constraints.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/decisions/001-sqlite-storage.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/decisions/adr-no-default-content-tests.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/glossary/glossary.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/integrations/integrations.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/operations/deployment/development.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/operations/deployment/overview.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/operations/deployment/production.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/operations/deployment/staging.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/operations/git.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/operations/runbooks/runbook-template.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/personas/persona.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/security/security-model.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/standards/code-conventions.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/standards/design-principles.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/standards/testing.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/technical/backend/api/tasks.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/technical/backend/overview.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/technical/database/overview.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/technical/database/schemas/tasks.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/technical/database/schemas/users.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/technical/frontend/overview.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/technical/overview.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/codex/vision/product-vision.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/feature-implementation/codex-change-proposal.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/feature-implementation/context-map.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/feature-implementation/crazy-prd.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/feature-implementation/crazy-tech-spec.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/feature-implementation/prd-draft.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/feature-implementation/prd.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/feature-implementation/tech-spec-draft.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/feature-implementation/tech-spec.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/feature-implementation/user-story-index.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/artifacts/default/lore-design-documents/doctrine-design.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/relationships/artifact--doctrine.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/relationships/doctrine--knight.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/relationships/doctrine--mission.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/relationships/doctrine--quest.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/relationships/knight--mission.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/relationships/mission--mission.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/relationships/quest--mission.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/relationships/watcher--doctrine.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/artifact-list.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/artifact-new.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/block.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/board.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/claim.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/codex-chaos.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/codex-map.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/concurrent-access.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/dependencies.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/doctrine-list.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/doctrine-new.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/doctrine-show.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/done.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/error-handling.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/filter-list.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/help.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/json-output.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/knight-crud.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/knight-list.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/mission-crud.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/mission-type.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/oracle.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/python-api.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/quest-crud.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/ready.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/schema-migrations.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/show.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/stats.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/typical-workflow.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/validators.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/watcher-crud.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/conceptual/workflows/watcher-list.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/decisions/001-dumb-infrastructure.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/decisions/002-package-name.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/decisions/003-soft-delete-semantics.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/decisions/004-mission-type-dumb-storage.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/decisions/005-auto-close-toggle.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/decisions/006-id-references.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/decisions/006-no-seed-content-tests.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/decisions/007-artifact-communication-protocol.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/decisions/008-help-as-teaching-interface.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/decisions/009-mission-self-containment.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/decisions/010-public-api-stability.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/decisions/011-api-parity-with-cli.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/decisions/012-multi-value-cli-param-convention.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/operations/git-workflow.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/operations/installation.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/operations/publish-pypi.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/standards/dependency-inversion.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/standards/dry.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/standards/facade.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/standards/public-api-stability.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/standards/separation-of-concerns.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/standards/single-responsibility.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/architecture/agents-md.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/architecture/frontmatter.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/architecture/graph.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/architecture/knight-module.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/architecture/project-root-detection.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/architecture/validators.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/cli/oracle-slugification.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/codex-chaos.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/codex-map.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/database/schema.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/doctrine/internals.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/oracle/internals.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/overview.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/technical/test-guidelines.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/codex/vision/camelot-system.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/doctrines/default/feature-implementation/feature-implementation.design.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/doctrines/default/feature-implementation/quick-feature-implementation.design.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/doctrines/default/feature-implementation/tdd-implementation.design.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/doctrines/default/update-changelog.design.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/doctrines/default/update-changelog.yaml +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/doctrines/tdd-feature/tdd-feature.design.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/doctrines/tdd-feature/tdd-feature.yaml +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/knights/default/changelog-scribe.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/knights/default/feature-implementation/architect.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/knights/default/feature-implementation/crazy-architect.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/knights/default/feature-implementation/crazy-pm.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/knights/default/feature-implementation/tdd-refactor.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/knights/default/feature-implementation/tech-lead.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/skills/new-artifact/SKILL.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/skills/new-doctrine/SKILL.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/skills/new-knight/SKILL.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/skills/new-watcher/SKILL.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/.lore/watchers/default/change-log-updates.yaml +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/LICENSE +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/README.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/__init__.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/__main__.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/artifact.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/codex.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/db.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/conceptual/entities/task.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/conceptual/entities/user.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/conceptual/relationships/user--task.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/conceptual/workflows/complete-task.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/conceptual/workflows/create-and-assign-entity.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/constraints/constraints.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/decisions/001-sqlite-storage.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/decisions/adr-no-default-content-tests.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/glossary/glossary.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/integrations/integrations.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/operations/deployment/development.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/operations/deployment/overview.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/operations/deployment/production.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/operations/deployment/staging.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/operations/git.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/operations/runbooks/runbook-template.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/personas/persona.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/security/security-model.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/standards/code-conventions.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/standards/design-principles.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/standards/testing.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/technical/backend/api/tasks.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/technical/backend/overview.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/technical/database/overview.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/technical/database/schemas/tasks.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/technical/database/schemas/users.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/technical/frontend/overview.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/technical/overview.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/codex/vision/product-vision.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/feature-implementation/codex-change-proposal.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/feature-implementation/context-map.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/feature-implementation/crazy-prd.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/feature-implementation/crazy-tech-spec.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/feature-implementation/prd-draft.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/feature-implementation/prd.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/feature-implementation/tech-spec-draft.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/feature-implementation/tech-spec.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/feature-implementation/user-story-index.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/artifacts/lore-design-documents/doctrine-design.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/docs/GETTING-STARTED.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/doctrines/feature-implementation/feature-implementation.design.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/doctrines/feature-implementation/quick-feature-implementation.design.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/doctrines/feature-implementation/tdd-implementation.design.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/doctrines/update-changelog.design.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/doctrines/update-changelog.yaml +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/knights/changelog-scribe.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/knights/feature-implementation/architect.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/knights/feature-implementation/crazy-architect.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/knights/feature-implementation/crazy-pm.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/knights/feature-implementation/tdd-refactor.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/knights/feature-implementation/tech-lead.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/schema.sql +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/skills/new-artifact/SKILL.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/skills/new-doctrine/SKILL.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/skills/new-knight/SKILL.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/skills/new-watcher/SKILL.md +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/defaults/watchers/change-log-updates.yaml +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/doctrine.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/frontmatter.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/graph.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/ids.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/knight.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/migrations/__init__.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/migrations/v1_to_v2.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/migrations/v2_to_v3.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/migrations/v3_to_v4.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/migrations/v4_to_v5.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/migrations/v5_to_v6.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/oracle.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/priority.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/py.typed +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/root.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/schemas/artifact-frontmatter.yaml +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/schemas/codex-frontmatter.yaml +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/schemas/codex-source-frontmatter.yaml +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/schemas/doctrine-design-frontmatter.yaml +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/schemas/doctrine-yaml.yaml +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/schemas/knight-frontmatter.yaml +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/schemas/watcher-yaml.yaml +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/validators.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/src/lore/watcher.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/__init__.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/conftest.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/__init__.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/conftest.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_artifact_list.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_artifact_new.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_block.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_board.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_claim.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_codex_chaos.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_codex_map.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_concurrent_access.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_dependencies.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_doctrine_list.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_doctrine_new.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_doctrine_show.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_done.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_error_handling.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_filter_list.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_health.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_health_schemas.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_health_schemas_us005.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_health_schemas_us007.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_health_schemas_us008.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_help_group_param.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_knight_crud.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_knight_list.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_list_group_audit.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_lore_init.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_lore_init_schema_clean.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_mission_crud.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_oracle.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_python_api.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_quest_crud.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_ready.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_schema_defaults_regression.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_schema_migrations.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_stats.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_watcher_crud.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/e2e/test_watcher_list.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/__init__.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/conftest.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_artifact.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_cli_codex_list.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_codex.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_cross_platform.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_derive_group.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_doctrine.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_filter_subtree.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_frontmatter.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_frontmatter_raw.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_graph.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_help_enrichment.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_knight.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_package_distribution.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_root.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_scaffold.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_schema_defaults_regression.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_validators.py +0 -0
- {lore_agent_task_manager-0.3.1 → lore_agent_task_manager-0.4.0}/tests/unit/test_watcher.py +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Codex
|
|
2
|
+
|
|
3
|
+
The codex is your project's documentation system. It lives at `.lore/codex/` as a graph of typed markdown documents — concepts, decisions, standards, workflows, and entity descriptions.
|
|
4
|
+
|
|
5
|
+
## Structure
|
|
6
|
+
|
|
7
|
+
Documents are organised by kind under subdirectories:
|
|
8
|
+
|
|
9
|
+
- `conceptual/` — entities, workflows, and other conceptual material
|
|
10
|
+
- `decisions/` — architectural decision records (ADRs)
|
|
11
|
+
- `standards/` — coding and process standards
|
|
12
|
+
- `ops/` — operational runbooks
|
|
13
|
+
- `glossary.yaml` — project vocabulary (see Glossary below)
|
|
14
|
+
|
|
15
|
+
Each markdown document carries frontmatter (`id`, `title`, `summary`, optional `related`) and a body. Use `lore codex show <id>` to read, `lore codex search <keyword>` to find, `lore codex map <id>` to traverse the related-link graph.
|
|
16
|
+
|
|
17
|
+
## Glossary
|
|
18
|
+
|
|
19
|
+
The glossary at `.lore/codex/glossary.yaml` holds short, canonical definitions for project-specific terms. Each item has a `keyword`, a `definition`, and optional `aliases` and `do_not_use` lists.
|
|
20
|
+
|
|
21
|
+
Read it with `lore glossary list`, `lore glossary search <q>`, or `lore glossary show <kw>`. On every `lore codex show`, Lore auto-attaches a `## Glossary` block listing each glossary item whose keyword or alias appears in the document body.
|
|
22
|
+
|
|
23
|
+
### When something goes in the glossary
|
|
24
|
+
|
|
25
|
+
The glossary is restrictive. Most candidate terms do NOT belong here. Before adding an entry, run:
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
lore artifact show glossary-design
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
The gate is three questions, all must be YES:
|
|
32
|
+
|
|
33
|
+
1. **Project-specific.** Generic IT vocabulary (ADR, soft-delete, E2E, mock, fixture, idempotent, …) does NOT qualify — assume the reader knows IT.
|
|
34
|
+
2. **Not an entity.** Entities (Quest, Mission, Knight, Doctrine, Codex, Artifact, Watcher, Glossary, plus system-level Camelot/Lore/Realm/Citadel) live in their own `conceptual-entities-<name>` doc. Link to it instead.
|
|
35
|
+
3. **Not a named workflow, command, or feature.** Anything with a `conceptual-workflows-<name>` doc, a CLI command, or a feature surface is documented there. Link to it instead.
|
|
36
|
+
|
|
37
|
+
If any answer is NO, write the entity doc / workflow doc / ADR / standards doc instead. The `glossary-design` artifact has worked examples and a "where to put it instead" table.
|
|
@@ -7,7 +7,7 @@ Lore is your project task manager. Run `lore --help` for the full command refere
|
|
|
7
7
|
Use `lore ready` to get the next available mission. Dispatch based on mission type:
|
|
8
8
|
|
|
9
9
|
- **`knight`** — claim it (`lore claim <id>`), then spawn a worker agent passing the mission ID
|
|
10
|
-
- **`constable`**
|
|
10
|
+
- **`constable`** — claim it and handle inline (an orchestrator chore: commit, housekeeping, etc.)
|
|
11
11
|
- **`human`** — do NOT claim; leave it for the human to complete
|
|
12
12
|
|
|
13
13
|
To start a new quest from a doctrine, use `/start-quest`. For creating doctrines, knights, watchers, artifacts, or exploring the codex, use the relevant skill.
|
|
@@ -20,6 +20,10 @@ Run `lore show <id>` — this returns the mission description, acceptance criter
|
|
|
20
20
|
|
|
21
21
|
Do not create quests or missions. Do not claim work that has not been assigned to you.
|
|
22
22
|
|
|
23
|
+
## Glossary
|
|
24
|
+
|
|
25
|
+
Run `lore glossary` to see project vocabulary. `lore codex show` auto-attaches matched glossary entries to its output, so you learn the canonical terms while reading docs.
|
|
26
|
+
|
|
23
27
|
## Available skills
|
|
24
28
|
|
|
25
29
|
| Skill | What it does |
|
|
File without changes
|
|
File without changes
|
lore_agent_task_manager-0.4.0/.lore/artifacts/default/lore-design-documents/glossary-design.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: glossary-design
|
|
3
|
+
title: Glossary Design Checklist
|
|
4
|
+
summary: >
|
|
5
|
+
Gate every glossary entry through this checklist before adding it to
|
|
6
|
+
`.lore/codex/glossary.yaml`. Most candidate terms do NOT belong in the
|
|
7
|
+
glossary — they belong in an entity doc, a workflow doc, or nowhere
|
|
8
|
+
(well-known industry concepts). Run this whenever you, or any agent
|
|
9
|
+
acting on your behalf, are about to add or expand glossary content.
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Glossary Design Checklist
|
|
13
|
+
|
|
14
|
+
The Glossary is for **small, project-specific terms** that are too tiny to deserve their own Codex document but important enough that a fresh agent reading another document needs the definition inline. It is NOT a dump of every named thing in the system.
|
|
15
|
+
|
|
16
|
+
This file is a checklist. Run it before every glossary edit.
|
|
17
|
+
|
|
18
|
+
## The Three-Question Gate
|
|
19
|
+
|
|
20
|
+
A candidate term `<X>` belongs in the glossary only when ALL three answers are YES:
|
|
21
|
+
|
|
22
|
+
1. **Is it project-specific?** Would an outsider reading the codebase guess the wrong meaning if no glossary entry existed? Generic IT vocabulary (ADR, soft-delete, E2E, mock, fixture, retry-with-backoff, idempotent, RBAC, JWT, …) does NOT qualify — assume your reader knows IT. Only terms that this project gives a project-specific meaning, or invents outright, pass this gate.
|
|
23
|
+
|
|
24
|
+
2. **Is it NOT an entity?** Entities are the big nouns the system is built around (Quest, Mission, Knight, Doctrine, Codex, Artifact, Watcher, Glossary itself). Each entity already has a `conceptual-entities-<name>` document. **Entities never go in the glossary.** If you find yourself wanting to summarise an entity in the glossary, you are duplicating the entity doc — link to it instead.
|
|
25
|
+
|
|
26
|
+
3. **Is it NOT a named workflow, command, or feature?** Anything with a `conceptual-workflows-<name>` doc, a CLI command, a config key, or a feature surface (auto-surface, ready queue, board, oracle, health, codex show, …) already has a definition surface. Glossary entries that describe these are duplication. Link to the workflow doc instead.
|
|
27
|
+
|
|
28
|
+
If any answer is NO, the term does NOT go in the glossary. The "Where to put it instead" table below tells you where it does go.
|
|
29
|
+
|
|
30
|
+
## Worked Examples
|
|
31
|
+
|
|
32
|
+
### Goes in the glossary
|
|
33
|
+
|
|
34
|
+
| Keyword | Why it qualifies |
|
|
35
|
+
|---|---|
|
|
36
|
+
| **Constable** | Project-invented label for a Mission type the orchestrator handles inline. Not an entity (no `conceptual-entities-constable`), not a generic IT term, not a workflow. The canonical glossary example. |
|
|
37
|
+
|
|
38
|
+
### Does NOT go in the glossary
|
|
39
|
+
|
|
40
|
+
| Candidate | Why it fails | Goes here instead |
|
|
41
|
+
|---|---|---|
|
|
42
|
+
| Quest, Mission, Knight, Doctrine, Codex, Artifact, Watcher, Glossary | Entities — fail Q2 | Their `conceptual-entities-<name>` doc already exists. Link to it. |
|
|
43
|
+
| Camelot, Lore, Realm, Citadel | System-level entities — fail Q2 | Vision docs (`vision-camelot-system`). Link to them. |
|
|
44
|
+
| Health, Oracle, Board, Auto-surface, Ready queue, Codex show | Named workflows or feature surfaces — fail Q3 | Their `conceptual-workflows-<name>` doc. Link to it. |
|
|
45
|
+
| ADR | Generic IT term — fails Q1 | Nowhere. Outside readers know what an ADR is. The codex `decisions/` folder is named after the format. |
|
|
46
|
+
| Soft-delete | Generic IT term — fails Q1 | If the project has *non-standard* soft-delete semantics, that goes in `decisions-003-soft-delete-semantics`, NOT the glossary. |
|
|
47
|
+
| E2E, Unit test, mock, fixture | Generic testing vocabulary — fails Q1 | Nowhere. Cite test-strategy or standards docs in your tech spec instead. |
|
|
48
|
+
| Weapon | Doesn't exist yet (future scope) — fails on existence | Nowhere. Glossary describes today's vocabulary, not roadmap. |
|
|
49
|
+
|
|
50
|
+
## Where to Put It Instead
|
|
51
|
+
|
|
52
|
+
| If the term is… | Put it in… |
|
|
53
|
+
|---|---|
|
|
54
|
+
| A new entity (large noun, has lifecycle, multiple surfaces) | A new `conceptual-entities-<name>.md` document. |
|
|
55
|
+
| A new workflow / command / user-facing flow | A new `conceptual-workflows-<name>.md` document. |
|
|
56
|
+
| A named architectural decision | A new ADR under `decisions/<NNN>-<slug>.md`. |
|
|
57
|
+
| A coding convention or standard | A new `standards-<name>.md` document. |
|
|
58
|
+
| A generic IT term, even one used heavily | Nowhere. Outsiders already know it. |
|
|
59
|
+
| A future-scope idea | Nowhere yet. Add it when it ships. |
|
|
60
|
+
|
|
61
|
+
## YAML Stanza Template
|
|
62
|
+
|
|
63
|
+
When the gate passes for term `<X>`, append this to `.lore/codex/glossary.yaml`:
|
|
64
|
+
|
|
65
|
+
```yaml
|
|
66
|
+
- keyword: <X>
|
|
67
|
+
definition: >-
|
|
68
|
+
One or two sentences. State the project-specific meaning. Reference
|
|
69
|
+
related codex IDs by ID (not file path) where relevant.
|
|
70
|
+
aliases:
|
|
71
|
+
- <other surface form 1>
|
|
72
|
+
- <other surface form 2>
|
|
73
|
+
do_not_use:
|
|
74
|
+
- <deprecated form 1>
|
|
75
|
+
- <deprecated form 2>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Required fields: `keyword`, `definition`. `aliases` and `do_not_use` are optional — omit when empty.
|
|
79
|
+
|
|
80
|
+
After editing, run `lore health --scope glossary` to validate the file and surface any deprecated-term hits across the existing codex.
|
|
81
|
+
|
|
82
|
+
## When in Doubt
|
|
83
|
+
|
|
84
|
+
Default to NOT adding the entry. A glossary that grows unchecked stops being useful — agents skim past it, and the auto-surface noise dilutes the signal. The right glossary is short.
|
|
85
|
+
|
|
86
|
+
If the term feels borderline, write the entity / workflow / ADR / standards doc instead. A linkable Codex document is always more valuable than a one-line glossary stub.
|
|
@@ -5,7 +5,9 @@ summary: 'What this documentation system is, how it is structured, and how to us
|
|
|
5
5
|
it. Read this before reading or writing any other file in this repository.
|
|
6
6
|
|
|
7
7
|
'
|
|
8
|
-
related:
|
|
8
|
+
related:
|
|
9
|
+
- conceptual-entities-glossary
|
|
10
|
+
- conceptual-workflows-glossary
|
|
9
11
|
---
|
|
10
12
|
|
|
11
13
|
# Codex
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
id: conceptual-entities-doctrine
|
|
3
3
|
title: Doctrine
|
|
4
4
|
summary: What a Doctrine is — a reusable, passive workflow template stored as a paired .yaml and .design.md file. The .design.md is the primary entry point for discovery. Doctrines are read by orchestrators to guide quest and mission creation; they have no execution engine of their own.
|
|
5
|
-
related: ["conceptual-entities-quest", "conceptual-entities-mission", "conceptual-entities-knight", "tech-doctrine-internals", "conceptual-relationships-doctrine--knight", "conceptual-relationships-doctrine--mission", "conceptual-relationships-doctrine--quest"]
|
|
5
|
+
related: ["conceptual-entities-quest", "conceptual-entities-mission", "conceptual-entities-knight", "conceptual-entities-glossary", "tech-doctrine-internals", "conceptual-relationships-doctrine--knight", "conceptual-relationships-doctrine--mission", "conceptual-relationships-doctrine--quest"]
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Doctrine
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: conceptual-entities-glossary
|
|
3
|
+
title: Glossary
|
|
4
|
+
summary: >
|
|
5
|
+
What the Glossary is — a single canonical YAML file at `.lore/codex/glossary.yaml`
|
|
6
|
+
that holds short, project-specific term definitions keyed by `keyword`. The
|
|
7
|
+
Glossary is read-only via the `lore glossary` CLI, auto-surfaces matched terms
|
|
8
|
+
on `lore codex show`, and is audited (schema, intra-file collisions, and
|
|
9
|
+
cross-codex deprecated-term scan) by `lore health`.
|
|
10
|
+
related:
|
|
11
|
+
- conceptual-entities-artifact
|
|
12
|
+
- conceptual-entities-knight
|
|
13
|
+
- conceptual-entities-mission
|
|
14
|
+
- conceptual-entities-quest
|
|
15
|
+
- conceptual-entities-doctrine
|
|
16
|
+
- conceptual-entities-watcher
|
|
17
|
+
- conceptual-workflows-glossary
|
|
18
|
+
- conceptual-workflows-codex
|
|
19
|
+
- conceptual-workflows-health
|
|
20
|
+
- conceptual-workflows-lore-init
|
|
21
|
+
- tech-cli-commands
|
|
22
|
+
- tech-arch-source-layout
|
|
23
|
+
- tech-arch-schemas
|
|
24
|
+
- decisions-013-toml-for-config-yaml-for-glossary
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
# Glossary
|
|
28
|
+
|
|
29
|
+
The Glossary is a project's canonical vocabulary record — a single YAML file at `.lore/codex/glossary.yaml` whose `items:` list holds short definitions keyed by `keyword`. Where Codex documents (lore codex show codex) carry full conceptual or technical content, the Glossary holds inline term definitions that are too small to deserve their own document but too important to leave undefined. The Glossary is the project's living vocabulary surface and the substrate the system uses to disambiguate terms inside other Codex documents.
|
|
30
|
+
|
|
31
|
+
The Glossary is a first-class file-based entity alongside Artifacts (lore codex show conceptual-entities-artifact), Knights (lore codex show conceptual-entities-knight), Doctrines (lore codex show conceptual-entities-doctrine), and Watchers (lore codex show conceptual-entities-watcher). Like Artifacts, the CLI is read-only — `lore glossary list/search/show` — and maintainers edit `.lore/codex/glossary.yaml` directly on disk.
|
|
32
|
+
|
|
33
|
+
## Properties
|
|
34
|
+
|
|
35
|
+
Every glossary item is a mapping with up to four keys:
|
|
36
|
+
|
|
37
|
+
- **`keyword`** — Required. The canonical surface form of the term. Lookup is case-insensitive (via `str.casefold()`); display preserves the original casing. The `keyword` is the natural key — there is no `id` field.
|
|
38
|
+
- **`definition`** — Required. A one-to-two sentence explanation of the term. Multi-line YAML scalars (folded `>` or block `|`) are allowed; the renderer collapses internal whitespace when rendering inline.
|
|
39
|
+
- **`aliases`** — Optional list of additional surface forms that should match the same item. Aliases participate in matching but are NOT accepted as `lore glossary show` lookup keys.
|
|
40
|
+
- **`do_not_use`** — Optional list of deprecated forms. Surfaces ONLY in `lore health` — never in `lore codex show` auto-surface — and emits one `glossary_deprecated_term` warning per occurrence per Codex document.
|
|
41
|
+
|
|
42
|
+
The glossary file's shape is enforced by the JSON Schema at `lore://schemas/glossary` (packaged at `src/lore/schemas/glossary.yaml`). Schema rules: `keyword` and `definition` are required; `keyword`, `aliases` items, and `do_not_use` items are 1–80 single-line characters; `definition` is 1–1000 characters; `aliases` and `do_not_use` are unique within their list. A multi-line keyword or alias is rejected at the schema layer because the matcher is undefined for newline-bearing strings.
|
|
43
|
+
|
|
44
|
+
## What Belongs Here
|
|
45
|
+
|
|
46
|
+
The Glossary holds **small, project-specific terms** that are too tiny to deserve their own Codex document but important enough that an agent reading another document needs the inline definition. Most candidate terms do NOT belong here.
|
|
47
|
+
|
|
48
|
+
A term is glossary-worthy only when ALL three are true:
|
|
49
|
+
|
|
50
|
+
1. **Project-specific.** Generic IT vocabulary (ADR, soft-delete, E2E, mock, fixture, idempotent, RBAC, …) does not qualify — assume the reader knows IT.
|
|
51
|
+
2. **Not an entity.** Entities (Quest, Mission, Knight, Doctrine, Codex, Artifact, Watcher, Glossary itself, plus system-level entities Camelot, Lore, Realm, Citadel) live in their own `conceptual-entities-<name>` doc. Link to that doc instead.
|
|
52
|
+
3. **Not a named workflow, command, or feature.** Anything with a `conceptual-workflows-<name>` doc, a CLI command, or a feature surface (auto-surface, ready queue, board, oracle, health, codex show, …) is already documented there. Link to the workflow doc instead.
|
|
53
|
+
|
|
54
|
+
If any answer is NO, the term goes in an entity doc, a workflow doc, an ADR, a standards doc, or nowhere — never the Glossary.
|
|
55
|
+
|
|
56
|
+
The full checklist with worked examples and the "where to put it instead" table is the design-document artifact `glossary-design`. Retrieve it before every glossary edit:
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
lore artifact show glossary-design
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
The `Constable` entry is the canonical worked example: a small project-invented label for a Mission type the orchestrator handles inline. Not an entity, not a workflow, not generic IT — passes all three gates.
|
|
63
|
+
|
|
64
|
+
## Lifecycle
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
absent ──→ seeded skeleton ──→ user-edited
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
| State | Description | Transition |
|
|
71
|
+
|-------|-------------|------------|
|
|
72
|
+
| `absent` | No `.lore/codex/glossary.yaml` exists. `lore glossary list` prints `No glossary defined.` and exits 0. `lore codex show` skips auto-surface silently. | `lore init` seeds the skeleton if absent. |
|
|
73
|
+
| `seeded skeleton` | File exists with header comment + `items: []`. Schema-valid. Auto-surface produces no `## Glossary` block (no items match). | Maintainer adds items by editing the file. |
|
|
74
|
+
| `user-edited` | File contains one or more items. Auto-surface and `lore health` deprecated-term scan operate over the items. | Maintainer adds, edits, or removes items by editing the file. `lore init` is idempotent — a re-init does NOT overwrite a user-edited file. |
|
|
75
|
+
|
|
76
|
+
The Glossary has no soft-delete. Renames or removals are not migrations — dangling references in other Codex documents simply stop matching, with no error.
|
|
77
|
+
|
|
78
|
+
## How It Is Surfaced
|
|
79
|
+
|
|
80
|
+
Three independent surfaces consume the Glossary:
|
|
81
|
+
|
|
82
|
+
1. **`lore glossary {list,search,show}`** — direct read access. See conceptual-workflows-glossary (lore codex show conceptual-workflows-glossary).
|
|
83
|
+
2. **`lore codex show <id>` auto-surface** — when `show-glossary-on-codex-commands = true` in `.lore/config.toml` (the default) and `--skip-glossary` is not passed, the system tokenises every returned Codex document body, matches tokens against keyword and alias token-tuples, and appends a trailing `## Glossary` block with each matched item. The match algorithm is the single shared normaliser described in conceptual-workflows-glossary. `do_not_use` matches are NOT included in the auto-surface block.
|
|
84
|
+
3. **`lore health`** — schema validates `glossary.yaml`, runs intra-file collision checks (duplicate keyword, alias-keyword collision, `do_not_use` collision), and scans every Codex document body for `do_not_use` term hits. See conceptual-workflows-health (lore codex show conceptual-workflows-health).
|
|
85
|
+
|
|
86
|
+
All three surfaces share one normaliser (`lore.glossary._normalise_tokens` and `_build_lookup`). Auto-surface and the health scan are two presentation policies over the same matcher — DRY by construction.
|
|
87
|
+
|
|
88
|
+
## Edge Cases
|
|
89
|
+
|
|
90
|
+
- **Missing file:** `lore glossary list` prints `No glossary defined.` and exits 0. `lore codex show` silently skips auto-surface. `lore health` reports the file as absent (no error — empty glossary is valid).
|
|
91
|
+
- **Malformed YAML or schema violation:** `lore glossary list/search/show` and `lore health` fail loud (stderr error, non-zero exit). `lore codex show` fails soft — emits one stderr line `glossary unavailable: <reason>`, omits the `## Glossary` block, and exits 0. Reliability requirement: a broken glossary MUST NOT break a `lore codex show`.
|
|
92
|
+
- **Aliases are not lookup keys:** `lore glossary show <alias>` returns `Error: glossary keyword "<alias>" not found.` This is by design — aliases are matcher inputs, not retrieval keys. The canonical keyword is the only retrieval surface.
|
|
93
|
+
- **Tokeniser scope:** the matcher splits on `[^\w]+` with `re.UNICODE` and lowercases via `str.casefold()`. Multi-word keywords match as contiguous token runs. `missionary` does NOT match `mission`. Apostrophe-bearing tokens (`source's`) split into `source` and `s`, allowing multi-word matches like `Codex Source` to fire on `the codex source's structure`.
|
|
94
|
+
- **Carve-out for `lore init`:** the Glossary is the only file `lore init` seeds under `.lore/codex/`. The skeleton is written directly to `.lore/codex/glossary.yaml` (NOT under `.lore/codex/default/`), because the file is user-tracked vocabulary and a `default/` placement would be gitignored and overwritten on every re-init. See decisions-013-toml-for-config-yaml-for-glossary (lore codex show decisions-013-toml-for-config-yaml-for-glossary).
|
|
95
|
+
|
|
96
|
+
## Related
|
|
97
|
+
|
|
98
|
+
- conceptual-workflows-glossary (lore codex show conceptual-workflows-glossary) — the read-side workflows (`list`, `search`, `show`, auto-surface, `--skip-glossary`).
|
|
99
|
+
- conceptual-workflows-codex (lore codex show conceptual-workflows-codex) — `lore codex show` is the principal auto-surface entry point.
|
|
100
|
+
- conceptual-workflows-health (lore codex show conceptual-workflows-health) — schema, collision, and deprecated-term scanning.
|
|
101
|
+
- conceptual-workflows-lore-init (lore codex show conceptual-workflows-lore-init) — how the skeleton is seeded.
|
|
102
|
+
- decisions-013-toml-for-config-yaml-for-glossary (lore codex show decisions-013-toml-for-config-yaml-for-glossary) — file-format split (TOML for config, YAML for glossary) and the init carve-out.
|
|
103
|
+
- tech-arch-schemas (lore codex show tech-arch-schemas) — how the `glossary` schema kind plugs into the schemas module.
|
|
@@ -6,6 +6,7 @@ summary: What a Knight is — a reusable AI agent persona stored as a markdown f
|
|
|
6
6
|
soft-delete semantics, and how Knight contents are surfaced to workers at runtime.
|
|
7
7
|
related:
|
|
8
8
|
- conceptual-entities-mission
|
|
9
|
+
- conceptual-entities-glossary
|
|
9
10
|
- tech-arch-knight-module
|
|
10
11
|
- tech-cli-commands
|
|
11
12
|
- conceptual-relationships-knight--mission
|
|
@@ -6,6 +6,7 @@ summary: What a Mission is — the unit of work an agent executes and closes. Co
|
|
|
6
6
|
orphaned missions and soft-delete.
|
|
7
7
|
related:
|
|
8
8
|
- conceptual-entities-quest
|
|
9
|
+
- conceptual-entities-glossary
|
|
9
10
|
- tech-db-schema
|
|
10
11
|
- conceptual-workflows-claim
|
|
11
12
|
- conceptual-workflows-done
|
|
@@ -5,6 +5,7 @@ summary: What a Watcher is — a YAML-configured trigger definition stored in .l
|
|
|
5
5
|
related:
|
|
6
6
|
- conceptual-entities-doctrine
|
|
7
7
|
- conceptual-entities-knight
|
|
8
|
+
- conceptual-entities-glossary
|
|
8
9
|
- conceptual-workflows-watcher-list
|
|
9
10
|
- conceptual-workflows-watcher-crud
|
|
10
11
|
- conceptual-workflows-lore-init
|
|
@@ -12,6 +12,9 @@ related:
|
|
|
12
12
|
- conceptual-workflows-codex-map
|
|
13
13
|
- conceptual-workflows-codex-chaos
|
|
14
14
|
- conceptual-workflows-filter-list
|
|
15
|
+
- conceptual-workflows-glossary
|
|
16
|
+
- conceptual-entities-glossary
|
|
17
|
+
- decisions-013-toml-for-config-yaml-for-glossary
|
|
15
18
|
---
|
|
16
19
|
|
|
17
20
|
# Codex Commands — `lore codex`
|
|
@@ -88,16 +91,27 @@ Text mode: each document is printed with a `=== <id> ===` separator followed by
|
|
|
88
91
|
...
|
|
89
92
|
```
|
|
90
93
|
|
|
91
|
-
### 4.
|
|
94
|
+
### 4. Auto-surface glossary block
|
|
95
|
+
|
|
96
|
+
After all document bodies are emitted, `lore codex show` consults `.lore/config.toml` (`show-glossary-on-codex-commands`, default `true`) and the per-call `--skip-glossary` flag. When auto-surface is enabled, `lore.glossary.match_glossary` tokenises every returned body, matches token runs against canonical glossary keywords and aliases, and appends a trailing `## Glossary` block with each matched item rendered as `**<keyword>** — <definition>`. `do_not_use` terms are NOT auto-surfaced — they are deprecation hits, only surfaced by `lore health` (lore codex show conceptual-workflows-health). When zero items match, no `## Glossary` block is emitted.
|
|
97
|
+
|
|
98
|
+
A malformed glossary fails soft: a single stderr line `glossary unavailable: <reason>` is emitted, the `## Glossary` block is omitted, and the exit code is unchanged. See conceptual-workflows-glossary (lore codex show conceptual-workflows-glossary) for the full algorithm and policy.
|
|
99
|
+
|
|
100
|
+
### 5. JSON mode
|
|
92
101
|
|
|
93
102
|
```json
|
|
94
103
|
{
|
|
95
104
|
"documents": [
|
|
96
105
|
{"id": "...", "title": "...", "summary": "...", "body": "..."}
|
|
106
|
+
],
|
|
107
|
+
"glossary": [
|
|
108
|
+
{"keyword": "...", "definition": "...", "aliases": [], "do_not_use": []}
|
|
97
109
|
]
|
|
98
110
|
}
|
|
99
111
|
```
|
|
100
112
|
|
|
113
|
+
`"glossary"` is always present. It is `[]` when no items match, when `--skip-glossary` was passed, when `show-glossary-on-codex-commands = false`, or when the glossary failed to load. The field-presence rule matches conceptual-workflows-json-output.
|
|
114
|
+
|
|
101
115
|
## Steps — Map (`lore codex map <id> --depth <n>`)
|
|
102
116
|
|
|
103
117
|
`lore codex map` performs BFS traversal of the `related` frontmatter field starting
|
|
@@ -130,6 +144,8 @@ first row. Output order is non-deterministic.
|
|
|
130
144
|
| `--threshold` out of range (chaos) | `--threshold must be between 30 and 100` to stderr | 1 |
|
|
131
145
|
| No documents in codex (list) | `No codex documents found.` | 0 |
|
|
132
146
|
| No matching documents (search) | `No documents matching "<keyword>".` | 0 |
|
|
147
|
+
| Glossary parse/schema failure (show, auto-surface) | Single stderr line `glossary unavailable: <reason>`; `## Glossary` block omitted; primary command continues | 0 (unchanged from non-auto-surface) |
|
|
148
|
+
| Glossary auto-surface skipped via flag | `lore codex show <id> --skip-glossary` — no `## Glossary` block; JSON `"glossary": []` | 0 |
|
|
133
149
|
|
|
134
150
|
## Out of Scope
|
|
135
151
|
|
|
@@ -137,4 +153,4 @@ first row. Output order is non-deterministic.
|
|
|
137
153
|
- Full-text search within document bodies — search matches `id`, `title`, and `summary` only.
|
|
138
154
|
- Graph traversal output showing which document linked to which — `lore codex map` returns a flat list in BFS order.
|
|
139
155
|
|
|
140
|
-
All five codex commands support `--json`.
|
|
156
|
+
All five codex commands support `--json`. Only `lore codex show` accepts `--skip-glossary`; `map` and `chaos` do not surface glossary entries in MVP.
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: conceptual-workflows-glossary
|
|
3
|
+
title: Glossary Commands — lore glossary and auto-surface
|
|
4
|
+
summary: >
|
|
5
|
+
What the system does internally when `lore glossary list/search/show` runs,
|
|
6
|
+
when `lore codex show` auto-surfaces matched glossary entries, and when
|
|
7
|
+
`--skip-glossary` overrides per call. Covers the shared tokeniser, the
|
|
8
|
+
fail-soft policy on `lore codex show`, the fail-loud policy on `lore glossary`
|
|
9
|
+
and `lore health`, the JSON envelope shape, and the `.lore/config.toml` toggle.
|
|
10
|
+
related:
|
|
11
|
+
- conceptual-entities-glossary
|
|
12
|
+
- conceptual-workflows-codex
|
|
13
|
+
- conceptual-workflows-health
|
|
14
|
+
- conceptual-workflows-lore-init
|
|
15
|
+
- conceptual-workflows-error-handling
|
|
16
|
+
- conceptual-workflows-json-output
|
|
17
|
+
- conceptual-workflows-help
|
|
18
|
+
- decisions-013-toml-for-config-yaml-for-glossary
|
|
19
|
+
- decisions-012-multi-value-cli-param-convention
|
|
20
|
+
- tech-cli-commands
|
|
21
|
+
- tech-arch-schemas
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
# Glossary Commands — `lore glossary` and auto-surface
|
|
25
|
+
|
|
26
|
+
The Glossary entity (lore codex show conceptual-entities-glossary) has three operating surfaces: the read-only `lore glossary` CLI group, the auto-surface block appended by `lore codex show`, and the schema/collision/deprecated-term audit run by `lore health` (lore codex show conceptual-workflows-health). This document covers the first two; the health surface is documented inside `conceptual-workflows-health`.
|
|
27
|
+
|
|
28
|
+
All three surfaces share a single normaliser implemented in `lore.glossary` — `_normalise_tokens(text)` and `_build_lookup(items)`. Auto-surface and the deprecated-term scan are two presentation policies over one matcher.
|
|
29
|
+
|
|
30
|
+
## Preconditions
|
|
31
|
+
|
|
32
|
+
- The Lore project has been initialised (`.lore/` exists).
|
|
33
|
+
- `.lore/codex/glossary.yaml` exists (created by `lore init` as a skeleton; user-edited thereafter).
|
|
34
|
+
- Optional: `.lore/config.toml` exists. If absent or missing the relevant key, defaults apply (`show-glossary-on-codex-commands = true`).
|
|
35
|
+
|
|
36
|
+
## Invocation
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
lore glossary
|
|
40
|
+
lore glossary list
|
|
41
|
+
lore glossary list --json
|
|
42
|
+
lore glossary search <query>
|
|
43
|
+
lore glossary search "constable mission"
|
|
44
|
+
lore glossary show <keyword> [<keyword>...]
|
|
45
|
+
lore glossary show Constable Quest
|
|
46
|
+
lore --json glossary show Constable
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
`lore glossary` (no subcommand) is an alias for `lore glossary list`. The group is registered between `codex` and `artifact` in the CLI listing — adjacency reflects the conceptual proximity to the codex.
|
|
50
|
+
|
|
51
|
+
## Steps — List (`lore glossary` / `lore glossary list`)
|
|
52
|
+
|
|
53
|
+
### 1. Load the glossary
|
|
54
|
+
|
|
55
|
+
`lore.glossary.scan_glossary(project_root)` reads `.lore/codex/glossary.yaml`, validates against `lore://schemas/glossary`, and returns a list of frozen `GlossaryItem` dataclasses (`keyword`, `definition`, `aliases: tuple[str,...]`, `do_not_use: tuple[str,...]`).
|
|
56
|
+
|
|
57
|
+
If the file is absent, `scan_glossary` returns `[]` and the CLI prints `No glossary defined.` to stdout, exit 0.
|
|
58
|
+
|
|
59
|
+
### 2. Sort
|
|
60
|
+
|
|
61
|
+
Items are sorted alphabetically by `casefold(keyword)`. Original casing is preserved on display.
|
|
62
|
+
|
|
63
|
+
### 3. Render
|
|
64
|
+
|
|
65
|
+
Text mode emits a table with three columns: `KEYWORD`, `ALIASES` (joined by `, ` or em-dash `—` when empty), `DEFINITION` (truncated to 80 characters with trailing `…` when longer):
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
KEYWORD ALIASES DEFINITION
|
|
69
|
+
Codex — The documentation system at .lore/codex/. Markdown files...
|
|
70
|
+
Constable constable mission, chore mission Mission type for orchestrator-handled chores (commits, ho...
|
|
71
|
+
Quest — A live grouping of Missions representing one body of work.
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
JSON mode emits `{"glossary": [<items>]}` with all four item fields always present (empty arrays for absent `aliases` / `do_not_use` per the field-presence rule in conceptual-workflows-json-output).
|
|
75
|
+
|
|
76
|
+
## Steps — Search (`lore glossary search <query>`)
|
|
77
|
+
|
|
78
|
+
### 1. Load and filter
|
|
79
|
+
|
|
80
|
+
`search_glossary(root, query)` calls `scan_glossary(root)` and returns every item whose `casefold(query)` appears as a substring in any of: `keyword`, any `alias`, any `do_not_use` term, or `definition`. Substring match — NOT the tokenised contiguous-run match used by auto-surface. Substring match makes `search` a discovery tool for partial fragments; the matcher is reserved for auto-surface and the deprecated-term scan.
|
|
81
|
+
|
|
82
|
+
### 2. Sort and render
|
|
83
|
+
|
|
84
|
+
Same alphabetical sort and table layout as `list`. No-match output: `No glossary entries matching "<query>".` exit 0.
|
|
85
|
+
|
|
86
|
+
JSON envelope identical to `list` — `{"glossary": [...]}`.
|
|
87
|
+
|
|
88
|
+
## Steps — Show (`lore glossary show <keyword> [<keyword>...]`)
|
|
89
|
+
|
|
90
|
+
### 1. Accept multiple keywords
|
|
91
|
+
|
|
92
|
+
Positional arguments are zero-or-more keywords. ADR-012 multi-value space-separated semantics apply (lore codex show decisions-012-multi-value-cli-param-convention).
|
|
93
|
+
|
|
94
|
+
### 2. Look up each keyword
|
|
95
|
+
|
|
96
|
+
`read_glossary_item(root, keyword)` is case-insensitive (`casefold` on both sides) and returns the matching `GlossaryItem` or `None`. **Aliases are NOT accepted as lookup keys** — only canonical keywords. This keeps `show` a deterministic retrieval surface (one keyword → at most one item).
|
|
97
|
+
|
|
98
|
+
### 3. Fail-fast on missing keyword
|
|
99
|
+
|
|
100
|
+
If any keyword is missing, the command emits `Error: glossary keyword "<kw>" not found.` to stderr and exits 1 immediately. No partial output is printed. JSON mode emits `{"error": "glossary keyword \"<kw>\" not found."}` to stderr, exit 1. Mirrors the `lore codex show` precedent.
|
|
101
|
+
|
|
102
|
+
### 4. Render
|
|
103
|
+
|
|
104
|
+
Text mode prints each item under a `=== <keyword> ===` separator with `Keyword`, `Aliases`, `Do not use`, and a multi-line `Definition` block:
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
=== Constable ===
|
|
108
|
+
Keyword: Constable
|
|
109
|
+
Aliases: constable mission, chore mission
|
|
110
|
+
Do not use: bot mission
|
|
111
|
+
Definition:
|
|
112
|
+
Mission type for orchestrator-handled chores (commits, housekeeping).
|
|
113
|
+
Not dispatched to a worker.
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
JSON mode emits `{"glossary": [<items>]}` in the order keywords were requested (deduplicated).
|
|
117
|
+
|
|
118
|
+
## Steps — Auto-Surface (`lore codex show <id> [<id>...]`)
|
|
119
|
+
|
|
120
|
+
### 1. Read documents
|
|
121
|
+
|
|
122
|
+
The existing `lore codex show` pipeline runs unchanged (lore codex show conceptual-workflows-codex). Each requested document is read; bodies are collected.
|
|
123
|
+
|
|
124
|
+
### 2. Resolve config and flags
|
|
125
|
+
|
|
126
|
+
`lore.config.load_config(project_root)` returns a `Config` dataclass. `show-glossary-on-codex-commands` (default `true`) controls auto-surface globally. The `--skip-glossary` flag on `lore codex show` overrides per call. Effective rule: `show_glossary = config.show_glossary_on_codex_commands and not skip_glossary`.
|
|
127
|
+
|
|
128
|
+
If `show_glossary` is `False`, auto-surface is skipped entirely — no glossary block in text mode, `"glossary": []` in JSON mode.
|
|
129
|
+
|
|
130
|
+
### 3. Match
|
|
131
|
+
|
|
132
|
+
`match_glossary(bodies, root=project_root)` runs once:
|
|
133
|
+
|
|
134
|
+
- Calls `scan_glossary(root)` to load items.
|
|
135
|
+
- Builds a canonical-only lookup: `_build_lookup(items)` maps token-tuples (from `keyword` and each `alias`) to their `GlossaryItem`. `do_not_use` terms are excluded — auto-surface is canonical-vocabulary only.
|
|
136
|
+
- For each body, calls `_normalise_tokens(body)` (split on `[^\w]+` with `re.UNICODE`, casefold, drop empty strings).
|
|
137
|
+
- For each token position, attempts the longest-prefix match against the lookup. On a hit, the matched item is recorded once (set semantics) and the scan advances past the matched run.
|
|
138
|
+
- Returns the matched items alphabetised by casefolded keyword.
|
|
139
|
+
|
|
140
|
+
**Multi-word keyword + apostrophe regression:** body `the codex source's structure` tokenises to `["the", "codex", "source", "s", "structure"]`. A glossary item `keyword: Codex Source` becomes the token-tuple `("codex", "source")` and matches at index 1. This case is locked into the unit-test fixture.
|
|
141
|
+
|
|
142
|
+
`missionary` does NOT match `mission` because the matcher requires complete-token matches, not substring matches.
|
|
143
|
+
|
|
144
|
+
### 4. Render
|
|
145
|
+
|
|
146
|
+
Text mode appends a trailing `## Glossary` block after the last document body (separated by a blank line). Each matched item renders as `**<keyword>** — <definition>` on a single line. Multi-line definitions collapse to one line via `" ".join(definition.split())`. No ANSI; matches the existing CLI plain-text style.
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
=== conceptual-entities-mission ===
|
|
150
|
+
# Mission
|
|
151
|
+
... (body) ...
|
|
152
|
+
|
|
153
|
+
## Glossary
|
|
154
|
+
|
|
155
|
+
**Mission** — The unit of work an agent executes and closes.
|
|
156
|
+
|
|
157
|
+
**Quest** — A live grouping of Missions representing one body of work.
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
When zero items match, no `## Glossary` heading is emitted.
|
|
161
|
+
|
|
162
|
+
JSON mode adds an always-present `"glossary": [...]` field alongside `"documents"`:
|
|
163
|
+
|
|
164
|
+
```json
|
|
165
|
+
{
|
|
166
|
+
"documents": [{"id": "...", "title": "...", "summary": "...", "body": "..."}],
|
|
167
|
+
"glossary": [{"keyword": "Mission", "definition": "...", "aliases": [], "do_not_use": []}]
|
|
168
|
+
}
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
`"glossary"` is `[]` (always present, never omitted) when no items match, when `--skip-glossary` was passed, or when the config disables auto-surface. The always-present rule satisfies the field-presence contract in conceptual-workflows-json-output.
|
|
172
|
+
|
|
173
|
+
### 5. Fail-soft policy
|
|
174
|
+
|
|
175
|
+
If `scan_glossary` raises `GlossaryError` (parse failure or schema violation) or `OSError`, the auto-surface step:
|
|
176
|
+
|
|
177
|
+
- Emits a single line to stderr: `glossary unavailable: <reason>`.
|
|
178
|
+
- Treats the glossary as empty for this call.
|
|
179
|
+
- Does NOT propagate the error to the user.
|
|
180
|
+
- Exits 0 (or whatever exit the rest of `lore codex show` would have used).
|
|
181
|
+
|
|
182
|
+
This is the reliability bar from PRD NFR-Reliability: a malformed glossary MUST NOT break `lore codex show`. The same `GlossaryError` is treated fail-loud in `lore glossary list/search/show` and in `lore health`.
|
|
183
|
+
|
|
184
|
+
## Failure Modes
|
|
185
|
+
|
|
186
|
+
| Failure point | Surface | Behaviour | Exit code |
|
|
187
|
+
|---|---|---|---|
|
|
188
|
+
| Missing `.lore/codex/glossary.yaml` | `lore glossary list` | Stdout `No glossary defined.` | 0 |
|
|
189
|
+
| Missing `.lore/codex/glossary.yaml` | `lore glossary search` | Stdout `No glossary entries matching "<query>".` | 0 |
|
|
190
|
+
| Missing `.lore/codex/glossary.yaml` | `lore glossary show <kw>` | Stderr `Error: glossary keyword "<kw>" not found.` | 1 |
|
|
191
|
+
| Missing `.lore/codex/glossary.yaml` | `lore codex show` (auto-surface) | Skipped silently; no stderr; no glossary block | 0 |
|
|
192
|
+
| Malformed YAML or schema fail | `lore glossary list/search/show` | Stderr `Error: glossary unavailable: <reason>` | 1 |
|
|
193
|
+
| Malformed YAML or schema fail | `lore codex show` (auto-surface) | Stderr (single line) `glossary unavailable: <reason>`; no glossary block | 0 |
|
|
194
|
+
| Malformed YAML or schema fail | `lore health --scope glossary` (or `--scope schemas`) | `HealthIssue(severity="error", check="schema", schema_id="lore://schemas/glossary", ...)`; markdown report rows | 1 |
|
|
195
|
+
| Missing keyword on `show` | `lore glossary show` | Fail-fast: first missing aborts; stderr `Error: glossary keyword "<kw>" not found.` | 1 |
|
|
196
|
+
| Missing `.lore/config.toml` | any | `load_config` returns `DEFAULT_CONFIG` silently | 0 |
|
|
197
|
+
| Malformed `.lore/config.toml` | any | One-time stderr warning `lore: invalid config at .lore/config.toml: <reason> (using defaults)`; defaults applied | 0 |
|
|
198
|
+
| Wrong-type known config key | any | One-time stderr warning naming the key; default substituted | 0 |
|
|
199
|
+
|
|
200
|
+
## Out of Scope
|
|
201
|
+
|
|
202
|
+
- **Glossary writes via CLI.** No `lore glossary new/edit/delete`. Maintainers edit `.lore/codex/glossary.yaml` directly. This mirrors the artifact CLI read-only pattern (lore codex show conceptual-entities-artifact).
|
|
203
|
+
- **Auto-surface on `lore codex map` / `lore codex chaos`.** MVP scopes auto-surface to `lore codex show` only. `--skip-glossary` is not accepted on `map` or `chaos`.
|
|
204
|
+
- **Per-document glossary opt-out via frontmatter.** The only toggle is the project-wide `show-glossary-on-codex-commands` setting in `.lore/config.toml` and the per-call `--skip-glossary` flag.
|
|
205
|
+
- **Cross-project glossary import.** Each project owns its own `glossary.yaml`. No `lore glossary import <path>`.
|
|
206
|
+
- **Hash-based incremental indexing.** Linear scan satisfies the <200 ms NFR budget on the projected scale. Indexing is deferred post-MVP.
|
|
207
|
+
- **Auto-learning glossary terms from prose.** Out of scope.
|
|
208
|
+
|
|
209
|
+
## Python API
|
|
210
|
+
|
|
211
|
+
```python
|
|
212
|
+
from lore.models import GlossaryItem
|
|
213
|
+
from lore.glossary import (
|
|
214
|
+
scan_glossary,
|
|
215
|
+
read_glossary_item,
|
|
216
|
+
search_glossary,
|
|
217
|
+
match_glossary,
|
|
218
|
+
find_deprecated_terms,
|
|
219
|
+
GlossaryError,
|
|
220
|
+
)
|
|
221
|
+
|
|
222
|
+
items = scan_glossary(project_root) # list[GlossaryItem]; [] if file missing
|
|
223
|
+
item = read_glossary_item(project_root, "Constable") # GlossaryItem | None
|
|
224
|
+
hits = search_glossary(project_root, "mission") # list[GlossaryItem]
|
|
225
|
+
matched = match_glossary([doc1_body, doc2_body], root=project_root) # list[GlossaryItem] (canonical-only)
|
|
226
|
+
deprecated = find_deprecated_terms({"doc-id-1": body1}, root=project_root)
|
|
227
|
+
# list[tuple[GlossaryItem, doc_id, matched_term]]
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
`GlossaryItem` is in `lore.models.__all__` (FR-30, ADR-010). `Config` is internal — not exported (FR-14, deferred until Realm asks). `scan_glossary` returns `[]` on missing file; raises `GlossaryError` on parse failure or schema violation.
|
|
231
|
+
|
|
232
|
+
## Related
|
|
233
|
+
|
|
234
|
+
- conceptual-entities-glossary (lore codex show conceptual-entities-glossary) — what the entity is.
|
|
235
|
+
- conceptual-workflows-codex (lore codex show conceptual-workflows-codex) — the `lore codex show` host pipeline.
|
|
236
|
+
- conceptual-workflows-health (lore codex show conceptual-workflows-health) — schema, collision, and deprecated-term audit.
|
|
237
|
+
- conceptual-workflows-lore-init (lore codex show conceptual-workflows-lore-init) — how the skeleton is seeded.
|
|
238
|
+
- conceptual-workflows-error-handling (lore codex show conceptual-workflows-error-handling) — exit codes and stderr routing.
|
|
239
|
+
- conceptual-workflows-json-output (lore codex show conceptual-workflows-json-output) — JSON envelope contract.
|
|
240
|
+
- decisions-013-toml-for-config-yaml-for-glossary (lore codex show decisions-013-toml-for-config-yaml-for-glossary) — file-format split.
|
|
241
|
+
- decisions-012-multi-value-cli-param-convention (lore codex show decisions-012-multi-value-cli-param-convention) — `lore glossary show <kw> [...]` and `--scope glossary` semantics.
|
|
242
|
+
- tech-cli-commands (lore codex show tech-cli-commands) — full CLI reference.
|