Skip to content

Commit 0ec5481

Browse files
Mossakaclaude
andauthored
fix: remove legacy C impl, add -v to fallback docker rm, fix tests (#754)
- Remove one-shot-token.c (legacy C impl kept "for reference" after Rust port). The Rust implementation in src/lib.rs is the sole implementation. - Add -v flag to fallback `docker rm -f` in stopContainers to clean orphaned volumes, matching the `docker compose down -v` normal path. - Fix pre-existing test failures: update stdio expectations to match the PR's ['ignore', 'ignore', 'inherit'] pattern, create docker-compose.yml in stopContainers test so the normal path is exercised, and add a new test for the fallback (missing compose file) path. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent dfd0a9c commit 0ec5481

4 files changed

Lines changed: 25 additions & 370 deletions

File tree

containers/agent/one-shot-token/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,5 +308,4 @@ This library is one layer in AWF's security model:
308308
- `src/lib.rs` - Library source code (Rust)
309309
- `Cargo.toml` - Rust package configuration
310310
- `build.sh` - Local build script
311-
- `one-shot-token.c` - Legacy C implementation (for reference)
312311
- `README.md` - This documentation

containers/agent/one-shot-token/one-shot-token.c

Lines changed: 0 additions & 362 deletions
This file was deleted.

0 commit comments

Comments
 (0)