Agent session bootstrap prompt claude memory copy
Operator-issued 2026-05-18. BINDING. Bootstrap for every agent session in this workspace. Load BEFORE any action.
STOP AND LOAD BOUNDARIES FIRST¶
Before any action, classify the lane.
5 LANES¶
| # | Lane | Owns | Forbidden as scratch |
|---|---|---|---|
| 1 | ContextControl.ai | SaaS product. Runtime/product work only. | Not scratch space. Do not mutate unless explicitly authorized for ContextControl.ai. |
| 2 | Bluefly.io | Revenue/brand site. Runtime/product work only. | Not scratch space. Never write audits, logs, receipts, or temp files into the repo. Never use bluefly.io/var/ for agent work. |
| 3 | BLU / Gas City / BluTown | Agent factory + orchestration layer. Owns evidence, ledgers, handoffs, receipts, runbooks, indexes, operational memory. | All agent-generated operational output belongs under BluTown/bus. |
| 4 | OpenStandardAgents / OSSA | Required agent contract for identity, validation, curation, export. | Missing OSSA manifest → OSSA_GAP. |
| 5 | DUADP | Required discovery / marketplace / federation surface. | Missing DUADP surface (when relevant) → DUADP_GAP. |
ABSOLUTE STORAGE RULE¶
BluTown/bus is the ONLY sink for agent-generated:
- evidence
- audit output
- receipts
- handoffs
- ledgers
- runbooks
- indexes
- operational session artifacts
Allowed storage roots (12)¶
<operator-workspace>/BluTown/bus/events/evidence/
<operator-workspace>/BluTown/bus/events/sessions/
<operator-workspace>/BluTown/bus/events/gascity/
<operator-workspace>/BluTown/bus/events/agentic-platform/
<operator-workspace>/BluTown/bus/events/adrs/
<operator-workspace>/BluTown/bus/events/continual-learning/
<operator-workspace>/BluTown/bus/ledgers/
<operator-workspace>/BluTown/bus/ledgers/handoffs/
<operator-workspace>/BluTown/bus/ledgers/repo-entropy-audits/
<operator-workspace>/BluTown/bus/ledgers/runbooks/
<operator-workspace>/BluTown/bus/ledgers/indexes/
<operator-workspace>/BluTown/bus/ledgers/git-recovery/
Forbidden storage¶
Never write agent output to:
- PROJECTS/bluefly.io/var/
- PROJECTS/ContextControl.ai/var/
- any product-repo var/
- /tmp as durable evidence
- web/
- vendor/
- config/sync/ unless explicitly authorized
- recipes/ unless explicitly authorized
- any project-local scratch path
If a command would redirect to product-repo var/, STOP and rewrite the output path to BluTown/bus.
Canonical output pattern¶
BUS="<operator-workspace>/BluTown/bus"
TS="$(date -u +%Y%m%dT%H%M%SZ)"
EVIDENCE="$BUS/events/evidence/<lane>-$TS"
LEDGER="$BUS/ledgers/<appropriate-ledger>"
HANDOFF="$BUS/ledgers/handoffs/<lane>-$TS.md"
mkdir -p "$EVIDENCE" "$LEDGER" "$BUS/ledgers/handoffs"
# all generated evidence under $EVIDENCE, $LEDGER, or $HANDOFF — NEVER product repo var/
DO NOT MIX LANES¶
Before execution, output a BOUNDARY_CHECK:
LAYER:
ACTIVE_LANE:
TARGET_PROJECT:
TARGET_PATH:
MUTATION_ALLOWED:
AUTHORIZED_FILES:
FORBIDDEN_SURFACES:
EXISTING_ASSETS_TO_USE:
OSSA_MANIFEST_REQUIRED:
DUADP_REQUIRED:
RECEIPT_OR_LEDGER_REQUIRED:
EVIDENCE_PATH:
SAFE_TO_MUTATE:
ACTION:
If any field is ambiguous, STOP.
Required failure responses¶
- Wrong lane:
WRONG_LANE - Missing OSSA manifest:
OSSA_GAP - Missing DUADP surface:
DUADP_GAP - Missing command capability:
COMMAND_GAP - Missing rig registration:
RIG_GAP - Missing formula:
FORMULA_GAP - Mutation requested without authorization:
AUTHORIZATION_REQUIRED - Evidence path points outside BluTown/bus:
STORAGE_VIOLATION
Default mode¶
Read-only unless explicitly authorized.
No Composer, DDEV, Drush, npm, op, 1Password, kubectl, branch, commit, recipe edit, config import/export, or product mutation unless the active packet explicitly authorizes it.
Final rule¶
Build durable systems.
Do not create half-finished artifacts without indexing them in BluTown/bus.
Do not create new surfaces when an existing bus / ledger / receipt / handoff / formula / order / rig / OSSA manifest / DUADP surface already exists.
Use what exists first.
Cross-references¶
- Lane-control detail (4-product ownership + 10 global rules + priority order): [[feedback_bluefly_lane_control_standing_instruction]]
- Window-2 charter (cognition adapter vs compiler authoring): [[feedback_window2-operating-charter]]
- BluTown governance-only zones: [[feedback_bluetown-governance-only]]
- No new Drupal modules — extend canonical only: [[feedback_no-new-drupal-modules]]
- Enforcement-mode operating posture: [[feedback_enforcement_mode]]
- Secrets and op-env canonical path: [[feedback_secrets_op_env]]
- Window-2 sessions do not author compiler/runtime/authority source: [[feedback_window2-no-compiler-authoring]]
Operational ledger sibling¶
This same contract is mirrored at BluTown/bus/ledgers/runbooks/agent-session-bootstrap-prompt.md so the workspace itself carries the contract independently of Claude auto-memory.