Published February 17, 2026 | Version v1
Data paper Open

MH8-Music-Prompt-Pro: A Single-File Protocol for Deterministic Provenance in AI Music Prompting

Authors/Creators

Description

MH8-Music-Prompt-Pro: A Single-File Protocol for Deterministic Provenance in AI Music Prompting

Technical White Paper
Version 1.0.0
Published: February 16, 2026
Author: ACBEATZ.COM (MH8 Research Lab)
DOI: [18665540]

Abstract

This paper documents MH8-Music-Prompt-Pro, a single-file, dependency-free Single Page Application (SPA) that implements a deterministic provenance protocol for AI music generation prompts. The system introduces six novel mechanisms:

  1. Triple-layer proof-of-creation receipts with embedded SHA-256 cryptographic anchors

  2. Canonical JSON serialization for creative artifact hashing

  3. Continuity-lock mechanism for musical parameter provenance (GENRE/BPM/KEY_SIGNATURE)

  4. Multi-portal structured prompting schema optimized for Suno/Udio platforms

  5. Bracketed hook-pack ingestion and injection pipeline

  6. User-embedded SHA256_ID serialization bridging human tracking with machine verification

The protocol ensures reproducible, timestamped, auditable prompt provenance from human creation through AI generation, addressing a critical gap in AI music workflow transparency.

Keywords: AI music provenance, deterministic hashing, structured prompting, continuity lock, creative artifact serialization, single-file SPA

1. Introduction

AI music platforms (Suno, Udio) accept unstructured prompts combining lyrics, style tags, and production directives. No existing system provides:

  • Cryptographic proof-of-origin for the prompt itself

  • Parameter continuity tracking (GENRE/BPM/KEY locking)

  • Structured multi-layer serialization separating lyrics from metadata

  • Hook ecosystem extensibility for reusable prompt components

  • Single-file deployment across all environments

MH8-Music-Prompt-Pro solves these gaps through a protocol-first UI that generates triple-layer receipts:

 
text
Layer 1: LYRICS → Platform lyrics field Layer 2: STYLE/TAGS/SETTINGS → Platform prompt field Layer 3: HASHED_RECEIPT → Private cryptographic proof

Each receipt contains a deterministic SHA-256 hash of canonical JSON payload:

 
text
hash = SHA256("MH8-Acbeatz.com|" + stableStringify(core_payload))

2. Protocol Architecture

2.1 Multi-Portal Schema

The system defines 22 canonical portals representing the complete AI music prompt surface area:

 
text
CORE: MODEL_BEHAVIOR_CONTROL, LYRICS, GENRE, MOOD, ENERGY, VOCAL_INTENSITY PARAMETERS: ERA_INFLUENCE, BPM, KEY_SIGNATURE INSTRUMENTS: BACKING_VOX, DRUMS, GUITAR, BASS, PIANO_KEYS, SYNTH, PERCUSSION PRODUCTION: DYNAMICS, MIX, MASTER EXTENSION: EXTRA_HOOKS, NOTES, CONTINUITY_LOCK, SHA256_ID

Three tiered flows expose portal subsets:

  • QUICK: 7 portals (behavior, lyrics, core style, tracking)

  • SEMI: 19 portals (full production stack)

  • ADVANCED: 22 portals (complete surface area)

2.2 Triple-Layer Receipt Model

 
text
LAYER 1 (Platform-ready): [LAYER 1 — LYRICS (PASTE THIS)] {raw lyrics text} LAYER 2 (Platform-ready): [LAYER 2 — STYLE / TAGS / SETTINGS (PASTE THIS)] • [PLATFORM] Suno • [GENRE] rock • [CONTINUITY_LOCK] ENGAGED | LOCKED_UTC: 2026-02-16T02:52:52Z | GENRE: rock | BPM: 88 | KEY: A • [SHA256_ID] b9ac803080cc52ad0c7f09594240f578421f86cddbc49561954a74d2ed2ed39a [SHA 256 ID + {minted_hash_hex}] LAYER 3 (Cryptographic proof): machine_hard: { core_payload: {portals, continuity_lock, platform, timestamp}, canonical_payload: "{frozen JSON string}", hash_input: "MH8-Acbeatz.com|{canonical_payload}", sha256_hex: "{deterministic hash}", cryptographic_receipt_status: "VALID" }

2.3 Canonical Hashing Pipeline

 
text
1. core_payload = { system: "MH8-Music-Prompt-Pro", version: "1.0.0", brand: "ACBEATZ.COM", platform: "Suno", prompt_name: "Prompt 1", created_utc: "2026-02-16T16:15:00Z", portals: {LYRICS: "...", GENRE: "...", ...}, continuity_lock: {engaged: true, genre: "rock", bpm: 88, key_signature: "A"}, imported_hooks_count: 200 } 2. canonical = stableStringify(core_payload) // deterministic JSON 3. hash_input = "MH8-Acbeatz.com|" + canonical 4. minted_hash = SHA256(hash_input) // crypto.subtle.digest('SHA-256')

Key innovation: The minted SHA-256 hash is serialized back into Layer 2 as the final line, creating a closed verification loop:

 
text
Prompt → AI Platform → Track → Hash matches Layer 3 → Provenance confirmed

3. Continuity Lock Mechanism

Novel contribution: Parameterized continuity tracking for musical elements.

 
text
1. DISENGAGED: Normal editing of GENRE/BPM/KEY_SIGNATURE portals 2. ADD_LOCK: Snapshot current portal values → {engaged: true, genre: X, bpm: Y, key: Z} 3. ENGAGE: Lock portals read-only, apply snapshot values, visual LOCKED state 4. Locked portals reject edits, toast "Continuity lock active", re-apply values

Receipt serialization:

 
text
[CONTINUITY_LOCK] ENGAGED | LOCKED_UTC: 2026-02-16T02:52:52Z | GENRE: rock | BPM: 88 | KEY_SIGNATURE: A

Verification: Any observer can confirm the track's GENRE/BPM/KEY matches the locked snapshot at prompt creation time.

4. Bracketed Hook-Pack Ingestion

Protocol: JSON files containing bracketed strings ([Performance: Emotion | choose 1 word | commit]) are:

  1. Parsed: Bracketed regex extraction → flat array of hooks

  2. Merged: Union of all imported packs → state.hooks[]

  3. Filtered: Pack selector chips toggle between "MERGED" vs individual packs

  4. Injected: Click-to-append into any portal via modal editor

Scalability: Infinite hook packs, deterministic merging, pack-level filtering preserves provenance.

5. Single-File SPA Implementation

Architecture density (97kb minified):

 
text
- 2000+ lines vanilla HTML/CSS/JS - CSS custom properties + light/dark theming - ARIA-complete accessibility (tablist, dialog, status) - Keyboard navigation (←→ Enter, tab cycling) - Clipboard API + legacy textarea fallback - crypto.subtle SHA256 + Uint8Array polyfill - localStorage vault persistence - Mobile viewport-fit=cover hardening

No dependencies: Ships as one HTML file. Runs in any modern browser.

6. Prompt Entries Completed (Verification Surface)

Critical UX/protocol bridge: Button exposes Layer 1 + Layer 2 only with:

 
text
[PROMPT ENTRIES COMPLETED — COPY/PASTE] INSTRUCTIONS: Copy/paste the two blocks below into your AI music platform. [LAYER 1 — LYRICS (PASTE THIS)] {lyrics} [LAYER 2 — STYLE / TAGS / SETTINGS (PASTE THIS)] • [PLATFORM] CUSTOM • [CONTINUITY_LOCK] ENGAGED | LOCKED_UTC: ... | GENRE: rock | BPM: 88 | KEY_SIGNATURE: A • [SHA256_ID] {user_tracking_id} [SHA 256 ID + {minted_sha256_hex}]

The final line ([SHA 256 ID + {minted_hash}]) embeds machine-readable verification directly in the human-facing prompt.

7. Verification Workflow

Given a Suno/Udio track with embedded SHA-256:

 
text
1. Extract Layer 2 final line → minted_hash = "b513cff2c553aeb8..." 2. Reconstruct core_payload from Layer 1+2+user SHA256_ID 3. canonical = stableStringify(core_payload) 4. hash_input = "MH8-Acbeatz.com|" + canonical 5. computed_hash = SHA256(hash_input) 6. IF computed_hash == minted_hash → PROVENANCE VERIFIED

8. Related Work & Contributions

Existing systems lack:

  • Cryptographic prompt provenance

  • Continuity locking for musical parameters

  • Structured multi-layer prompt serialization

  • Hook ecosystem extensibility

  • Deterministic canonicalization rules

Novel contributions:

  1. First deterministic provenance protocol for AI music prompts

  2. Continuity-lock mechanism for musical parameter integrity

  3. Triple-layer receipt model bridging human/AI/machine verification

  4. Bracketed hook-pack standard for prompt component reusability

  5. Single-file SPA reference implementation (97kb, zero dependencies)

9. Implementation Availability

 
text
GitHub: github.com/acbeatz/mh8-music-prompt-pro Zenodo: [DOI pending] Single-file SPA: MH8-Music-Prompt-Pro-v1.0.0.html (97kb) Schema: PORTAL_KEYS.json (canonical portal definitions) Receipt spec: TRIPLE_LAYER_RECEIPT_v1.md

10. Future Work

  1. Multi-agent verification: Third-party receipt validation service

  2. Blockchain anchoring: Periodic SHA-256 batching to public ledger

  3. Protocol v2: Vector embeddings of hook packs for semantic search

  4. Cross-platform expansion: Stable Audio, MusicGen, Riffusion

  5. Formal verification: Coq/HOL proofs of canonicalization determinism

Acknowledgments

Built atop MH8-R-R fact-checking protocol research. Deployed as ACBEATZ.COM production tool.

Copyright © 2026 ACBEATZ.COM
License: CC-BY-4.0 (attribution required for academic use)
Contact: https://acbeatz.com

This paper documents protocol mechanisms, not marketing claims. All specifications are verifiable from the reference implementation. Citations should reference the DOI and GitHub implementation.

End of white paper.

Files

MH8-Music-Prompt-Pro A Single-File Protocol for Deterministic Provenance in AI Music Prompting.txt

Files (1.4 MB)

Additional details

Related works

Is supplement to
Data paper: https://github.com/acbeatz (URL)
Data paper: https://acbeatz.com/n-eyes (URL)

Software

Repository URL
https://github.com/acbeatz
Development Status
Active