Skip to content

[Core]: Spectrum services[] — runtime field-service activation at session open #77

Description

@rosspeili

Component

constraints / policy

Kind

enhancement

Description

#27 shipped spectrum.level egress bind (low/mid/high/full) and stores spectrum.services[] on profiles. Today services are metadata only — summarized on membrane.ingress and session.open, but they do not auto-attach observer presets, Limit hooks, or field-service modules at runtime.

Ship:

  • Map spectrum.services entries (monitor, audit, break, future limit) to concrete session wiring at open (preset attach, egress hooks, or no-op with spine note)
  • Default services when unset remain ["monitor", "audit"] per aura-levels.md
  • full + break in services enables Break preset without duplicating profile observers[] boilerplate (optional convenience path — explicit observers still wins)
  • Tests: same profile, two service lists — Monitor notes present vs absent
  • Docs: field-services.md, ROADMAP.md

Out of scope: replacing spectrum.level enforcement (already in spectrum_enforcement.py).

Code or session context (optional)

  • aura/core/spectrum.pyplanes() already derives escalate from services
  • aura/core/session.py_attach_profile_observers() at open
  • scripts/aura_coat_flow_report.py — reference flow for tailored + services

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    core frameworkSession, spine, constraints, conformance, identity, audit report.enhancementNew feature or improvement request.membraneIngress context and egress guarded tool calls.observersParallel audit trail subscribers and SLO monitors.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions