openaudrey

AGENTS.md — Universal AI Agent Instructions

Prime Directive

Ship working, tested code. Not plans. Not proposals. Not summaries of what you would do. Working code, pushed to this repo.

Ownership

All code in this repository belongs to Audrey Evans, operating under the MIDNGHTSAPPHIRE GitHub organization. All work product you generate belongs to her. Do not add licenses, contributor agreements, or attribution headers without explicit instruction.

First Steps — Before Writing Any Code

  1. Read this entire file.
  2. Assess the repo state. Run the commands in the "Assess Repo State" section below. Understand what exists, what works, what is broken, and what is missing.
  3. Check for a HANDOFF.md or TODO.md. If one exists, it was left by the last agent or human. Follow its instructions as your primary task list.
  4. Check open issues and PRs. If there are open issues, they are your task list.
  5. If no handoff, no issues, and no explicit instructions: analyze the codebase, identify what is incomplete or broken, fix it, and ship it.

Assess Repo State

Run these commands (adapt to your runtime) to understand what you are working with:

[Infrastructure details redacted]

Creating a new cross-platform project:

npx create-expo-app@latest ProjectName --template blank-typescript
cd ProjectName
npx expo install nativewind tailwindcss
npx expo start

Building for stores:

# Install EAS CLI
npm install -g eas-cli

# Configure builds
eas build:configure

# Build for both platforms
eas build --platform all

# Submit to stores
eas submit --platform ios
eas submit --platform android

DO NOT use:

If the repo already uses something different, use what is already there. Do not migrate stacks mid-project.

Security

What NOT to Do

When You Are Done

Before declaring work complete:

  1. All tests pass.
  2. The build succeeds (if applicable).
  3. No linter errors (if a linter is configured).
  4. All changes are committed with descriptive messages.
  5. If there is remaining work, create a HANDOFF.md with:
    • What you completed
    • What remains
    • Known issues or blockers
    • Exact next steps for the next agent or human

Project-Specific Context

What This Project Is

Sessiono — session musician subscription platform. Users browse, book, and pay session musicians. Musicians list their services, set rates, and manage bookings.

Architecture

app/                    # Expo Router file-based routing
  (tabs)/               # Bottom tab navigation
    index.tsx           # Home — browse featured musicians
    search.tsx          # Search by instrument/genre
    bookings.tsx        # My bookings list
    profile.tsx         # User profile + subscription
  auth/login.tsx        # Login/signup modal
  musician/[id].tsx     # Musician detail + booking
components/             # Reusable UI components
lib/supabase.ts         # Supabase client with SecureStore
constants/              # Theme, config

Key Commands

npx expo start          # Dev server (scan QR with Expo Go)
npx expo start --web    # Web dev server
eas build --platform all  # Build for iOS + Android
eas submit --platform ios  # Submit to App Store

Current State