1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! Drift guard for the single-source assets.
//!
//! The repo-root `SPEC.md` and `skills/db-md/SKILL.md` are the source of truth.
//! The `dbmd` binary embeds them with `include_str!`, but `cargo package`
//! requires the embedded path to stay inside the crate, so each is mirrored into
//! `crates/dbmd-cli/` and the binary embeds the mirror. These tests fail if a
//! root source is edited without re-running `make sync` — so `dbmd spec` and
//! `dbmd install-skill` can never ship content that has drifted from the
//! authoritative repo-root files.
use PathBuf;