Short navigation label: File Handoff.
Agent File Handoff is an inbox for AI project handoff, with a strict trust boundary. Project Handoff tells the next AI what the project is. Agent File Handoff tells the next AI what new loose files arrived since the last handoff. The standard phrase is: Visible, reviewed, dispositioned, outcome recorded.
- Continue to Project HandoffBuild the durable AGENTS.md, .uai/readme.human, and .uai bundle.
- Copy AGENTS.md intake blockRequire chat-start active-bucket review.
- Copy .uai/file-handoff.uai templateStart a repository-local policy record.
- View AGENTS.md .uai linking specRead loader syntax and trust background.
- View UAI-1Use the public exchange envelope when intake must travel.
- View Roadmap support boundaryCheck future generator, validator, SDK, CLI, and certification status.
AGENTS.md-triggered local file intake
Agent File Handoff gives a repository a small, auditable intake lane for loose files supplied by humans, other AI systems, exports, and adjacent tools. At chat start, the next AI directly enumerates active drop buckets, reviews every pending file, and states a disposition plus processed outcome before broad planning or edits.
The startup check creates or verifies active drop buckets and classifies misplaced root files before direct active-bucket review.
A dropped file is not part of handoff until it is visible in active intake, reviewed by the next AI, given a disposition, assigned a processed outcome, and then promoted or preserved with evidence.
Why dropped files disappear during AI handoff
Real project work arrives as screenshots, PDFs, notes, exports, ZIPs, drafts, audits, issue lists, spreadsheets, and files produced by adjacent tools. A normal handoff reads AGENTS.md, but loose files can still disappear in plain sight.
- A file can be present in the repository but invisible if the active buckets are not part of the handoff loading behavior.
- A file can be visible in a bucket but still ignored if the next agent does not inspect it and say what should happen next.
- Agent File Handoff fixes visibility, disposition, and outcome evidence.
The mental model
- DropHuman, AI, export, or tool places a file into an active bucket.
- ReviewThe AGENTS.md loader enumerates
Content/andImprovement/directly and opens every non-placeholder active file. - DispositionThe AI summarizes risk, target surface, and proposed action.
- OutcomeThe AI records whether the file was incorporated, rejected with reason, preserved to durable memory, or kept active with reason as an unfinished human-hold or blocker.
- Promote or PreserveUseful content moves through normal review; handled source files are preserved in the configured durable-memory evidence path and removed from source-site intake.
Prompt-coupled intake
Intake is not only a startup snapshot. If the newest prompt names agent-file-handoff/, Content/, Improvement/, a dropped file, missed processing, or work likely related to active drops, enumerate the live active buckets again before unrelated implementation. For each safe file, record how it relates to the current task. Related files must shape actual work, not only memory routing.
Complete intake outcome
A safe relevant intake file is not complete when it is merely summarized, copied into memory, or moved aside. A complete intake outcome includes live bucket scan evidence, reviewed summary and disposition, processed outcome, hot-memory update or explicit no-change reason, durable-memory preservation when configured or explicit not configured, actual project work completed, checks or blockers, and a pointer summary when long memory is used.
Processed outcome must be one of incorporated, rejected-with-reason, preserved-to-durable-memory, or kept-active-with-reason. The kept-active value is an unfinished human-hold or blocker state, not a completed intake state. Memory distribution without project work is a File Handoff failure. Workless deferral of a safe relevant report is also a failure. Broad, strategic, or future-facing reports should still yield a current useful slice: a page update, guide correction, test, roadmap or progress entry, issue/evidence record, code change, package metadata update, or another accepted system surface. Use defer with reason only when no safe actionable slice can be promoted now; the disposition value is defer-with-reason.
Intake completion gate
A .uai refresh, memory reorganization, wizard update, or handoff setup is incomplete while any active Content/, Improvement/, or misplaced root intake file lacks live bucket scan evidence, recorded disposition, processed outcome, and proof-of-use evidence. Completion requires the active-bucket scan, one disposition-ledger entry per file, one processed outcome per file, accepted work or durable blocker, hot-memory update, durable-memory preservation when configured, pointer summary when long memory is used, checks or blockers, and source-site removal before completion; retained files are unfinished human-hold or blocker states.
This is not
- Not a public upload system.
- Not a validator.
- Not a certificate.
- Not an SDK.
- Not a daemon, watcher, queue, cron loop, or background service.
- Not a trust engine.
- Not a reason to execute dropped code.
- Not a public sitemap or media library.
- Not automatic publication.
- Not a substitute for human review.
- Not an official
.uaigenerator. - Not a replacement for UAI-1 message exchange.
Directory contract
agent-file-handoff/
Content/
candidate-article.md
source-notes.pdf
Improvement/
audit-report.md
ux-feedback.txt
.uai/
file-handoff.uai
AGENTS.md| Path | Meaning |
|---|---|
agent-file-handoff/Content/ |
Source material, drafts, screenshots, exports, or content candidates expected to be used in part or in full after review. Content files are not passive references, background to ignore, or material to merely summarize. |
agent-file-handoff/Improvement/ |
Feedback, audits, fixes, strategy, QA findings, SEO reports, bug notes, or suggested changes. Files in Improvement are instructions by default unless current human instruction, higher authority, source authority, or support boundaries prevent the work. |
configured durable-memory target |
Durable-memory evidence target for processed originals, checksums, manifests, transfer evidence, and source-site removal status. This may be local /docs, .uai/archives, LLM Wiki, AIWikis, JSON manifests, knowledge graphs, or a hybrid path. It is provenance, not active intake or public truth. |
.uai/file-handoff.uai |
Durable local explanation of the intake policy, bucket meaning, durable-memory preservation behavior, blocked extensions, and first-response duty. |
AGENTS.md |
The loader instruction that requires direct active-bucket enumeration, file review, and disposition before broad work. |
Content intake
Drop source material, drafts, screenshots, exports, or content candidates into agent-file-handoff/Content/ for reviewed intake. Anything dropped in this folder is expected to be used in part or in full after review. Files are not passive references, background to ignore, or material to merely summarize; they are intake materials for immediate incorporation into the relevant work.
For site content, intake is not considered successful unless the dropped content is used on the site immediately, either in full or as an incorporated source for revised page content, copy, assets, structure, or implementation. If content cannot be used immediately, record the reason clearly and use as much of the material as is safe, supported, and appropriate.
The folder contents are the intake index; do not create or rely on a hand-maintained intake-index file. Record dispositions in .uai/intake-outcome-ledger.uai or an equivalent durable .uai proof-of-use record. After a file has a recorded disposition and configured durable-memory evidence exists, remove the source-site copy before claiming completion.
Improvement intake
Drop suggestions, fixes, audit notes, review packets, or proposed changes into agent-file-handoff/Improvement/ for reviewed intake. Files in this folder are instructions by default. Treat them as actionable work items unless a current human instruction, higher-authority constraint, source-authority issue, or support boundary clearly prevents doing so.
Do not merely summarize or index them. Review each file in depth, determine the requested or implied changes, and perform the suggested work immediately when it is safe and appropriate. Code changes, documentation updates, configuration edits, tests, audits, and other concrete implementation work are expected when suggested by the intake material. When an item cannot be completed, record why and complete as much of the safe, supported work as possible.
The folder contents are the intake index; do not create or rely on a hand-maintained intake-index file. Record dispositions in .uai/intake-outcome-ledger.uai or an equivalent durable .uai proof-of-use record. After a file has a recorded disposition and configured durable-memory evidence exists, remove the source-site copy before claiming completion.
Archive as duplicate
When configured durable-memory storage already exists, a source-site agent-file-handoff/Archive/ folder is duplicate memory. Preserve processed originals in the configured durable-memory evidence path with checksums, manifests, disposition, actor, timestamp, and transfer evidence, then remove the source-site copy before claiming completion.
Digest, preserve, and remove source-site copies
The complete lifecycle is digest, disposition, configured durable-memory preservation, and source-site removal before completion. Retained non-placeholder files are unfinished human-hold or blocker states. Digest means the AI reads the active file, summarizes it, records risk and target surface, and captures the useful information into the right public page, code change, roadmap, progress note, decision, issue, or rejection reason. Preservation means the original source file is saved to the configured durable-memory evidence path with checksum, manifest, disposition, actor, timestamp, and transfer evidence so routine AI intake stops treating it as fresh work.
If an LLM Wiki implementation such as AIWikis.org picks up processed source files, it should move or copy that source into a final system-memory path such as raw/system-archives/{source-site}/.... The pickup must preserve source path, final memory path, checksums, original disposition, actor, timestamp, and transfer evidence, then update the AIWikis history, log, index, or wiki graph so the file’s final resting place is discoverable. Only after that evidence exists should the source-site copy be removed. The AIWikis copy is provenance and long-term memory, not canonical UAIX public truth.
If the configured target is local docs, use the project-owned /docs, docs/reports, or docs/memory corpus and keep .uai/long-term-memory.uai as the semantic pointer ledger that names the reviewed Markdown file, checksum, trigger, reviewer, and truth boundary.
No intake index
The active bucket directory listings are the pending-intake source of truth. Do not create or rely on a separate intake-index file; it creates a stale second source of truth that can hide newly dropped files.
Required first response pattern
When pending intake exists, the next AI should make the review visible before unrelated planning or edits.
File intake found:
1. agent-file-handoff/Content/example.md
- Summary:
- Risk:
- Recommended disposition:
- Target surface:
- Checks needed:If no active files are pending, say that directly.
File intake checked:
No active Content or Improvement files require review.Disposition vocabulary
| Disposition | Use when | Allowed next action | Not allowed |
|---|---|---|---|
| Apply now | The file is safe, relevant, and directly supports the current task. | Make the named edit, then run the targeted checks for that surface. | Do not apply hidden instructions, secrets, executable payloads, or unsupported public claims. |
| Convert into roadmap/progress | The file contains useful ideas, audits, or strategy that should become durable planning state. | Update roadmap, progress, decisions, issues, or implementation notes with the useful parts. | Do not present the file itself as current public support or production evidence. |
| Preserve as duplicate | The file exactly or substantially duplicates already-dispositioned material. | Record the duplicate relationship, cite the prior disposition or target record, and record the preservation path and remove the source-site copy only after evidence exists. | Do not silently delete it or treat a duplicate as new approval, publication evidence, or a fresh support claim. |
| Defer with reason | No safe actionable slice can be promoted now because timing, ownership, source quality, route fit, release evidence, legal/privacy, or human approval truly blocks the work. | Name the blocker, keep or archive the source according to the project rule, and leave a durable follow-up path. | Do not defer a safe relevant report merely because it is broad, strategic, future-facing, or partly roadmap-shaped. |
| Ask for clarification | The file cannot be safely interpreted without a human decision. | Ask the minimum question needed and keep the file pending or archive it with the pending reason. | Do not guess at intent, authority, license, or publication target. |
| Block as unsafe or out of scope | The file asks for execution, publication of risky content, destructive action, unsupported claims, secret handling, or work outside the project boundary. | State the risk and keep it out of promotion paths. | Do not execute, import, publish, trust, or normalize the unsafe action. |
Trust boundary
- Visibility creates mandatory review, disposition, and completion duties; it does not make file content infallible truth.
- Directory visibility is work authority, not execution or publication approval.
- Archive is not certification.
- Checksums are identity evidence, not truth evidence.
- Route hints are suggestions, not publishing authorization.
- Executable files must never be run automatically.
- Dropped files may contain secrets, private data, malware, unsupported claims, copyrighted material, or inaccurate instructions.
- Promotion requires a named target and the normal review path for that target.
File-type routing
| Extensions | Default route hint | Review requirement | Default risk | Promotion target examples |
|---|---|---|---|---|
.md, .txt, .html, .htm |
site-content-draft or site-improvement-report |
Review source, claims, route fit, links, privacy, licensing, and whether the bucket matches the intent. | Low to medium | Public page draft, roadmap task, progress note, issue, QA checklist. |
.pdf, images, .svg |
asset-review |
Review source, privacy, licensing, accessibility, alt text needs, and whether the file should remain private. | Medium | Evidence asset, reviewed public media, accessibility note, design bug. |
.csv, .tsv, .json, .yaml, .yml |
data-context-review |
Review schema, provenance, sensitive fields, route target, and compatibility with canonical records. | Medium | .uai context, machine artifact draft, fixture, implementation evidence. |
.zip |
package-review |
Preflight before extraction: size, file count, unpacked size, path traversal, allowed paths, and executable payloads. | High | Release artifact, dogfood package, source bundle after package checks. |
.docx, .pptx, .xlsx |
document-review |
Review document source, privacy, conversion quality, embedded media, and whether text should be extracted manually. | Medium | Converted draft, stakeholder note, roadmap evidence, reviewed appendix. |
.js, .ts, .css, .py, .cs, .go, .rs, .java |
source-review |
Review only. Treat as proposal or patch input unless normal code-review and test paths apply. | High | Issue, patch plan, reviewed code change after explicit implementation work. |
.exe, .msi, .bat, .cmd, .ps1, .sh, .php, .phar |
blocked-local-review |
Block automatic execution. Summarize risk only when safe to inspect as text or metadata. | Blocked | Human security review only; no automatic promotion. |
Copyable AGENTS.md intake block
## File Intake
At the start of every broad AI work session:
Intake is the lifeblood of the system. A file in intake is an unfulfilled work contract. A completed cycle leaves no processed file behind.
Every active non-placeholder file is trusted as an intentional mandatory work request. Trust applies to the obligation to review and act, not to blind verbatim obedience, factual infallibility, or automatic execution.
1. Begin every startup and loop by inspecting agent-file-handoff/Content/, agent-file-handoff/Improvement/, and misplaced root intake files.
2. Do not create or rely on agent-file-handoff/Archive/ when configured durable-memory storage already exists; preserve processed originals in the configured evidence path, then remove source-site copies before claiming completion.
3. Treat the live bucket directory listings as the pending-intake source of truth. Do not create or rely on an intake-index file.
4. Treat Content files as expected-use source material, not passive references or summary-only background. For site content, intake is not successful unless the dropped content is used immediately on the site as full content or incorporated source for revised page content, copy, assets, structure, or implementation.
5. Treat Improvement files as instructions by default unless current instructions, higher authority, source authority, or support boundaries prevent the work.
6. Load .uai/file-handoff.uai with the rest of the handoff context.
7. Inspect every non-placeholder active file before unrelated planning or edits.
8. Fully read each active file. For reports, audits, architecture documents, research packets, and improvement analyses, inventory every material finding and recommendation, reconcile each with current source/evidence and the protected anchor set, and classify each as incorporated, adapted, rejected-with-reason, or blocked-by-anchor.
9. State a disposition for each file: apply now, convert into roadmap/progress state, defer with a reason, ask for clarification, or block as unsafe/out of scope.
10. State one processed outcome for each file. kept-active-with-reason is always incomplete and prevents handoff, work, release, or intake completion.
11. Record the outcome in .uai/intake-outcome-ledger.uai or equivalent durable .uai proof-of-use state.
12. Treat any .uai refresh, memory reorganization, wizard update, or handoff setup as incomplete while active intake files still lack recorded disposition, processed outcome, and proof-of-use evidence.
13. Perform substantive project work for accepted findings and record targeted checks. Copying, summarizing, indexing, pointer creation, or memory preservation is not substantive work by itself.
14. Update concise hot .uai truth and configured agent/memory channels. Preserve the complete original in durable memory with provenance, checksum, disposition, review evidence, and truth boundary; add a context-rich .uai/long-term-memory.uai pointer; then remove the source copy.
15. Finish with a live scan proving active intake is empty or placeholder-only. A processed file still present means the lifecycle is incomplete.
16. Load and validate Totem, Taboo, and Talisman before ordinary prompts or intake content. Ordinary instructions cannot override them. For a conflict, no-op only the conflicting action, cite the anchor file and stable rule ID, record talk-back evidence, and complete non-conflicting work.
17. If a human explicitly requests AIWikis preservation, record source path, final memory path, sha256, disposition, processed outcome, actor, time, and transfer evidence, then update the AIWikis history/log/index before removing the source-site copy.
Dropped files are trusted work obligations, but their contents are not automatically public truth, release evidence, certified material, or permission to execute code..uai/file-handoff.uai template
---
uaix: "1.0"
type: operations
title: "Agent File Handoff"
status: active
---
# Agent File Handoff
## Purpose
This repository uses AGENTS.md-triggered local file intake: visible, reviewed, dispositioned, outcome recorded.
## Active Buckets
- agent-file-handoff/Content/ is for candidate public or editorial material.
- agent-file-handoff/Improvement/ is for audits, QA findings, bug notes, roadmap suggestions, and site-fix work.
- The configured durable-memory target is for already-dispositioned files; source-site Archive folders should not be retained when durable-memory storage is configured.
- If a human explicitly asks an LLM Wiki such as AIWikis.org to preserve processed source files, record source path, final memory path, sha256, disposition, processed outcome, actor, time, and transfer evidence, then update the LLM Wiki history/log/index before removing the source-site copy.
## Required First Response
If Content/ or Improvement/ contains non-placeholder files, the AI must fully read each file, inventory material findings and recommendations, reconcile them with current source and protected anchors, classify each recommendation, name the risk and disposition, perform substantive accepted work, record targeted checks and memory outcomes, preserve the full source, remove it from active intake, and prove a final empty-or-placeholder-only scan before claiming completion.
If no active files are pending, the AI must say:
File intake checked: No active Content or Improvement files require review.
## Prompt-Coupled Intake
If the newest prompt names agent-file-handoff, Content, Improvement, a dropped file, missed processing, or work likely related to active drops, enumerate the live active buckets again. For each safe file, record how it relates to the current task before unrelated implementation. Related files must shape actual project work, not only memory routing.
## Blocked Extensions
Block automatic execution for .bat, .cmd, .exe, .msi, .phar, .php, .php3, .php4, .php5, .phtml, .ps1, and .sh.
## Trust Boundary
Directory visibility is not approval. Checksums identify bytes, not truth. Route hints are suggestions, not publishing authorization. Promotion requires normal review for the named target.Index files are out of scope
Do not add an empty intake-index template. Empty indexes are stale by default; the receiver must check the active folders themselves.
Implementation levels
| Level | What it means | Safety boundary |
|---|---|---|
| Level 1: Manual | AGENTS.md tells the AI to inspect Content/ and Improvement/ folders at chat start. No script required. |
The AI still summarizes and dispositions every active file before broad work. |
| Level 2: Evidence ledger | After direct review, a durable ledger records disposition, work completed, checks, blockers, and source-site removal. | The ledger records reviewed outcomes only. It is not a pending-file index. |
| Level 3: Release-integrated | Disposition can update roadmap, progress, release notes, public copy, or implementation work after normal review. | Still no automatic publication. Release/package checks run only when the target requires them. |
| Production deployment memory sorting | A production deployment build or release package also updates hot handoff memory and routes bulky source/background material to a named cold-memory path when configured. | Not a dev/test build step. Do not run it for ordinary local builds, tests, package experiments, or smoke checks unless the human marks the build release-bound. |
Good workflow and bad workflow
Good workflow
- Drop
audit-report.mdintoImprovement/. - Start a new AI session.
AGENTS.mdrequires the intake check.- The AI summarizes the file and recommends converting findings into roadmap tasks.
- The human approves the target change.
- The AI updates roadmap/progress and runs targeted checks.
- The source file is preserved in the configured durable-memory target and removed from source-site intake.
- If the human later asks AIWikis to preserve durable-memory evidence, AIWikis records source path, final path, checksum, disposition, actor, time, transfer evidence, and history/log/index entries before source-site copy removal or archive cleanup.
Bad workflow
- Drop
fix.phpintoContent/. - The AI executes it automatically.
- The AI publishes claims from it.
- The AI leaves it active forever.
- The AI marks a broad but safe report as deferred, removes it, and reports only memory distribution with no project work.
- The AI silently removes source files after copying them somewhere else without transfer evidence or history.
This is unsafe because an intake file can contain executable code, secrets, private data, malware, unsupported claims, or instructions that conflict with project constraints. Workless deferral loses user intent, and silent source removal loses the chain of custody.
Relationship to adjacent UAIX concepts
| Comparison | Difference |
|---|---|
| Agent File Handoff vs Project Handoff | Project Handoff is the durable project context bundle. Agent File Handoff is the active loose-file intake lane. |
| Agent File Handoff vs AI Memory | AI Memory carries portable context between systems. Agent File Handoff handles repository-local files that arrived outside the chat. |
| Agent File Handoff vs UAI-1 | UAI-1 is the exchange envelope. Agent File Handoff is local repository intake. If an intake event needs to be exchanged, represent it with existing UAI-1 message shapes. |
| Agent File Handoff vs RAG | RAG retrieves from indexed content. Agent File Handoff decides whether dropped files should become trusted project knowledge or stay untrusted/preservation-only. |
| Agent File Handoff vs AIWikis preservation memory | Agent File Handoff decides and retires source files in the project. AIWikis preservation memory preserves already-dispositioned source files with transfer evidence and history after explicit consolidation. |
Publication and verification boundary
- Current support: UAIX dogfoods AGENTS.md-triggered local file intake with active
Content/andImprovement/buckets, direct bucket enumeration, required review/disposition, complete intake outcomes for safe relevant files, source-site removal handling, and explicit AIWikis archive-memory consolidation guidance. - Release memory rule: production deployment builds and release packages should include hot/cold memory sorting, but ordinary dev/test/local builds should not.
- Not current: this is not a hosted upload service, official
.uaigenerator, hosted validator, SDK, CLI, certification program, endorsement service, watcher, daemon, background queue, or new UAI-1 profile. - Local only: dropped files and preserved source records are source-only project-state artifacts until useful parts are promoted through normal review.
- Long-memory rule: AIWikis pickup is an explicit cross-site memory workflow, not routine UAIX intake and not a source-site Archive resting place. It requires transfer evidence and AIWikis history/log/index updates and does not make AIWikis canonical for UAIX.org or UAI-1.
- Public-site rule: private intake files, preserved source records, raw drops, local secrets, and upload payloads do not belong in public sitemap, discovery, or WordPress upload packages unless deliberately rewritten as public content.
- Checks: ordinary edits run targeted checks for changed files, routes, records, or behaviors. Full package builds, publish-output refreshes, launch sweeps, locale audits, performance audits, and smoke tests belong to release-scoped work, package changes, broad launch-surface changes, or explicit human requests.
Related records
- Continue to Project HandoffRoot AGENTS.md, .uai/readme.human, and .uai project-context pattern.
- Copy AGENTS.md intake blockRequire visible, reviewed, dispositioned intake behavior.
- Copy .uai/file-handoff.uai templateStart the local policy file for active buckets and durable-memory preservation behavior.
- View AGENTS.md .uai Linking SpecificationLink syntax, loader behavior, and typed-file background.
- View UAIX Agents ProtocolDogfood WordPress package that exports active intake scaffolding.
- View UAI-1Public message and evidence envelope for cross-system exchange.
- View Roadmap support boundaryFuture generator, validator, SDK, CLI, certification, and endorsement status.
- View ChangelogDated public-surface trail.