lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README | LICENSE

commit 0910a51c2a520eb2651ce39304a54ecd9726bfc9
parent 5852ae73a0e461872481b4823b01982ca455703d
Author: triesap <tyson@radroots.org>
Date:   Sat, 11 Apr 2026 15:11:42 +0000

repo: close entrypoint and path drift

Diffstat:
MAGENTS.md | 2+-
MAGENT_INSTRUCTIONS.md | 4++--
Mcontract/README.md | 2+-
Mcrates/xtask/src/contract.rs | 10+++++-----
Mcrates/xtask/src/export_ts.rs | 2+-
Mcrates/xtask/src/main.rs | 2+-
Mnix/common.nix | 2+-
Mscripts/ci/guard_committed_ts_artifacts.sh | 6+++---
Mtreefmt.nix | 1-
9 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/AGENTS.md b/AGENTS.md @@ -25,7 +25,7 @@ This file exists for compatibility with tools that look for AGENTS.md. Before editing code: -- Read this file, `AGENT_INSTRUCTIONS.md`, `README.md`, `docs/nix.md`, and `contract/README.md`. +- Read this file, `AGENT_INSTRUCTIONS.md`, `README`, `docs/nix.md`, and `contract/README.md`. - Enter the canonical environment with `nix develop` or `direnv allow` before targeted cargo work. - Discover commands from checked-in repo surfaces; do not invent ad hoc workflows. - Read the current implementation and nearby tests before designing a change. diff --git a/AGENT_INSTRUCTIONS.md b/AGENT_INSTRUCTIONS.md @@ -1,6 +1,6 @@ # Radroots Core Libraries - Agent Instructions -**For repository overview and setup, see [README.md](README.md). For repository rules, see [AGENTS.md](AGENTS.md).** +**For repository overview and setup, see [README](README). For repository rules, see [AGENTS.md](AGENTS.md).** This document contains detailed operational instructions for contributors and coding agents working on development, testing, and releases in the Radroots Core Libraries repository. @@ -40,7 +40,7 @@ Before editing code: - Read `AGENTS.md`. - Read this file. -- Read `README.md`, `docs/nix.md`, and `contract/README.md` when the change touches workflow, exports, or public surfaces. +- Read `README`, `docs/nix.md`, and `contract/README.md` when the change touches workflow, exports, or public surfaces. - Read the relevant crate manifest, implementation files, and nearby tests before proposing a new structure. - Check `git status --short`. diff --git a/contract/README.md b/contract/README.md @@ -50,7 +50,7 @@ Repository guards also enforce: - deterministic export requirements - strict no-legacy identifier policy for replica surfaces -- no committed generated TypeScript artifacts under crate bindings +- no committed generated TypeScript artifacts in repo export directories (`target/ts-rs/` and `target/sdk-export-ci/`) ## Coverage Policy diff --git a/crates/xtask/src/contract.rs b/crates/xtask/src/contract.rs @@ -1138,7 +1138,7 @@ description = "crate a" repository = "https://example.com/a" homepage = "https://example.com/a" documentation = "https://docs.example.com/a" -readme = "README.md" +readme = "README" "#, ); write_file( @@ -2165,7 +2165,7 @@ description = "crate a" repository = "https://example.com/a" homepage = "https://example.com/a" documentation = "https://docs.example.com/a" -readme = "README.md" +readme = "README" [dependencies] radroots_b = { path = "../b" } @@ -2181,7 +2181,7 @@ description = "crate b" repository = "https://example.com/b" homepage = "https://example.com/b" documentation = "https://docs.example.com/b" -readme = "README.md" +readme = "README" "#, ); write_file( @@ -2269,7 +2269,7 @@ description = "crate a" repository = "https://example.com/a" homepage = "https://example.com/a" documentation = "https://docs.example.com/a" -readme = "README.md" +readme = "README" "#, ); write_file( @@ -2570,7 +2570,7 @@ description = "crate b duplicate name" repository = "https://example.com/b" homepage = "https://example.com/b" documentation = "https://docs.example.com/b" -readme = "README.md" +readme = "README" publish = false "#, ); diff --git a/crates/xtask/src/export_ts.rs b/crates/xtask/src/export_ts.rs @@ -619,7 +619,7 @@ description = "crate a" repository = "https://example.com/a" homepage = "https://example.com/a" documentation = "https://docs.example.com/a" -readme = "README.md" +readme = "README" {}"#, crate_a_features ), diff --git a/crates/xtask/src/main.rs b/crates/xtask/src/main.rs @@ -266,7 +266,7 @@ description = "crate a" repository = "https://example.com/a" homepage = "https://example.com/a" documentation = "https://docs.example.com/a" -readme = "README.md" +readme = "README" [features] ts-rs = [] diff --git a/nix/common.nix b/nix/common.nix @@ -19,7 +19,7 @@ let ../Cargo.toml ../Cargo.lock ../Makefile - ../README.md + ../README ../rust-toolchain.toml ../conformance ../contract diff --git a/scripts/ci/guard_committed_ts_artifacts.sh b/scripts/ci/guard_committed_ts_artifacts.sh @@ -1,12 +1,12 @@ #!/usr/bin/env bash set -euo pipefail -tracked_artifacts="$(git ls-files 'crates/*/bindings/**')" +tracked_artifacts="$(git ls-files 'target/ts-rs/**' 'target/sdk-export-ci/**')" if [[ -n $tracked_artifacts ]]; then - echo "committed ts artifacts are not allowed under crates/*/bindings/**" + echo "committed generated typescript artifacts are not allowed under target/ts-rs or target/sdk-export-ci" echo "$tracked_artifacts" exit 1 fi -echo "no committed ts artifacts found under crates/*/bindings/**" +echo "no committed generated typescript artifacts found under target/ts-rs or target/sdk-export-ci" diff --git a/treefmt.nix b/treefmt.nix @@ -4,7 +4,6 @@ settings.global.excludes = [ ".direnv/**" "target/**" - "crates/*/bindings/**" ]; programs.nixfmt.enable = true;