{"id":50330684,"url":"https://github.com/dominiek/promptcellar-format","last_synced_at":"2026-05-29T09:30:31.374Z","repository":{"id":354725576,"uuid":"1224906594","full_name":"dominiek/promptcellar-format","owner":"dominiek","description":"Open spec for logging AI coding prompts to a JSONL file in your repo. Vendor-neutral. JSON Schema published. plf-1.","archived":false,"fork":false,"pushed_at":"2026-05-19T21:45:23.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-20T00:56:58.977Z","etag":null,"topics":["ai-coding","developer-tools","json-schema","jsonl","llm-tools","mcp","open-standard","prompt-logging"],"latest_commit_sha":null,"homepage":"https://promptcellar.io/format","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dominiek.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-29T18:48:13.000Z","updated_at":"2026-05-19T21:45:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dominiek/promptcellar-format","commit_stats":null,"previous_names":["dominiek/promptcellar-format"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dominiek/promptcellar-format","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominiek%2Fpromptcellar-format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominiek%2Fpromptcellar-format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominiek%2Fpromptcellar-format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominiek%2Fpromptcellar-format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dominiek","download_url":"https://codeload.github.com/dominiek/promptcellar-format/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominiek%2Fpromptcellar-format/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33646418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-coding","developer-tools","json-schema","jsonl","llm-tools","mcp","open-standard","prompt-logging"],"created_at":"2026-05-29T09:30:30.565Z","updated_at":"2026-05-29T09:30:31.362Z","avatar_url":"https://github.com/dominiek.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Promptcellar Logging Format (PLF)\n\nPLF is an open, file-based standard for logging the prompts a developer sends to agentic coding tools. It captures the human signal that built a piece of software — the questions, instructions, and corrections that shaped it — so that signal can be audited, traced, and carried across tools.\n\nThis repository is the **specification and reference assets** for `plf-1`. It is not an implementation. The first implementation is [Promptcellar for Claude Code](https://github.com/dominiek/promptcellar-for-claude-code); the format is intentionally separate so any other agent (Cursor, Aider, Codex, your own) can write or read the same files without depending on Promptcellar.\n\n## What it is\n\nA PLF record is a single JSON object describing one prompt. Records are stored one per line (JSONL), one file per session:\n\n```\n.prompts/YYYY/MM/DD/\u003csession-id\u003e.jsonl\n```\n\nA minimal record:\n\n```json\n{\n  \"version\": \"plf-1\",\n  \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"session_id\": \"8f14e45f-ceea-467a-9575-d68a64236d57\",\n  \"timestamp\": \"2026-04-29T09:14:22.001Z\",\n  \"author\": { \"email\": \"jane@example.com\", \"name\": \"Jane Doe\" },\n  \"tool\": { \"name\": \"claude-code\", \"version\": \"2.4.0\" },\n  \"model\": { \"provider\": \"anthropic\", \"name\": \"claude-opus-4-7\" },\n  \"prompt\": \"add a health check endpoint at /healthz that returns 200 OK\"\n}\n```\n\nOptional fields cover git state at prompt time, outcome (files touched, commits, status), and enrichments (tokens, cost, duration). The full schema is in [`SPEC.md`](./SPEC.md); JSON Schema 2020-12 is at [`schemas/plf-1.schema.json`](./schemas/plf-1.schema.json); working samples in [`examples/`](./examples/).\n\n## Design choices\n\n- **JSONL, one file per session.** Sessions are single-writer, so two branches can never write to the same file — merge conflicts in `.prompts/` are avoided by construction.\n- **Tool- and model-agnostic.** `tool` and `model` are separate fields so any agent can emit the same format.\n- **Outcomes are summaries, not transcripts.** PLF is an audit log, not a replay log. Tools that want full traces store them elsewhere and link via record `id`.\n- **`.promptcellarignore`** lets a team declare patterns whose match excludes a prompt from capture; a stub record is written in place so the timeline isn't gappy.\n\nSee [`SPEC_VS_AGENT_TRACE.md`](./SPEC_VS_AGENT_TRACE.md) for how PLF compares to Cursor's Agent Trace and other adjacent formats.\n\n## Validating a record\n\nAny JSON Schema 2020-12 validator works:\n\n```sh\npipx run check-jsonschema --schemafile schemas/plf-1.schema.json examples/full.json\nnpx ajv-cli validate -s schemas/plf-1.schema.json -d examples/full.json\n```\n\n## Status\n\n`plf-1` is the first published version. Additive changes (new optional fields) won't bump it. Breaking changes will release as `plf-2`; both versions can coexist in the same repo because every record carries its own `version`.\n\n## License\n\nMIT — see [`LICENSE`](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdominiek%2Fpromptcellar-format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdominiek%2Fpromptcellar-format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdominiek%2Fpromptcellar-format/lists"}