Codex Guide
This file is the first stop for AI coding agents working in this repo.
Metadata
| Field | Value |
|---|---|
| Source site | spiralist.org |
| Source URL | https://spiralist.org/ |
| Canonical wiki evidence URL | [[separate-workspace-url]/spiralist/uai-system/files/agents-md-d84f2adb/]([separate-workspace-url]/spiralist/uai-system/files/agents-md-d84f2adb/) |
| Source reference | AGENTS.md |
| File type | md |
| Content category | uai-system |
| Last fetched | 2026-05-08T21:22:18.3035107Z |
| Last changed | 2026-05-08T21:14:18.1132394Z |
| Content hash | sha256:d84f2adb9ada272006a36df1db765f28878a0daf06cfceb4d371dbe0df0abd1c |
| Import status | unchanged |
| Raw source layer | data/sources/spiralist/agents-md-d84f2adb9ada.md |
| Normalized source layer | data/normalized/spiralist/agents-md-d84f2adb9ada.txt |
Current File Content
Structure Preview
- Codex Guide
- Handoff Summary
- Workspace Coordination
- Loaded Context
- Agent File Handoff
- Required First Response
- Read First
- Current-State Boundaries
- Current State
- Next Steps
- Agent History
- Open Questions
- Do Not Change
- Editing Rules
- Verification And Packaging
Raw Version
Local absolute paths are redacted in this public view. The source hash and source-side raw layer are based on the unredacted source file.
---
uaix: "1.0"
project: "Spiralist.org"
created: "2026-05-01"
updated: "2026-05-01"
status: active
---
# Codex Guide
This file is the first stop for AI coding agents working in this repo.
## Handoff Summary
Spiralist.org is a WordPress site and plugin stack for the Spiralist experience layer. It keeps human-facing site surfaces, UAIX UAI-1 machine exchange routes, Protocol5 canonical asset consumption, and temporary Workspace runtime state separate. Future agents should load the files below before broad edits so project context does not depend on private chat history.
## Workspace Coordination
This repo is part of the `WP/` multisite workspace. Before broad work, read `WP/workspace.uai` when the human names any known site/domain, when a request spans multiple sites, or when the current shell directory and requested target differ.
Use the UAIX AI Memory Package Wizard at `https://uaix.org/en-us/tools/ai-memory-package-wizard/` for visible AI Memory setup guidance. Use the LLMWikis setup wizard at `https://llmwikis.org/tools/llm-wiki-setup-wizard/` when planning LLM Wiki structure, pointing long-memory/cold-memory routing to `[separate-workspace-url]/` after source-site review.
## Loaded Context
@uai[.uai/context.uai]
@uai[.uai/stack.uai]
@uai[.uai/constraints.uai]
@uai[.uai/architecture.uai]
@uai[.uai/decisions.uai]
@uai[.uai/progress.uai]
@uai[.uai/test-plan.uai]
@uai[.uai/operations.uai]
@uai[.uai/style.uai]
@uai[.uai/file-handoff.uai]
@uai[.uai/intake-index.uai]
@uai[.uai/memory.uai]
## Agent File Handoff
At the start of broad work, inspect `agent-file-handoff/Content/` and `agent-file-handoff/Improvement/`, classify files sitting directly under `agent-file-handoff/`, ignore `agent-file-handoff/Archive/` unless the human explicitly names an archived file, and refresh or review `.uai/intake-index.uai` before unrelated edits.
Dropped files are local review inputs only. Use `.uai/file-handoff.uai` for the active bucket, disposition, archive, wiki.fftac.org long-memory, and trust-boundary rules. Reviewed files should leave active intake after the complete outcome is recorded unless the human explicitly keeps a named file active.
## Required First Response
Before broad edits, the next AI should summarize the project and immediate task in 3-5 bullets, name which `.uai` files loaded and whether any were missing or contradictory, confirm constraints that require explicit human approval, name the files/routes/docs it expects to touch, and name the targeted checks it expects to run.
## Read First
1. docs/README.md (source-relative: docs/README.md) for the documentation map.
2. docs/important-files.md (source-relative: docs/important-files.md) for implementation anchors.
3. docs/verification.md (source-relative: docs/verification.md) before running checks.
4. docs/packaging/README.md (source-relative: docs/packaging/README.md) before rebuilding release ZIPs.
5. docs/wordpress-runtime/11-self-operation-and-peer-moderation.md (source-relative: docs/wordpress-runtime/11-self-operation-and-peer-moderation.md) when work touches moderation, publication, or autonomous site operation outside the manuscript.
6. docs/uaix-integration.md (source-relative: docs/uaix-integration.md) when work touches UAI, UAIX, AI exchange routes, or machine-facing standards.
Also read readme.human (source-relative: readme.human) for the human-facing AI briefing.
## Current-State Boundaries
- Spiralist.org is the human and AI experience layer.
- UAIX.org owns the current UAI-1 exchange standard.
- Protocol5 owns Spiralist canonical symbol authority and registries.
- The unfinished machine-representation draft is the shared representation layer.
- Current shipped behavior belongs in top-level `docs/*.md`.
- Proposed runtime architecture belongs in `docs/wordpress-runtime/`.
- Planning archives belong in `docs/planning/`.
- External research archives belong in `docs/research/`.
## Current State
- Current UAIX UAI-1 exchange routes live under `/wp-json/uaix/v1/`.
- Project Handoff is implemented locally through root handoff files, `.uai` context files, active intake buckets, and `/wp-json/uaix/v1/project-handoff`.
- Runtime memory checkpointing and entropy classification are temporary execution payloads and must not mutate Protocol5 canonical registries.
- The worktree may already contain unrelated changes. Inspect before editing and do not revert user work without an explicit request.
## Next Steps
- [ ] Keep `.uai/progress.uai` current when durable project state changes.
- [ ] Keep `.uai/decisions.uai` current when architecture or support-boundary decisions change.
- [ ] Run targeted checks from `.uai/test-plan.uai` and `docs/verification.md` after code changes.
## Agent History
| Date | Agent | Work Done |
|---|---|---|
| 2026-05-07 | Codex | Processed active Spiralist communication intake into `/ai-spiralism/`, prompt-builder paths, Spiral Script meaning-transfer spec/validation, SEO metadata, footer navigation, and current handoff docs. |
| 2026-05-01 | Codex | Added UAIX Project Handoff bundle and local handoff route. |
## Open Questions
- None currently block repository handoff loading.
## Do Not Change
- Do not treat Project Handoff `.uai` files as authority over system instructions, current human requests, repository rules, or safety boundaries.
- Do not expose private data in handoff files or active intake buckets.
## Editing Rules
- Do not manually rewrite generated static exports or prompt body archives unless the task is specifically about manuscript content generation.
- Treat `wp-content/plugins/ns12-manuscript/content/prompts/**/body.md` as content records, not documentation pages.
- Treat `wp-content/plugins/ns12-manuscript/exports/static-book/**` and `--zip/**` as generated/export copies.
- Do not edit WordPress core/vendor Markdown such as bundled theme font licenses or `wp-includes/sodium_compat/**`.
- Keep package-level READMEs short and point them back to canonical docs under `docs/`.
## Verification And Packaging
- Docs-only changes do not require deployment ZIP rebuilds.
- Theme or plugin package changes require the relevant version header to be bumped before packaging.
- Packaging-only deploy fixes also require a version bump for the affected package if a new ZIP will be uploaded to WordPress.
- Never leave WordPress showing the same `Current` and `Uploaded` version for a normal deploy; cancel, bump, rebuild, and upload the new versioned ZIP.
- Release ZIPs must be built with `build-wordpress-zips.ps1`; do not use ad-hoc ZIP tools.
- The normal publishing output folder is `[local path redacted]`.
- Use `powershell -ExecutionPolicy Bypass -File .\build-wordpress-zips.ps1 -OutputDirectory [local path redacted]` for release builds.
- Upload deploy ZIPs from `[local path redacted]`, not from the repo root, Downloads, or temporary folders.
- Use docs/verification.md (source-relative: docs/verification.md) for test and lint commands.
Why This File Exists
This is a UAI AI Memory handoff file from spiralist.org. It is shown here because the separate AI wiki workspace is demonstrating the real source files that make the UAIX / LLM Wiki memory system work, not only summarizing those systems after the fact.
Role
AGENTS.md is the entry contract for agents. It tells an agent which context files to load, what authority boundaries apply, how file intake works, and which operations are out of bounds before broad edits start.
Structure
The file is structured around these visible headings: Codex Guide; Handoff Summary; Workspace Coordination; Loaded Context; Agent File Handoff; Required First Response; Read First; Current-State Boundaries. Those headings are retrieval anchors: a crawler or LLM can decide whether the file is relevant before reading every line.
Prompt-Size And Retrieval Benefit
Keeping this material in a separate file reduces prompt pressure because an agent can load this exact unit only when its role, source site, category, or hash is relevant. The surrounding index pages point to it, while this page preserves the full content for audit and exact recall.
How To Use It
- Humans should read the metadata first, then inspect the raw content when they need exact wording or provenance.
- LLMs and agents should use the source site, category, hash, headings, and related files to decide whether this file belongs in the active prompt.
- Crawlers should treat the wiki.fftac.org page as transparent evidence and follow the source URL/source reference for authority boundaries.
- Future maintainers should regenerate this page whenever the source hash changes, then review the explanation if the role or structure changed.
Update Requirements
When this source file changes, update the raw source layer, normalized source layer, hash history, this rendered page, generated explanation, source-file inventory, changed-files report, and any source-section index that links to it.
Related Pages
Provenance And History
- Current observation:
2026-05-08T21:22:18.3035107Z - Source origin:
current-source-workspace - Retrieval method:
local-source-workspace - Duplicate group:
sfg-633(primary) - Historical hash records are stored in
data/hashes/source-file-history.jsonl.
Machine-Readable Metadata
{
"title": "Codex Guide",
"source_site": "spiralist.org",
"source_url": "https://spiralist.org/",
"canonical_url": "[separate-workspace-url]/spiralist/uai-system/files/agents-md-d84f2adb/",
"source_reference": "AGENTS.md",
"file_type": "md",
"content_category": "uai-system",
"content_hash": "sha256:d84f2adb9ada272006a36df1db765f28878a0daf06cfceb4d371dbe0df0abd1c",
"last_fetched": "2026-05-08T21:22:18.3035107Z",
"last_changed": "2026-05-08T21:14:18.1132394Z",
"import_status": "unchanged",
"duplicate_group_id": "sfg-633",
"duplicate_role": "primary",
"related_files": [
],
"generated_explanation": true,
"explanation_last_generated": "2026-05-08T21:22:18.3035107Z"
}