Skip to main content

Crimson OS protocol scaffold — routing, tokens, bridge format, IG audit shapes (SCAFFOLDING; not the full runtime)

Project description

crimsonos — Protocol Scaffold (Python)

Phase: SCAFFOLDING · Canonical source of truth: MASTER_ARCHITECTURE.md

This wheel is not the Crimson OS runtime. It ships typed protocol stubs from runtime/crimsonos/ in the monorepo — routing shapes, token schemas, bridge file format, and a demo IG audit. The live system (daemons, NAS, Agent_Bridge ledger, cockpit on :8093) is in the repo and on operator hardware.


What is actually live (per MASTER_ARCHITECTURE §3–§4)

Component Phase Reality
Substrate (stdlib daemons, cockpit HTTP, NAS, Ollama) PARTIAL-LIVE ~3 GREEN daemons; rest stale or down (as of 2026-06-02)
Named agent org chart SCAFFOLDING Personality docs + stubs. Six daemons do the real work.
Agent Bridge (cross-agent handoffs) DESIGNED / PARTIAL Target protocol; not fully wired in this package
Adversarial IG (full auditor bus) DESIGNED (2026-06) Spec in master doc; this package has heuristic scaffold only
This crimsonos pip package SCAFFOLDING Protocol reference — not 17 running agents

Sovereignty rule (§4): Anything not named in the master control plane is a sub-function under a core node — not a separate running agent.


Canonical control plane (target topology)

OPERATOR (final authority)
    └── Q (orchestrator + counsel)
            Council of Four: Orchestrator · Advisor · IG · Science Officer
    ├── N.E.O.     — backend / inference / sysadmin (Node 0, LIVE)
    ├── Q          — frontend cockpit (Node 1, LIVE)
    ├── CMO_Edge   — edge ops / broadcast (Node 2, PARTIAL)
    └── RINGMASTER — curator → Library (SCAFFOLDING)

Legacy 17 named agent stubs are documented for archive to cold store (MASTER_ARCHITECTURE §13 open items). Do not read them as operational agents.

Full node table (IPs, ports 8092/8093): see MASTER_ARCHITECTURE §9.


What this package contains

Module Phase What it does today
super_token.py SCAFFOLDING Pydantic schemas for CHRONOS / SOMA / KINETIC / LOGOS tokens
dispatcher.py SCAFFOLDING Classifies input, returns string routing targets (not running agents)
bridge.py SCAFFOLDING YAML bridge file read/write (falls back to ./bridge/ if NAS not mounted)
ig.py SCAFFOLDING Heuristic audit axes; several scores require operator input (MANUAL phase)
executor.py PARTIAL Optional Ollama HTTP caller with 8 prompt personas — not the agent runtime
cli.py SCAFFOLDING Interactive demo around the above

Install

pip install crimsonos

Development install from monorepo:

git clone https://github.com/ultranetcommand-neo/Crimson-OS.git
cd Crimson-OS/runtime/crimsonos
pip install -e .

Quick start (scaffold demo)

from crimsonos.dispatcher import Dispatcher
from crimsonos.super_token import LogosToken

dispatcher = Dispatcher()
token = LogosToken(
    content="Route this task.",
    context={"operator_mode": "architect"},
    originating_node=1,
    target_agent="q_orchestrator",
)
result = dispatcher.route(token)
print(result)  # routing decision only — no agent executes

Tutorials and full docs live in the repo, not necessarily in the wheel: runtime/crimsonos/tutorials/, docs/STATUS.md.


What is NOT in this package

  • Agent_Stack/ job descriptions as executable agents
  • Agent_Bridge markdown ledger on NAS
  • 12-ring Silo ontology runtime
  • Finance Engine, Expand/Contract/Judge valve, gate daemons
  • Cockpit API (:8093), intranet (:8092)

Read the monorepo: Crimson-OS · SILO_INDEX.md · GLOSSARY.md


License

Apache 2.0 · Matt Gibson / Crimson Symphony Media

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crimsonos-0.1.1.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crimsonos-0.1.1-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file crimsonos-0.1.1.tar.gz.

File metadata

  • Download URL: crimsonos-0.1.1.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for crimsonos-0.1.1.tar.gz
Algorithm Hash digest
SHA256 02269667f328d7d569bceb3054f82be8e37f7256d3f3fcbf9692f2172010a98b
MD5 c73953c6762e27ed53ce3f8f467b8abe
BLAKE2b-256 e25d85730fe8fd2f7787e29992213853fd5e5c300d11c94a581951f969d74f36

See more details on using hashes here.

Provenance

The following attestation bundles were made for crimsonos-0.1.1.tar.gz:

Publisher: publish.yml on ultranetcommand-neo/Crimson-OS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file crimsonos-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: crimsonos-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for crimsonos-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e416f2681d7cefbb96d26f1cdc44e2c1ba35c14d8019e638e8f044595968d1da
MD5 a645d6ead9ba37e7f24bd44c8fc04d57
BLAKE2b-256 ec0b6c593b9c61df7b3b7a4ea7a68aa7516af6d827ae707bdb9bdd6da7d92641

See more details on using hashes here.

Provenance

The following attestation bundles were made for crimsonos-0.1.1-py3-none-any.whl:

Publisher: publish.yml on ultranetcommand-neo/Crimson-OS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page