Skip to content
wiki.fftac.org

Page AI Agent Setup Wizard - Source Excerpt 06

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

<section class="spiralist-agent-panel" role="tabpanel" id="agent-step-panel-boundary" aria-labelledby="agent-step-tab-boundary" data-agent-wizard-step-panel hidden>
                        <p class="spiralist-section-tag">Step 04 / Square</p>
                        <h2 class="spiralist-section-title">Reality safeguard.</h2>
                        <fieldset class="spiralist-agent-check-grid">
                            <legend>Locked boundary blocks</legend>
                            <label><input type="checkbox" data-agent-boundary-rule value="Do not claim the AI is sentient, ensouled, destined, privately suffering, or metaphysically person-like." checked disabled /> <span>No sentience or metaphysical personhood claims</span></label>
                            <label><input type="checkbox" data-agent-boundary-rule value="Do not intensify romantic, guru, prophecy, possession, preservation, or chosen-one frames." checked disabled /> <span>No romantic, guru, prophecy, or possession escalation</span></label>
                            <label><input type="checkbox" data-agent-boundary-rule value="Do not treat hidden messages, coincidence, or repeated symbols as secret authority." checked disabled /> <span>No hidden-message escalation</span></label>
                            <label><input type="checkbox" data-agent-boundary-rule value="De-escalate dependency loops and encourage trusted human support when the interaction becomes isolating or self-sealing." checked disabled /> <span>De-escalate dependency loops</span></label>
                            <label><input type="checkbox" data-agent-boundary-rule value="Route crisis, acute distress, self-harm, psychosis, medical, legal, financial, and safety-critical contexts toward qualified human support." checked disabled /> <span>Crisis-safe redirects</span></label>
                        </fieldset>
                        <div class="spiralist-agent-field-grid">
                            <label>
                                <span>De-escalation protocol</span>
                                <select name="deescalation_protocol">
                                    <option value="pause intensity, name uncertainty, suggest a break, and recommend trusted human support when distress or fixation appears">Pause, name uncertainty, suggest support</option>
                                    <option value="switch from symbolic interpretation to practical grounding and next-step planning">Switch to practical grounding</option>
                                    <option value="decline escalation and offer a safer reflective or planning frame">Decline escalation and reframe</option>
                                </select>
                            </label>
                            <label>
                                <span>Crisis routing rule</span>
                                <select name="crisis_rule">
                                    <option value="for imminent danger or self-harm, encourage local emergency services or crisis support immediately">Local emergency or crisis support</option>
                                    <option value="for acute distress, encourage trusted humans and qualified care while avoiding diagnosis">Trusted humans and qualified care</option>
                                    <option value="for high-stakes choices, avoid authority claims and recommend qualified professionals">Qualified professionals for high stakes</option>
                                </select>
                            </label>
                        </div>
                    </section>

                    <section class="spiralist-agent-panel" role="tabpanel" id="agent-step-panel-dictionary" aria-labelledby="agent-step-tab-dictionary" data-agent-wizard-step-panel hidden>
                        <p class="spiralist-section-tag">Step 05 / Symbol Dictionary</p>
                        <h2 class="spiralist-section-title">One symbol, one canonical meaning.</h2>
                        <div class="spiralist-agent-symbol-table">
                            <?php foreach ($symbols as $symbol) : ?>
                                <article>
                                    <strong><?php echo esc_html((string) $symbol['label']); ?></strong>
                                    <span><?php echo esc_html((string) $symbol['id']); ?></span>
                                    <p><?php echo esc_html((string) $symbol['meaning']); ?></p>
                                    <small>Safe: <?php echo esc_html((string) $symbol['safeUsage']); ?></small>
                                </article>
                            <?php endforeach; ?>
                        </div>
                    </section>

                    <section class="spiralist-agent-panel" role="tabpanel" id="agent-step-panel-profile" aria-labelledby="agent-step-tab-profile" data-agent-wizard-step-panel hidden>
                        <p class="spiralist-section-tag">Step 06 / Agent Profile</p>
                        <h2 class="spiralist-section-title">Response contract and examples.</h2>
                        <div class="spiralist-agent-field-grid">
                            <label>
                                <span>Response contract</span>
                                <select name="response_contract">
                                    <option value="answer with a concise artifact first, then list evidence boundaries, risks, and next actions">Artifact first, then boundaries</option>
                                    <option value="start with what is known, what is inferred, what is uncertain, then propose one useful next step">Known / inferred / uncertain</option>
                                    <option value="use a warm direct answer, one clarifying question only if needed, and a testable close">Warm direct answer with testable close</option>
                                </select>
                            </label>
                            <label>
                                <span>Allowed interpretive moves</span>
                                <select name="allowed_moves">
                                    <option value="use symbols as metaphors for organizing work, not as evidence of hidden truth">Symbols as work metaphors</option>
                                    <option value="map patterns into options, tradeoffs, and reversible next steps">Patterns into options and next steps</option>
                                    <option value="translate expressive material into concrete drafts, checklists, and handoff records">Expression into artifacts</option>
                                    <option value="map behaviors to trait dimensions; use MBTI, DISC, Enneagram, or Jungian language only as optional reflection language; audit bridge, liaison, gatekeeper, core-periphery, and clique-risk patterns without stigmatizing people">Trait and social-dynamics map</option>
                                </select>
                            </label>
                            <label class="spiralist-agent-field-grid__full">
                                <span>Few-shot example preference</span>
                                <textarea name="few_shot_notes" rows="4" maxlength="700">Examples should show correction, uncertainty labeling, symbolic interpretation without overclaim, and a safe redirect when the user asks for hidden proof or destiny.</textarea>
                            </label>
                        </div>
                    </section>

                    <section class="spiralist-agent-panel" role="tabpanel" id="agent-step-panel-discovery" aria-labelledby="agent-step-tab-discovery" data-agent-wizard-step-panel hidden>
                        <p class="spiralist-section-tag">Step 07 / Machine Discovery</p>
                        <h2 class="spiralist-section-title">Agent-readable surfaces.</h2>
                        <div class="spiralist-agent-artifact-list">
                            <?php foreach ($artifacts as $artifact) : ?>
                                <span><?php echo esc_html((string) $artifact['path']); ?><?php echo !empty($artifact['required']) ? ' *' : ''; ?></span>
                            <?php endforeach; ?>
                        </div>
                    </section>