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.