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

48 lines
1.6 KiB
Markdown

# API Reference — Performing NIST CSF Maturity Assessment
## Libraries Used
- **csv**: Parse and generate assessment CSV files
- **pathlib**: File operations
## CLI Interface
```
python agent.py assess --csv assessment_responses.csv
python agent.py gaps --csv assessment_responses.csv
python agent.py template [--output template.csv]
python agent.py executive --csv assessment_responses.csv
```
## Core Functions
### `assess_from_csv(assessment_file)` — Calculate maturity scores
Scores each NIST CSF function (Identify, Protect, Detect, Respond, Recover).
Calculates overall maturity level (1-4 scale) and gap-to-target.
### `generate_gap_analysis(assessment_file)` — Prioritized gap report
Classifies gaps: HIGH (>=2 gap), MEDIUM (>=1), LOW (<1).
### `create_assessment_template(output_file)` — Generate blank assessment CSV
Produces CSV with all 23 CSF categories, score/target/evidence columns.
### `generate_executive_summary(assessment_file)` — Board-level report
## NIST CSF Functions & Categories (23 total)
| Function | Categories |
|----------|-----------|
| IDENTIFY | ID.AM, ID.BE, ID.GV, ID.RA, ID.RM, ID.SC |
| PROTECT | PR.AC, PR.AT, PR.DS, PR.IP, PR.MA, PR.PT |
| DETECT | DE.AE, DE.CM, DE.DP |
| RESPOND | RS.RP, RS.CO, RS.AN, RS.MI, RS.IM |
| RECOVER | RC.RP, RC.IM, RC.CO |
## Maturity Levels
| Level | Name | Description |
|-------|------|-------------|
| 1 | Partial | Not formalized |
| 2 | Risk Informed | Approved but not org-wide |
| 3 | Repeatable | Formally expressed as policy |
| 4 | Adaptive | Continuous improvement |
## Dependencies
No external packages Python standard library only.