@locus-forge/locus-map 0.2.0 → 0.2.2-dev.20261206.g5e970d2

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 (202) hide show
  1. package/CONTRIBUTING.md +2 -2
  2. package/README.md +21 -6
  3. package/dist/assets/{abnfDiagram-VCTEODGH-BnTGKKaL.js → abnfDiagram-VCTEODGH-JiCO6vo-.js} +1 -1
  4. package/dist/assets/{ar-SA-G6X2FPQ2-LY3czoz9.js → ar-SA-G6X2FPQ2-BdzEBmp3.js} +1 -1
  5. package/dist/assets/{architectureDiagram-5GKGNRK7-BG9h9KRx.js → architectureDiagram-5GKGNRK7-D7T_vJwe.js} +1 -1
  6. package/dist/assets/{az-AZ-76LH7QW2-Brv6kuM6.js → az-AZ-76LH7QW2-BQ_SoVB7.js} +1 -1
  7. package/dist/assets/{bg-BG-XCXSNQG7-tsQwwvMW.js → bg-BG-XCXSNQG7-DlH1olUf.js} +1 -1
  8. package/dist/assets/{blockDiagram-I7D4REHJ-V9bUuR63.js → blockDiagram-I7D4REHJ-DPz0LEjY.js} +1 -1
  9. package/dist/assets/{bn-BD-2XOGV67Q-0Cou5nNv.js → bn-BD-2XOGV67Q-CFIZU06C.js} +1 -1
  10. package/dist/assets/{c4Diagram-7LVT6UL2-BmCtzbrY.js → c4Diagram-7LVT6UL2-B6uCi0Ol.js} +1 -1
  11. package/dist/assets/{ca-ES-6MX7JW3Y-pZF7WJUL.js → ca-ES-6MX7JW3Y-Bpe3kOti.js} +1 -1
  12. package/dist/assets/channel-DB3atv5o.js +1 -0
  13. package/dist/assets/{chunk-2Q5K7J3B-D2iTDmHh.js → chunk-2Q5K7J3B-DTWRWhpx.js} +1 -1
  14. package/dist/assets/{chunk-5VM5RSS4-CTxdXZIx.js → chunk-5VM5RSS4-Dfr1HUAN.js} +1 -1
  15. package/dist/assets/{chunk-F27PBJKO-Hic1X1pm.js → chunk-F27PBJKO-D_IVoCIK.js} +1 -1
  16. package/dist/assets/{chunk-IMKFNOWR-DhLW1JVb.js → chunk-IMKFNOWR-Boa_chn8.js} +1 -1
  17. package/dist/assets/{chunk-JWPE2WC7-_g5twKlC.js → chunk-JWPE2WC7-RaK8jzc2.js} +1 -1
  18. package/dist/assets/{chunk-POPQ4Y6H-DMV4qmkd.js → chunk-POPQ4Y6H-D7xOpv6O.js} +1 -1
  19. package/dist/assets/{chunk-SVP7TREG-BWg83oEL.js → chunk-SVP7TREG-XvJsx1jt.js} +1 -1
  20. package/dist/assets/{chunk-TICWLB2K-CPmkpa7J.js → chunk-TICWLB2K-DZCVWmZG.js} +1 -1
  21. package/dist/assets/{chunk-XXDRQBXY-KnXvIZ_8.js → chunk-XXDRQBXY-Djk-REAy.js} +1 -1
  22. package/dist/assets/classDiagram-ZZMXUADV-CzvsXoj_.js +1 -0
  23. package/dist/assets/classDiagram-v2-VYDZK3BY-HxwJpdPt.js +1 -0
  24. package/dist/assets/{cose-bilkent-JH36ORCC-BChK_CGh.js → cose-bilkent-JH36ORCC-D6XaIbtG.js} +1 -1
  25. package/dist/assets/{cs-CZ-2BRQDIVT-CtAC2Qjy.js → cs-CZ-2BRQDIVT-BdzgSHdJ.js} +1 -1
  26. package/dist/assets/{cynefin-OW5HDTMX-CdsltaMX.js → cynefin-OW5HDTMX-BMTkMDG1.js} +1 -1
  27. package/dist/assets/{cynefinDiagram-5FMLGOSQ-bXvXX3Fx.js → cynefinDiagram-5FMLGOSQ-C2s5i9h9.js} +1 -1
  28. package/dist/assets/{d3-scale-sM87TD1Z.js → d3-scale-BMIMKl27.js} +1 -1
  29. package/dist/assets/{da-DK-5WZEPLOC-DyWwaclV.js → da-DK-5WZEPLOC-Bj-GFWHU.js} +1 -1
  30. package/dist/assets/{dagre-GXQ25YYZ-CTmiZZVO.js → dagre-GXQ25YYZ-CMT8wlz0.js} +1 -1
  31. package/dist/assets/{de-DE-XR44H4JA-BDXUBHki.js → de-DE-XR44H4JA-JmpondAB.js} +1 -1
  32. package/dist/assets/{diagram-S7CK7UJ4-Bm8Fy0R_.js → diagram-S7CK7UJ4-DU1blS3M.js} +1 -1
  33. package/dist/assets/{diagram-UQ7AKVKN-BU_AmM_A.js → diagram-UQ7AKVKN-0lWi4KDV.js} +1 -1
  34. package/dist/assets/{diagram-VSXAHHWV-B78LUoXq.js → diagram-VSXAHHWV-CrseWrhn.js} +1 -1
  35. package/dist/assets/{diagram-VX7I27RA-DNvWjMlf.js → diagram-VX7I27RA-C5BMS8Ql.js} +1 -1
  36. package/dist/assets/{diagram-Z3DM3KII-DmFVt1fa.js → diagram-Z3DM3KII-Cc3vq6b8.js} +1 -1
  37. package/dist/assets/{ebnfDiagram-PWID7BFC-CpDna0Jp.js → ebnfDiagram-PWID7BFC-ZF78imma.js} +1 -1
  38. package/dist/assets/{el-GR-BZB4AONW-CNhF7oN2.js → el-GR-BZB4AONW-BFslUpdm.js} +1 -1
  39. package/dist/assets/{engines-a8mi_N6S.js → engines-BtEtIBXt.js} +1 -1
  40. package/dist/assets/{erDiagram-RLTQ6QDP-BGD-9OAS.js → erDiagram-RLTQ6QDP-CjPjDn2i.js} +1 -1
  41. package/dist/assets/{es-ES-U4NZUMDT-DXMrJcKL.js → es-ES-U4NZUMDT-B0ezBTxQ.js} +1 -1
  42. package/dist/assets/{eu-ES-A7QVB2H4-BTkMEwMi.js → eu-ES-A7QVB2H4-DP_gx2kf.js} +1 -1
  43. package/dist/assets/{fa-IR-HGAKTJCU-CgkknSS7.js → fa-IR-HGAKTJCU-BuT1ELty.js} +1 -1
  44. package/dist/assets/{fi-FI-Z5N7JZ37-B1K83nId.js → fi-FI-Z5N7JZ37-BAu_Cj7n.js} +1 -1
  45. package/dist/assets/{flowDiagram-HODETNUW-CjU1yR1F.js → flowDiagram-HODETNUW-yqPGWNdd.js} +1 -1
  46. package/dist/assets/{fr-FR-RHASNOE6-CBFZBGMr.js → fr-FR-RHASNOE6-OF1CpgtN.js} +1 -1
  47. package/dist/assets/{ganttDiagram-EL5Y4UJY-bvb8BjSh.js → ganttDiagram-EL5Y4UJY-zUY5je2K.js} +1 -1
  48. package/dist/assets/{gitGraphDiagram-WWUBYQGX-DZXQ_x8t.js → gitGraphDiagram-WWUBYQGX-oWrs7wy0.js} +1 -1
  49. package/dist/assets/{gl-ES-HMX3MZ6V-CON98Mma.js → gl-ES-HMX3MZ6V-CkJ47l98.js} +1 -1
  50. package/dist/assets/{he-IL-6SHJWFNN-CBoFaEdB.js → he-IL-6SHJWFNN-D7CecRlh.js} +1 -1
  51. package/dist/assets/{hi-IN-IWLTKZ5I-BJuoh3dl.js → hi-IN-IWLTKZ5I-CGlW2X-h.js} +1 -1
  52. package/dist/assets/{hu-HU-A5ZG7DT2-CQruu8XR.js → hu-HU-A5ZG7DT2-Dq_n_tbp.js} +1 -1
  53. package/dist/assets/{id-ID-SAP4L64H-VhaoENjR.js → id-ID-SAP4L64H-CotwO_06.js} +1 -1
  54. package/dist/assets/index-CdVc9Lmz.js +624 -0
  55. package/dist/assets/{index-CDNl17QJ.css → index-Cv-tTxNC.css} +1 -1
  56. package/dist/assets/{index-CboxqaL5.js → index-VaWCb9bx.js} +5 -5
  57. package/dist/assets/{infoDiagram-27XIBGKW-CM9Hap0f.js → infoDiagram-27XIBGKW-CYzIkNFW.js} +1 -1
  58. package/dist/assets/{ishikawaDiagram-5VMMS53U-i8pQztJI.js → ishikawaDiagram-5VMMS53U-DkgUsuk5.js} +1 -1
  59. package/dist/assets/{it-IT-JPQ66NNP-Dj9BkXfh.js → it-IT-JPQ66NNP-h97o81us.js} +1 -1
  60. package/dist/assets/{ja-JP-DBVTYXUO-CB2BlfIS.js → ja-JP-DBVTYXUO-M6EVfh0o.js} +1 -1
  61. package/dist/assets/{journeyDiagram-3NMN7TZE-PxcdqONT.js → journeyDiagram-3NMN7TZE-CuKkNrJy.js} +1 -1
  62. package/dist/assets/{kaa-6HZHGXH3-CLnR_zY5.js → kaa-6HZHGXH3-DUy85zzz.js} +1 -1
  63. package/dist/assets/{kab-KAB-ZGHBKWFO-8TJr4nPf.js → kab-KAB-ZGHBKWFO-ChL-fKtk.js} +1 -1
  64. package/dist/assets/{kanban-definition-UXKFOSKX-B2p5NBhO.js → kanban-definition-UXKFOSKX-DkOxt3kf.js} +1 -1
  65. package/dist/assets/{kk-KZ-P5N5QNE5-5uZYjZ2e.js → kk-KZ-P5N5QNE5-DY6ucSGD.js} +1 -1
  66. package/dist/assets/{km-KH-HSX4SM5Z-D54aOpMd.js → km-KH-HSX4SM5Z-BAaS4014.js} +1 -1
  67. package/dist/assets/{ko-KR-MTYHY66A-Bnm0G6eo.js → ko-KR-MTYHY66A-D-r3mJ1R.js} +1 -1
  68. package/dist/assets/{ku-TR-6OUDTVRD-CtGCn_eB.js → ku-TR-6OUDTVRD-Dk1GCoOP.js} +1 -1
  69. package/dist/assets/{layout-BBV3_Svw.js → layout-DtNEGI4_.js} +1 -1
  70. package/dist/assets/{lt-LT-XHIRWOB4-Bl8G0yv6.js → lt-LT-XHIRWOB4-3Z2Ui1VZ.js} +1 -1
  71. package/dist/assets/{lv-LV-5QDEKY6T-Cax93Eua.js → lv-LV-5QDEKY6T-Bg59rOkR.js} +1 -1
  72. package/dist/assets/{mindmap-definition-YA3MSWOX-CsOezwmE.js → mindmap-definition-YA3MSWOX-Dcs8eV7p.js} +1 -1
  73. package/dist/assets/{mr-IN-CRQNXWMA-Br7GVyJH.js → mr-IN-CRQNXWMA-DepTOG29.js} +1 -1
  74. package/dist/assets/{my-MM-5M5IBNSE-xC6lzTDV.js → my-MM-5M5IBNSE-4KqL4Tav.js} +1 -1
  75. package/dist/assets/{nb-NO-T6EIAALU-B0i5THqA.js → nb-NO-T6EIAALU-5YWO_l3W.js} +1 -1
  76. package/dist/assets/{nl-NL-IS3SIHDZ-CqYhUjP3.js → nl-NL-IS3SIHDZ-QlAndkM2.js} +1 -1
  77. package/dist/assets/{nn-NO-6E72VCQL-rpjr_9Z5.js → nn-NO-6E72VCQL-BscwhEDW.js} +1 -1
  78. package/dist/assets/{oc-FR-POXYY2M6-BlhQ99Ty.js → oc-FR-POXYY2M6-k7bYbSQj.js} +1 -1
  79. package/dist/assets/{pa-IN-N4M65BXN-N2XbQgZ_.js → pa-IN-N4M65BXN-jxBFwrWj.js} +1 -1
  80. package/dist/assets/{pegDiagram-XKGWAZYB-C2iSJgYQ.js → pegDiagram-XKGWAZYB-zM-VZA3r.js} +1 -1
  81. package/dist/assets/{pica-DvYcrBvx.js → pica-CsWQ4DPU.js} +1 -1
  82. package/dist/assets/{pieDiagram-E7YTZNPT-CUjgOGBw.js → pieDiagram-E7YTZNPT-C60FE0D8.js} +1 -1
  83. package/dist/assets/{pl-PL-T2D74RX3-CnMxn1dA.js → pl-PL-T2D74RX3-be8atU_l.js} +1 -1
  84. package/dist/assets/{pt-BR-5N22H2LF-Di-jnHb3.js → pt-BR-5N22H2LF-CSE0O2fj.js} +1 -1
  85. package/dist/assets/{pt-PT-UZXXM6DQ-BaAKq8Sh.js → pt-PT-UZXXM6DQ-5rnYJhy1.js} +1 -1
  86. package/dist/assets/{quadrantDiagram-AXDQQJYC-DwwqgJXZ.js → quadrantDiagram-AXDQQJYC-DyH84hx6.js} +1 -1
  87. package/dist/assets/{railroadDiagram-O6MQD6OU-DyRgYGPF.js → railroadDiagram-O6MQD6OU-DCrJgP9s.js} +1 -1
  88. package/dist/assets/{requirementDiagram-BXWQKSXE-C3ixXeHJ.js → requirementDiagram-BXWQKSXE-C78-QlFo.js} +1 -1
  89. package/dist/assets/{ro-RO-JPDTUUEW-BWrclVyo.js → ro-RO-JPDTUUEW-Gh6EgC27.js} +1 -1
  90. package/dist/assets/{ru-RU-B4JR7IUQ-_z0DINaG.js → ru-RU-B4JR7IUQ-BUWESZhq.js} +1 -1
  91. package/dist/assets/{sankeyDiagram-P5KCCOFB-mKpKYI_w.js → sankeyDiagram-P5KCCOFB-D_MOkKEs.js} +1 -1
  92. package/dist/assets/{sequenceDiagram-WJ2MYXX4-ZkNd0Wnj.js → sequenceDiagram-WJ2MYXX4-BeQbHZRB.js} +1 -1
  93. package/dist/assets/{si-LK-N5RQ5JYF-CdKOb383.js → si-LK-N5RQ5JYF-C9pnvQMf.js} +1 -1
  94. package/dist/assets/{sizeCapture-INFHLROL-hQLGO-0z.js → sizeCapture-INFHLROL-DUn-Mus_.js} +1 -1
  95. package/dist/assets/{sk-SK-C5VTKIMK-MHJC6ZIe.js → sk-SK-C5VTKIMK-FnkPBibb.js} +1 -1
  96. package/dist/assets/{sl-SI-NN7IZMDC-BF9YWbZx.js → sl-SI-NN7IZMDC-Cwrqj_B9.js} +1 -1
  97. package/dist/assets/{stateDiagram-D77RDMKH-CRWj3j-B.js → stateDiagram-D77RDMKH-C3EF3jQ3.js} +1 -1
  98. package/dist/assets/stateDiagram-v2-MP3YSRHH-CVQHmIvK.js +1 -0
  99. package/dist/assets/{subset-shared.chunk-DtxXjVIA.js → subset-shared.chunk-8ifLcT_D.js} +1 -1
  100. package/dist/assets/{subset-worker.chunk-DONNSbUF.js → subset-worker.chunk-DrNTybDR.js} +1 -1
  101. package/dist/assets/{sv-SE-XGPEYMSR-DkaTkfUY.js → sv-SE-XGPEYMSR-Btz80pGx.js} +1 -1
  102. package/dist/assets/{swimlanes-42K2YHIH-CFf6j7jO.js → swimlanes-42K2YHIH-B2_kGhPA.js} +1 -1
  103. package/dist/assets/swimlanesDiagram-VR7AAH4N-C1rOmrkT.js +8 -0
  104. package/dist/assets/{ta-IN-2NMHFXQM-BfxqXEDI.js → ta-IN-2NMHFXQM-B0bWtgu1.js} +1 -1
  105. package/dist/assets/{th-TH-HPSO5L25-DT3vLA39.js → th-TH-HPSO5L25-DgC0yFw3.js} +1 -1
  106. package/dist/assets/{timeline-definition-24CTP7MA-BGP2Dq8M.js → timeline-definition-24CTP7MA-Bu0W3Mcy.js} +1 -1
  107. package/dist/assets/{tr-TR-DEFEU3FU-CdfsG7py.js → tr-TR-DEFEU3FU-C9Mmy6ri.js} +1 -1
  108. package/dist/assets/{uk-UA-QMV73CPH-CZrQuC1S.js → uk-UA-QMV73CPH-rxEnqB_i.js} +1 -1
  109. package/dist/assets/{vennDiagram-4TSXK5OY-CaxGPIab.js → vennDiagram-4TSXK5OY-63JTeOph.js} +1 -1
  110. package/dist/assets/{vi-VN-M7AON7JQ-DQJk1_KV.js → vi-VN-M7AON7JQ-DOVa-vAT.js} +1 -1
  111. package/dist/assets/{wardleyDiagram-VM6X3IG4-DQxQ-zXH.js → wardleyDiagram-VM6X3IG4-Bct0TRuC.js} +1 -1
  112. package/dist/assets/{xychartDiagram-S5SC5T6Z-DoxdZQ6R.js → xychartDiagram-S5SC5T6Z-C21zgvSM.js} +1 -1
  113. package/dist/assets/{zh-CN-LNUGB5OW-DRVBfkOy.js → zh-CN-LNUGB5OW-MyifsmQ8.js} +1 -1
  114. package/dist/assets/{zh-HK-E62DVLB3-BJHrltss.js → zh-HK-E62DVLB3-Cp55UViv.js} +1 -1
  115. package/dist/assets/{zh-TW-RAJ6MFWO-DpMZ5m2x.js → zh-TW-RAJ6MFWO-DMy6SZap.js} +1 -1
  116. package/dist/index.html +2 -2
  117. package/docs/BUNDLE-FORMAT.md +18 -5
  118. package/docs/DIAGRAM-SOURCE.md +59 -12
  119. package/docs/LOCAL-DOCUMENT.md +17 -14
  120. package/docs/MODEL-CONTRACT.md +7 -4
  121. package/docs/PLANTUML-SOURCE.md +3 -2
  122. package/docs/VIEWER-LAUNCH.md +13 -3
  123. package/docs/VIEWER.md +93 -26
  124. package/docs/capabilities.json +21 -3
  125. package/package.json +2 -1
  126. package/scripts/build-map.mjs +1 -1
  127. package/scripts/lib/map-viewer-server.mjs +48 -24
  128. package/scripts/lib/original-materials.mjs +1 -1
  129. package/scripts/lib/original-report-server.mjs +7 -3
  130. package/scripts/lib/project-catalog.mjs +14 -2
  131. package/scripts/lib/project-map-inputs.mjs +1 -1
  132. package/scripts/lib/sketch-publication.mjs +1 -1
  133. package/scripts/lib/task-map-build.mjs +1 -1
  134. package/scripts/lib/view-args.mjs +183 -0
  135. package/scripts/lib/workflow/reader-surface.mjs +29 -11
  136. package/scripts/locus-map.mjs +14 -20
  137. package/scripts/open-map.mjs +84 -49
  138. package/skills/README.md +2 -1
  139. package/skills/locus-map/SKILL.md +27 -25
  140. package/skills/locus-map/assets/artifact-handoff.md +2 -1
  141. package/skills/locus-map/references/build-environment.md +11 -7
  142. package/skills/locus-map/references/checks.md +16 -4
  143. package/skills/locus-map/references/component-checkpoint.md +35 -0
  144. package/skills/locus-map/references/draw-skill.md +2 -1
  145. package/skills/locus-map/references/selection.md +36 -13
  146. package/skills/locus-map/references/task-maps.md +5 -0
  147. package/skills/locus-map/references/visual-composition.md +69 -0
  148. package/skills/locus-map-draft/SKILL.md +95 -0
  149. package/skills/locus-map-draft/assets/chosen-direction.md +47 -0
  150. package/skills/locus-map-draft/references/divergence-and-formats.md +127 -0
  151. package/skills/locus-map-primitives/SKILL.md +6 -2
  152. package/skills/locus-map-primitives/references/card-presentation.md +57 -3
  153. package/skills/locus-map-primitives/references/reading-files.md +1 -1
  154. package/src/adapter/areas.js +1 -0
  155. package/src/adapter/semanticAdmission.js +118 -5
  156. package/src/authoring/buildDiagram.mjs +99 -19
  157. package/src/authoring/canvas-source-worker.mjs +96 -0
  158. package/src/authoring/canvasSource.mjs +41 -0
  159. package/src/authoring/diagramChecks.js +143 -1
  160. package/src/authoring/diagramSource.js +31 -5
  161. package/src/authoring/printPlantumlSource.js +13 -2
  162. package/src/authoring/readDetailsFiles.mjs +100 -19
  163. package/src/bundle/chain.js +129 -32
  164. package/src/bundle/chainBrowser.js +26 -2
  165. package/src/bundle/localDocument.mjs +87 -22
  166. package/src/bundle/localDocumentClient.js +5 -1
  167. package/src/bundle/projectClient.js +59 -18
  168. package/src/chain/validation.js +7 -1
  169. package/src/contract/readingMaterials.js +18 -2
  170. package/src/contract/readingTable.js +66 -0
  171. package/src/viewer/ControlIcon.jsx +1 -0
  172. package/src/viewer/DiagramViewer.jsx +70 -30
  173. package/src/viewer/EmbeddedExcalidrawEditor.jsx +305 -0
  174. package/src/viewer/HighlightOverlay.jsx +53 -25
  175. package/src/viewer/Inspector.jsx +109 -39
  176. package/src/viewer/ProjectRail.jsx +11 -5
  177. package/src/viewer/ProjectViewChainViewer.jsx +222 -70
  178. package/src/viewer/ReadingTable.jsx +151 -0
  179. package/src/viewer/SketchCanvas.jsx +15 -75
  180. package/src/viewer/ViewChainViewer.jsx +543 -52
  181. package/src/viewer/camera.js +50 -18
  182. package/src/viewer/chainEditorSession.js +160 -35
  183. package/src/viewer/chainInstallation.js +3 -3
  184. package/src/viewer/details/CanvasPreview.jsx +303 -0
  185. package/src/viewer/details/InspectorReadingSettings.jsx +50 -13
  186. package/src/viewer/details/ReadingFiles.jsx +32 -4
  187. package/src/viewer/details/details.css +65 -26
  188. package/src/viewer/diagramControls.css +1 -1
  189. package/src/viewer/fileError.js +53 -0
  190. package/src/viewer/geometry.js +12 -0
  191. package/src/viewer/inspectorPosition.js +54 -31
  192. package/src/viewer/readingTable.css +47 -0
  193. package/src/viewer/sketchSettling.js +71 -0
  194. package/src/viewer/useInspectorPosition.js +116 -35
  195. package/src/viewer/viewChain.css +40 -4
  196. package/src/viewer/viewer.css +23 -12
  197. package/dist/assets/channel-Dx9OTBrx.js +0 -1
  198. package/dist/assets/classDiagram-ZZMXUADV-Da4s894j.js +0 -1
  199. package/dist/assets/classDiagram-v2-VYDZK3BY--H9NrCfO.js +0 -1
  200. package/dist/assets/index-DBGHN_5E.js +0 -624
  201. package/dist/assets/stateDiagram-v2-MP3YSRHH-B2DcVJGG.js +0 -1
  202. package/dist/assets/swimlanesDiagram-VR7AAH4N-DO_W2uN2.js +0 -8
@@ -1,13 +1,17 @@
1
1
  # Build environment, side effects and preflight
2
2
 
3
3
  Read this before the first build in a session and before writing a brief that asks
4
- another executor to build. For an installed Map, run `locus-map doctor --json`
5
- from the target project and read `productRoot` and `drawSkillPath` from it.
6
- Resolve resources against `productRoot`. Keep the target project as the
7
- working directory. Use `locus-map build` with the same arguments as the source
8
- build and `locus-map view FILE` for the built document. The installer prepares
9
- the viewer. For the smoke test, resolve the example next to the reported Draw
10
- skill. The Node and npm examples below run in a Map development checkout.
4
+ another executor to build. Prefer installed `locus-map` (global or
5
+ `./node_modules/.bin/locus-map`) or `npx @locus-forge/locus-map`, and run
6
+ `locus-map doctor --json` from the target project to read `productRoot` and
7
+ `drawSkillPath`. Resolve resources against `productRoot`. Keep the target
8
+ project as the working directory. Use `locus-map build` with the same arguments
9
+ as the source build and `locus-map view TARGET` (topic name or relative path)
10
+ for the built document or project catalog (`--source-root` defaults
11
+ automatically under `.locus-map/`). The package and installer prepare the
12
+ viewer. For the smoke test, resolve the example next to the reported Draw
13
+ skill. The Node and npm examples below run in an unpublished Map development
14
+ checkout.
11
15
 
12
16
  Use `--style handwritten` for hand-lettered text, or `--style default` to override a saved Draw preference for this build. Both build routes support it.
13
17
 
@@ -3,6 +3,7 @@
3
3
  A build that reaches rendering writes `check.json`: `status` (`draft` or `failed`), `claims` (always `unverified` for a source build),
4
4
  `render`, `fit` (the zoom a reader gets at 1600×1000 and the smallest rendered text per role) and `checks`.
5
5
  Each check has a `code`, `severity`, `passed`, the offending `ids`, its `value` and `limit`.
6
+ `render: "passed"` and `diagnostics: []` are NOT sufficient for readiness: inspect every row in `checks[]` with `passed: false`, including warnings.
6
7
  A failed error check means no document was published; the diagnostic PNG beside it, when the render got that
7
8
  far, shows what went wrong. Invalid source fails earlier: no directory is created and stderr names the field.
8
9
 
@@ -14,8 +15,17 @@ collisions and semantic checks still gate the build. Check the delivered image a
14
15
  its intended size when it is itself a reading surface.
15
16
 
16
17
  Read the longest short titles at 100% before settling on a profile. A wide
17
- `c4-reference-v1` card is 320 scene units. For `editorial-v2`, use the explicit `extra-wide`
18
- size (420 units) when a title wraps unnecessarily. Keep the intended font size. On a research
18
+ `c4-reference-v1` card is 320 scene units (`c4-modern-v2` wide is 360). For
19
+ `editorial-v2` through `editorial-v4`, use `size: "extra-wide"` (420 units,
20
+ PlantUML `$tags="extra-wide"`) whenever titles wrap unnecessarily—especially on
21
+ Russian or descriptive research maps where words are longer (at `extra-wide`, a
22
+ single title line fits roughly 31–34 Cyrillic characters). Keep the intended
23
+ font size; if a title still wraps onto an awkward trailing word at `extra-wide`,
24
+ move parenthetical detail or series/model qualifiers into `technology` (or
25
+ `badge` on profiles that admit node appearance overrides; on canonical
26
+ `c4-reference-v1`, shorten the title, use `technology` for a technology
27
+ qualifier, or move detail to Inspector `details`), and inspect
28
+ `TITLE_WRAP_WARNING` in `check.json`. On a research
19
29
  history, state in the legend when an arrow means chronological order. Label
20
30
  branching or causal relations with the observation or condition that explains
21
31
  the next step. Put supporting evidence in the relationship Inspector.
@@ -26,7 +36,7 @@ Open the delivered project in Locus Map. Follow the route from the contents to a
26
36
 
27
37
  State the comparator and result on the card. Use a negative tone for every observed deterioration, including multiple on a page. Label an unstable gain, an unchanged result, uncertain economics and future work in words. A page with no losses can have zero red cards. Declare representative samples in the exported legend. Check both themes and reopen the saved scene.
28
38
 
29
- Give a named experiment one place under its question and family in the explicit project contents. Attach the protocol and report to its node. If two results fed the experiment, draw and source both labeled relations to the same card in an ordinary view. Reserve foldable reading trees for single-parent canvases. See the project contents example in `docs/LOCAL-DOCUMENT.md`.
39
+ Keep project contents (`project.json` `navigation`) focused on diagram pages (saved maps and views, optionally grouped), or omit `navigation` when the default document list is enough. Add in-page card or experiment anchors (`node`) to `navigation` only when the reader explicitly requests sidebar jumps to individual cards; keep cross-canvas drilldowns in `links` and attach the protocol and report to each node. If two results fed the experiment, draw and source both labeled relations to the same card in an ordinary view. Reserve foldable reading trees for single-parent canvases. See the project contents guidance in `docs/LOCAL-DOCUMENT.md`.
30
40
  For requested soft lines, keep rounded or curved routing while adjusting
31
41
  spacing, side ports and lanes. Inspect crossings and detours on the final scene.
32
42
  For long notes and reports with figures, see “Package reading files with the
@@ -64,11 +74,13 @@ supporting cards beside the steps that use them.
64
74
  | Code | Means | What to do |
65
75
  |---|---|---|
66
76
  | `FIT_ZOOM_WARNING` | Overview zoom below 0.70 | Inspect the overview and the intended reading region |
77
+ | `TITLE_WRAP_WARNING` | One or more card titles wrapped awkwardly (`many-lines`: 3+ lines, `wider-size-fits`: a wider profile card size fits the title on one line, or `orphan-wrap`: an unbalanced single leftover word or short stub on line 2); `details[]` lists each node's `extraWidthPx` deficit and `suggestedSize` | Set `size: "extra-wide"` on `editorial-v2`–`editorial-v4` (`size: "wide"` on C4 profiles) when `suggestedSize` is reported, or trim/move parenthetical detail into `technology` (or `badge` only on profiles that admit node appearance overrides; on canonical `c4-reference-v1`, shorten the title, use `technology`, or move detail to Inspector `details`) to eliminate orphan wraps. Keep balanced two-line titles when shortening would lose meaning |
67
78
  | `FIT_ZOOM_MIN`, `RENDERED_TEXT_MIN` (multi-screen) | Whole-map overview falls below the single-screen limits | Retain the overview as an orientation aid and verify each continuation at 100% |
68
79
  | `DETAILS_MISSING`, `SOURCES_MISSING` | Inspector text or citations are missing | Check each flagged element against its source. Add a note for a real condition, payload or consequence. A clear label can stand alone; record the warning instead of adding filler. See [connected diagrams](connected-diagram.md) and the [installed Draw skill](draw-skill.md). |
69
80
  | `CONDITION_NOT_VISIBLE` | A reminder for every relation with a `condition`: the field shows only in the Inspector | Check that the label words or a note show the guard; then the warning may stay |
70
81
  | `LEGEND_STYLE_MISSING` | A declared legend leaves out a style that is used | Add the item, or accept it for card kinds the tags already explain |
71
- | `EDGE_ROUTE_DETOUR`, `AREA_ROUTE_OUTSIDE`, `AREA_LABEL_BOUNDARY`, `EDGE_CROSSING_WARNING`, `COLLINEAR_SHARED_RUN` | The layout reads worse than it could | Use the layout reference in the [installed Draw skill](draw-skill.md) |
82
+ | `EDGE_ROUTE_DETOUR`, `ADJACENT_EDGE_DETOUR` | A relation path exceeds 4× the direct card-to-card distance, or an unobstructed neighbour pair detours >2.5× its gap or leaves facing sides | Inspect the rendered route even when `render: "passed"` (failing detour checks are also surfaced in `diagnostics` and stderr) — an outer-perimeter or header-jog detour signals a corridor or area-header obstacle to fix via ports, layout, or Draw routing fixes |
83
+ | `AREA_ROUTE_OUTSIDE`, `AREA_LABEL_BOUNDARY`, `EDGE_CROSSING_WARNING`, `COLLINEAR_SHARED_RUN` | The layout reads worse than it could | Use the layout reference in the [installed Draw skill](draw-skill.md) |
72
84
  | `AREA_NONMEMBER_INSIDE` | A card sits inside an area it does not belong to | Move it out, or add it to the area if it really belongs |
73
85
 
74
86
  Source errors occur before rendering. PlantUML errors name a source path, line and column; JSON errors name a
@@ -0,0 +1,35 @@
1
+ # Two-step component checkpoint (outside Pi duties)
2
+
3
+ Complete this two-step gate before authoring full diagrams whenever an interactive request risks style, card-anatomy, or diagram-type mismatch. Autonomous Pi duties (`authorBuild` and R0–R7) keep their own `Narrative Decision` and review gates and do not pause for this checkpoint.
4
+
5
+ ## When this checkpoint is mandatory
6
+
7
+ Require Step 1 approval before building the full deliverable whenever any of the following holds:
8
+
9
+ - The request calls for **2 or more connected canvases** or a multi-document atlas (`project.json`).
10
+ - The request covers broad scope across system architecture, workflows, tasks, and roadmap together.
11
+ - The diagram family, presentation profile, or sequence-vs-workflow boundary is open (see [selection](selection.md)).
12
+ - It is the **first diagram in a project** with no approved `.locus-map/preferences.md` visual defaults.
13
+
14
+ You may skip Step 1 when none of the triggers above apply, for a targeted revision to an already-approved canvas, when the user explicitly opts out, or when a non-interactive / delegated one-shot brief cannot pause for human approval. When skipping a triggered workflow, record `Component checkpoint: skipped — <reason>` in `handoff.md`.
15
+
16
+ ## Step 1: Diagram plan and real Draw specimens (wait for approval)
17
+
18
+ Before writing full diagram sources or `project.json`:
19
+
20
+ 1. **Present the diagram plan:** list every planned canvas, its Map family (`semantic`, `component`, `sequence`, `decision`), authoring route (`--source`, `research --single-diagram`, or standalone Draw if an unverified sketch is explicitly agreed), Draw profile (strict canonical `c4-reference-v1` with standard C4 roles/palette and no ad-hoc pastel color overrides as default for architecture overviews; `editorial-v4` for workflows; `task-card-v1` for `--tasks-dir`; `c4-modern-v2` only when explicitly chosen), and what each candidate shows or loses. State explicitly when an option falls outside Map admission: standalone Draw `.excalidraw` files cannot be registered or linked in `project.json` and carry no Inspector `details` or `sources`.
21
+ 2. **Build 2–4 real specimen cards/components:** author a minimal specimen source file at `<diagram>/artifacts/checkpoint/specimen.puml` (or `.map.json`) and build it to a separate build subdirectory `--out-dir <diagram>/artifacts/checkpoint/builds/1` (never put the specimen source inside `--out-dir` or the published project root so output checks and project discovery stay clean). When `sequence` vs workflow is the open decision, include a small participant pair with ordered messages rather than isolated cards alone. Populate profile-accurate slots:
22
+ - **Standard C4 architecture (`c4-reference-v1`):** keep canonical C4 roles and low-chroma palette without ad-hoc pastel color overrides, decorative badges, or extra icons (`«role»` → `Title` → optional `[Technology]` → `body`).
23
+ - **Code-backed workflows (`editorial-v4` / editorial profiles):** for code-backed workflow steps, follow the 3-slot workflow card pattern — Line 1 (`label`): `Step N · <action>` (or localized `Шаг N · <действие>`), Line 2 (`technology`): compact code anchor `Code: :module → File :: fn()` (or localized `Код: :module → File :: fn()`), Line 3+ (`body`): 2–3 concise bullets using Unicode `• ` (literal UTF-8 `• ` in `.puml`, where `\u` escapes fail with `TEXT_ESCAPE_UNSUPPORTED`; literal `• ` or `\u2022 ` in `.map.json` / `.mjs`) — never leading `- `, which `locus-draw`'s `MARKUP` regex (`src/source/diagramSource.ts`) rejects with `INVALID_TEXT`. On grouped task grids or non-code editorial boards, keep the appropriate 3-slot editorial layout (for example `T-xxx · Title` + single status subline in `technology`).
24
+ - **Card-anatomy reading guide:** on non-trivial workflow diagrams, include a small left-side or top-left card-anatomy breakdown note/block (for example `Card anatomy (how to read slots)` / localized `Разбор карточки (как читать слоты)`) via `page.notes` (`LM_Note`) on non-`readingTree` canvases — in `grid` mode via an unoccupied row cell such as `page.notes[].cell: [0, 0]` (`LM_Note(..., $place="cell:0,0")`) inside a node-occupied column `0` (dedicated note-only columns fail with `LAYOUT_COVERAGE`), or in `auto`/`explicit` mode via `below: "<leftmostNodeId>"` (`$place="below:<node>"`) or `page.footer` (since `cell` fails with `GRID_CELL_CONFLICT` and unattached `page.notes` render at the bottom) — keeping it clear of area contours (or setting matching `area`) to avoid `AREA_NOTE_BOUNDARY`, and using `• ` bullets rather than `- `. Check area clearance on the rendered specimen. On foldable `readingTree` views, put the reading guide in `page.footer` alongside `page.legend` (never `page.notes`, which disables folding). Follow `skills/locus-map-primitives/references/card-presentation.md` and [draw skill](draw-skill.md).
25
+ 3. **Show the specimen PNG inline and stop:** inspect the rendered specimen PNG and ask the user for explicit approval (`approve`) or adjustments before authoring full canvases.
26
+
27
+ ## Step 2: Full build and delivery (only after approval)
28
+
29
+ 1. Apply any adjustments requested on the specimens, then author and build every planned canvas using the selected route's delivery flow (`artifacts/builds/<n>/` + `check.json` for `--source`; `build.json`, metrics, and saved-scene checks for `research`).
30
+ 2. Inspect every route report (`checks[]`, including warnings such as `EDGE_ROUTE_DETOUR`, `ADJACENT_EDGE_DETOUR`, and `MAIN_PATH_MISSING`; see [checks](checks.md)) and every rendered PNG. On revisions to existing documents, follow the replacement guard in [deliverable updates](folder.md#updates) (`cmp` against the last published build before replacing the canvas root; keep a candidate when the root differs or its origin is unknown so saved viewer edits are never overwritten) before updating `project.json`.
31
+ 3. Verify the viewer opens cleanly and offer to save reusable visual defaults into `.locus-map/preferences.md`.
32
+
33
+ ## Evidence firewall
34
+
35
+ Approving Step 1 specimens approves **visual grammar, profile, and card anatomy only**. It never verifies architectural or factual claims: `--source` outputs remain `status: "draft"` and `claims: "unverified"`, and `research` maps still execute full R0–R7 source verification independently.
@@ -42,6 +42,7 @@ For visual choices, read `new URL('references/presentation-profiles.md', doctor.
42
42
  where `doctor` is the parsed output of `locus-map doctor --json`. Follow its catalog and
43
43
  specimen links within that installed skill.
44
44
 
45
- The chooser links PlantUML, editable scenes and PNG specimens for `c4-modern-v2` and `editorial-v4`.
45
+ The chooser compares the installed profiles and links PlantUML, editable scenes and PNG specimens for the editorial and modern C4 profiles (`assets/examples/c4.puml` / `c4.png` illustrates `c4-reference-v1`; `skills/locus-map/assets/task-map.mjs` illustrates `task-card-v1`).
46
+ Default to `c4-reference-v1` for standard C4 architecture overviews and `editorial-v4` for workflows; use `c4-modern-v2` only when modern colored C4 cards are explicitly selected.
46
47
  Set `iconId` only when it literally disambiguates sibling nodes of the same role, up to 3–5 explicit icons per view.
47
48
  Leave `iconId` unset to use the profile's default glyph otherwise.
@@ -14,16 +14,23 @@ Paths here and in `docs/capabilities.json` start at the explicitly selected Map
14
14
  `evidenceMeaning`. It describes existing capabilities; runtime admission remains with the linked owners.
15
15
  Read the selected family/route docs, plus shared-limit docs relevant to the requested meaning.
16
16
  3. Select for the reader's needed inference, not a keyword. Use `component` for real physical ownership/nesting,
17
- `sequence` for an actual common ordered message list, and `decision` for choices, guards and outcomes.
18
- `semantic` can explain structure, processes, qualitative data flow and independent parallel steps.
19
- "Boundaries" need not mean physical containment; "step by step" need not mean a total message order.
20
- Do not invent order between independent branches. A barrier can be explained in text and conditions,
21
- but this gives no typed concurrency or checked full-barrier guarantee, in any family.
17
+ `sequence` for an actual common ordered message/reply list across participant lifelines, and `decision` for
18
+ choices, guards and outcomes. `semantic` explains structure, step-by-step workflows, branching pipelines,
19
+ qualitative data flow and independent parallel steps. Keep **Sequence vs Workflow** explicit: a step-by-step
20
+ processing pipeline with branching decisions and stage areas is a workflow graph (`semantic` on `--source`
21
+ with an editorial profile), not a UML sequence diagram. "Boundaries" need not mean physical containment;
22
+ "step by step" need not mean a total message order. Do not invent order between independent branches. A
23
+ barrier can be explained in text and conditions, but this gives no typed concurrency or checked full-barrier
24
+ guarantee, in any family.
22
25
  4. Check family and route in both directions in the registry, then check the source subset and profile separately.
23
- Ordinary `.puml`/schema-v1 `.map.json` use `source` and produce `semantic` only. C4 Component vocabulary and
24
- reading areas are not canonical `contains` ownership. Source profiles belong to Draw; resolve them through
25
- `docs/PLANTUML-SOURCE.md` and the installed Draw skill. `docs/DIAGRAM-SOURCE.md` owns Map source admission.
26
- Other families and verified claims use `research`; the ArchiMate application subset also keeps that workflow.
26
+ Ordinary `.puml`/schema-v1 `.map.json` use `source` and produce `semantic` only (`sequence` is admitted on
27
+ the `research` route via `--single-diagram`, not `--source`; never silently substitute one for the other —
28
+ clarify the tradeoff during the component checkpoint, or use standalone Draw `.excalidraw` if an unverified
29
+ sequence sketch is explicitly agreed, noting that `.excalidraw` files cannot be registered or linked in
30
+ `project.json` and carry no Inspector `details` or `sources`). C4 Component vocabulary and reading areas are not canonical `contains`
31
+ ownership. Source profiles belong to Draw; resolve them through `docs/PLANTUML-SOURCE.md` and the installed
32
+ Draw skill. `docs/DIAGRAM-SOURCE.md` owns Map source admission. Other families and verified claims use
33
+ `research`; the ArchiMate application subset also keeps that workflow.
27
34
  Check `docs/DSL-AUTHORING.md`, `docs/MODEL-CONTRACT.md` and `docs/LANGUAGE-COMPATIBILITY.md` for the actual
28
35
  combination. A scenario profile admits semantic/decision; the ArchiMate subset admits semantic only.
29
36
  Registry `canonical-model` is a low-level API for caller-supplied models, not another ordinary CLI or a way
@@ -60,8 +67,24 @@ changed research meaning requires renewed independent acceptance. Geometry alone
60
67
 
61
68
  Run `locus-map doctor --json`. Resolve `references/presentation-profiles.md` relative to
62
69
  `drawSkillPath` to compare the installed Draw specimens before selecting the profile and node
63
- overrides. See [locating the Draw skill](draw-skill.md).
70
+ overrides. See [locating the Draw skill](draw-skill.md) and `skills/locus-map-primitives/references/card-presentation.md`.
64
71
 
65
- Choose `c4-modern-v2` to explain architecture responsibilities and `editorial-v4` to show what each action does.
66
- Set `iconId` only when it literally disambiguates sibling nodes of the same role, up to 3–5 explicit icons per view.
67
- Leave `iconId` unset to use the profile's default glyph otherwise.
72
+ - **Standard C4 architecture overviews (default):** strictly use canonical **`c4-reference-v1`** for Context, Container and
73
+ Component diagrams. Keep its standard C4 roles and built-in low-chroma palette (blue family for owned
74
+ systems/containers/components, cylinder for data stores, muted grey for external systems, dashed system boundaries)
75
+ with no ad-hoc pastel color overrides, decorative badges or extra icons.
76
+ - **Workflows, pipelines and grouped overviews:** choose **`editorial-v4`** (or another Map-admitted editorial
77
+ profile listed in `docs/capabilities.json` and Draw's `references/presentation-profiles.md`). Keep cards neutral by
78
+ default and reserve `accent` or `tone` for 1–3 explicit semantic signals. For code-backed workflow steps, follow the
79
+ 3-slot workflow card pattern (action title, code anchor, `• ` plain-text bullets) with a card-anatomy reading guide
80
+ on non-trivial flows; for grouped task boards, keep `T-xxx · Title` and a single status slot in `technology`.
81
+ - **Colored modern C4 cards (opt-in only):** use **`c4-modern-v2`** only when the user explicitly selects modern
82
+ colored presentation cards over canonical `c4-reference-v1`.
83
+ - **Canonical local task lists:** use **`task-card-v1`** on `locus-map build --tasks-dir` (see [task maps](task-maps.md)).
84
+
85
+ On profiles that admit node appearance overrides (`editorial-v2`–`editorial-v4`, `c4-modern-v1`–`c4-modern-v2`;
86
+ `c4-reference-v1` rejects node `iconId`, `shape`, `badge`, `tone` and root `source.accent` with `PROFILE_KIND` and
87
+ ignores PlantUML style overrides with `PLANTUML_STYLE_IGNORED`), set `iconId` only when it literally disambiguates
88
+ sibling nodes of the same role, up to 3–5 explicit icons per view. Leave `iconId` unset to use the profile's default
89
+ glyph otherwise. Follow `skills/locus-map-primitives/references/card-presentation.md` for minimalist 3-slot card
90
+ anatomy, code-backed workflow card slots (`• ` plain-text bullets), and card-anatomy reading guides.
@@ -14,3 +14,8 @@ locus-map view .tasks/map.locus-map.json
14
14
  ```
15
15
 
16
16
  Inspect the rendered canvas, a directed relationship and its original. When changing an existing view, verify that the authored edit appears after the build. The registry and viewer launch instructions live in `docs/VIEWER-LAUNCH.md` under the product root reported by `locus-map doctor --json`.
17
+
18
+ ## Task card discipline (single-column vs grouped overview)
19
+
20
+ - **Canonical single-column task map (`locus-map build --tasks-dir`, `task-card-v1`)**: use one vertical column; place the task ID in `tag`, normalized status via `primitives.taskCardStatus(task.status, task.archived)` in `technology`, the full canonical title in `label`, a concise summary in `body`, and an optional expected result in `outcome`. Never repeat status in `tag` or `body`.
21
+ - **Grouped multi-column task overview board (simplified `editorial-v4` or newer editorial profile)**: put the task ID directly in `label` (for example, `T-264 · Markdown grounding corpus` or `T-257/258 · Markdown-first import`), state status/priority/progress in **one** metadata slot only (`technology`), and keep `tag` empty unless needed for a single orthogonal axis. Never duplicate status across `badge`, `technology`, and `tag`, and avoid `badge` pills on mixed-length grid titles where row-1 vs row-2 wrapping breaks visual alignment.
@@ -0,0 +1,69 @@
1
+ # Choose the visual structure for Locus Map
2
+
3
+ Locus Map (`locus-map view`) opens both Draw-authored `.excalidraw` visuals (charts, matrices,
4
+ freeform analytical boards, timelines, and any of the 53 genres in `@locus-forge/locus-draw`) and
5
+ connected semantic `.locus-map.json` maps. Architecture diagrams are one entry route, not a
6
+ mandatory lens for non-architectural topics such as ML experiments, incident reviews, or research
7
+ comparisons.
8
+
9
+ ## Step 0: route by reader need before `selection.md`
10
+
11
+ Choose the structure and deliverable before entering [selection](selection.md) or
12
+ `skills/locus-map-research/SKILL.md`:
13
+
14
+ | What the reader needs | Where to start | Delivered format in Locus Map |
15
+ | --- | --- | --- |
16
+ | Open-ended topic, competing layouts, or early feedback before full work | `skills/locus-map-draft/SKILL.md` | 1–4 quick draft previews (`.mjs`/`.puml`/`.map.json`) → `chosen-direction.md` → route below |
17
+ | Quantitative charts, matrices, timelines, freeform notes, or mixed analytical board | Author with installed Draw (below) | `<topic>.excalidraw` in `.locus-map/TOPIC/` |
18
+ | Connected map with clickable Inspector cards, `--details-files` Markdown/LaTeX/HTML, `readingTree` / `readingTable`, or `project.json` `↘` links | Continue sections 1–6 of `skills/locus-map/SKILL.md` via [selection](selection.md) | `<topic>.locus-map.json` (`source` route, `claims: "unverified"`) |
19
+ | Verified claims, physical `component` containment, ordered `sequence`, guarded `decision`, or ArchiMate subset | `skills/locus-map-research/SKILL.md` | `<topic>.locus-map.json` (R0–R7 accepted build) |
20
+ | Local project task tracking | [Author a project task map](task-maps.md) | `<map>.locus-map.json` (`--tasks-dir`) |
21
+
22
+ ## Five visual archetypes
23
+
24
+ Pick the visual lens from the reader's question rather than defaulting to boxes and arrows:
25
+
26
+ | Reader's question | Archetype and first screen | Primary tooling |
27
+ | --- | --- | --- |
28
+ | What do we know so far and which hypotheses compete? | **Exploration board**: freeform text, excerpts, framed columns ("Observations", "Hypotheses", "Next check") | Draw JS (`Scene`, `textBox`, panels) → `.excalidraw` |
29
+ | How large is the difference and where does it occur? | **Measurement canvas**: shared-axis charts (`bar`, `line`, `scatter`, `heatmap`, `waterfall`, `radar`) + exact summary table | Installed Draw catalog (`Measurements and comparisons`) → `.excalidraw` |
30
+ | What is the conclusion and what supports it? | **Conclusion & evidence breakdown**: thesis, main finding, and caveat on canvas; protocols, LaTeX, PNG figures, and HTML reports on click | Draw board `.excalidraw`, or `editorial-v4` `.locus-map.json` + `--details-files` |
31
+ | How does the system, workflow, or decision work? | **Mechanism & architecture**: components, responsibilities, guards, stores, boundaries | Existing `locus-map` `source` or `locus-map-research` R0–R7 → `.locus-map.json` |
32
+ | Where should each audience start and drill down? | **Topic navigator**: foldable `readingTree`, docked `readingTable`, or `project.json` catalog, optionally paired beside a `.excalidraw` metrics board | `.locus-map.json` (`readingTree` / `readingTable` / `project.json`) + sibling `.excalidraw` |
33
+
34
+ One topic folder (for example, an ML experiment) may combine both formats side-by-side: a semantic
35
+ `experiment.locus-map.json` for methodology and Inspector reports alongside a `metrics.excalidraw`
36
+ chart board in **Contents**.
37
+
38
+ ## Deliver a Draw visual into Locus Map
39
+
40
+ 1. Outside Pi duties, check [component checkpoint](component-checkpoint.md) before full authoring
41
+ when its triggers apply (keeping its existing skip conditions).
42
+ 2. Resolve `@locus-forge/locus-draw/skill` using [installed Draw authoring](draw-skill.md). Read
43
+ its `SKILL.md`, `references/diagram-types.md`, `references/javascript-authoring.md`, and
44
+ `references/javascript-layout.md`.
45
+ 3. Match the authoring path to the chosen row in Draw's `references/diagram-types.md`: some genres
46
+ (`heatmap`, `waterfall`, `radar`, `sankey`, and custom `Scene` + `nodeCard` + `embedSvg` boards)
47
+ use JavaScript; others (`bar`, `line`, `scatter`, `quadrant`, etc.) use PlantUML transfer.
48
+ 4. Keep the authored script (`<topic>.mjs` or `<topic>.puml`) and build directories inside
49
+ `artifacts/builds/<n>/` (following [the diagram folder](folder.md)) so normal library scans skip
50
+ working builds (`docs/LOCAL-DOCUMENT.md`).
51
+ 5. Export and visually inspect the PNG and `diagnostics.json`, then publish `<topic>.excalidraw`
52
+ into `<target-project>/.locus-map/TOPIC/` (or the user's named library folder in
53
+ `docs/VIEWER-LAUNCH.md`) using the replacement rule in
54
+ [deliverable updates](folder.md#updates): if an existing `<topic>.excalidraw` differs from the
55
+ last published build (for example, after **Save drawing** edits) or its origin is unknown, keep
56
+ the rebuilt file as a candidate in `artifacts/` until the user chooses which version to keep.
57
+ 6. View the delivered board in **Contents**: if the target library is already open in a running
58
+ workspace viewer, click **Refresh library**. Otherwise launch `locus-map view` (workspace mode,
59
+ without `--local`); if `<target-project>` is not registered in `~/.locusmap/projects.toml` or
60
+ port `8181` is already in use, launch with a temporary `LOCUS_MAP_PROJECTS_FILE` and `--port 0`
61
+ (`docs/VIEWER-LAUNCH.md`).
62
+
63
+ ## Current viewer boundaries
64
+
65
+ - `.excalidraw` boards open, edit, and save natively in `locus-map view` workspace mode, but they
66
+ do not expose the semantic Inspector panel, `--details-files`, or `project.json` `↘` targets.
67
+ - `locus-map view --local` and `locus-map view FILE.excalidraw` do not currently discover or open
68
+ standalone `.excalidraw` files (`docs/VIEWER-LAUNCH.md`).
69
+ - Never claim a Draw board or a `--source` draft map has R7-verified source claims.
@@ -0,0 +1,95 @@
1
+ ---
2
+ name: locus-map-draft
3
+ description: "Formalizes an open-ended visual request, builds 1–4 quick draft variants in Locus Map for early component feedback, and hands the chosen visual reference off to authoring or research."
4
+ ---
5
+
6
+ # locus-map-draft
7
+
8
+ Explore visual structure and component composition in Locus Map before full research or delivery.
9
+ Use `locus-map` (`MAP_BIN`), `npx @locus-forge/locus-map`, or checkout `scripts/locus-map.mjs`.
10
+ Resolve `productRoot` and `drawSkillPath` from `"$MAP_BIN" doctor --json`.
11
+ This skill grants no agent-launch authority. When the host permits subagents, run 1–4 draft workers
12
+ in parallel; otherwise author the selected variants sequentially, guided by
13
+ [divergence axes and draft formats](references/divergence-and-formats.md).
14
+
15
+ ## 0. Decide whether drafting helps
16
+
17
+ Skip drafting when the reader question and visual form are already clear: route directly to
18
+ `skills/locus-map/SKILL.md` or `skills/locus-map-research/SKILL.md`.
19
+ Use `locus-map-draft` when the request is open-ended (such as an ML experiment, comparison, or
20
+ problem breakdown), competing visual forms fit, or the user wants to review quick drafts first.
21
+
22
+ ## 1. Formalize the problem and request
23
+
24
+ Record the verbatim request, `reader-question`, `audience`, `outputLanguage`, `Must show`, known
25
+ `provided-facts`, and unverified placeholder zones (`missing-or-unverified`) in
26
+ `TARGET_PROJECT/.locus-map/TOPIC/artifacts/drafts/SESSION_ID/session.md` (or
27
+ `~/.locusmap/maps/.drafts/SESSION_ID/session.md` when no project directory is given).
28
+ Ask only about unknowns that materially change the candidate structures.
29
+ If source files exist, only the coordinator runs one light intake scan so workers do not re-read
30
+ the repository repeatedly.
31
+
32
+ ## 2. Design 1–4 structural variants
33
+
34
+ Pick 1–4 variants (`1` to validate a single complex layout, `2` for a binary trade-off, `3`
35
+ default for open problems, `4` maximum) using
36
+ [divergence axes and draft formats](references/divergence-and-formats.md).
37
+ Design divergence before writing scripts: every variant must differ on at least two structural
38
+ axes (inference lens, visual grammar, unit of meaning, or delivery format), never cosmetic color
39
+ swaps.
40
+
41
+ ## 3. Author quick drafts and inspect PNGs
42
+
43
+ Put each variant in an isolated directory `v1-SLUG/` .. `vN-SLUG/` with its authored source
44
+ (`draft.mjs`, `draft.puml`, or schema-v1 `draft.map.json`), editable output, `draft.png`, and a
45
+ short `summary.md`. Build or export each pass into `vN-SLUG/builds/PASS/` (skipped by library scans
46
+ and avoiding `OUTPUT_EXISTS`), then copy the inspected output to `vN-SLUG/draft.excalidraw` (or
47
+ `vN-SLUG/draft.locus-map.json`) and `vN-SLUG/draft.png`.
48
+
49
+ - **Draw (`draft.mjs` or `draft.puml`) → `draft.excalidraw` + `draft.png`:** default for charts,
50
+ matrices, freeform notes, analytical or ML experiment boards, and prototypes across Draw's 53
51
+ catalog genres resolved from `drawSkillPath`.
52
+ - **Lightweight Map source (`"$MAP_BIN" build --source`) → `draft.locus-map.json` + `draft.png`:**
53
+ use when clickable Inspector cards, `--details-files` reading materials, a foldable
54
+ `readingTree`, or `readingTable` (via schema-v1 `draft.map.json`) are central to the concept.
55
+
56
+ Keep drafts fast and scannable: 5–10 core blocks, at most 1–2 render passes, a visible canvas
57
+ marker (`DRAFT · CONCEPT V1` in `outputLanguage`), and `[example]` / `[TBD]` tags on unverified
58
+ placeholders (avoid angle-bracket tags, which trigger Draw `INVALID_TEXT`). Visually inspect every
59
+ `draft.png` before presenting it.
60
+
61
+ ## 4. Review drafts in Locus Map and gather feedback
62
+
63
+ Show every rendered `draft.png` inline where the chat supports images, alongside a short trade-off
64
+ table (what stays visible on canvas, what moves to cards/reports, what is lost, and target route).
65
+ Preview all drafts together in Locus Map (`artifacts/` stays hidden from normal library scans; see
66
+ `docs/LOCAL-DOCUMENT.md` and
67
+ [previewing drafts in Locus Map](references/divergence-and-formats.md#preview-drafts-in-locus-map)):
68
+
69
+ ```sh
70
+ LOCUS_MAP_PROJECTS_FILE=DIR/artifacts/drafts/SESSION_ID/.viewer.toml \
71
+ "$MAP_BIN" view --port 0
72
+ ```
73
+
74
+ Collect feedback on which variant or specific components to keep, drop, or combine.
75
+
76
+ ## 5. Lock the visual reference and route onward
77
+
78
+ Save the chosen composition, component feedback, and grounding checklist in `chosen-direction.md`
79
+ using the [chosen-direction handoff template](assets/chosen-direction.md).
80
+ **Evidence firewall:** drafts express visual intent only. Never cite draft files in `facts.md`,
81
+ `citations.json`, `sourceBindings`, `--snapshot-documents`, or final `--details-files`, and never
82
+ promote a draft directly as a verified map.
83
+
84
+ Route the approved reference into the matching downstream flow (verified architecture review is one
85
+ branch, not mandatory):
86
+
87
+ - **Draw-authored visual in Locus Map (`.mjs`/`.puml` → `.excalidraw`):** replace placeholders with
88
+ real data, charts, and copy via `skills/locus-map/SKILL.md` and deliver into `.locus-map/TOPIC/`.
89
+ - **Connected semantic map (`.locus-map.json`):** continue in `skills/locus-map/SKILL.md`
90
+ (`source` route), transferring `Request (verbatim)`, `Must show`, `View choice`, and
91
+ `Orientation` into `artifacts/handoff.md` and verifying every claim against real sources.
92
+ - **Verified source-backed research (`skills/locus-map-research/SKILL.md`):** pass only the
93
+ verbatim framing into R0; withhold draft layouts from R1–R5 to avoid confirmation bias; supply
94
+ `chosen-direction.md` at R6 (or only `duties: ["authorBuild"]` in Pi). If real sources contradict
95
+ the draft layout, sources prevail and return the conflict to the user.
@@ -0,0 +1,47 @@
1
+ # Chosen Visual Direction (from locus-map-draft)
2
+
3
+ ## 1. Status and evidence boundary
4
+
5
+ - Draft status: `VISUAL_DIRECTION_ONLY` (may contain illustrative `[example]` / `[TBD]` placeholders)
6
+ - Allowed downstream use: reader framing, visual structure, component selection, layout and style intent
7
+ - Forbidden downstream use: MUST NOT be cited as factual evidence, passed via `--snapshot-documents` or `sourceBindings`, or used to bypass source checks or R7 review
8
+
9
+ ## 2. Original framing (preserved verbatim)
10
+
11
+ - Request (verbatim):
12
+ - `reader-question`:
13
+ - `audience`:
14
+ - `outputLanguage`:
15
+ - `Must show`:
16
+ - REQUIRED_ITEM -> canvas | inspector-card
17
+
18
+ ## 3. Selected visual reference and component feedback
19
+
20
+ - Session directory: `artifacts/drafts/SESSION_ID/`
21
+ - Selected concept: `vN-SLUG` (note any combined elements from other drafts)
22
+ - Reference files:
23
+ - PNG preview: `artifacts/drafts/SESSION_ID/vN-SLUG/draft.png`
24
+ - Source script/input: `artifacts/drafts/SESSION_ID/vN-SLUG/draft.mjs` | `draft.puml` | `draft.map.json`
25
+ - Editable scene/document: `artifacts/drafts/SESSION_ID/vN-SLUG/draft.excalidraw` | `draft.locus-map.json`
26
+ - User feedback on components:
27
+ - Keep:
28
+ - Remove or simplify:
29
+ - Add or adjust:
30
+ - Rejected variants (for `View choice` rationale):
31
+ - `vA-SLUG`: WHAT_IT_HID_OR_LOST
32
+
33
+ ## 4. Target downstream route
34
+
35
+ - Target skill and route: `locus-map` (Draw `.mjs`/`.puml` -> `.excalidraw`) | `locus-map` (`source` -> `.locus-map.json`) | `locus-map-research` (R0–R7)
36
+ - Admitted Map family (when targeting `.locus-map.json`): `semantic` | `component` | `sequence` | `decision` | `n/a (Draw visual)`
37
+ - Visual form / profile:
38
+ - Orientation & layout notes:
39
+ - Disclosed capability limits:
40
+
41
+ ## 5. Grounding checklist (must be replaced or verified downstream)
42
+
43
+ - Confirmed user inputs / files / data:
44
+ - Placeholders to replace with verified values or source facts:
45
+ - [ ] PLACEHOLDER_ITEM -> TARGET_FILE_OR_DATASET
46
+ - Open questions for research or data gathering:
47
+ - [ ] OPEN_QUESTION
@@ -0,0 +1,127 @@
1
+ # Divergence axes, draft formats, and Locus Map preview
2
+
3
+ Use this reference during `locus-map-draft` to pick the right number of variants, enforce real
4
+ structural diversity, preview drafts in Locus Map without polluting the main library, and preserve
5
+ the evidence boundary.
6
+
7
+ ## Choose the number of drafts (N = 1..4)
8
+
9
+ | Count | When to use | Typical scenario |
10
+ | --- | --- | --- |
11
+ | `0` (skip) | Reader question and visual form are already clear | Explicit C4 diagram request, targeted chart, or feedback revision of an existing map. Route directly to `skills/locus-map/SKILL.md` or `skills/locus-map-research/SKILL.md`. |
12
+ | `1` | Structure is plausible, but layout density or framing needs quick validation | Confirming one non-standard board composition before collecting full details or running research. |
13
+ | `2` | Exactly one clear design trade-off competes | Process flow vs. metrics matrix, or single dense Draw canvas vs. connected Map graph with Inspector. |
14
+ | `3` (default) | Open-ended request with an understandable domain | Covers the main space cleanly: 1) flow or story, 2) measurements or comparison, 3) structure or decisions. |
15
+ | `4` (max) | Broad multi-faceted topic or explicit request for 4 options | Hard ceiling: more than four images overwhelm side-by-side comparison and strain local browser renders. |
16
+
17
+ **Single-agent fallback:** when subagents are unavailable or disallowed, keep the selected count N
18
+ (`1–4`, defaulting to `2–3` when the user did not request a specific number), generate the variants
19
+ sequentially in isolated subfolders, and check each new script against `session.md` so later
20
+ variants do not repeat earlier layouts.
21
+
22
+ ## Four structural divergence axes
23
+
24
+ Do not ask multiple workers to "visualize X your own way" with identical prompts; that converges
25
+ on nearly identical box-and-arrow diagrams with cosmetic color differences. Design divergence upfront
26
+ by requiring every pair of concepts to differ on at least two structural axes:
27
+
28
+ | Axis | Contrasting choices |
29
+ | --- | --- |
30
+ | 1. Inference lens | Mechanism / flow ("how data moves") vs. comparison ("what improved and why") vs. chronology / causality ("what changed over time") vs. ownership / structure ("who owns what") |
31
+ | 2. Visual grammar | Quantitative chart or matrix (`heatmap`, `waterfall`, `line`, `scatter`, `quadrant`) vs. freeform board (`Scene`, `textBox`, frames) vs. connected card graph (`editorial-v4`, `c4-reference-v1`; `c4-modern-v2` opt-in only) vs. ordered interaction or timeline (`sequence`, `timeline`, `story-map`) |
32
+ | 3. Unit of meaning | Pipeline steps vs. hypotheses and findings vs. metric slices vs. software components or decisions |
33
+ | 4. Delivery surface & route | Self-contained `.excalidraw` visual via Draw (`locus-map`) vs. clickable `.locus-map.json` with Inspector reading materials vs. R0–R7 verified map (`locus-map-research`) |
34
+
35
+ ### Worked example: four variants for an ML experiment
36
+
37
+ 1. **Experiment discussion board** (`draft.mjs` → `.excalidraw`): left column holds hypothesis and
38
+ success criteria; center shows slice behavior and anonymized error examples; right side frames
39
+ competing explanations and next checks.
40
+ 2. **Methodology verification map** (`draft.puml` / `draft.map.json` → `.locus-map.json`,
41
+ `editorial-v4`): shows split → threshold tuning → evaluation with an explicit caveat on canvas,
42
+ attaching LaTeX formulas, split dates, PNG figures, and static HTML reports in Inspector via
43
+ `--details-files`.
44
+ 3. **Metrics comparison canvas** (`draft.mjs` or `draft.puml` → `.excalidraw`): pairs headline
45
+ deltas with a weekly trend and a slice `heatmap` or additive `waterfall`, composed with Draw and
46
+ `embedSvg`.
47
+ 4. **Topic index** (`draft.map.json` / `project.json` preview): splits overview from per-topic
48
+ detail views when stakeholders revisit data, thresholds, and error slices independently.
49
+
50
+ ## Draft worker brief and budget
51
+
52
+ - Put each worker in its own folder `vN-SLUG/` with zero shared mutable files.
53
+ - Export or build each render pass into a fresh `vN-SLUG/builds/PASS/` directory (`builds/` is
54
+ skipped by library discovery and prevents `OUTPUT_EXISTS` / `OUTPUT_OVERLAPS_INPUT`), then copy
55
+ the inspected scene/bundle and PNG to `vN-SLUG/draft.excalidraw` (or `vN-SLUG/draft.locus-map.json`)
56
+ and `vN-SLUG/draft.png`.
57
+ - Pass the shared Framing Packet (verbatim request, audience, `outputLanguage`, `Must show`,
58
+ `provided-facts`, `missing-or-unverified`), the assigned concept's four axes, and a short
59
+ anti-clone list of the other concepts.
60
+ - Keep drafts lean: 5–10 core blocks, 1–2 render passes, visible `DRAFT · CONCEPT V1` (etc.) canvas
61
+ badge, and `[example]` / `[TBD]` markers on unverified values. Avoid angle-bracket tokens, which
62
+ trigger Draw `INVALID_TEXT` and R5–R7 HTML-tag checks.
63
+ - Inspect every `draft.png` directly before presenting it. If 1 of the N workers fails to render,
64
+ present the completed drafts and report the failed concept separately rather than blocking.
65
+
66
+ ## Format selection: Draw vs lightweight Map source
67
+
68
+ - **Draw (`draft.mjs` or `draft.puml`) → `draft.excalidraw` + `draft.png`**: resolve
69
+ `@locus-forge/locus-draw/skill` via `drawSkillPath` from `"$MAP_BIN" doctor --json`. Read its
70
+ `references/diagram-types.md`, `references/javascript-authoring.md`, and
71
+ `references/javascript-layout.md`. Draw splits its 53 catalog categories across JS API
72
+ (`heatmap`, `waterfall`, `radar`, `sankey`, custom `Scene` + `nodeCard` + `embedSvg`) and
73
+ PlantUML transfer (`bar`, `line`, `scatter`, `quadrant`, `timeline`, `story-map`, etc.); follow
74
+ the chosen catalog row's actual authoring language. Export into `vN-SLUG/builds/1/` and copy
75
+ `scene.excalidraw` and `scene.png` to `vN-SLUG/draft.excalidraw` and `vN-SLUG/draft.png`.
76
+ - **Lightweight Map source (`"$MAP_BIN" build --source`) → `draft.locus-map.json` + `draft.png`**:
77
+ produces a `semantic` card graph (`draft`, `claims: "unverified"`). Use `draft.puml` for standard
78
+ cards, or schema-v1 `draft.map.json` when JSON-only features such as `readingTree` or
79
+ `readingTable` (`docs/DIAGRAM-SOURCE.md`) are central. Build into `vN-SLUG/builds/1/`, then copy
80
+ the bundle and PNG to `vN-SLUG/draft.locus-map.json` and `vN-SLUG/draft.png`. Omit
81
+ `citations.json`, `--record-for`, and viewer move/save/reopen checks during drafting.
82
+ - **Current workspace limits (`docs/LOCAL-DOCUMENT.md`, `docs/VIEWER-LAUNCH.md`)**: `.excalidraw`
83
+ sketches edit and save natively in workspace mode, but have no Inspector panel and cannot serve
84
+ as `project.json` `↘` targets yet. Do not prototype a `sequence` or `component` research map
85
+ with `build --source`; sketch its structure in Draw and note that full Inspector support uses
86
+ `skills/locus-map-research/SKILL.md`.
87
+
88
+ ## Preview drafts in Locus Map
89
+
90
+ Drafts under `artifacts/drafts/SESSION_ID/` are automatically excluded from normal library scans
91
+ because `artifacts/` is skipped (`docs/LOCAL-DOCUMENT.md`). To let the user inspect, pan, and
92
+ move components across both `.excalidraw` and `.locus-map.json` drafts in one viewer window without
93
+ touching `~/.locusmap/projects.toml` or port `8181`, write a hidden `.viewer.toml` inside the
94
+ session folder:
95
+
96
+ ```toml
97
+ [[projects]]
98
+ name = "Drafts: TOPIC"
99
+ folder = "."
100
+ ```
101
+
102
+ Launch with:
103
+
104
+ ```sh
105
+ LOCUS_MAP_PROJECTS_FILE=DIR/artifacts/drafts/SESSION_ID/.viewer.toml \
106
+ "$MAP_BIN" view --port 0
107
+ ```
108
+
109
+ Because workspace registry mode enables sketch discovery alongside `.locus-map.json` bundles
110
+ (`docs/VIEWER-LAUNCH.md`) while skipping `builds/` subfolders, every `vN-SLUG/draft.*` appears once
111
+ in **Contents**. When a user edits a draft in the viewer:
112
+
113
+ - For a `.excalidraw` sketch, they click **Save drawing**; read back `vN-SLUG/draft.excalidraw` as
114
+ layout guidance for the final build.
115
+ - For a `.locus-map.json` draft, they click **Save chain file**; read back
116
+ `vN-SLUG/draft.locus-map.json` as layout guidance for the final build.
117
+
118
+ ## Evidence firewall
119
+
120
+ 1. Never cite any draft source, scene, or placeholder number inside `facts.md`, `citations.json`,
121
+ `sourceBindings`, or R4 `sources`, and never pass draft files or `chosen-direction.md` through
122
+ `--snapshot-documents` or final `--details-files`.
123
+ 2. Never rename or copy a draft `.locus-map.json` into the topic root as a finished deliverable.
124
+ 3. On `skills/locus-map-research/SKILL.md`, keep draft artifacts out of R1–R5 source investigation;
125
+ only R0 receives the verbatim request framing and R6 receives `chosen-direction.md`. In native
126
+ Pi runs (`locus-map-compact`), restrict any draft layout guidance to `duties: ["authorBuild"]`
127
+ so `researchAuthor` stays unbiased.
@@ -44,8 +44,12 @@ Use [element fields and reading files](references/reading-files.md) to add a sho
44
44
  On direct entry it looks for a matching incoming link, preferring the section entry as source for the same target. It can fall back to the section entry.
45
45
  For this behavior in an explicit project, keep parent and child in one contents section, as in the example. A section entry on a fresh visit has no parent to return to.
46
46
  The viewer uses incoming links for this lookup. An outgoing reverse link on every content card is unnecessary.
47
- - **Project contents.** The optional catalog `navigation` groups map/view/card addresses in the sidebar. Expanding a group shows its children in the sidebar.
48
- Use `locus-map view --project FILE` for the explicit catalog. See `docs/LOCAL-DOCUMENT.md` and `docs/VIEWER-LAUNCH.md` for discovery and launch modes.
47
+ - **Project contents.** By default, omit `navigation` or list only diagram pages (`{map, view}`, optionally grouped) so the sidebar reflects real canvases.
48
+ Add in-page card anchors (`{map, view, node}`) to `navigation` only when the reader explicitly asks for sidebar jumps to cards inside a page;
49
+ the viewer renders card anchors smaller and muted so they stay distinct from page destinations. Expanding a group shows its children in the sidebar.
50
+ Use `locus-map view TOPIC` (or `locus-map view --project [TOPIC|FILE]`, or `npx @locus-forge/locus-map view ...`)
51
+ from the project root; `--source-root` defaults automatically under `.locus-map/`.
52
+ See `docs/LOCAL-DOCUMENT.md` and `docs/VIEWER-LAUNCH.md` for discovery and launch modes.
49
53
 
50
54
  ## Fold a branch on the canvas
51
55