Polyglot Wazero + Tree-sitter AST Engine, Native `nomos hook` CLI & 3-Strike Loop Circuit-Breaker (Apache 2.0)
Polyglot Wazero + Tree-sitter AST Engine (nomos verify)#
- Zero-CGO WebAssembly + Tree-sitter Evaluation: Combines a pure-Go
wazeroWebAssembly linear-memory source scanner (scan_source_bytes) with.scmS-expression structural evaluators across Go, TypeScript/Svelte, Python, Rust, C/C++, Java, Kotlin, and C#. - Polyglot Test, Coverage & Anti-Skip Ratchets: Auto-detects
go test,cargo test,pytest,gradle test,mvn test, anddotnet test, enforces LCOV + Cobertura XML coverage thresholds (>= 55%), and rejects reward-hacked skipped tests (t.Skip,#[ignore],@pytest.mark.skip,it.skip,@Disabled,[Fact(Skip=...)]).
Native Compiled nomos hook CLI & Loop Circuit-Breaker#
- Compiled Hook Subcommands: Replaces external shell hook scripts with sub-millisecond
nomos hook session-start,nomos hook pre-tool, andnomos hook post-toolcommands, preserving existing user hooks additively duringnomos init. - 3-Strike Loop Circuit-Breaker: Fingerprints tool invocations (
ArgsDigest+ file mtime in0700user-private XDG cache) to halt identical retry loops after 3 consecutive failures (0/20runaway loops across the 95-taskTraceTrial-Benchsuite;83.2%guarded pass rate vs45.3%unguarded).
Fail-Closed 3-Section Task Cards & Supply-Chain Hardening#
- Structured Living Ledger Cards: Enforces
## Scope & Context,## Acceptance Criteria, and## Verificationacrossnomos task create,chore, andpairwith--scope,--ac,--verify, and--depends-onflags. - Verified Supply-Chain Installer: Enforces mandatory SHA-256 archive verification against
checksums.txtininstall.shandos.Lstatsymlink/world-writable rejection across plugins and caches.
Nomos