lore-agent-task-manager 0.4.0__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.
Files changed (387) hide show
  1. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/CODEX.md +50 -9
  2. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/entities/artifact.md +3 -3
  3. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/entities/doctrine.md +5 -5
  4. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/entities/glossary.md +1 -1
  5. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/entities/knight.md +3 -3
  6. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/entities/mission.md +3 -3
  7. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/entities/quest.md +5 -5
  8. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/entities/watcher.md +2 -2
  9. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/relationships/artifact--doctrine.md +1 -1
  10. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/relationships/doctrine--knight.md +1 -1
  11. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/relationships/doctrine--mission.md +1 -1
  12. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/relationships/doctrine--quest.md +1 -1
  13. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/relationships/knight--mission.md +1 -1
  14. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/relationships/mission--mission.md +1 -1
  15. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/relationships/quest--mission.md +1 -1
  16. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/artifact-list.md +2 -2
  17. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/artifact-new.md +2 -2
  18. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/block.md +1 -1
  19. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/board.md +1 -1
  20. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/claim.md +1 -1
  21. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/codex-chaos.md +7 -7
  22. lore_agent_task_manager-0.5.0/.lore/codex/conceptual/workflows/codex-map.md +203 -0
  23. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/codex.md +19 -6
  24. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/concurrent-access.md +1 -1
  25. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/doctrine-list.md +2 -2
  26. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/doctrine-new.md +2 -2
  27. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/doctrine-show.md +3 -3
  28. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/done.md +1 -1
  29. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/error-handling.md +1 -1
  30. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/filter-list.md +2 -2
  31. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/glossary.md +2 -2
  32. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/health.md +3 -3
  33. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/help.md +1 -1
  34. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/json-output.md +1 -1
  35. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/knight-list.md +2 -2
  36. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/lore-init.md +8 -7
  37. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/oracle.md +1 -1
  38. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/python-api.md +1 -1
  39. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/schema-migrations.md +1 -1
  40. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/stats.md +1 -1
  41. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/typical-workflow.md +1 -1
  42. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/watcher-crud.md +2 -2
  43. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/watcher-list.md +2 -2
  44. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/003-soft-delete-semantics.md +1 -1
  45. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/005-auto-close-toggle.md +2 -2
  46. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/006-id-references.md +1 -1
  47. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/007-artifact-communication-protocol.md +1 -1
  48. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/008-help-as-teaching-interface.md +2 -2
  49. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/009-mission-self-containment.md +2 -2
  50. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/010-public-api-stability.md +1 -1
  51. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/011-api-parity-with-cli.md +2 -2
  52. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/012-multi-value-cli-param-convention.md +1 -1
  53. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/013-toml-for-config-yaml-for-glossary.md +3 -2
  54. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/standards/facade.md +2 -2
  55. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/standards/public-api-stability.md +1 -1
  56. lore_agent_task_manager-0.5.0/.lore/codex/technical/api/ref/core.md +104 -0
  57. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/architecture/graph.md +2 -2
  58. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/architecture/initialized-project-structure.md +6 -4
  59. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/architecture/schemas.md +2 -2
  60. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/architecture/source-layout.md +2 -2
  61. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/cli/entity-crud-matrix.md +3 -3
  62. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/cli/oracle-slugification.md +1 -1
  63. lore_agent_task_manager-0.5.0/.lore/codex/technical/cli/ref/commands.md +210 -0
  64. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/codex-chaos.md +16 -8
  65. lore_agent_task_manager-0.5.0/.lore/codex/technical/codex-map.md +238 -0
  66. lore_agent_task_manager-0.5.0/.lore/codex/technical/database/ref/core.md +83 -0
  67. lore_agent_task_manager-0.5.0/.lore/codex/technical/doctrine/ref/module.md +71 -0
  68. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/oracle/internals.md +4 -4
  69. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/overview.md +4 -4
  70. lore_agent_task_manager-0.5.0/.lore/codex/vision/benchmarks.md +186 -0
  71. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/vision/camelot-system.md +2 -1
  72. lore_agent_task_manager-0.5.0/.lore/knights/default/tdd-feature/story-grouper.md +78 -0
  73. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/lore.db +0 -0
  74. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/CHANGELOG.md +29 -1
  75. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/PKG-INFO +1 -1
  76. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/pyproject.toml +2 -2
  77. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/cli.py +92 -13
  78. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/codex.py +120 -109
  79. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/CODEX.md +25 -5
  80. lore_agent_task_manager-0.5.0/src/lore/defaults/artifacts/codex/technical/database/ref/tasks.md +44 -0
  81. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/knights/feature-implementation/scout.md +2 -2
  82. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/knights/feature-implementation/tech-writer.md +4 -0
  83. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/skills/explore-codex/SKILL.md +15 -4
  84. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/skills/ingest-source/SKILL.md +8 -0
  85. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/skills/refresh-source/SKILL.md +6 -0
  86. lore_agent_task_manager-0.5.0/src/lore/defaults/skills/update-codex/SKILL.md +142 -0
  87. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/health.py +3 -0
  88. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/init.py +32 -1
  89. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/paths.py +4 -0
  90. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_codex_chaos.py +12 -16
  91. lore_agent_task_manager-0.5.0/tests/e2e/test_codex_map.py +1077 -0
  92. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_filter_list.py +2 -0
  93. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_health_glossary.py +4 -0
  94. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_lore_init.py +102 -0
  95. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_lore_init_glossary.py +5 -213
  96. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_codex.py +23 -248
  97. lore_agent_task_manager-0.5.0/tests/unit/test_codex_build_adjacency.py +146 -0
  98. lore_agent_task_manager-0.5.0/tests/unit/test_codex_map.py +900 -0
  99. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_lore_init.py +161 -0
  100. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_schema_defaults_regression.py +1 -1
  101. lore_agent_task_manager-0.4.0/.lore/codex/conceptual/workflows/codex-map.md +0 -115
  102. lore_agent_task_manager-0.4.0/.lore/codex/technical/api/surface.md +0 -206
  103. lore_agent_task_manager-0.4.0/.lore/codex/technical/cli/commands.md +0 -1562
  104. lore_agent_task_manager-0.4.0/.lore/codex/technical/codex-map.md +0 -120
  105. lore_agent_task_manager-0.4.0/.lore/codex/technical/database/schema.md +0 -540
  106. lore_agent_task_manager-0.4.0/.lore/codex/technical/doctrine/internals.md +0 -249
  107. lore_agent_task_manager-0.4.0/src/lore/defaults/artifacts/codex/technical/database/schemas/tasks.md +0 -46
  108. lore_agent_task_manager-0.4.0/src/lore/defaults/artifacts/codex/technical/database/schemas/users.md +0 -35
  109. lore_agent_task_manager-0.4.0/src/lore/defaults/docs/CODEX.md +0 -37
  110. lore_agent_task_manager-0.4.0/tests/e2e/test_codex_map.py +0 -1403
  111. lore_agent_task_manager-0.4.0/tests/unit/test_default_seed_glossary_content.py +0 -156
  112. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.gitignore +0 -0
  113. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/.gitignore +0 -0
  114. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/CODEX.md +0 -0
  115. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/GETTING-STARTED.md +0 -0
  116. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/LORE-AGENT.md +0 -0
  117. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/CODEX.md +0 -0
  118. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/conceptual/entities/task.md +0 -0
  119. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/conceptual/entities/user.md +0 -0
  120. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/conceptual/relationships/user--task.md +0 -0
  121. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/conceptual/workflows/complete-task.md +0 -0
  122. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/conceptual/workflows/create-and-assign-entity.md +0 -0
  123. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/constraints/constraints.md +0 -0
  124. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/decisions/001-sqlite-storage.md +0 -0
  125. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/decisions/adr-no-default-content-tests.md +0 -0
  126. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/glossary/glossary.md +0 -0
  127. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/integrations/integrations.md +0 -0
  128. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/operations/deployment/development.md +0 -0
  129. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/operations/deployment/overview.md +0 -0
  130. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/operations/deployment/production.md +0 -0
  131. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/operations/deployment/staging.md +0 -0
  132. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/operations/git.md +0 -0
  133. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/operations/runbooks/runbook-template.md +0 -0
  134. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/personas/persona.md +0 -0
  135. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/security/security-model.md +0 -0
  136. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/standards/code-conventions.md +0 -0
  137. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/standards/design-principles.md +0 -0
  138. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/standards/testing.md +0 -0
  139. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/technical/backend/api/tasks.md +0 -0
  140. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/technical/backend/overview.md +0 -0
  141. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/technical/database/overview.md +0 -0
  142. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/technical/database/schemas/tasks.md +0 -0
  143. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/technical/database/schemas/users.md +0 -0
  144. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/technical/frontend/overview.md +0 -0
  145. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/technical/overview.md +0 -0
  146. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/codex/vision/product-vision.md +0 -0
  147. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/feature-implementation/codex-change-proposal.md +0 -0
  148. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/feature-implementation/context-map.md +0 -0
  149. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/feature-implementation/crazy-prd.md +0 -0
  150. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/feature-implementation/crazy-tech-spec.md +0 -0
  151. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/feature-implementation/prd-draft.md +0 -0
  152. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/feature-implementation/prd.md +0 -0
  153. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/feature-implementation/tech-spec-draft.md +0 -0
  154. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/feature-implementation/tech-spec.md +0 -0
  155. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/feature-implementation/user-story-index.md +0 -0
  156. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/feature-implementation/user-story.md +0 -0
  157. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/lore-design-documents/doctrine-design.md +0 -0
  158. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/artifacts/default/lore-design-documents/glossary-design.md +0 -0
  159. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/relationships/watcher--doctrine.md +0 -0
  160. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/dependencies.md +0 -0
  161. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/knight-crud.md +0 -0
  162. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/mission-crud.md +0 -0
  163. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/mission-type.md +0 -0
  164. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/quest-crud.md +0 -0
  165. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/ready.md +0 -0
  166. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/show.md +0 -0
  167. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/conceptual/workflows/validators.md +0 -0
  168. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/001-dumb-infrastructure.md +0 -0
  169. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/002-package-name.md +0 -0
  170. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/004-mission-type-dumb-storage.md +0 -0
  171. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/decisions/006-no-seed-content-tests.md +0 -0
  172. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/glossary.yaml +0 -0
  173. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/operations/git-workflow.md +0 -0
  174. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/operations/installation.md +0 -0
  175. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/operations/publish-pypi.md +0 -0
  176. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/standards/dependency-inversion.md +0 -0
  177. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/standards/dry.md +0 -0
  178. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/standards/separation-of-concerns.md +0 -0
  179. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/standards/single-responsibility.md +0 -0
  180. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/architecture/agents-md.md +0 -0
  181. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/architecture/frontmatter.md +0 -0
  182. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/architecture/knight-module.md +0 -0
  183. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/architecture/project-root-detection.md +0 -0
  184. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/architecture/validators.md +0 -0
  185. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/codex/technical/test-guidelines.md +0 -0
  186. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/config.toml +0 -0
  187. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/doctrines/default/feature-implementation/feature-implementation.design.md +0 -0
  188. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/doctrines/default/feature-implementation/feature-implementation.yaml +0 -0
  189. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/doctrines/default/feature-implementation/quick-feature-implementation.design.md +0 -0
  190. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/doctrines/default/feature-implementation/quick-feature-implementation.yaml +0 -0
  191. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/doctrines/default/feature-implementation/tdd-implementation.design.md +0 -0
  192. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/doctrines/default/feature-implementation/tdd-implementation.yaml +0 -0
  193. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/doctrines/default/update-changelog.design.md +0 -0
  194. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/doctrines/default/update-changelog.yaml +0 -0
  195. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/doctrines/tdd-feature/tdd-feature.design.md +0 -0
  196. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/doctrines/tdd-feature/tdd-feature.yaml +0 -0
  197. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/knights/default/changelog-scribe.md +0 -0
  198. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/knights/default/feature-implementation/architect.md +0 -0
  199. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/knights/default/feature-implementation/ba.md +0 -0
  200. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/knights/default/feature-implementation/crazy-architect.md +0 -0
  201. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/knights/default/feature-implementation/crazy-pm.md +0 -0
  202. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/knights/default/feature-implementation/pm.md +0 -0
  203. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/knights/default/feature-implementation/scout.md +0 -0
  204. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/knights/default/feature-implementation/tdd-green.md +0 -0
  205. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/knights/default/feature-implementation/tdd-red.md +0 -0
  206. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/knights/default/feature-implementation/tdd-refactor.md +0 -0
  207. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/knights/default/feature-implementation/tech-lead.md +0 -0
  208. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/knights/default/feature-implementation/tech-writer.md +0 -0
  209. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/skills/.gitignore +0 -0
  210. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/skills/explore-codex/SKILL.md +0 -0
  211. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/skills/ingest-source/SKILL.md +0 -0
  212. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/skills/new-artifact/SKILL.md +0 -0
  213. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/skills/new-doctrine/SKILL.md +0 -0
  214. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/skills/new-knight/SKILL.md +0 -0
  215. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/skills/new-watcher/SKILL.md +0 -0
  216. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/skills/refresh-source/SKILL.md +0 -0
  217. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/skills/start-quest/SKILL.md +0 -0
  218. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/.lore/watchers/default/change-log-updates.yaml +0 -0
  219. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/LICENSE +0 -0
  220. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/README.md +0 -0
  221. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/__init__.py +0 -0
  222. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/__main__.py +0 -0
  223. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/artifact.py +0 -0
  224. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/config.py +0 -0
  225. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/db.py +0 -0
  226. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/conceptual/entities/task.md +0 -0
  227. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/conceptual/entities/user.md +0 -0
  228. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/conceptual/relationships/user--task.md +0 -0
  229. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/conceptual/workflows/complete-task.md +0 -0
  230. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/conceptual/workflows/create-and-assign-entity.md +0 -0
  231. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/constraints/constraints.md +0 -0
  232. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/decisions/001-sqlite-storage.md +0 -0
  233. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/decisions/adr-no-default-content-tests.md +0 -0
  234. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/glossary/glossary.md +0 -0
  235. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/integrations/integrations.md +0 -0
  236. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/operations/deployment/development.md +0 -0
  237. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/operations/deployment/overview.md +0 -0
  238. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/operations/deployment/production.md +0 -0
  239. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/operations/deployment/staging.md +0 -0
  240. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/operations/git.md +0 -0
  241. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/operations/runbooks/runbook-template.md +0 -0
  242. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/personas/persona.md +0 -0
  243. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/security/security-model.md +0 -0
  244. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/standards/code-conventions.md +0 -0
  245. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/standards/design-principles.md +0 -0
  246. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/standards/testing.md +0 -0
  247. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/technical/backend/api/tasks.md +0 -0
  248. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/technical/backend/overview.md +0 -0
  249. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/technical/database/overview.md +0 -0
  250. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/technical/frontend/overview.md +0 -0
  251. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/technical/overview.md +0 -0
  252. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/codex/vision/product-vision.md +0 -0
  253. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/feature-implementation/codex-change-proposal.md +0 -0
  254. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/feature-implementation/context-map.md +0 -0
  255. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/feature-implementation/crazy-prd.md +0 -0
  256. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/feature-implementation/crazy-tech-spec.md +0 -0
  257. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/feature-implementation/prd-draft.md +0 -0
  258. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/feature-implementation/prd.md +0 -0
  259. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/feature-implementation/tech-spec-draft.md +0 -0
  260. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/feature-implementation/tech-spec.md +0 -0
  261. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/feature-implementation/user-story-index.md +0 -0
  262. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/feature-implementation/user-story.md +0 -0
  263. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/lore-design-documents/doctrine-design.md +0 -0
  264. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/artifacts/lore-design-documents/glossary-design.md +0 -0
  265. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/docs/GETTING-STARTED.md +0 -0
  266. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/docs/LORE-AGENT.md +0 -0
  267. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/doctrines/feature-implementation/feature-implementation.design.md +0 -0
  268. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/doctrines/feature-implementation/feature-implementation.yaml +0 -0
  269. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/doctrines/feature-implementation/quick-feature-implementation.design.md +0 -0
  270. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/doctrines/feature-implementation/quick-feature-implementation.yaml +0 -0
  271. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/doctrines/feature-implementation/tdd-implementation.design.md +0 -0
  272. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/doctrines/feature-implementation/tdd-implementation.yaml +0 -0
  273. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/doctrines/update-changelog.design.md +0 -0
  274. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/doctrines/update-changelog.yaml +0 -0
  275. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/gitignore +0 -0
  276. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/knights/changelog-scribe.md +0 -0
  277. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/knights/feature-implementation/architect.md +0 -0
  278. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/knights/feature-implementation/ba.md +0 -0
  279. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/knights/feature-implementation/crazy-architect.md +0 -0
  280. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/knights/feature-implementation/crazy-pm.md +0 -0
  281. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/knights/feature-implementation/pm.md +0 -0
  282. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/knights/feature-implementation/tdd-green.md +0 -0
  283. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/knights/feature-implementation/tdd-red.md +0 -0
  284. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/knights/feature-implementation/tdd-refactor.md +0 -0
  285. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/knights/feature-implementation/tech-lead.md +0 -0
  286. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/schema.sql +0 -0
  287. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/skills/new-artifact/SKILL.md +0 -0
  288. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/skills/new-doctrine/SKILL.md +0 -0
  289. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/skills/new-knight/SKILL.md +0 -0
  290. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/skills/new-watcher/SKILL.md +0 -0
  291. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/skills/start-quest/SKILL.md +0 -0
  292. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/defaults/watchers/change-log-updates.yaml +0 -0
  293. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/doctrine.py +0 -0
  294. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/frontmatter.py +0 -0
  295. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/glossary.py +0 -0
  296. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/graph.py +0 -0
  297. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/ids.py +0 -0
  298. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/knight.py +0 -0
  299. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/migrations/__init__.py +0 -0
  300. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/migrations/v1_to_v2.py +0 -0
  301. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/migrations/v2_to_v3.py +0 -0
  302. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/migrations/v3_to_v4.py +0 -0
  303. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/migrations/v4_to_v5.py +0 -0
  304. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/migrations/v5_to_v6.py +0 -0
  305. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/models.py +0 -0
  306. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/oracle.py +0 -0
  307. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/priority.py +0 -0
  308. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/py.typed +0 -0
  309. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/root.py +0 -0
  310. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/schemas/__init__.py +0 -0
  311. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/schemas/artifact-frontmatter.yaml +0 -0
  312. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/schemas/codex-frontmatter.yaml +0 -0
  313. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/schemas/codex-source-frontmatter.yaml +0 -0
  314. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/schemas/doctrine-design-frontmatter.yaml +0 -0
  315. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/schemas/doctrine-yaml.yaml +0 -0
  316. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/schemas/glossary.yaml +0 -0
  317. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/schemas/knight-frontmatter.yaml +0 -0
  318. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/schemas/watcher-yaml.yaml +0 -0
  319. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/validators.py +0 -0
  320. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/src/lore/watcher.py +0 -0
  321. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/__init__.py +0 -0
  322. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/conftest.py +0 -0
  323. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/__init__.py +0 -0
  324. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/conftest.py +0 -0
  325. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_artifact_list.py +0 -0
  326. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_artifact_new.py +0 -0
  327. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_block.py +0 -0
  328. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_board.py +0 -0
  329. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_claim.py +0 -0
  330. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_codex.py +0 -0
  331. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_concurrent_access.py +0 -0
  332. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_config.py +0 -0
  333. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_dependencies.py +0 -0
  334. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_doctrine_list.py +0 -0
  335. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_doctrine_new.py +0 -0
  336. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_doctrine_show.py +0 -0
  337. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_done.py +0 -0
  338. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_error_handling.py +0 -0
  339. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_glossary.py +0 -0
  340. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_health.py +0 -0
  341. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_health_schemas.py +0 -0
  342. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_health_schemas_us005.py +0 -0
  343. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_health_schemas_us007.py +0 -0
  344. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_health_schemas_us008.py +0 -0
  345. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_help_group_param.py +0 -0
  346. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_knight_crud.py +0 -0
  347. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_knight_list.py +0 -0
  348. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_list_group_audit.py +0 -0
  349. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_lore_init_schema_clean.py +0 -0
  350. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_mission_crud.py +0 -0
  351. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_oracle.py +0 -0
  352. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_python_api.py +0 -0
  353. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_quest_crud.py +0 -0
  354. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_ready.py +0 -0
  355. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_schema_defaults_regression.py +0 -0
  356. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_schema_migrations.py +0 -0
  357. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_stats.py +0 -0
  358. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_watcher_crud.py +0 -0
  359. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/e2e/test_watcher_list.py +0 -0
  360. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/__init__.py +0 -0
  361. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/conftest.py +0 -0
  362. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_artifact.py +0 -0
  363. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_cli_codex_list.py +0 -0
  364. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_cli_codex_show.py +0 -0
  365. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_cli_glossary.py +0 -0
  366. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_config.py +0 -0
  367. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_cross_platform.py +0 -0
  368. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_derive_group.py +0 -0
  369. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_doctrine.py +0 -0
  370. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_filter_subtree.py +0 -0
  371. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_frontmatter.py +0 -0
  372. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_frontmatter_raw.py +0 -0
  373. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_glossary.py +0 -0
  374. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_graph.py +0 -0
  375. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_health.py +0 -0
  376. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_health_schemas.py +0 -0
  377. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_health_schemas_us007.py +0 -0
  378. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_help_enrichment.py +0 -0
  379. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_knight.py +0 -0
  380. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_models.py +0 -0
  381. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_package_distribution.py +0 -0
  382. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_paths.py +0 -0
  383. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_root.py +0 -0
  384. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_scaffold.py +0 -0
  385. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_schemas.py +0 -0
  386. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_validators.py +0 -0
  387. {lore_agent_task_manager-0.4.0 → lore_agent_task_manager-0.5.0}/tests/unit/test_watcher.py +0 -0
@@ -33,7 +33,7 @@ Documentation is divided into layers. Each layer has one job.
33
33
 
34
34
  **Conceptual docs describe the system from the outside.** No file paths, no schema columns, no API endpoints. If a business analyst can read it and understand it without knowing the tech stack, it belongs in conceptual.
35
35
 
36
- **Technical docs describe the system from the inside.** Database schemas, CLI command specs, source layout, infrastructure. Each component of the software gets its own subdirectory.
36
+ **Technical docs describe the system from the inside.** Database schemas, CLI command specs, source layout, infrastructure. Each component of the software gets its own subdirectory. For concrete artifacts (DB tables, API endpoints, models, events, jobs), prefer **Reference Docs** under `<technical-domain>/ref/` over schema dumps — see "Reference Docs" below.
37
37
 
38
38
  These two trees link to each other but never duplicate. If a fact exists in a schema file, the entity file links to it — it does not repeat it. One fact, one file.
39
39
 
@@ -56,6 +56,42 @@ Documentation is either stable or in-flight.
56
56
 
57
57
  **The deletion test:** when a feature ships, its spec and user stories can be deleted. If deleting them causes any information to be lost, the stable documentation was not properly updated. A complete documentation update is part of the definition of done.
58
58
 
59
+ ## Reference Docs
60
+
61
+ Reference docs capture **intent around** concrete technical artifacts — DB tables, API endpoints, models, events, jobs — without mirroring schema. Schema lives in the source of truth (DDL, OpenAPI, ORM); the codex never owns it. Reference docs explain what the schema cannot say: history, non-enforced constraints, gotchas, ownership, lifecycle.
62
+
63
+ **Location.** `<technical-domain>/ref/` — e.g. `technical/database/ref/`, `technical/api/ref/`, `technical/events/ref/`. The `ref/` subdirectory is the convention; do not invent siblings.
64
+
65
+ **ID convention.** `ref-<system>-<concept>` — pure naming, not a frontmatter field. Examples:
66
+
67
+ - `ref-orders_db-checkout` — covers `orders`, `line_items`, `shipments`
68
+ - `ref-billing_db-ledger` — covers `entries`, `accounts`, `postings`
69
+ - `ref-orders_db-line_items` — single-entity doc when one entity carries intent its cluster does not
70
+
71
+ **Granularity.** One doc per logical cluster, not per entity. Intent is usually a cluster property — splitting it across siblings duplicates or fragments the why. Go finer only when one entity carries intent that does not belong to its cluster (noisy gotcha, deprecation timeline, different owner). A boring CRUD entity with no surprising history needs no reference doc at all.
72
+
73
+ **Body shape.**
74
+
75
+ ```markdown
76
+ **Covers:** `orders`, `line_items`, `shipments`
77
+ **Source of truth:** `db/orders/migrations/`
78
+
79
+ ## Why this exists
80
+ ...
81
+
82
+ ## Gotchas
83
+ ...
84
+
85
+ ## Shape
86
+ ~10 columns. Full schema in source file above.
87
+ ```
88
+
89
+ No schema dump. The reader who wants column types reads the migration. The reader who wants to know *why `order_id` has no FK constraint* reads this.
90
+
91
+ **Discoverability rule (enforced).** Cluster docs MUST name every covered entity verbatim in the body — the `**Covers:**` line is the canonical place — so `lore codex search <table_name>` lands on the cluster doc. Without this, granularity flexibility breaks search.
92
+
93
+ **No new frontmatter.** Reference docs use the standard codex frontmatter — no `kind`, no `system`, no `source_of_truth` field. The source-of-truth pointer lives in the body.
94
+
59
95
  ## Decisions
60
96
 
61
97
  `decisions/` contains Architecture Decision Records. Write an ADR when a significant architectural choice is made — one that future contributors should not unknowingly reverse. Each ADR records context, the decision, why it was made, and what alternatives were rejected. The alternatives section is particularly valuable: it tells an AI agent what not to suggest.
@@ -87,13 +123,18 @@ The `related` field is a list of codex IDs that this document links to. Cross-re
87
123
 
88
124
  `related` links are **directed**: declaring B in document A's `related` field means A
89
125
  references B, but it does not mean B references A. There is no automatic bidirectional
90
- linking. Cycles are possible (A → B → A) and are handled safely by `lore codex map`
91
- via a visited set — each document appears at most once in any traversal output.
92
-
93
- `lore codex map <id> --depth <n>` traverses this field automatically, performing
94
- deterministic BFS from a root document up to the requested depth.
95
- `lore codex chaos <id> --threshold <int>` is the non-deterministic sibling: a random
96
- walk that terminates when the fraction of the reachable subgraph discovered exceeds
97
- the threshold percentage.
126
+ linking. Cycles are possible (A → B → A) and are handled safely by every traversal
127
+ command via a visited set — each document appears at most once in any output.
128
+
129
+ `lore codex map <id>` walks this field in both directions by default — outbound
130
+ `related` edges and inbound backlinks at depth 1 each. The default output is a
131
+ list-shape table of neighbours (ID, GROUP, TITLE, SUMMARY) — the same shape as
132
+ `lore codex list`. Use `--depth-out N`, `--depth-in N`, or `--depth N` (symmetric)
133
+ to widen the walk; use `--full` to retrieve full document bodies. The seed itself
134
+ is never included in the output — map is a discovery primitive that hands the agent
135
+ a list of IDs to inspect with `lore codex show`. `lore codex chaos <id> --threshold <int>`
136
+ is the non-deterministic sibling: a random walk over the same adjacency that
137
+ terminates when the fraction of the reachable subgraph discovered exceeds the
138
+ threshold percentage.
98
139
 
99
140
  The `stability` field is either `stable` (production documentation) or `experimental` (provisional, subject to change).
@@ -12,7 +12,7 @@ related:
12
12
  - conceptual-entities-glossary
13
13
  - conceptual-workflows-lore-init
14
14
  - tech-arch-initialized-project-structure
15
- - tech-cli-commands
15
+ - ref-lore_cli-commands
16
16
  - conceptual-relationships-artifact--doctrine
17
17
  ---
18
18
 
@@ -20,7 +20,7 @@ related:
20
20
 
21
21
  An Artifact is a reusable template file stored in the project's `.lore/artifacts/` directory. Artifacts provide agents and maintainers with blank scaffolds for producing structured documents — business specifications, full technical specifications, user stories, or any other document type a project needs. Agents retrieve artifacts by their stable IDs through the CLI; they never read `.lore/artifacts/` directly.
22
22
 
23
- Artifacts are first-class Lore entities alongside Doctrines (lore codex show conceptual-entities-doctrine) and Knights (lore codex show conceptual-entities-knight). Like Doctrines and Knights, they are seeded by `lore init`. The CLI provides two read commands: `lore artifact list` (discover artifacts by ID and summary) and `lore artifact show <id> [id ...]` (retrieve the full body of one or more templates). Artifact files are managed directly on disk — there is no CLI command to create or delete artifacts. The CLI is read-only; file management follows the same pattern as codex documents. For CLI commands see tech-cli-commands (lore codex show tech-cli-commands).
23
+ Artifacts are first-class Lore entities alongside Doctrines (lore codex show conceptual-entities-doctrine) and Knights (lore codex show conceptual-entities-knight). Like Doctrines and Knights, they are seeded by `lore init`. The CLI provides two read commands: `lore artifact list` (discover artifacts by ID and summary) and `lore artifact show <id> [id ...]` (retrieve the full body of one or more templates). Artifact files are managed directly on disk — there is no CLI command to create or delete artifacts. The CLI is read-only; file management follows the same pattern as codex documents. For CLI commands see ref-lore_cli-commands (lore codex show ref-lore_cli-commands).
24
24
 
25
25
  ## Properties
26
26
 
@@ -86,4 +86,4 @@ Artifact IDs are separate from Codex document IDs. `lore artifact show codex` an
86
86
  - Doctrine (lore codex show conceptual-entities-doctrine) — step notes in Doctrines reference artifact IDs where a template is needed
87
87
  - Knight (lore codex show conceptual-entities-knight) — knights that produce template-derived documents reference artifact IDs in an `## Artifacts` section
88
88
  - conceptual-workflows-lore-init (lore codex show conceptual-workflows-lore-init) — the init step that seeds `.lore/artifacts/`
89
- - tech-cli-commands (lore codex show tech-cli-commands) — `lore artifact` command reference
89
+ - ref-lore_cli-commands (lore codex show ref-lore_cli-commands) — `lore artifact` command reference
@@ -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", "conceptual-entities-glossary", "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", "ref-lore_doctrine-module", "conceptual-relationships-doctrine--knight", "conceptual-relationships-doctrine--mission", "conceptual-relationships-doctrine--quest"]
6
6
  ---
7
7
 
8
8
  # Doctrine
@@ -18,7 +18,7 @@ A Doctrine describes:
18
18
 
19
19
  The `.design.md` file contains rich human-readable documentation — tables, narratives, phase overviews — and serves as the primary entry point for all discovery. The `.yaml` file contains only machine-readable step data.
20
20
 
21
- Doctrines are stored in the project's `.lore/doctrines/` directory tree. For the technical schema (field names, types, required/optional) see tech-doctrine-internals (lore codex show tech-doctrine-internals). For CLI commands (`lore doctrine show`, `lore doctrine list`, etc.) see tech-cli-commands (lore codex show tech-cli-commands).
21
+ Doctrines are stored in the project's `.lore/doctrines/` directory tree. For the technical schema (field names, types, required/optional) see ref-lore_doctrine-module (lore codex show ref-lore_doctrine-module). For CLI commands (`lore doctrine show`, `lore doctrine list`, etc.) see ref-lore_cli-commands (lore codex show ref-lore_cli-commands).
22
22
 
23
23
  ## Python API
24
24
 
@@ -57,7 +57,7 @@ Entity names are expected to be unique across the entire tree.
57
57
 
58
58
  ## Validation Rules
59
59
 
60
- When a Doctrine is read, both files are validated. Validation is performed by the `doctrine.py` module (see tech-doctrine-internals (lore codex show tech-doctrine-internals)).
60
+ When a Doctrine is read, both files are validated. Validation is performed by the `doctrine.py` module (see ref-lore_doctrine-module (lore codex show ref-lore_doctrine-module)).
61
61
 
62
62
  **YAML schema (`<name>.yaml`):**
63
63
  - `id` and `steps` are required at the top level.
@@ -134,5 +134,5 @@ steps:
134
134
  - Mission (lore codex show conceptual-entities-mission) — the individual tasks described by each step in a Doctrine
135
135
  - Knight (lore codex show conceptual-entities-knight) — the persona files referenced by Doctrine steps
136
136
  - Artifact (lore codex show conceptual-entities-artifact) — template files referenced by ID in Doctrine step notes
137
- - tech-doctrine-internals (lore codex show tech-doctrine-internals) — validation pipeline and module internals
138
- - tech-cli-commands (lore codex show tech-cli-commands) — `lore doctrine` command reference
137
+ - ref-lore_doctrine-module (lore codex show ref-lore_doctrine-module) — validation pipeline and module internals
138
+ - ref-lore_cli-commands (lore codex show ref-lore_cli-commands) — `lore doctrine` command reference
@@ -18,7 +18,7 @@ related:
18
18
  - conceptual-workflows-codex
19
19
  - conceptual-workflows-health
20
20
  - conceptual-workflows-lore-init
21
- - tech-cli-commands
21
+ - ref-lore_cli-commands
22
22
  - tech-arch-source-layout
23
23
  - tech-arch-schemas
24
24
  - decisions-013-toml-for-config-yaml-for-glossary
@@ -8,7 +8,7 @@ related:
8
8
  - conceptual-entities-mission
9
9
  - conceptual-entities-glossary
10
10
  - tech-arch-knight-module
11
- - tech-cli-commands
11
+ - ref-lore_cli-commands
12
12
  - conceptual-relationships-knight--mission
13
13
  ---
14
14
 
@@ -16,7 +16,7 @@ related:
16
16
 
17
17
  A Knight is a reusable AI agent persona — a markdown file containing behavioural instructions that tell a worker agent *how* to approach work. Knights define best practices, coding standards, communication style, or domain-specific guidance.
18
18
 
19
- Knights are always files stored in the project's `.lore/knights/` directory tree. They are never inline text. For CLI commands (`lore knight new`, `lore knight show`, etc.) see tech-cli-commands (lore codex show tech-cli-commands).
19
+ Knights are always files stored in the project's `.lore/knights/` directory tree. They are never inline text. For CLI commands (`lore knight new`, `lore knight show`, etc.) see ref-lore_cli-commands (lore codex show ref-lore_cli-commands).
20
20
 
21
21
  ## The What / How Separation
22
22
 
@@ -97,5 +97,5 @@ Soft-deleting a Knight does **not** clear the `knight` field on Missions that re
97
97
  - Mission (lore codex show conceptual-entities-mission) — the task that a Knight's persona guides the execution of
98
98
  - Doctrine (lore codex show conceptual-entities-doctrine) — templates that reference Knight files for each step
99
99
  - Artifact (lore codex show conceptual-entities-artifact) — template files referenced by Knights that produce template-derived documents
100
- - tech-cli-commands (lore codex show tech-cli-commands) — `lore knight` command reference
100
+ - ref-lore_cli-commands (lore codex show ref-lore_cli-commands) — `lore knight` command reference
101
101
  - tech-arch-knight-module (lore codex show tech-arch-knight-module) — Python API for knight filesystem operations (`list_knights`, `find_knight`)
@@ -7,7 +7,7 @@ summary: What a Mission is — the unit of work an agent executes and closes. Co
7
7
  related:
8
8
  - conceptual-entities-quest
9
9
  - conceptual-entities-glossary
10
- - tech-db-schema
10
+ - ref-lore_db-core
11
11
  - conceptual-workflows-claim
12
12
  - conceptual-workflows-done
13
13
  - conceptual-relationships-mission--mission
@@ -123,5 +123,5 @@ In `--json` output, the `"dependencies"` field is always present with `"needs"`
123
123
  - Quest (lore codex show conceptual-entities-quest) — the grouping that Missions belong to
124
124
  - Knight (lore codex show conceptual-entities-knight) — the persona file that guides how a worker executes a Mission
125
125
  - Doctrine (lore codex show conceptual-entities-doctrine) — templates that describe patterns of Missions
126
- - tech-db-schema (lore codex show tech-db-schema) — mission schema, cascade behaviour, dependency system
127
- - tech-cli-commands (lore codex show tech-cli-commands) — `lore claim`, `lore done`, `lore block`, `lore unblock`, `lore new mission` command reference
126
+ - ref-lore_db-core (lore codex show ref-lore_db-core) — mission schema, cascade behaviour, dependency system
127
+ - ref-lore_cli-commands (lore codex show ref-lore_cli-commands) — `lore claim`, `lore done`, `lore block`, `lore unblock`, `lore new mission` command reference
@@ -8,7 +8,7 @@ related:
8
8
  - conceptual-entities-mission
9
9
  - conceptual-entities-doctrine
10
10
  - conceptual-entities-glossary
11
- - tech-db-schema
11
+ - ref-lore_db-core
12
12
  - conceptual-relationships-quest--mission
13
13
  ---
14
14
 
@@ -16,7 +16,7 @@ related:
16
16
 
17
17
  A Quest is a live grouping of Missions (lore codex show conceptual-entities-mission). It represents a body of work — a feature, a bug fix, a refactor, a research spike. Quests can be created ad-hoc or by an orchestrator following a Doctrine (lore codex show conceptual-entities-doctrine) as a guide.
18
18
 
19
- A Quest is complete when all its Missions are closed. Quest status is automatically derived from its Missions — it is never set directly. See tech-db-schema (lore codex show tech-db-schema) for the derivation algorithm.
19
+ A Quest is complete when all its Missions are closed. Quest status is automatically derived from its Missions — it is never set directly. See ref-lore_db-core (lore codex show ref-lore_db-core) for the derivation algorithm.
20
20
 
21
21
  ## Python API
22
22
 
@@ -37,7 +37,7 @@ Each Quest has an `auto_close` setting that controls whether it closes automatic
37
37
  - **`auto_close` enabled:** The Quest closes automatically when all Missions are closed. No manual intervention is needed.
38
38
  - **`auto_close` disabled (default for new Quests):** The Quest remains open even when all Missions are closed. It must be explicitly closed via `lore done q-xxxx`.
39
39
 
40
- The default for new Quests is `auto_close` disabled. Use `--auto-close` at creation time or toggle it later with `lore edit`. See tech-cli-commands (lore codex show tech-cli-commands) for the flag details.
40
+ The default for new Quests is `auto_close` disabled. Use `--auto-close` at creation time or toggle it later with `lore edit`. See ref-lore_cli-commands (lore codex show ref-lore_cli-commands) for the flag details.
41
41
 
42
42
  ## Status Rules
43
43
 
@@ -99,5 +99,5 @@ Key properties:
99
99
 
100
100
  - Mission (lore codex show conceptual-entities-mission) — the individual tasks that belong to a Quest
101
101
  - Doctrine (lore codex show conceptual-entities-doctrine) — the optional template an orchestrator follows when structuring a Quest
102
- - tech-db-schema (lore codex show tech-db-schema) — quest status derivation algorithm and schema
103
- - tech-cli-commands (lore codex show tech-cli-commands) — `lore new quest`, `lore done`, `lore edit`, `lore delete` command reference
102
+ - ref-lore_db-core (lore codex show ref-lore_db-core) — quest status derivation algorithm and schema
103
+ - ref-lore_cli-commands (lore codex show ref-lore_cli-commands) — `lore new quest`, `lore done`, `lore edit`, `lore delete` command reference
@@ -20,7 +20,7 @@ A Watcher is a YAML file stored in the project's `.lore/watchers/` directory tre
20
20
 
21
21
  Watchers are deliberately passive. They are declarations, not executors. This keeps Lore's architecture dumb by design (ADR-001) and gives the consuming tool full control over when and how triggers fire.
22
22
 
23
- For CLI commands (`lore watcher new`, `lore watcher list`, etc.) see tech-cli-commands (lore codex show tech-cli-commands).
23
+ For CLI commands (`lore watcher new`, `lore watcher list`, etc.) see ref-lore_cli-commands (lore codex show ref-lore_cli-commands).
24
24
 
25
25
  ## YAML Schema
26
26
 
@@ -95,5 +95,5 @@ Watchers are soft-deleted by renaming the YAML file with a `.deleted` suffix. Th
95
95
  - conceptual-workflows-watcher-list (lore codex show conceptual-workflows-watcher-list) — `lore watcher list` and `lore watcher show` behaviour
96
96
  - conceptual-workflows-watcher-crud (lore codex show conceptual-workflows-watcher-crud) — `lore watcher new/edit/delete` behaviour
97
97
  - conceptual-workflows-lore-init (lore codex show conceptual-workflows-lore-init) — how the default watcher is seeded
98
- - tech-cli-commands (lore codex show tech-cli-commands) — `lore watcher` command reference
98
+ - ref-lore_cli-commands (lore codex show ref-lore_cli-commands) — `lore watcher` command reference
99
99
  - tech-arch-source-layout (lore codex show tech-arch-source-layout) — `watcher.py` module internals
@@ -4,7 +4,7 @@ title: Artifact to Doctrine
4
4
  related:
5
5
  - conceptual-entities-artifact
6
6
  - conceptual-entities-doctrine
7
- - tech-doctrine-internals
7
+ - ref-lore_doctrine-module
8
8
  summary: Artifact IDs may appear in Doctrine step notes as free-text references. There
9
9
  is no FK and no validation. Orchestrators and workers read the step notes and retrieve
10
10
  the Artifact via `lore artifact show <id>` when needed.
@@ -4,7 +4,7 @@ title: Doctrine to Knight
4
4
  related:
5
5
  - conceptual-entities-doctrine
6
6
  - conceptual-entities-knight
7
- - tech-doctrine-internals
7
+ - ref-lore_doctrine-module
8
8
  summary: A Doctrine step may name a Knight by filename stem. There is no FK. The reference
9
9
  is resolved at orchestration time when the orchestrator assigns the Knight to the
10
10
  created Mission. No validation is performed at doctrine load time.
@@ -4,7 +4,7 @@ title: Doctrine to Mission
4
4
  related:
5
5
  - conceptual-entities-doctrine
6
6
  - conceptual-entities-mission
7
- - tech-doctrine-internals
7
+ - ref-lore_doctrine-module
8
8
  summary: 'Each Doctrine step maps to one Mission that an orchestrator creates. There
9
9
  is no FK. The mapping is a process convention: step fields provide the orchestrator
10
10
  with everything needed to write a well-formed Mission.'
@@ -4,7 +4,7 @@ title: Doctrine to Quest
4
4
  related:
5
5
  - conceptual-entities-doctrine
6
6
  - conceptual-entities-quest
7
- - tech-doctrine-internals
7
+ - ref-lore_doctrine-module
8
8
  summary: A Doctrine is a reusable workflow template; a Quest is a single execution
9
9
  of a body of work. There is no FK between them. An orchestrator reads a Doctrine
10
10
  and manually creates a Quest; the link is process-level, not database-level.
@@ -4,7 +4,7 @@ title: Knight to Mission
4
4
  related:
5
5
  - conceptual-entities-knight
6
6
  - conceptual-entities-mission
7
- - tech-db-schema
7
+ - ref-lore_db-core
8
8
  - tech-arch-knight-module
9
9
  summary: A Mission may optionally name one Knight by filename stem. The Knight is
10
10
  not stored by database ID; it is referenced by name and resolved from disk at show-time.
@@ -3,7 +3,7 @@ id: conceptual-relationships-mission--mission
3
3
  title: Mission to Mission (Dependencies)
4
4
  related:
5
5
  - conceptual-entities-mission
6
- - tech-db-schema
6
+ - ref-lore_db-core
7
7
  summary: Missions can depend on other Missions via a directed acyclic dependency graph.
8
8
  Dependencies are stored in a join table. A Mission with unmet dependencies is blocked
9
9
  from being claimed until all its predecessors are done.
@@ -4,7 +4,7 @@ title: Quest to Mission
4
4
  related:
5
5
  - conceptual-entities-quest
6
6
  - conceptual-entities-mission
7
- - tech-db-schema
7
+ - ref-lore_db-core
8
8
  summary: A Quest optionally groups one or more Missions. Missions can exist without
9
9
  a Quest (standalone). Quest status is derived entirely from its Missions' statuses;
10
10
  there is no independent status field on Quest.
@@ -2,7 +2,7 @@
2
2
  id: conceptual-workflows-artifact-list
3
3
  title: lore artifact list Behaviour
4
4
  summary: What the system does internally when `lore artifact list` runs — recursive discovery of `.md` files under `.lore/artifacts/`, strict frontmatter validation (files missing required fields are silently skipped), group derivation, and table or JSON output.
5
- related: ["conceptual-entities-artifact", "conceptual-workflows-artifact-new", "tech-cli-commands", "conceptual-workflows-knight-list", "conceptual-workflows-doctrine-list", "conceptual-workflows-filter-list", "conceptual-workflows-health", "tech-arch-schemas"]
5
+ related: ["conceptual-entities-artifact", "conceptual-workflows-artifact-new", "ref-lore_cli-commands", "conceptual-workflows-knight-list", "conceptual-workflows-doctrine-list", "conceptual-workflows-filter-list", "conceptual-workflows-health", "tech-arch-schemas"]
6
6
  ---
7
7
 
8
8
  # `lore artifact list` Behaviour
@@ -107,4 +107,4 @@ Note: `lore artifact list` accepts `--json` as a **local** flag in addition to t
107
107
  - conceptual-workflows-knight-list (lore codex show conceptual-workflows-knight-list) — lenient fallback behaviour for knights
108
108
  - conceptual-workflows-doctrine-list (lore codex show conceptual-workflows-doctrine-list) — doctrine listing with validation marking
109
109
  - conceptual-workflows-filter-list (lore codex show conceptual-workflows-filter-list) — full --filter flag behaviour specification
110
- - tech-cli-commands (lore codex show tech-cli-commands) — full CLI reference
110
+ - ref-lore_cli-commands (lore codex show ref-lore_cli-commands) — full CLI reference
@@ -2,7 +2,7 @@
2
2
  id: conceptual-workflows-artifact-new
3
3
  title: lore artifact new Behaviour
4
4
  summary: What the system does internally when `lore artifact new <name> [--group <path>] --from <body-file>` runs — name and group validation, subtree-wide duplicate detection, strict frontmatter re-check, auto-mkdir of the target group directory, and atomic write of the single `.md` file to `.lore/artifacts/`.
5
- related: ["conceptual-entities-artifact", "conceptual-workflows-artifact-list", "conceptual-workflows-doctrine-new", "conceptual-workflows-knight-crud", "conceptual-workflows-validators", "conceptual-workflows-filter-list", "tech-cli-commands", "tech-arch-schemas", "conceptual-workflows-health"]
5
+ related: ["conceptual-entities-artifact", "conceptual-workflows-artifact-list", "conceptual-workflows-doctrine-new", "conceptual-workflows-knight-crud", "conceptual-workflows-validators", "conceptual-workflows-filter-list", "ref-lore_cli-commands", "tech-arch-schemas", "conceptual-workflows-health"]
6
6
  ---
7
7
 
8
8
  # `lore artifact new` Behaviour
@@ -107,4 +107,4 @@ The strict frontmatter re-check at step 5 delegates to `lore.schemas.validate_en
107
107
  - conceptual-workflows-doctrine-new (lore codex show conceptual-workflows-doctrine-new) — sibling two-file create flow
108
108
  - conceptual-workflows-knight-crud (lore codex show conceptual-workflows-knight-crud) — sibling single-file create flow
109
109
  - conceptual-workflows-validators (lore codex show conceptual-workflows-validators) — `validate_group` rules
110
- - tech-cli-commands (lore codex show tech-cli-commands) — full CLI reference
110
+ - ref-lore_cli-commands (lore codex show ref-lore_cli-commands) — full CLI reference
@@ -98,4 +98,4 @@ Exit code 1 on error.
98
98
  - conceptual-workflows-claim (lore codex show conceptual-workflows-claim) — transitioning open → in_progress
99
99
  - conceptual-workflows-done (lore codex show conceptual-workflows-done) — transitioning any status → closed
100
100
  - conceptual-entities-mission (lore codex show conceptual-entities-mission) — full mission status lifecycle
101
- - tech-cli-commands (lore codex show tech-cli-commands) — full CLI reference
101
+ - ref-lore_cli-commands (lore codex show ref-lore_cli-commands) — full CLI reference
@@ -8,7 +8,7 @@ summary: 'What the system does internally when posting, viewing, and deleting bo
8
8
  related:
9
9
  - conceptual-workflows-show
10
10
  - conceptual-workflows-mission-crud
11
- - tech-cli-commands
11
+ - ref-lore_cli-commands
12
12
  - decisions-009-mission-self-containment
13
13
  ---
14
14
 
@@ -97,4 +97,4 @@ When the global `--json` flag is set:
97
97
  - conceptual-workflows-done (lore codex show conceptual-workflows-done) — the complementary closure step
98
98
  - conceptual-workflows-block (lore codex show conceptual-workflows-block) — blocking a mission in progress
99
99
  - conceptual-entities-mission (lore codex show conceptual-entities-mission) — full mission status lifecycle
100
- - tech-cli-commands (lore codex show tech-cli-commands) — full CLI reference
100
+ - ref-lore_cli-commands (lore codex show ref-lore_cli-commands) — full CLI reference
@@ -4,8 +4,8 @@ title: '`lore codex chaos` Behaviour'
4
4
  summary: 'Random-walk traversal of the codex graph starting from a seed document.
5
5
  Follows randomly sampled neighbours via the related frontmatter field and terminates
6
6
  when the ratio of discovered documents to the reachable subgraph exceeds --threshold
7
- / 100, or when no unvisited reachable neighbours remain. Output format is identical
8
- to lore codex map (ID, TITLE, SUMMARY table).
7
+ / 100, or when no unvisited reachable neighbours remain. Output is the same list-shape
8
+ table as lore codex list and lore codex map (default mode) — ID, GROUP, TITLE, SUMMARY.
9
9
 
10
10
  '
11
11
  related:
@@ -13,8 +13,8 @@ related:
13
13
  - conceptual-workflows-codex-map
14
14
  - conceptual-workflows-json-output
15
15
  - conceptual-workflows-error-handling
16
- - tech-cli-commands
17
- - tech-api-surface
16
+ - ref-lore_cli-commands
17
+ - ref-lore_api-core
18
18
  - tech-arch-codex-chaos
19
19
  ---
20
20
 
@@ -24,8 +24,9 @@ related:
24
24
  traversal of the codex document graph, starting from a seed document and following
25
25
  randomly sampled neighbours via the `related` frontmatter field. The walk terminates
26
26
  when the ratio of discovered documents to the total reachable subgraph exceeds
27
- `--threshold / 100`, or when no unvisited reachable neighbours remain. Output format
28
- is identical to `lore codex map`: a table with columns ID, TITLE, SUMMARY.
27
+ `--threshold / 100`, or when no unvisited reachable neighbours remain. Output is
28
+ the same list-shape table as `lore codex list` and the default mode of
29
+ `lore codex map` — columns ID, GROUP, TITLE, SUMMARY.
29
30
 
30
31
  ## Preconditions
31
32
 
@@ -120,7 +121,6 @@ The only guarantee is that the seed document is always the first entry in the re
120
121
 
121
122
  ## Out of Scope
122
123
 
123
- - Modifying `lore codex map` behaviour — the map command is unchanged by this feature.
124
124
  - Persisting walk results to disk or database.
125
125
  - Multi-root walks — exactly one seed document per invocation.
126
126
  - Graph visualisation.
@@ -0,0 +1,203 @@
1
+ ---
2
+ id: conceptual-workflows-codex-map
3
+ title: lore codex map Behaviour
4
+ summary: What the system does internally when lore codex map <id> runs — directional
5
+ bidirectional BFS over the related frontmatter field, list-shape default output
6
+ mirroring lore codex list, optional full-body output via --full, and the
7
+ --depth/--depth-in/--depth-out flag matrix with mutual-exclusion enforcement.
8
+ related:
9
+ - conceptual-workflows-codex
10
+ - conceptual-workflows-codex-chaos
11
+ - conceptual-workflows-filter-list
12
+ - conceptual-workflows-json-output
13
+ - tech-arch-codex-map
14
+ - tech-arch-frontmatter
15
+ - ref-lore_cli-commands
16
+ - decisions-011-api-parity-with-cli
17
+ - codex
18
+ ---
19
+ # `lore codex map` Behaviour
20
+
21
+ `lore codex map <id>` is a graph-shaped index over the codex. It walks the
22
+ `related` frontmatter field from a seed document — outbound edges and inbound
23
+ backlinks — and renders the resulting neighbourhood as a list-shape table whose
24
+ columns match `lore codex list`. The seed itself is never present in the
25
+ output. `--full` switches the renderer to the legacy full-body markdown blocks.
26
+
27
+ The default mode is a cheap discovery primitive: agents call it first, scan IDs
28
+ and one-line summaries, then run `lore codex show <id1> <id2>` on the rows they
29
+ care about. It is not a body dump.
30
+
31
+ ## Preconditions
32
+
33
+ - The Lore project has been initialised.
34
+ - The seed document ID supplied as the `<id>` argument must exist in the codex.
35
+
36
+ ## Parameters
37
+
38
+ | Parameter | Type | Default | Description |
39
+ |-----------|------|---------|-------------|
40
+ | `<id>` | positional argument | required | The seed document ID to start traversal from. |
41
+ | `--depth` | integer (min 0) | `1` (symmetric) | Sets both inbound and outbound depth to the same value. Mutually exclusive with `--depth-in` and `--depth-out`. |
42
+ | `--depth-out` | integer (min 0) | `1` if used or unspecified; `0` when `--depth-in` is the only directional flag passed | Outbound traversal depth (follows `related` links). Not allowed with `--depth`. |
43
+ | `--depth-in` | integer (min 0) | `1` if used or unspecified; `0` when `--depth-out` is the only directional flag passed | Inbound traversal depth (follows backlinks from other documents whose `related` lists name the current node). Not allowed with `--depth`. |
44
+ | `--full` | flag | off | Print full document bodies instead of the default neighbour table. Composes with directional flags. |
45
+ | `--json` (global) | flag | off | Emit a JSON envelope instead of text. Envelope key depends on `--full`. |
46
+
47
+ ## Steps
48
+
49
+ ### 1. Validate flag combination
50
+
51
+ Before any I/O, the CLI handler rejects `--depth` combined with either `--depth-in`
52
+ or `--depth-out`. The rejection is a Click `UsageError`, exit code `2`, with the
53
+ exact message:
54
+
55
+ ```
56
+ --depth cannot be combined with --depth-in or --depth-out. Use --depth for symmetric traversal, or --depth-in and/or --depth-out for directional traversal.
57
+ ```
58
+
59
+ In `--json` mode the same message is written to stderr inside the standard
60
+ `{"error": "..."}` envelope, exit code `2`. The check runs before the seed lookup,
61
+ so an invalid invocation never partially executes.
62
+
63
+ `--depth-in` and `--depth-out` together are valid and combine. Only `--depth` is
64
+ mutually exclusive with the directional pair.
65
+
66
+ ### 2. Resolve effective budgets
67
+
68
+ The CLI handler folds the three flags into two integers — outbound depth and
69
+ inbound depth — using this rule:
70
+
71
+ | Flags passed | Outbound budget | Inbound budget |
72
+ |--------------|-----------------|----------------|
73
+ | none | `1` | `1` |
74
+ | `--depth N` | `N` | `N` |
75
+ | `--depth-out N` only | `N` | `0` |
76
+ | `--depth-in N` only | `0` | `N` |
77
+ | `--depth-out A --depth-in B` | `A` | `B` |
78
+
79
+ ### 3. Validate seed document
80
+
81
+ `map_documents` in `lore.codex` loads the full codex index once via the existing
82
+ scan helper. If the supplied seed is not present in the index, the function
83
+ returns `None` and the CLI handler prints `Document "<id>" not found` to stderr
84
+ and exits with code 1 (same JSON envelope shape as today under `--json`).
85
+
86
+ ### 4. Build bidirectional adjacency
87
+
88
+ A single pre-pass over the index reads every document's `related` field via
89
+ `_read_related` and registers each declared edge in two maps:
90
+
91
+ - `outbound[doc_id]` — set of IDs the document points at via its own `related`.
92
+ - `inbound[doc_id]` — set of IDs whose `related` field contains the document.
93
+
94
+ This is the same helper used by `lore codex chaos` (`_build_adjacency`), so both
95
+ commands see the same adjacency view of the codex.
96
+
97
+ ### 5. Two-budget BFS
98
+
99
+ The traversal uses a single queue of `(doc_id, out_used, in_used)` entries
100
+ seeded with the start ID at `(0, 0)`. While the queue is non-empty:
101
+
102
+ - Outbound neighbours of the current document are enqueued iff
103
+ `out_used < depth_out`.
104
+ - Inbound neighbours are enqueued iff `in_used < depth_in`.
105
+ - A `visited` set keyed by document ID prevents revisits. A node reachable via
106
+ both directions is enqueued and reported at most once.
107
+ - The seed is added to `visited` immediately but never appears in the result
108
+ set.
109
+
110
+ ### 6. Sort and render
111
+
112
+ Results are sorted alphabetically by ID for deterministic output. Rendering
113
+ depends on `--full`:
114
+
115
+ **Default text mode** — uses the shared `_format_table` helper that powers
116
+ `lore codex list`, `lore knight list`, `lore doctrine list`, and
117
+ `lore artifact list`. Columns are ID, GROUP, TITLE, SUMMARY. GROUP is derived
118
+ from the document's directory path via `paths.derive_group`. Empty
119
+ neighbourhood prints `No related documents.` and exits 0.
120
+
121
+ ```
122
+ ID GROUP TITLE SUMMARY
123
+ conceptual-workflows-codex conceptual/workflows Codex Commands — `lore codex` ...
124
+ conceptual-workflows-codex-chaos conceptual/workflows `lore codex chaos` Behaviour ...
125
+ tech-arch-codex-map tech/arch Codex Map — `map_documents` Internals ...
126
+ ```
127
+
128
+ **Default JSON mode** — same envelope key as `lore codex list --json`:
129
+
130
+ ```json
131
+ {"codex": [
132
+ {"id": "...", "group": "conceptual/workflows", "title": "...", "summary": "..."}
133
+ ]}
134
+ ```
135
+
136
+ Empty neighbourhood is `{"codex": []}`, not an error.
137
+
138
+ **`--full` text mode** — preserves today's full-body output. Each surviving
139
+ neighbour is rendered as `=== <id> ===` followed by the document body. The
140
+ seed is excluded; directional flags still apply. Block order is alphabetical
141
+ by ID.
142
+
143
+ **`--full` JSON mode** — keeps the `documents` envelope for backward
144
+ compatibility, with `group` and `related` keys added per entry:
145
+
146
+ ```json
147
+ {"documents": [
148
+ {"id": "...", "title": "...", "summary": "...", "group": "...", "related": ["..."], "body": "...full markdown..."}
149
+ ]}
150
+ ```
151
+
152
+ ## When to use which mode
153
+
154
+ | Goal | Invocation |
155
+ |------|------------|
156
+ | Discovery — scan neighbours and pick IDs to read | `lore codex map <id>` (default) |
157
+ | Outbound transitive dependencies up to depth N | `lore codex map <id> --depth-out N` |
158
+ | Who references this doc | `lore codex map <id> --depth-in 1` |
159
+ | Read every neighbour body end-to-end | `lore codex map <id> --full --depth N` |
160
+ | Structured neighbour list for scripts | `lore --json codex map <id>` |
161
+
162
+ The default mode is the right answer for scout knights and any agent that
163
+ needs to triage the codex before reading anything. `--full` is for human
164
+ maintainers and tooling that genuinely needs the bodies.
165
+
166
+ ## Python API parity
167
+
168
+ Per ADR-011, the public function `lore.codex.map_documents` exposes the same
169
+ behaviour as keyword-only arguments:
170
+
171
+ ```python
172
+ map_documents(codex_dir, start_id, *, depth_out=1, depth_in=1, full=False)
173
+ ```
174
+
175
+ The CLI flag `--depth N` translates to `depth_out=N, depth_in=N` at the
176
+ handler level — the Python API exposes the two axes directly. Return shape is
177
+ a list of dicts with `id`, `group`, `title`, `summary` (default) or those keys
178
+ plus `related` and `body` (`full=True`). Returns `None` if the seed is not in
179
+ the index; an empty neighbourhood returns `[]`. See `tech-arch-codex-map` for
180
+ the algorithm details and `_build_adjacency` contract.
181
+
182
+ ## Failure Modes
183
+
184
+ | Failure point | Behaviour | Exit code |
185
+ |---|---|---|
186
+ | `--depth` combined with `--depth-in` or `--depth-out` | Click `UsageError` with the pinned conflict message; in `--json` mode the same message is emitted as `{"error": "..."}` to stderr | 2 |
187
+ | Negative depth value (any flag) | Click `IntRange(min=0)` rejection | 2 |
188
+ | Seed document not found | `Document "<id>" not found` to stderr (or JSON `{"error": "..."}`) | 1 |
189
+ | Empty neighbourhood (default) | `No related documents.` to stdout; JSON `{"codex": []}` | 0 |
190
+ | Empty neighbourhood (`--full`) | Nothing printed; JSON `{"documents": []}` | 0 |
191
+ | Broken `related` link (ID not in codex) | Silently skipped; traversal continues | 0 |
192
+ | `related` field absent, null, or empty | Node treated as leaf; no error | 0 |
193
+ | `related` field contains nulls or non-strings | Defensive parsing in `_read_related` drops them; no error | 0 |
194
+
195
+ ## Out of Scope
196
+
197
+ - Writing or modifying any codex document — `lore codex map` is read-only.
198
+ - Multi-seed traversal in a single invocation.
199
+ - New frontmatter fields or edge types — `related` is the only edge read.
200
+ - Glossary auto-surface under `--full` — `lore codex map` does not invoke
201
+ the glossary block under any flag combination (handled separately).
202
+ - Graph structure output (which document linked to which) — output is a flat
203
+ list, sorted by ID.