Project: mediaite-ghostink Owner: John Eakin / Abstract Data LLC Last updated: 2026-04-20
This directory is the single source of truth for every prompt artifact used by agents working on this project. Prompts are version-controlled, immutable once released, and subject to the same review discipline as production code.
prompts/
README.md ← this file (library contract)
core-agent/ ← agent persona prompt
current.md ← always a copy of the latest immutable version
v0.1.0.md ← immutable snapshot
v0.1.1.md ← immutable snapshot (next release)
CHANGELOG.md ← human-readable history
versions.json ← machine-readable version index
phase1-scaffold-and-models/
current.md
v0.1.0.md
CHANGELOG.md
versions.json
phase2-scraper-discovery/
...same pattern...
Every prompt family lives in its own directory. The top-level phase*.md files are convenience aliases; the canonical versioned artifacts live inside the subdirectories.
Every versioned prompt file must begin with these fields:
# {Prompt Title}
Version: X.Y.Z
Status: active | deprecated | draft
Last Updated: YYYY-MM-DD
Model: {target model, e.g. gpt-5-3-codex, claude-opus-4-6}Prompts follow semantic versioning. The version number communicates the nature of the change:
MAJOR (X.0.0) — Breaking behavioral change
- Mission or objective fundamentally redefined
- Guardrails removed or relaxed
- Target model changed to a different family
- Output format or contract changed in incompatible ways
MINOR (0.X.0) — New capability, backward-compatible
- New sections or instructions added
- Additional guardrails or validation steps
- New CLI flags or commands referenced
- Expanded scope within the same mission
PATCH (0.0.X) — Clarification or fix, no behavioral change
- Typo or wording fix
- Reordering for clarity
- Adding examples without changing instructions
- Fixing incorrect references (file paths, command names)
- Once a
vX.Y.Z.mdfile is committed, it is never modified. Corrections require a new version. current.mdmust always be an exact copy of the latestvX.Y.Z.md. No edits tocurrent.mdthat aren't also in a versioned snapshot.CHANGELOG.mdentries are append-only. Each entry includes: version, date, model, summary of changes, and eval impact (if measured).versions.jsonis the machine-readable index. Hooks and CI can read it to validate consistency.
- Draft the new prompt content.
- Determine the version bump (major/minor/patch) per the rules above.
- Create the immutable snapshot:
prompts/{family}/vX.Y.Z.md - Copy the snapshot to
prompts/{family}/current.md(exact copy, no modifications). - Update
prompts/{family}/CHANGELOG.mdwith the new entry. - Update
prompts/{family}/versions.jsonto register the new version. - Commit all four files in a single commit.
To roll back to a previous version:
- Copy
vX.Y.Z.md(the target version) tocurrent.md. - Add a CHANGELOG entry: "Rolled back to vX.Y.Z — reason: {why}".
- Do NOT create a new version number for the rollback; just update
current.mdand the changelog.
To deprecate a prompt:
- Change the
Status:header in the latest version todeprecated. - Create a new version with
Status: deprecatedif a successor exists, or leave the latest as-is if the prompt family is being retired. - Add a CHANGELOG entry explaining the deprecation.
{
"family": "core-agent",
"current_version": "0.1.0",
"versions": [
{
"version": "0.1.0",
"date": "2026-04-20",
"status": "active",
"model": "gpt-5-3-codex",
"file": "v0.1.0.md",
"changelog_entry": "Initial prompt for forensics pipeline agent."
}
]
}Before committing any prompt change, verify:
- New
vX.Y.Z.mdfile exists with correct header fields -
current.mdis an exact copy of the new version -
CHANGELOG.mdhas a new entry with version, date, model, and summary -
versions.jsonhas the new version registered with correct metadata - Version bump follows semver rules (major/minor/patch)
- No existing
vX.Y.Z.mdfiles were modified
Phase prompts (phase1 through phase8) follow the same versioning contract as agent prompts. They define implementation specifications for each stage of the forensics pipeline build-out. Phase prompts are consumed by agents (human or AI) executing the implementation plan.
Prompt changes require the same review as code changes. The project maintainer listed in AGENTS.md is the final approver for prompt modifications.