ef2add03f02f2c74d9b963ef31cbed8ed3fcce08
The task file, the skeleton crates/bxctl/src/sanitize.rs (five todo!() bodies: parse_sanitize, code_point, token, prefix, tag_count) and two given tests: sanitize_check.rs (8, runs the binary) and sanitize_report.rs (10, the library). Decisions: the one argument after `check` is the text, whatever it looks like; none means standard input. Output: refuse line (first rule only; a character as U+XXXX, a tag as its token id, a secret as its prefix and an ellipsis), flag line (rule only), neutralise line (every occurrence of every tag). Exit 0 nothing fires, 1 something fires, 2 usage error or unreadable text. Nothing of the text is printed. Checks: every given test fails before the task as the task says (the report file does not compile: one E0432, two E0599; the binary tests exit 2); the skeleton state gives 10 and 8 not-yet-implemented failures; the reference passes make gate with 1099 tests (1081 + 18); the task's edits applied to a fresh ref-10 copy with its own build directory give a tree byte-identical to the reference; 21 mutations, each caught; 40 runs under load, no failure; /private/tmp unchanged around a gate run; rustfmt and the line limit on the given files; no tag or key-shaped string in the plan or given files. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Description
sovereign personal agent harness
4.8 MiB
Languages
Rust
97.6%
Shell
1.1%
Python
1.1%
Nix
0.2%