Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

1.5 KiB

API Reference: Device Posture Assessment Agent

Dependencies

Library Version Purpose
(stdlib only) Python 3.8+ Platform detection, subprocess for OS security checks

CLI Usage

python scripts/agent.py --output-dir /reports/ --output device_posture.json

Functions

check_os_version() -> dict

Uses platform.system(), platform.version() for OS identification.

check_disk_encryption() -> dict

Windows: manage-bde -status C: (BitLocker). macOS: fdesetup status (FileVault). Linux: lsblk for LUKS.

check_firewall_status() -> dict

Windows: netsh advfirewall show allprofiles state. Linux: ufw status.

check_antivirus() -> dict

Windows: PowerShell Get-MpComputerStatus for Defender real-time protection.

check_screen_lock() -> dict

Windows: Registry InactivityTimeoutSecs check.

compute_posture_score(checks) -> dict

Weighted scoring: encryption (25), firewall (20), AV (25), screen lock (15), OS (15). Returns COMPLIANT/PARTIAL/NON_COMPLIANT.

Posture Checks

Check Weight Tool
Disk Encryption 25 BitLocker/FileVault/LUKS
Firewall 20 Windows Firewall/UFW
Antivirus/EDR 25 Defender/endpoint agent
Screen Lock 15 OS policy
OS Supported 15 Platform detection

Output Schema

{
  "hostname": "WORKSTATION-01",
  "posture": {"score": 85, "compliance": "COMPLIANT"},
  "recommendations": ["Enable disk encryption"]
}