832375f2ac
All 176 files in the four accumulating directories now use a zero-padded 4-digit counter prefix that reflects creation order (`NNNN-slug.md`). The counter is assigned per directory in strict git-log creation order; ties broken alphabetically by original name. The old `YYYY-MM-DD-` prefix on docs/specs/ and docs/plans/ files is dropped — the date is recoverable from git log and the counter carries the ordering. A file's counter is stable for the life of the file: never reassigned, never reused, never compacted. Deleted files retire their counter; subsequent files do not fill the gap. This is the property that lets cross-references stay literal — refs use the full filename including the counter (`design/contracts/0007-honesty-rule.md`) so they grep cleanly and resolve directly without a glob step. 313 cross-references updated across .md/.rs/.toml/.c/.json files (test pins, include_str! paths, design-INDEX entries, baseline notes, runtime C comments, inter-contract markdown links incl. bare basename and `../models/foo.md` forms). CLAUDE.md gets a new "File-naming convention" section spelling out the rule and rationale. skills/brainstorm/SKILL.md and skills/planner/SKILL.md updated so new spec/plan creation produces counter-prefixed names from the start. The full test suite (cargo test --workspace) passes.
47 lines
1.8 KiB
TOML
47 lines
1.8 KiB
TOML
# Empty table: marks `ail-embed` as its own workspace root so the
|
|
# physically-enclosing AILang workspace (../Cargo.toml) does not
|
|
# auto-absorb this nested package. This is cargo's documented
|
|
# mechanism for a deliberately workspace-excluded crate and keeps
|
|
# `ail-embed` out of the AILang dependency graph entirely
|
|
# (Invariant 1, docs/specs/0044-embedding-abi-m5.md).
|
|
[workspace]
|
|
|
|
[package]
|
|
name = "ail-embed"
|
|
version = "0.0.1"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
publish = false
|
|
description = "Lean embedding of an AILang M3-frozen staticlib kernel into a Rust host. Not an AILang [workspace] member (Invariant 1)."
|
|
|
|
# The embedding core (`src/lib.rs`) touches only the frozen C ABI and
|
|
# carries zero finance knowledge; `data-server` enters solely through
|
|
# the additive `adapter` module + the `swarm_runner` bin. `ail-embed`
|
|
# is the sole sanctioned data-server↔AILang meeting point — Invariant 1
|
|
# governs the *compiler* crates (`ailang-*`, `crates/ail`, `runtime/`),
|
|
# which remain data-server-free, not this workspace-excluded crate.
|
|
[dependencies]
|
|
# The adapter + swarm_runner bin link data-server (ail-embed is the
|
|
# sole data-server↔AILang meeting point — Invariant 1 governs the
|
|
# *compiler* crates, not this crate). Path is manifest-relative
|
|
# (data-server is at /home/brummel/dev/libs/data-server).
|
|
data-server = { path = "../../libs/data-server" }
|
|
|
|
[dev-dependencies]
|
|
zip = "2"
|
|
tempfile = "3"
|
|
# Test-only: the time-shard test derives (year,month) -> Unix-ms
|
|
# window bounds via chrono (data-server's own bound precedent,
|
|
# data-server/src/lib.rs:696-699) and passes raw ms to the bin, so
|
|
# the bin itself stays date-math-free. chrono is already transitively
|
|
# present via data-server; this is the test-direct declaration.
|
|
chrono = "0.4"
|
|
|
|
[[bin]]
|
|
name = "swarm_runner"
|
|
path = "src/bin/swarm_runner.rs"
|
|
|
|
[[bin]]
|
|
name = "timeshard_runner"
|
|
path = "src/bin/timeshard_runner.rs"
|