Skip to content

Commit b06b39a

Browse files
committed
Refactor HeraldStack agent documentation and structure
- Updated the Herald archetype documentation for clarity and formatting. - Enhanced the human-inspired role models section with better organization and embedded takeaways. - Improved the Marvel AI role models section for readability and added structured tables. - Modified Cargo.toml to define binary and library targets for the Rust project. - Expanded rust_ingest README with detailed usage instructions, unit testing standards, and implementation plans. - Created a library module in rust_ingest for better code organization and reusability. - Refined main.rs to streamline imports and improve configuration handling. - Enhanced query.rs with improved error handling, integration tests, and mock-based tests for HTTP client interactions. - Added rustfmt configuration for consistent code formatting across the project.
1 parent 83e4660 commit b06b39a

File tree

8 files changed

+726
-293
lines changed

8 files changed

+726
-293
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,4 @@ See docs/DETAILED.md for more information.
7070
---
7171

7272
© 2025 Bryan Chasko
73+
# Git hook test

check-rust.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/bin/bash
22
set -e
33

4+
# Change to the rust_ingest directory where Cargo.toml is located
5+
cd "$(dirname "$0")/rust_ingest" || exit 1
6+
echo "Checking Rust files in $(pwd)..."
7+
48
echo "Running rustfmt..."
59
cargo fmt -- --check
610

@@ -11,6 +15,10 @@ echo "Running tests..."
1115
cargo test
1216

1317
echo "Running security audit..."
14-
cargo audit
18+
if command -v cargo-audit > /dev/null 2>&1; then
19+
cargo audit
20+
else
21+
echo "cargo-audit not found, skipping security audit"
22+
fi
1523

1624
echo "All checks passed!"

0 commit comments

Comments
 (0)