etymd 0.17.0 → 0.19.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 (29) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/README.md +10 -5
  3. package/dist/{approve-VN4EDBR5.js → approve-Y36ZO6IL.js} +3 -3
  4. package/dist/audit-RONSEYFS.js +11 -0
  5. package/dist/{brief-7MWP35UI.js → brief-ILB6RMSQ.js} +3 -3
  6. package/dist/{chunk-ANFNXFRI.js → chunk-4IESOWHQ.js} +2 -2
  7. package/dist/{chunk-446EZNAQ.js → chunk-DLHC7QON.js} +83 -10
  8. package/dist/{chunk-FNA4R5KT.js → chunk-EYUW3UJU.js} +59 -11
  9. package/dist/chunk-EZRK4MV3.js +109 -0
  10. package/dist/{chunk-PIJZUDDQ.js → chunk-HSRHOVII.js} +113 -121
  11. package/dist/{chunk-WKP7M2B3.js → chunk-KIPD3N77.js} +11 -6
  12. package/dist/{chunk-BUMOGHQA.js → chunk-L4KIIKXI.js} +1 -1
  13. package/dist/{chunk-YQZDYDAK.js → chunk-U7BCBJIH.js} +1 -1
  14. package/dist/{chunk-LVR2DPR7.js → chunk-ZCOIZVSM.js} +30 -3
  15. package/dist/cli.js +16 -16
  16. package/dist/{doctor-R4QDCAN5.js → doctor-EHRADIUZ.js} +6 -6
  17. package/dist/{fleet-WPYEVHVL.js → fleet-KFF3N2O7.js} +22 -6
  18. package/dist/{gates-3HRGYCYY.js → gates-UJ23THID.js} +5 -4
  19. package/dist/{generate-FSJQFQPV.js → generate-6IPTCLYG.js} +3 -2
  20. package/dist/index.d.ts +21 -3
  21. package/dist/index.js +301 -49
  22. package/dist/{init-6RULX5JZ.js → init-7HWVHZMF.js} +5 -4
  23. package/dist/{premise-GFWHSR3K.js → premise-U6JIB2QG.js} +9 -5
  24. package/dist/{propose-IYNOIWAO.js → propose-NZMEPZIL.js} +6 -6
  25. package/dist/{scan-LLWW4YOU.js → scan-DLKYG5BB.js} +3 -3
  26. package/dist/scan-V53PGAQ6.js +5 -0
  27. package/package.json +2 -2
  28. package/dist/audit-PHAK5HEW.js +0 -11
  29. package/dist/scan-5SC47FSM.js +0 -5
package/dist/index.d.ts CHANGED
@@ -66,6 +66,11 @@ interface GitFacts {
66
66
  isRepo: boolean;
67
67
  branch?: string;
68
68
  head?: string;
69
+ /**
70
+ * `core.hooksPath`, stated repo-relative whenever the directory sits inside the worktree — git
71
+ * accepts an absolute spelling of the same directory, and the spelling is neither a fact nor
72
+ * something a committed baseline should carry. Absolute only when it points outside the repo.
73
+ */
69
74
  hooksPath?: string;
70
75
  husky: boolean;
71
76
  /** Distinct commit authors in recent history — the solo-vs-team profile signal. */
@@ -793,8 +798,12 @@ interface TruthEnv {
793
798
  manifestExists: boolean;
794
799
  /** The root plus every workspace package dir — where claims are resolved. */
795
800
  bases: string[];
796
- /** A repo-relative claim resolves in the root, any workspace package, or their src/ scripts/. */
797
- pathResolves(claim: string): Promise<boolean>;
801
+ /**
802
+ * A repo-relative claim resolves in the root, any workspace package, their src/ scripts/, or
803
+ * the directory of the file making the claim (`fromDir`) — a nested instruction file writes
804
+ * references the way an agent reading it resolves them: against its siblings.
805
+ */
806
+ pathResolves(claim: string, fromDir?: string): Promise<boolean>;
798
807
  /** `yarn X` / `pnpm X` may legitimately run an installed node_modules/.bin binary. */
799
808
  binResolves(name: string): Promise<boolean>;
800
809
  }
@@ -807,6 +816,8 @@ interface ClaimCounters {
807
816
  unverifiableCommands: number;
808
817
  gitignoredSkipped: number;
809
818
  prospectiveSkipped: number;
819
+ /** Path claims whose every mention sits beside the URL it is fetched from — another tree. */
820
+ fetchedSkipped: number;
810
821
  placeholderSkipped: number;
811
822
  /** Decision references naming another record (a fleet-level ledger) — not this repo's. */
812
823
  qualifiedRefsSkipped: number;
@@ -995,8 +1006,15 @@ declare function extractCommandClaims(text: string): CommandClaims;
995
1006
  interface PathClaims {
996
1007
  /** Claims to verify against the repo. */
997
1008
  paths: string[];
1009
+ /** Slash-terminated directory claims — candidate bases for resolving sibling references. */
1010
+ dirs: string[];
998
1011
  /** Claims whose every mention sits in create-this prose — skipped, counted, disclosed. */
999
1012
  prospective: string[];
1013
+ /**
1014
+ * Claims whose every mention sits beside the URL they are fetched from — another tree's
1015
+ * files, unverifiable here. Skipped, counted, disclosed.
1016
+ */
1017
+ fetched: string[];
1000
1018
  /** Claims whose every mention sits behind a namespace prefix (`pc:`) — another repo's tree. */
1001
1019
  namespaced: string[];
1002
1020
  /** Naming stand-ins (`my-custom-skill`) — never real claims. */
@@ -1109,7 +1127,7 @@ declare const gateIntegrityLens: Lens;
1109
1127
  * Gaps in the sequence are deliberate: a number stays retired even when the change that took it
1110
1128
  * never shipped, so a version cited in a baseline or a record means exactly one pack, ever.
1111
1129
  */
1112
- declare const PACK_VERSION = "12";
1130
+ declare const PACK_VERSION = "14";
1113
1131
 
1114
1132
  declare const VERSION: string;
1115
1133
  declare const NAME: string;