Semcosm is organized as a layered repository for stream processing, event abstraction, entity-state modeling, semantic compression, and narrative or self-model reasoning.
Semcosm/
├─ docs/
│ ├─ architecture/
│ ├─ layers/
│ │ ├─ L0_raw_stream/
│ │ ├─ L1_event_segmentation/
│ │ ├─ L2_entity_state/
│ │ ├─ L3_relational_causal/
│ │ ├─ L4_semantic_compression/
│ │ └─ L5_narrative_self_model/
│ ├─ adr/
│ ├─ glossary/
│ ├─ protocols/
│ └─ notes/
├─ specs/
│ ├─ tla/
│ └─ mappings/
├─ src/
├─ tests/
├─ examples/
├─ tools/
├─ schemas/
├─ configs/
├─ artifacts/
├─ bench/
└─ .github/
docs/: human-readable documentation, architecture, design, and roadmap materialspecs/: formal and semi-formal specificationsspecs/tla/: TLA+ models and related materialspecs/mappings/: mapping definitions between specs, code, and artifactssrc/: source code and runtime assetstests/: automated testsexamples/: runnable or illustrative examplestools/: development and maintenance toolingschemas/: data schemas and interface contractsconfigs/: project and environment configuration filesartifacts/: generated outputs and packaged deliverablesbench/: benchmarks and performance experiments.github/: GitHub workflows and repository metadata
docs/layers/L0_raw_stream/: raw stream layer notes and design materialdocs/layers/L1_event_segmentation/: event segmentation layer notes and design materialdocs/layers/L2_entity_state/: entity-state layer notes and design materialdocs/layers/L3_relational_causal/: relational and causal layer notes and design materialdocs/layers/L4_semantic_compression/: semantic compression layer notes and design materialdocs/layers/L5_narrative_self_model/: narrative and self-model layer notes and design material
docs/architecture/: system architecture diagrams, module boundaries, structural views, and project-wide design standards such as SOSPdocs/adr/: Architecture Decision Recordsdocs/glossary/: project terminology such as stream, record, ref, and ownerdocs/protocols/: external interfaces, protocol definitions, and serialization conventionsdocs/notes/: drafts, derivations, and research notes
docs/architecture/SOSP.md: Structured Object Specification Paradigm (SOSP), the project-wide object specification and documentation governance standard
Keep new project content inside the existing top-level directories unless there is a strong structural reason to add another root entry.
Write human-readable design intent under docs/ and keep formal or executable specifications under specs/.
Place implementation code in src/, validation in tests/, and operational helpers in tools/.
This project is licensed under the GNU Affero General Public License v3.0. See LICENSE for the full text.