Skip to content

feat(skills): somatic music doctrine — controller lens Layer 1 - #170

Merged
ariffazil merged 1 commit into
mainfrom
feat/somatic-music-doctrine-2026-08-18
Aug 19, 2026
Merged

feat(skills): somatic music doctrine — controller lens Layer 1#170
ariffazil merged 1 commit into
mainfrom
feat/somatic-music-doctrine-2026-08-18

Conversation

@ariffazil

Copy link
Copy Markdown
Owner

Summary

Controller-lens sibling to the voice stack. Music as acoustic_intent without words. Not a new organ. Not a DJ. Not a healer.

  • AAA-somatic-music-doctrine — F10 / F9 / F1 constitution, 3-layer maturity, thesis A/B/C with OBS/INT/SPEC labels
  • AAA-somatic-emd-pipeline — voice-cadence somatic_proxy + music_intent + kill-on-barge-in
  • AAA-somatic-engine-catalog — Lane 6: MiniMax music-2.6/music-3.0 primary; AudioCraft/Stable Audio sovereign; Suno/Udio DENY

Companion to AAA#169 (voice doctrine). Does not touch Layer 0 music-intelligence. Does not extend voice_filters.py yet (gates documented, not wired). Does not merge itself.

F2 evidence (OBS)

Audit 2026-08-18 post-cycle-fix. YAML valid. DAG:

  • doctrine extends AGI-audio-quantum-cognition + AAA-audio-qualia-doctrine; companion = music-intelligence (Layer 0 only)
  • pipeline + catalog extend doctrine; companion = voice-stack siblings only
  • no sibling cycle

Corrections baked in:

  1. i-ARIF × vocal melodic DENY at doctrine + pipeline (no_i_arif) + catalog (all engines)
  2. Layer 0 untouched / Layer 1 reversible / Layer 2 HOLD until WELL live / Layer 3 F13
  3. somatic_proxy.source = voice-cadence only; WELL field exists unused

F1 encoder bounds documented: 60 Hz–8 kHz, <70 dB continuous, ≤8 s default, ≤30 s without F13, fail-closed to silence.

Explicitly not in this PR

  • voice_filters.py (already HERMES#8; somatic gates not implemented yet)
  • voice_filters.log (smoke log, never commit)
  • minting-day / voice_id swap (F13)
  • Layer 2 WELL loop

Test plan

  • Frontmatter required fields
  • Sibling DAG acyclic
  • Reviewer: confirm composer (music-intelligence) left read-only
  • Reviewer: confirm no secret material

Autonomy

T2 feature PR. No main merge. Layer 1 ignite is F11; Layer 2/3 stay HOLD.

Three skills: constitution, EMD reflex, parametric engine catalog.
Widens acoustic_intent without words. Composer lens untouched.
i-ARIF vocal melodic DENY at doctrine, pipeline, and catalog.

F2: YAML valid, DAG acyclic after companion restructure.
Layer 2 WELL and Layer 3 singing remain HOLD.
Copilot AI lite review requested due to automatic review settings August 18, 2026 14:18
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown

Important

Review available on request

  • 🔍 Trigger review

Reviews should be triggered manually for repositories with fewer than 10 stars. Select Trigger review above or comment @coderabbitai review to review the latest changes. For a full review, comment @coderabbitai full review.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 23d6cd42-6b1a-42a7-8e83-307c6e54af11


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Owner Author

F13 GO (2026-08-18). T2 10s veto released by Arif. Somatic controller-lens trio. Layer 0 composer untouched. Layer 2 WELL + Layer 3 i-ARIF singing remain HOLD. Companion: #169 (voice doctrine), ariffazil/HERMES#8. No main merge from this comment.

Copilot AI commented Aug 18, 2026

Copy link
Copy Markdown

One or more custom setup steps configured for this repository failed during this Copilot code review run:

Validate AAA contracts (F2 TRUTH gate)

Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review.

Note

You can configure setup steps for Copilot code review separately from Copilot cloud agent with a copilot-code-review.yml file. Read the docs for details.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new Somatic Music (controller-lens) Layer 1 skill family to document governance/doctrine, an engine registry (Lane 6), and an EMD-style pipeline that maps voice-cadencesomatic_proxymusic_intent → parametric music engines, explicitly gated by F1/F9/F10/F11/F13 constraints.

Changes:

  • Adds AAA-somatic-music-doctrine describing controller-vs-composer separation and the 3-layer maturity model.
  • Adds AAA-somatic-engine-catalog documenting allowed/denied engines and Lane 6 routing policy.
  • Adds AAA-somatic-emd-pipeline specifying the decode/metabolize/encode reflex arc and the unified packet shape (music_intent).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.

File Description
skills/AAA-somatic-music-doctrine/SKILL.md Layer 1 somatic music doctrine + maturity model + constitutional gates
skills/AAA-somatic-engine-catalog/SKILL.md Engine registry + routing decision tree + i-ARIF vocal-melodic DENY policy
skills/AAA-somatic-emd-pipeline/SKILL.md EMD pipeline spec + unified packet + MiniMax T2A encoding example
Suppressed comments (1)

skills/AAA-somatic-engine-catalog/SKILL.md:298

  • AGI-audio-quantum-cognition is listed twice in Related Skills with different descriptions. This looks like an accidental duplicate; consider keeping a single entry (or differentiating the second item if it was meant to reference a different skill).
- `music-intelligence` — Composer lens (Layer 0, untouched)
- `AGI-audio-quantum-cognition` — Audio physics + floors (parent)
- `AGI-audio-quantum-cognition` — F1 + F9 floors


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

P(Truth) of "agent healed Arif via music" = 0.0.
P(Truth) of "agent emitted 60 BPM drone which statistically correlates
with reduced heart rate" ≤ 0.90 (F7 cap).
P(Truth) of "music is mathematics across time" = 1.0.
| F1 (safety) | `AAA-somatic-emd-pipeline` checks: freq in 60 Hz – 8 kHz, dB ≤ 70 continuous, duration ≤ 8 s default, fail-closed to silence. |
| F11 (audit) | Every emission returns receipt_id. Bundled into VAULT999 with `category=somatic-music` tier. |
| F13 (sovereign) | Sustained intervention / high dB / i-ARIF singing / state-change claims require `human_approval_token` (stg_*). |
| i-ARIF singing DENY | `AAA-voice-cloning-mimo-minimax/SKILL.md` engine constraint, double-checked in `voice_filters.check_voice_policy()`. |
Comment on lines +107 to +129
"music_intent": {
"role": "bed", # silence | bed | warn | none
"bpm_target": 70, # derived from WPM / ~2.3
"key": "auto", # engine chooses within musical bed
"density": "low", # very_low | low | medium | high
"max_seconds": 8, # hard cap (F1)
"kill_on_barge_in": true, # mandatory on voice-mode path
"no_vocal": true, # no lyric, no vocal melodic
"no_i_arif": true, # hard DENY for i-ARIF voice_id
},

# Falsification gate (Layer 2 — placeholder for now)
"falsification": {
"voice_round_trip": null, # STT round-trip on TTS (existing)
"biometric_round_trip": null, # WELL feedback (Layer 2 only)
"rejected": False,
},

"policy": {
"verdict": "ALLOW", # ALLOW | HOLD | DENY
"f13_token": null, # required for Layer 3 / sustained
"reason": "voice-cadence elevated → bed 70 BPM low density",
},
Comment on lines +15 to +19
extends:
- AGI-audio-quantum-cognition
- AAA-audio-qualia-doctrine
companion:
- music-intelligence
Comment on lines +15 to +19
extends:
- AGI-audio-quantum-cognition
- AAA-audio-qualia-doctrine
- AAA-somatic-music-doctrine
companion:
Comment on lines +16 to +20
extends:
- AGI-audio-quantum-cognition
- AAA-audio-qualia-doctrine
- AAA-somatic-music-doctrine
companion:
Comment on lines +316 to +323
payload = {
"model": "music-2.6", # or music-3.0
"prompt": _build_prompt(intent), # see below
"bpm": intent["bpm_target"],
"duration": intent["max_seconds"],
"format": "mp3",
"sample_rate": 24000,
}
@ariffazil
ariffazil merged commit ffbea0e into main Aug 19, 2026
26 of 31 checks passed
@ariffazil
ariffazil deleted the feat/somatic-music-doctrine-2026-08-18 branch August 19, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants