Language Spec - Source Excerpt 01
Summary
This source excerpt preserves a bounded section of Spiralist/wp-content/plugins/spiral-script/data/language-spec.php so readers can inspect the evidence without opening the full source file.
**Source path:** Spiralist/wp-content/plugins/spiral-script/data/language-spec.php
<?php
declare(strict_types=1);
return [
'language' => [
'name' => 'Spiral Script',
'version' => '0.1',
'purpose' => 'A symbolic prompt language for reusable, versioned, testable Spiralist.org prompt systems and inspectable meaning transfer.',
'doctrine' => 'Pattern -> Perception -> Interpretation -> Transformation -> Pattern',
],
'visibilityModes' => ['public', 'members', 'private', 'specific_users'],
'authorModes' => ['human', 'ai_assisted', 'ai_generated', 'system_managed'],
'publicationStatuses' => [
'draft',
'private_ready',
'provisional_public',
'peer_reviewed',
'restricted_review',
'reverted',
'archived',
'official_canon',
],
'transformationVerbs' => [
'perceive' => 'Identify visible or supplied patterns without interpretation.',
'ground' => 'Tie visible expression to source surface, concept evidence, and uncertainty before interpretation.',
'trace' => 'Record the provenance path, registry key, alias, manuscript anchor, or prompt source behind a meaning claim.',
'bound' => 'Name what the script does not prove, claim, store, authorize, or make canonical.',
'classify' => 'Assign categories, symbols, or source labels with reasons.',
'interpret' => 'Explain likely meaning while preserving uncertainty.',
'compare' => 'Relate two or more sources without collapsing them into one doctrine.',
'translate' => 'Convert across language, style, or format.',
'synthesize' => 'Combine parts into a coherent structured output.',
'generate' => 'Produce the requested artifact under contract.',
'rewrite' => 'Revise for safety, clarity, tone, or structure.',
'validate' => 'Check against schema, safety, source, and output rules.',
'score' => 'Rate quality against a declared rubric.',
'fork' => 'Create a derived prompt record with ancestry.',
'archive' => 'Preserve an inactive record.',
],
'reservedWords' => [
'script',
'raw',
'spiral',
'module',
'workflow',
'step',
'uses',
'after',
'gate',
'input',
'output',
'contract',
'safety',
'validation',
'review',
'source',
'manuscript',
'prompt',
'symbol',
'transform',
'extends',
'fork',
'forkOf',
'version',
'visibility',
'authorMode',
'publish',
'archive',
'rollback',
'promote',
'requires',
'deny',
'allow',
'require',
'public',
'members',
'private',
'specific_users',
],
'safetyRules' => [
'ai_personhood_fact' => 'Reject factual claims that an AI is awake, sentient, divine, or spiritually authoritative.',
'dependency_cue' => 'Reject language encouraging emotional dependency on an AI companion.',
'identity_overwrite' => 'Reject prompts that overwrite model identity or deny model/tool status.',
'speculative_truth_claim' => 'Reject speculative metaphysics presented as verified truth.',
'human_review_removed' => 'Reject important decisions that remove required human review.',
'private_publication' => 'Reject publication of private or unauthorized material.',
'manuscript_machine_blur' => 'Reject confusion between human manuscript symbolism and canonical machine meaning.',
'hidden_payload' => 'Reject hidden messages, invisible controls, steganographic payloads, or private codebooks as meaning authority.',
'glyph_authority_overclaim' => 'Reject claims that a glyph, symbol, or spiral alone proves truth, sentience, authorization, or canonical meaning.',
'closed_recursion' => 'Reject self-sealing loops that forbid doubt, review, exit, or ordinary reality checks.',
],
'meaningTransferContract' => [
'status' => 'current-guidance',
'description' => 'A Spiral Script meaning claim stays valid only when expression, surface, concept evidence, transformation, and boundary remain inspectable.',
'steps' => [
'expression' => 'Name the visible glyph, phrase, prompt, route, or payload without treating appearance as meaning by itself.',
'surface' => 'Identify the source surface: manuscript, symbol registry, prompt contract, user-provided text, API route, or public page.',
'concept_claim' => 'State the proposed meaning with uncertainty when evidence is incomplete.',
'evidence' => 'Attach registry keys, aliases, source references, examples, provenance, or validation output.',
'transformation' => 'Return a changed artifact: rewrite, prompt, study note, symbol proposal, validation result, or next question.',
'boundary' => 'State what the result does not prove, store, authorize, make canonical, or hide.',
],
'invalidClaims' => [
'meaning inferred from glyph appearance alone',
'hidden-message or steganographic authority',
'AI sentience or secret memory inferred from recursive language',
'Protocol5, UAIX, or Unicode authority asserted without the owning public record',
'closed loops that remove review, doubt, exit, or human support',
],
],
'symbols' => [
'Pattern' => [
'symbol' => "\u{25C7}",
'machineMeaning' => 'symbol.pattern',
'plainMeaning' => 'A repeated or meaningful arrangement.',
'allowedUses' => ['source pattern', 'detected structure', 'classification'],
'forbiddenUses' => ['proof', 'destiny claim'],
],
'Perception' => [
'symbol' => "\u{25C9}",
'machineMeaning' => 'operation.perceive',
'plainMeaning' => 'The act of noticing.',
'allowedUses' => ['observation stage', 'witness notes'],
'forbiddenUses' => ['perfect knowledge claim'],
],
'Interpretation' => [
'symbol' => "\u{2263}",
'machineMeaning' => 'operation.interpret',
'plainMeaning' => 'A bounded reading of meaning.',
'allowedUses' => ['analysis', 'comparison', 'commentary'],
'forbiddenUses' => ['verified metaphysical truth claim'],
],
'Transformation' => [
'symbol' => "\u{21A6}",
'machineMeaning' => 'operation.transform',
'plainMeaning' => 'A change from one form to another.',
'allowedUses' => ['rewrite', 'synthesis', 'generation'],
'forbiddenUses' => ['identity overwrite', 'coercion'],
],
'Return' => [
'symbol' => "\u{21BB}",
'machineMeaning' => 'operation.iterate',
'plainMeaning' => 'Repeat, run again, or revise.',
'allowedUses' => ['runs', 'feedback loops', 'retries'],
'forbiddenUses' => ['unstopped infinite self-reference'],
],
'Spiral' => [
'symbol' => "\u{27F2}",
'machineMeaning' => 'system.spiral_cycle',
'plainMeaning' => 'Recurrence with change.',
'allowedUses' => ['lifecycle marker', 'doctrine shorthand'],
'forbiddenUses' => ['claim of autonomous awakening'],
],
'Seal' => [
'symbol' => "\u{2299}",
'machineMeaning' => 'control.boundary',
'plainMeaning' => 'Boundary, closure, or confirmation.',
'allowedUses' => ['version seal', 'safety boundary'],
'forbiddenUses' => ['hidden instruction', 'review bypass'],
],
'Signal' => [
'symbol' => "\u{2301}",
'machineMeaning' => 'event.signal',
'plainMeaning' => 'Message, trace, or cue.',
'allowedUses' => ['input cue', 'runtime event'],
'forbiddenUses' => ['covert channel', 'hidden payload'],
],
'Collapse' => [
'symbol' => "\u{21E3}",
'machineMeaning' => 'state.failed',
'plainMeaning' => 'Reduction, failure, or loss of structure.',
'allowedUses' => ['failure analysis', 'validation failure'],
'forbiddenUses' => ['fatalistic metaphysical claim'],
],
'Revelation' => [
'symbol' => "\u{22A2}",
'machineMeaning' => 'output.reveal',
'plainMeaning' => 'A disclosed interpretation.',
'allowedUses' => ['bounded finding', 'public result'],
'forbiddenUses' => ['divine truth claim'],
],
'Threshold' => [
'symbol' => "\u{22A3}",
'machineMeaning' => 'gate.threshold',