daftari 2.0.0 → 3.0.0

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 (55) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +465 -366
  3. package/dist/backfill/derive.d.ts.map +1 -1
  4. package/dist/backfill/derive.js +1 -0
  5. package/dist/backfill/derive.js.map +1 -1
  6. package/dist/court/index.d.ts.map +1 -1
  7. package/dist/court/index.js +48 -0
  8. package/dist/court/index.js.map +1 -1
  9. package/dist/court/triage.d.ts +5 -0
  10. package/dist/court/triage.d.ts.map +1 -0
  11. package/dist/court/triage.js +71 -0
  12. package/dist/court/triage.js.map +1 -0
  13. package/dist/curation/lint-voice.js +1 -1
  14. package/dist/curation/lint-voice.js.map +1 -1
  15. package/dist/curation/lint.d.ts +1 -1
  16. package/dist/curation/lint.d.ts.map +1 -1
  17. package/dist/curation/lint.js +5 -5
  18. package/dist/curation/lint.js.map +1 -1
  19. package/dist/curation/read-heat.d.ts +16 -0
  20. package/dist/curation/read-heat.d.ts.map +1 -0
  21. package/dist/curation/read-heat.js +52 -0
  22. package/dist/curation/read-heat.js.map +1 -0
  23. package/dist/curation/structural.d.ts +1 -1
  24. package/dist/curation/structural.d.ts.map +1 -1
  25. package/dist/curation/structural.js +8 -7
  26. package/dist/curation/structural.js.map +1 -1
  27. package/dist/curation/tension-triage.d.ts +57 -0
  28. package/dist/curation/tension-triage.d.ts.map +1 -0
  29. package/dist/curation/tension-triage.js +155 -0
  30. package/dist/curation/tension-triage.js.map +1 -0
  31. package/dist/frontmatter/schema.d.ts.map +1 -1
  32. package/dist/frontmatter/schema.js +2 -1
  33. package/dist/frontmatter/schema.js.map +1 -1
  34. package/dist/frontmatter/types.d.ts +4 -1
  35. package/dist/frontmatter/types.d.ts.map +1 -1
  36. package/dist/frontmatter/types.js +6 -0
  37. package/dist/frontmatter/types.js.map +1 -1
  38. package/dist/search/hybrid.d.ts +1 -1
  39. package/dist/search/hybrid.d.ts.map +1 -1
  40. package/dist/sleep/cycle.d.ts.map +1 -1
  41. package/dist/sleep/cycle.js +27 -11
  42. package/dist/sleep/cycle.js.map +1 -1
  43. package/dist/tools/curation.d.ts +2 -0
  44. package/dist/tools/curation.d.ts.map +1 -1
  45. package/dist/tools/curation.js +141 -0
  46. package/dist/tools/curation.js.map +1 -1
  47. package/dist/tools/read.js +4 -4
  48. package/dist/tools/read.js.map +1 -1
  49. package/dist/tools/search.js +3 -3
  50. package/dist/tools/search.js.map +1 -1
  51. package/dist/tools/write.d.ts +7 -0
  52. package/dist/tools/write.d.ts.map +1 -1
  53. package/dist/tools/write.js +67 -6
  54. package/dist/tools/write.js.map +1 -1
  55. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ All notable changes to this project are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.0.0] - 2026-08-05
9
+
10
+ ### Changed
11
+
12
+ - **Retracted-source detection now covers `superseded`, not just `deprecated`, and is renamed.** The read-time structural advisory field `deprecated_still_linked` is now `retired_still_linked`, and the `vault_lint` check `deprecatedStillLinked` is now `retiredStillLinked`. Both now flag canonical documents that still link to a **deprecated _or_ superseded** source (previously only `deprecated`). **Breaking:** consumers keying on the old field/check names must update.
13
+
14
+ ### Added
15
+
16
+ - **Tension-triage card** (`daftari court --triage` / `vault_tension_triage`) — an unranked, cluster-grouped companion to the ranked docket that makes each contested tension's cost legible. Deliberately no severity score: it surfaces the signals and lets the human rank.
17
+ - Each contested side of the triage card surfaces per-side **`criticality`** (`low`/`medium`/`high`), read straight from document frontmatter.
18
+ - Each contested side of the triage card also surfaces **`provenance`** (`direct`/`synthesized`/`inferred`) and **`updated_by`**, so a resolver can judge how each side was obtained and who last touched it without opening the documents.
19
+ - `vault_deprecate` and `vault_supersede` now return a best-effort `dependents` advisory — the RBAC-filtered downstream blast of the retracted document — so the caller immediately sees which documents' grounding just weakened. Advisory only; omitted when the index/docs are unavailable.
20
+ - The nightly `sleep` cycle now wakes a canonical, accumulation-domain document whose frontmatter `sources` cite a deprecated/superseded document, even when the citing document is itself fresh — so a retracted source proactively surfaces its dependents for re-pointing. Self-terminating once the citation is dropped or re-pointed.
21
+
8
22
  ## [2.0.0] - 2026-07-30
9
23
 
10
24
  ### Changed