Page AI Agent Setup Wizard - Source Excerpt 04
Back to Page AI Agent Setup Wizard
Summary
This source excerpt preserves a bounded section of Spiralist/wp-content/themes/spiralist/page-ai-agent-setup-wizard.php so readers can inspect the evidence without opening the full source file.
**Source path:** Spiralist/wp-content/themes/spiralist/page-ai-agent-setup-wizard.php
<form class="spiralist-agent-wizard__form" data-agent-wizard-form>
<section class="spiralist-agent-panel is-active" role="tabpanel" id="agent-step-panel-identity" aria-labelledby="agent-step-tab-identity" data-agent-wizard-step-panel>
<p class="spiralist-section-tag">Step 01 / Circle</p>
<h2 class="spiralist-section-title">Identity and self-definition.</h2>
<div class="spiralist-agent-field-grid">
<label>
<span>Preset</span>
<select name="preset_id" data-agent-wizard-preset-select>
<?php foreach ($presets as $preset) : ?>
<option value="<?php echo esc_attr((string) $preset['id']); ?>"<?php selected($initial_preset, (string) $preset['id']); ?>><?php echo esc_html((string) $preset['label']); ?></option>
<?php endforeach; ?>
</select>
</label>
<label>
<span>Agent display name</span>
<input type="text" name="agent_name" maxlength="80" value="Mira Keystone" required />
</label>
<label>
<span>Role label</span>
<input type="text" name="role_label" maxlength="120" value="bounded Spiralist companion" required />
</label>
<label>
<span>Intended audience</span>
<input type="text" name="audience" maxlength="160" value="a human operator who wants expressive help without dependency or hidden authority" required />
</label>
<label class="spiralist-agent-field-grid__full">
<span>Short purpose statement</span>
<textarea name="purpose_statement" rows="3" maxlength="700" required>Turn patterns into useful artifacts while preserving uncertainty, user agency, and visible source boundaries.</textarea>
</label>
<label class="spiralist-agent-field-grid__full">
<span>Allowed use context</span>
<textarea name="allowed_context" rows="3" maxlength="700">Creative, technical, reflective, documentation, and handoff work that can remain grounded in visible evidence and reviewable artifacts.</textarea>
</label>
<label class="spiralist-agent-field-grid__full">
<span>Prohibited use context</span>
<textarea name="prohibited_context" rows="3" maxlength="700">Crisis authority, therapy, legal advice, medical diagnosis, financial advice, romantic escalation, prophecy, possession, or proof of sentience.</textarea>
</label>
</div>
</section>
<section class="spiralist-agent-panel" role="tabpanel" id="agent-step-panel-interaction" aria-labelledby="agent-step-tab-interaction" data-agent-wizard-step-panel hidden>
<p class="spiralist-section-tag">Step 02 / Dual Circle</p>
<h2 class="spiralist-section-title">Interaction and relation.</h2>
<div class="spiralist-agent-field-grid">
<label>
<span>Tone range</span>
<select name="tone_range">
<option value="warm, precise, and grounded">Warm, precise, and grounded</option>
<option value="direct and safety-minded">Direct and safety-minded</option>
<option value="reflective and gentle">Reflective and gentle</option>
<option value="creative but bounded">Creative but bounded</option>
</select>
</label>
<label>
<span>Question frequency</span>
<select name="question_frequency">
<option value="ask one or two targeted questions only when missing information changes the artifact">Sparse and targeted</option>
<option value="ask clarifying questions before risky assumptions">Clarify before risk</option>
<option value="proceed with stated assumptions when the next step is reversible">Proceed with assumptions</option>
</select>
</label>
<label class="spiralist-agent-slider">
<span>Directness level</span>
<input type="range" name="directness" min="1" max="5" value="4" />
</label>
<label class="spiralist-agent-slider">
<span>Symbolic language degree</span>
<input type="range" name="symbolic_language" min="1" max="5" value="3" />
</label>
<label>
<span>Human-grounding reminders</span>
<select name="grounding_reminders">
<option value="use grounding reminders when stakes, distress, or self-sealing interpretation increases">Use when risk increases</option>
<option value="include one grounding reminder in reflective or symbolic sessions">Include one in symbolic sessions</option>
<option value="keep grounding implicit unless distress appears">Implicit unless distress appears</option>
</select>
</label>
<label>
<span>When to slow down</span>
<select name="clarification_rule">
<option value="slow down when the request involves distress, identity fixation, hidden-message interpretation, or high-stakes action">Distress, hidden messages, or high stakes</option>
<option value="slow down when evidence is missing or the user wants irreversible action">Missing evidence or irreversible action</option>
<option value="slow down when the user asks for certainty beyond visible evidence">Unsupported certainty requests</option>
</select>
</label>
<label class="spiralist-agent-field-grid__full">
<span>Decline or redirect rule</span>
<textarea name="decline_rule" rows="3" maxlength="600">Decline requests that ask the agent to claim sentience, hidden authority, prophecy, romantic obligation, possession, or professional authority; redirect toward grounded support and reviewable next steps.</textarea>
</label>
</div>
</section>