@@ -334,56 +334,67 @@ open-repo:
334334
335335# Show RSR compliance checklist
336336rsr-checklist :
337- @ cat << EOF
338- RSR Compliance Checklist for Anamnesis
339-
340- ✅ 1. Type Safety (90 %): OCaml, Elixir typespecs, ReScript, Julia
341- ✅ 2. Memory Safety (60 %): GC languages (OCaml/ Elixir/ Julia), no unsafe
342- ⚠️ 3. Offline-First (40 %): Parser/ reasoner offline, Virtuoso local
343- ✅ 4. Documentation (100 %): README, component docs, architecture
344- ⚠️ 5. Testing (10 %): Starter code only, no tests yet
345- ✅ 6. Build System (80 %): dune, mix, just, flake.nix planned
346- ✅ 7. Security (90 %): SECURITY.md, .well-known/ security.txt
347- ✅ 8. Licensing (100 %): LICENSE.txt (MIT OR Palimpsest-0.8 )
348- ✅ 9. Contribution (100 %): CONTRIBUTING.md, TPCF Perimeter 2
349- ✅ 10. Community (100 %): CODE_OF_CONDUCT.md (CCCP-based)
350- ✅ 11. Versioning (100 %): CHANGELOG.md, semantic versioning
351-
352- Current Score : 70/100 (Bronze Level) ✅
353-
354- Next Steps for Silver (85/100):
355- - Add test infrastructure (all components)
356- - Achieve 70 % test coverage
357- - Complete offline-first documentation
358- - Setup Nix flakes for reproducible builds
359- EOF
337+ #!/usr/bin/env bash
338+ cat << 'EOF '
339+ RSR Compliance Checklist for Anamnesis
340+
341+ [ok] 1. Type Safety (90%): OCaml, Elixir typespecs, ReScript, Julia
342+ [ok] 2. Memory Safety (60%): GC languages (OCaml/Elixir/Julia), no unsafe
343+ [!!] 3. Offline-First (40%): Parser/reasoner offline, Virtuoso local
344+ [ok] 4. Documentation (100%): README, component docs, architecture
345+ [!!] 5. Testing (10%): Starter code only, no tests yet
346+ [ok] 6. Build System (80%): dune, mix, just, flake.nix planned
347+ [ok] 7. Security (90%): SECURITY.md, .well-known/security.txt
348+ [ok] 8. Licensing (100%): LICENSE.txt (MIT OR Palimpsest-0.8)
349+ [ok] 9. Contribution (100%): CONTRIBUTING.md, TPCF Perimeter 2
350+ [ok] 10. Community (100%): CODE_OF_CONDUCT.md (CCCP-based)
351+ [ok] 11. Versioning (100%): CHANGELOG.md, semantic versioning
352+
353+ Current Score: 70/100 (Bronze Level)
354+
355+ Next Steps for Silver (85/100):
356+ - Add test infrastructure (all components)
357+ - Achieve 70% test coverage
358+ - Complete offline-first documentation
359+ - Setup Nix flakes for reproducible builds
360+ EOF
360361
361362# Show quick start guide
362363quickstart:
363- @ cat << EOF
364- Anamnesis Quick Start Guide
365-
366- 1. Setup dependencies:
367- just setup-all
368-
369- 2. Build all components:
370- just build-all
371-
372- 3. Run tests:
373- just test
374-
375- 4. Start development:
376- just dev
377-
378- 5. Validate before commit:
379- just validate
380-
381- For more commands : just --list
382- For RSR compliance : just rsr-checklist
383- For help : see README .md and CONTRIBUTING .md
384- EOF
385-
386- # [AUTO-GENERATED] Multi-arch / RISC-V target
387- build-riscv :
388- @ echo " Building for RISC-V..."
389- cross build --target riscv64 gc-unknown-linux-gnu
364+ #!/usr/bin/env bash
365+ cat << 'EOF'
366+ Anamnesis Quick Start Guide
367+
368+ 1. Setup dependencies:
369+ just setup-all
370+
371+ 2. Build all components:
372+ just build-all
373+
374+ 3. Run tests:
375+ just test
376+
377+ 4. Start development:
378+ just dev
379+
380+ 5. Validate before commit:
381+ just validate
382+
383+ For more commands: just --list
384+ For RSR compliance: just rsr-checklist
385+ For help: see README.md and CONTRIBUTING.md
386+ EOF
387+
388+ # Synchronize A2ML metadata to SCM (Shadow Sync)
389+ sync-metadata:
390+ #!/usr/bin/env bash
391+ echo "Synchronizing metadata (A2ML -> SCM)..."
392+ if [ -f .machine_readable/STATE.a2ml ]; then
393+ COMPLETION=$(grep "completion-percentage:" .machine_readable/STATE.a2ml | awk '{print $2}')
394+ sed -i "s/(overall-completion [0-9]\+)/(overall-completion $COMPLETION)/" .machine_readable/STATE.scm
395+ echo "✓ Metadata synchronized"
396+ fi
397+
398+ # Run panic-attacker pre-commit scan
399+ assail:
400+ @command -v panic-attack >/dev/null 2>&1 && panic-attack assail . || echo "panic-attack not found — install from https://github.com/hyperpolymath/panic-attacker"
0 commit comments