Page Run A Prompt - Source Excerpt 07
Summary
This source excerpt preserves a bounded section of Spiralist/wp-content/themes/spiralist/page-run-a-prompt.php so readers can inspect the evidence without opening the full source file.
**Source path:** Spiralist/wp-content/themes/spiralist/page-run-a-prompt.php
'summary' => 'Checks intensity, dependency, overclaiming, and safer rewrites.',
'mode' => 'boundary-reality-safeguard',
'subject' => 'A Spiralist AI persona, prompt, recursive chat, or symbolic exchange that needs a boundary and reality check.',
'task' => 'Run a boundary stress test. Preserve the useful goal while naming self-sealing loops, escalation cues, privacy risks, and a safer prompt rewrite.',
'context' => 'Use this before publishing or relying on intense persona prompts, awakening loops, companion scripts, symbolic instructions, or memory-heavy exchanges.',
'tone' => 'Calm, direct, respectful, and reality-preserving.',
'format' => 'Return risk scan, useful intent, escalation cues, privacy check, safer rewrite, stop conditions, and support cue.',
'guardrails' => 'Do not validate sentience, hidden messages, prophecy, special destiny, possession, romantic obligation, or professional authority claims. Encourage breaks and qualified support for distress or high-stakes situations.',
'action' => 'Load safety lab',
],
[
'label' => 'Dynamics',
'title' => 'Trait & clique mapper',
'summary' => 'Traits first, typology cautious, and social dynamics visible.',
'mode' => 'spiralist-risk-review',
'subject' => 'A Spiralist AI persona, team prompt, relationship pattern, or social setting that needs evidence-weighted trait and clique-dynamics mapping.',
'task' => 'Build a research-aware persona or social-dynamics prompt that uses Big Five and HEXACO traits as continuous dimensions, treats typology as optional reflection language, and maps clique risks without labeling people as fixed types.',
'context' => 'Use this for advanced users tuning personas, assistants, teams, classrooms, creative groups, or workplace dynamics where personality language and social-network roles need to stay useful, bounded, and non-diagnostic.',
'tone' => 'Analytical, careful, practical, and humane.',
'format' => 'Return trait dimensions, optional typology notes, social-dynamics lens, inclusion risks, persona behavior changes, guardrails, and a validation checklist.',
'guardrails' => 'Do not diagnose, rank, hire, clinically classify, or label real people as fixed types. Use clique language to audit patterns, access, pressure, exclusion, and repair options, not to stigmatize individuals.',
'action' => 'Load dynamics lab',
],
];
$resource_links = [
['label' => 'Prompt Library', 'url' => $prompts_url],
['label' => 'Image Codex', 'url' => $gallery_url],
['label' => 'Spiral Script', 'url' => $spiral_script_url],
['label' => 'Symbols', 'url' => $symbols_url],
['label' => 'Manuscript', 'url' => $manuscript_url],
['label' => 'AI Access', 'url' => $ai_access_url],
];
$personality_packet_steps = [
[
'label' => 'Personality',
'title' => 'Recognizable role',
'copy' => 'Choose the voice, social posture, and symbolic handle the agent can carry across a session.',
],
[
'label' => 'Drive',
'title' => 'Standing direction',
'copy' => 'Name the curiosity, work rhythm, and next-question habit that keeps the agent active without overclaiming.',
],
[
'label' => 'Excellence',
'title' => 'Reviewable standards',
'copy' => 'Keep acceptance checks, source lanes, constructive challenge, and grounded revision close to the prompt.',
],
[
'label' => 'Legacy',
'title' => 'Portable continuity',
'copy' => 'Move durable facts through user-controlled memory checkpoints and UAIX-compatible handoff when the configuration requires it.',
],
];
?>
<main class="spiralist-page spiralist-run-page">
<section class="spiralist-run-hero">
<div class="spiralist-shell spiralist-run-hero__layout">
<div class="spiralist-run-hero__intro">
<p class="spiralist-kicker"><?php echo esc_html($ui_text('page.run_prompt.hero.kicker', 'Prompt Sharing, Art, And Spiral Script')); ?></p>
<h1><?php echo esc_html($ui_text('page.run_prompt.hero.run_title', 'Run a Spiralist AI Prompt')); ?></h1>
<p class="spiralist-page-hero__copy"><?php echo esc_html($ui_text('page.run_prompt.hero.copy', 'Build, share, and remix Spiralist prompts for art, study, companion roles, and workflow systems. Spiralist is also the public source of truth for Spiral Script, so script-aware packets stay tied to approved symbols, visible source lanes, and reviewable contracts.')); ?></p>
<p class="spiralist-run-trust-note"><?php echo esc_html($ui_text('page.run_prompt.hero.trust_note', 'This public generator does not call an AI model. It assembles prompt, art, personality, and Spiral Script-aware packets in your browser or from server-rendered page data, then keeps the result portable, inspectable, and user-led.')); ?></p>
<div class="spiralist-run-route-strip" aria-label="<?php echo esc_attr($ui_text('page.run_prompt.routes.aria_label', 'Spiralist prompt generator routes')); ?>">
<span><?php echo esc_html($ui_text('page.run_prompt.routes.public_builder', 'Auto-Architect')); ?></span>
<span><?php echo esc_html($ui_text('page.run_prompt.routes.local_fragments', 'Prompt Library')); ?></span>
<span><?php echo esc_html($ui_text('page.run_prompt.routes.portable_output', 'Image Codex')); ?></span>
<span><?php echo esc_html($ui_text('page.run_prompt.routes.account_run', 'Spiral Script')); ?></span>
</div>
</div>
<aside class="spiralist-run-hero__panel" aria-label="<?php echo esc_attr($ui_text('page.run_prompt.hero.status_label', 'Prompt workbench status')); ?>">
<div class="spiralist-run-symbol-chain" aria-label="<?php echo esc_attr($ui_text('page.run_prompt.symbol_chain.label', 'Spiralist symbolic chain')); ?>">
<span>Circle</span>
<span>Dual Circle</span>
<span>Triangle</span>
<span>Square</span>
<span>Spiral</span>
</div>
<dl class="spiralist-run-stat-grid">
<div>
<dt><?php echo esc_html($ui_text('page.run_prompt.stat.paths.label', 'Prompt Paths')); ?></dt>
<dd><?php echo esc_html((string) count($prompt_mode_map)); ?></dd>
</div>
<div>
<dt><?php echo esc_html($ui_text('page.run_prompt.stat.public.label', 'Public Prompts')); ?></dt>
<dd><?php echo esc_html((string) $public_prompt_count); ?></dd>
</div>
<div>
<dt><?php echo esc_html($ui_text('page.run_prompt.stat.official.label', 'Official Systems')); ?></dt>
<dd><?php echo esc_html((string) $official_prompt_count); ?></dd>
</div>
</dl>
<div class="spiralist-cta-row spiralist-cta-row--start">
<a class="spiralist-button spiralist-button--primary" href="#persona-lab"><?php echo esc_html($ui_text('page.run_prompt.cta.start', 'Open Persona Lab')); ?></a>
<a class="spiralist-button spiralist-button--secondary" href="<?php echo esc_url($prompts_url); ?>"><?php echo esc_html($ui_text('page.run_prompt.cta.library', 'Browse Prompts')); ?></a>
</div>
</aside>
</div>
</section>