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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
//! decided-engine — experimental Rust port of the decided-core engine
//! (roadmap:native-engine-spike). The Python tree at `src/` is the frozen
//! oracle; the binding behavior contract is `rust/PORT-CONTRACT.md`.
//!
//! Module map (keep cross-module surface minimal):
//! - `pycompat`: CPython string/float/round/repr semantics, table-driven
//! from the packaged `assets/spec/pycompat-tables.json`.
//! - `pyjson`: the Python `json.dumps`-shaped writer (indent=2 and JSONL).
//! - `frontmatter`: bounded PyYAML-1.1 SafeLoader subset.
//! - `markdown`: CommonMark block-boundary tokenizer (headings + inline raw).
//! - `spec`: artifact specs embedded from the vendored rac-spec registry.
//! - `walk`: corpus discovery in component-wise sorted-path order.
//! - `parse`: file -> parsed artifact (frontmatter + sections + fields).
//! - `classify`: deterministic classification over specs.
//! - `identity`: artifact identifiers and the id grammar.
//! - `validate`: structural validation and the finding catalog.
//! - `relationships`: edge extraction, resolution, validation issues.
//! - `resolve`: BM25F + RRF search with pinned f64 operation order.
//! - `gitinfo`: git-derived recency/staleness via the real git CLI.
//! - `budget`: the ADR-033 per-response character budget and truncation.
//! - `consent`: the ADR-041/086 sharing-consent record (telemetry.json).
//! - `telemetry`: Guide telemetry log read-back (ADR-040, mcp-stats).
//! - `usage`: CLI usage log read-back + consent-gated recorder (ADR-046).
//! - `sha256`: FIPS 180-4 digest (eval corpus/query-set hashes).
//! - `skill`: bundled agent skills — registry + embedded-asset install.
//! - `hook`: bundled git hooks — registry + embedded-asset install.
//! - `eval`: the ADR-066 grounding retrieval benchmark and gate.
//! - `portal`: the vendored Portal shell + export-HTML assembly.
//! - `agent_rules`: the ADR-067 agent-rules projection and drift gate.
//! - `okf`: the ADR-048 OKF bundle projection (git-derived recency join).
//! - `revisions`: ADR-043 git-revision materialization (`git archive` + tar).
//! - `compare`: repository state comparison (watchkeeper's load/compare).
//! - `intent`: deterministic intent findings over a comparison.
//! - `watchkeeper`: the watchkeeper report and review verdict.
//! - `output`: human/JSON/SARIF renderers per command.
//! - `commands`: CLI command entry points (argv already parsed).
//! - `cli`: argv parsing and exit codes matching the oracle's argparse
//! surface (PORT-CONTRACT.d/01).