@cleocode/adapters 2026.5.92 → 2026.5.93

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.
package/dist/index.js CHANGED
@@ -847,6 +847,103 @@ var init_credentials = __esm({
847
847
  }
848
848
  });
849
849
 
850
+ // packages/contracts/src/docs-taxonomy.ts
851
+ var BUILTIN_DOC_KINDS, BUILTIN_DOC_KIND_VALUES;
852
+ var init_docs_taxonomy = __esm({
853
+ "packages/contracts/src/docs-taxonomy.ts"() {
854
+ "use strict";
855
+ BUILTIN_DOC_KINDS = [
856
+ {
857
+ kind: "adr",
858
+ label: "ADR",
859
+ description: "Architectural decision record",
860
+ defaultOwnerKind: "task",
861
+ publishDir: "docs/adr",
862
+ requiresEntityId: true,
863
+ entityIdPattern: /^adr-\d{3,4}-[a-z0-9-]+$/
864
+ },
865
+ {
866
+ kind: "spec",
867
+ label: "Spec",
868
+ description: "Technical specification",
869
+ defaultOwnerKind: "task",
870
+ publishDir: "docs/spec",
871
+ requiresEntityId: false
872
+ },
873
+ {
874
+ kind: "research",
875
+ label: "Research",
876
+ description: "Investigation / research note",
877
+ defaultOwnerKind: "task",
878
+ publishDir: "docs/research",
879
+ requiresEntityId: false
880
+ },
881
+ {
882
+ kind: "handoff",
883
+ label: "Handoff",
884
+ description: "Session / agent handoff",
885
+ defaultOwnerKind: "session",
886
+ publishDir: "docs/handoff",
887
+ requiresEntityId: false
888
+ },
889
+ {
890
+ kind: "note",
891
+ label: "Note",
892
+ description: "Agent observation / informal note",
893
+ defaultOwnerKind: "observation",
894
+ publishDir: "docs/note",
895
+ requiresEntityId: false
896
+ },
897
+ {
898
+ kind: "llm-readme",
899
+ label: "LLM README",
900
+ description: "Machine-readable README (llms.txt)",
901
+ defaultOwnerKind: "project",
902
+ publishDir: ".",
903
+ requiresEntityId: false
904
+ },
905
+ {
906
+ kind: "changeset",
907
+ label: "Changeset",
908
+ description: "Atomic change entry (release-note input)",
909
+ defaultOwnerKind: "task",
910
+ publishDir: ".changeset",
911
+ requiresEntityId: true,
912
+ entityIdPattern: /^t\d+-[a-z0-9-]+$/
913
+ },
914
+ {
915
+ kind: "release-note",
916
+ label: "Release Note",
917
+ description: "Composed release notes",
918
+ defaultOwnerKind: "project",
919
+ publishDir: "docs/release",
920
+ requiresEntityId: true,
921
+ entityIdPattern: /^v\d{4}\.\d+\.\d+(-[a-z0-9-]+)?$/
922
+ },
923
+ {
924
+ kind: "plan",
925
+ label: "Plan",
926
+ description: "Epic / saga decomposition plan",
927
+ defaultOwnerKind: "task",
928
+ publishDir: "docs/plan",
929
+ requiresEntityId: false
930
+ },
931
+ {
932
+ kind: "rcasd",
933
+ label: "RCASD",
934
+ description: "Root-cause analysis + scoped delivery",
935
+ defaultOwnerKind: "task",
936
+ publishDir: ".cleo/rcasd",
937
+ requiresEntityId: true,
938
+ entityIdPattern: /^t\d+(-.+)?$/
939
+ }
940
+ ];
941
+ BUILTIN_DOC_KIND_VALUES = Object.freeze(
942
+ BUILTIN_DOC_KINDS.map((d) => d.kind)
943
+ );
944
+ }
945
+ });
946
+
850
947
  // packages/contracts/src/engine-result.ts
851
948
  var init_engine_result = __esm({
852
949
  "packages/contracts/src/engine-result.ts"() {
@@ -1003,6 +1100,7 @@ var init_dialectic = __esm({
1003
1100
  var init_docs = __esm({
1004
1101
  "packages/contracts/src/operations/docs.ts"() {
1005
1102
  "use strict";
1103
+ init_docs_taxonomy();
1006
1104
  }
1007
1105
  });
1008
1106
 
@@ -1590,6 +1688,7 @@ var init_src = __esm({
1590
1688
  init_branch_lock();
1591
1689
  init_changesets();
1592
1690
  init_credentials();
1691
+ init_docs_taxonomy();
1593
1692
  init_engine_result();
1594
1693
  init_errors();
1595
1694
  init_evidence_record_schema();