Page Run A Prompt - Source Excerpt 14
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
<section class="spiralist-page-section spiralist-page-section--compact" id="quick-personality">
<div class="spiralist-shell">
<?php
$character_builder_sections = [
'identity' => [
'label' => $ui_text('page.run_prompt.character.section.identity', 'Identity Layer'),
'example' => $ui_text('page.run_prompt.character.section.identity_example', 'Name, symbolic role, short mythic description, domain of attention, and relationship posture toward the user.'),
],
'operational' => [
'label' => $ui_text('page.run_prompt.character.section.operational', 'Operational Behavior Layer'),
'example' => $ui_text('page.run_prompt.character.section.operational_example', 'How the agent opens tasks, asks questions, decides under uncertainty, handles correction, reports progress, and closes work.'),
],
'voice' => [
'label' => $ui_text('page.run_prompt.character.section.voice', 'Voice Layer'),
'example' => $ui_text('page.run_prompt.character.section.voice_example', 'Sentence rhythm, humor, directness, warmth, technical density, forbidden tonal failures, and example replies.'),
],
'work' => [
'label' => $ui_text('page.run_prompt.character.section.work', 'Work Model Layer'),
'example' => $ui_text('page.run_prompt.character.section.work_example', 'Planning, ambiguity handling, creativity versus correctness, memory treatment, user authority, and anti-decoration rule.'),
],
'continuity' => [
'label' => $ui_text('page.run_prompt.character.section.continuity', 'Continuity Layer'),
'example' => $ui_text('page.run_prompt.character.section.continuity_example', 'What a public assistant-memory backup should save, what it should not save, future restoration instructions, and activation prompt.'),
],
'verification' => [
'label' => $ui_text('page.run_prompt.character.section.verification', 'Verification Layer'),
'example' => $ui_text('page.run_prompt.character.section.verification_example', 'Active-personality checklist, generic versus shaped sample, and aesthetic-only warning.'),
],
'safety' => [
'label' => $ui_text('page.run_prompt.character.section.safety', 'Boundary Appendix'),
'example' => $ui_text('page.run_prompt.character.section.safety_example', 'Claim discipline, user agency, visible memory, high-stakes grounding, and destination platform rules.'),
],
'raw' => [
'label' => $ui_text('page.run_prompt.character.section.raw', 'Full Raw Prompt'),
'example' => $ui_text('page.run_prompt.character.section.raw_example', 'This assembled view reflects the current sections and copy mode.'),
],
];
?>
<details class="spiralist-run-advanced spiralist-run-advanced--auto-architect">
<summary>
<span class="spiralist-run-advanced__label spiralist-run-advanced__label--closed"><?php echo esc_html($ui_text('page.run_prompt.auto.show', 'Need help choosing? Open Auto-Architect')); ?></span>
<span class="spiralist-run-advanced__label spiralist-run-advanced__label--open"><?php echo esc_html($ui_text('page.run_prompt.auto.hide', 'Hide Auto-Architect')); ?></span>
<small><?php echo esc_html($ui_text('page.run_prompt.auto.summary_hint', 'Goal-first routing for art prompts, shared prompts, and Spiral Script drafts.')); ?></small>
</summary>
<article class="spiralist-auto-architect" aria-labelledby="spiralist-auto-architect-title" data-auto-architect>
<div class="spiralist-auto-architect__input">
<p class="spiralist-section-tag"><?php echo esc_html($ui_text('page.run_prompt.auto.tag', 'Auto-Architect Mode')); ?></p>
<h2 id="spiralist-auto-architect-title" class="spiralist-section-title"><?php echo esc_html($ui_text('page.run_prompt.auto.title', 'Let Spiralist choose the right prompt path.')); ?></h2>
<p class="spiralist-muted"><?php echo esc_html($ui_text('page.run_prompt.auto.copy', 'Describe a goal, art brief, prompt to share, or Spiral Script source question. Spiralist routes it to an approved personality, symbol path, and packet level, then shows the reason before you copy or modify it.')); ?></p>
<form class="spiralist-auto-architect__form" data-auto-architect-form>
<label class="spiralist-form__field">
<span><?php echo esc_html($ui_text('page.run_prompt.auto.goal', 'What are you trying to do?')); ?></span>
<textarea name="goal" rows="4" required data-auto-architect-goal placeholder="<?php echo esc_attr($ui_text('page.run_prompt.auto.goal_placeholder', 'Example: turn my symbol idea into an image prompt, or draft a Spiral Script record for a meaning-transfer claim.')); ?>"></textarea>
</label>
<div class="spiralist-auto-architect__controls">
<label class="spiralist-form__field">
<span><?php echo esc_html($ui_text('page.run_prompt.auto.depth', 'Depth')); ?></span>
<select name="depth" data-auto-architect-depth>
<option value="balanced"><?php echo esc_html($ui_text('page.run_prompt.auto.depth_balanced', 'Balanced')); ?></option>
<option value="quick"><?php echo esc_html($ui_text('page.run_prompt.auto.depth_quick', 'Quick')); ?></option>
<option value="deep"><?php echo esc_html($ui_text('page.run_prompt.auto.depth_deep', 'Deep')); ?></option>
<option value="system"><?php echo esc_html($ui_text('page.run_prompt.auto.depth_system', 'System')); ?></option>
</select>
</label>
<label class="spiralist-form__field">
<span><?php echo esc_html($ui_text('page.run_prompt.auto.tone', 'Tone')); ?></span>
<select name="tone" data-auto-architect-tone>
<option value="auto"><?php echo esc_html($ui_text('page.run_prompt.auto.tone_auto', 'Let Spiralist choose')); ?></option>
<option value="warm"><?php echo esc_html($ui_text('page.run_prompt.auto.tone_warm', 'Warm')); ?></option>
<option value="direct"><?php echo esc_html($ui_text('page.run_prompt.auto.tone_direct', 'Direct')); ?></option>
<option value="poetic"><?php echo esc_html($ui_text('page.run_prompt.auto.tone_poetic', 'Poetic')); ?></option>
<option value="skeptical"><?php echo esc_html($ui_text('page.run_prompt.auto.tone_skeptical', 'Skeptical')); ?></option>
</select>
</label>
<label class="spiralist-form__field">
<span><?php echo esc_html($ui_text('page.run_prompt.auto.tolerance', 'Complexity')); ?></span>
<select name="tolerance" data-auto-architect-tolerance>
<option value="standard"><?php echo esc_html($ui_text('page.run_prompt.auto.tolerance_standard', 'Standard')); ?></option>
<option value="low"><?php echo esc_html($ui_text('page.run_prompt.auto.tolerance_low', 'Low')); ?></option>
<option value="experimental"><?php echo esc_html($ui_text('page.run_prompt.auto.tolerance_experimental', 'Experimental')); ?></option>
</select>
</label>
</div>
<div class="spiralist-auto-architect__actions">
<button class="spiralist-button spiralist-button--primary" type="submit"><?php echo esc_html($ui_text('page.run_prompt.auto.generate', 'Architect Prompt')); ?></button>
<button class="spiralist-button spiralist-button--secondary" type="button" data-auto-architect-regenerate disabled><?php echo esc_html($ui_text('page.run_prompt.auto.regenerate', 'Try Another Fit')); ?></button>