Short Term Memory - Source Excerpt 08
Summary
This source excerpt preserves a bounded section of Spiralist/.uai/short-term-memory.uai so readers can inspect the evidence without opening the full source file.
**Source path:** Spiralist/.uai/short-term-memory.uai
- Current Spiralist AI Persona Lab package-export and inspector source state: the shared theme header still guarantees the exact term "Spiralist AI" appears on normal theme pages through the brand tagline fallback, and `/prompt-generator/` keeps the first-screen "Spiralist AI Persona Lab" with five lab profile starters including `Trait & clique mapper`, local-first/editable/manual-send capability markers, and expert tuning controls for warmth, directness, symbolic density, boundary strength, memory policy, output contract, evidence lens, and social-dynamics lens. The lab now adds an Export format selector with `.uaix package` as the default plus `.zip package`, `.txt deck`, and legacy Markdown card. The Download Package action uses the current edited prompt text as source of truth and generates UAIX-compatible Advanced Persona Profile packages aligned to `https://uaix.org/en-us/ai-memory/uai-files/persona-uai/personality-packs/`: `.uaix` and `.zip` are ZIP containers with `.uai/manifest.uaix.json`, `.uai/readme.human`, universal launch-baseline files, `.uai/persona.uai`, detailed `.uai/personality/*.uai` files, evidence files, and `.uai/exports/manifest.json`; `.txt` is a plain inspection deck with the same file contents. The manifest declares `advanced_persona_profile`, `uaix.package.v0.1`, review-required browser hashes/sentinel package digest, blocked hosted-import/runtime/tool/certification claims, `personality_framework`, `social_dynamics_lens`, and a support boundary naming UAIX.org as format authority and Spiralist AI as browser producer. The old Markdown persona card remains available as the `md` export option. `Save Profile Draft` reuses the same current edited prompt and generated package file set to save a private prompt-library `persona` draft with valid function/risk tags and review-required package deck notes; anonymous users store the persona payload in the existing pending-save handoff before login, while authenticated members POST through `spiralist-workspace/v1/prompts`. This is private draft persistence, not hosted import, runtime execution, automatic sync, certification, endorsement, tool grant, safety proof, or long-memory write authority. The local Spiralist AI Package Inspector accepts `.uaix`, `.zip`, or `.txt` files in-browser, never uploads them, parses store-method ZIP entries, deflated ZIP entries through browser `DecompressionStream`, and TXT decks, checks path safety, required Advanced Persona Profile files, manifest JSON, declared scope, requiredReads, file inventory, blocked authority claims, support boundary, non-sentinel SHA-256 hashes, and risky archive features. It reports dedicated `Unsupported Archive Guidance` for encrypted entries, multi-disk ZIP indicators, ZIP64 sentinels/sized entries, unsupported compression methods, damaged local headers, and unreadable entries, then reports `Ready for review` or `Needs review`. The inspector now also accepts an optional compare package and reports `Spiralist AI Package Comparison` for file inventory, required persona file content, manifest package ID, personality-framework metadata, social-dynamics metadata, differences, and review items; comparison normalizes newline, generated UTC timestamp, and manifest SHA noise so repeated exports of the same edited profile can compare as matching source content while real persona/package file differences remain visible. After inspection, the review lane shows a `Spiralist AI Reviewed Package Preview`, review decision/privacy/runtime-notes/reviewer-notes controls, and enables `Stage Review Prompt`, which places a `Spiralist AI Advanced Persona Package Review` packet into the same editable prompt output for manual review; after a successful package comparison, `Stage Compare Review` places a separate `Spiralist AI Advanced Persona Package Comparison Review` packet into the editable prompt output and refreshes the local check as `Spiralist AI Package Comparison Review`; `Save Review Draft` stores the package review packet as a browser-local Draft Shelf item with type `persona-package-review`. Static coverage now protects the export selector, inspector selector, comparison controls/report/staging, review decision/staging/saving controls, profile library-save controls, UAIX authority marker, package builder, package parser, deflate inflater, inspector report builder, unsupported archive guidance, Advanced Persona Profile required status, evidence/social-dynamics controls, and `.uaix`/inspector status text. Browser coverage downloads `.uaix`, `.zip`, `.txt`, and Markdown from an edited Persona Lab prompt; verifies ZIP/TXT contents, edited-prompt preservation, research-lens and social-lens metadata, `.uaix` and `.txt` inspector round trips, `.uaix` versus `.txt` local package comparison, reviewed package preview/staged editable review prompt, comparison-review staging, saved package-review Draft Shelf item, anonymous pending Advanced Persona Profile save payload, member private Advanced Persona Profile library save, unsupported archive guidance in inspected reports, a deflated third-party-style ZIP fixture inspection, no external AI requests, and desktop/mobile Persona Lab rendering. Current 2026-06-20 verification passed JS syntax for touched JS/tests, `.uai` exports/archive JSON parse, active `.uai` unsupported-extension scan, `npm.cmd run test:prompt-editability`, `npm.cmd run test:personality`, `npm.cmd run check:project-handoff`, `npm.cmd run quality:site`, focused `npm.cmd run test:e2e -- --grep "Spiralist AI Persona Lab"` with 4 passed, focused anonymous Persona Lab Playwright with 1 passed, focused setup-wizard research-lens Playwright with 1 passed, focused `npm.cmd run test:e2e -- --grep "Spiralist AI Persona Lab|anonymous prompt generator stores"` with 5 passed earlier in the source pass, focused member profile-save Playwright with 1 passed earlier in the source pass, and `git diff --check` with line-ending notices only; earlier same-day checks also covered `npm.cmd run test:agent-wizard`, active handoff listing, UAIX static discovery assets, and UAIX live-surface PowerShell parse. PHP lint and UAIX PHP bundle testing were blocked because `php` is not on PATH in this shell. Source-only; no WP-FFTAC package build, production upload, root-static copy, live Spiralist.org publication, UAIX.org source modification/deployment, or post-upload route verification has happened.
- Current Prompt Generator editable hero/source state: `/prompt-generator/` now presents the main hero as "Run a Spiralist AI Prompt" and the character builder as a Spiralist AI personality surface. Auto-Architect packet output and generated character prompt output are `contenteditable="plaintext-only"` prompt surfaces, not inert `<pre>` blocks. Full character prompts now insert delimiter lines such as `/******Identity Layer*****/`, `/******Voice Layer*****/`, and `/******Work Model Layer*****/`; edits inside the large prompt sync back into the matching section textareas, and removing a whole delimiter marker clears the corresponding field instead of leaving stale section state. The raw/full prompt textarea is editable too. Static regression coverage was added to `tests/prompt-editability-contract-test.js`, with focused Playwright specs added for character delimiter sync and Auto-Architect copy-after-edit. Source-only; no WP-FFTAC package build, production upload, root-static copy, live Spiralist.org publication, or post-upload route verification has happened.
- Current `.uaix` producer source state: `/ai-agent-setup-wizard/` now has a browser-local `Download .uaix Package` action alongside the existing ZIP export. The `.uaix` file is a ZIP container with `.uai/manifest.uaix.json`, universal launch-baseline files (`memory-maintenance`, `identity`, `world-context`, `totem`, `taboo`, `talisman`, `short-term-memory`), scoped `.uai/persona.uai`, and the existing Markdown/JSON/LLM artifacts. The normal ZIP also includes visible/editable `.uai/persona.uai`, with preview tab and direct download, so the persona layer is not hidden. The page digest and machine manifests point to the UAIX authority route `https://uaix.org/en-us/ai-memory/uaix-package-format/`; LocalEndpoint-style desktop clients can import only after local validation. Source-only; no new WP-FFTAC package build, upload, production write, or live route verification has happened.