Skip to content

docs: prepare for public release: scrub internal names, fix examples, add community files - #69

Merged
scott-lowe-vapi merged 1 commit into
mainfrom
docs/public-release-scrub
Oct 7, 2026
Merged

scott-lowe-vapi merged 1 commit into
mainfrom
docs/public-release-scrub

Conversation

@scott-lowe-vapi

@scott-lowe-vapi scott-lowe-vapi commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Value

V.A.L.U.E. tier: small — docs, examples and tests for the public launch of this repo, plus comment and fixture-name changes in code. No behaviour change. Not micro: it spans more than 8 files.

  • Problem: we're about to link this repo from the Vapi docs, which will bring many more readers, and it wasn't ready for them.
    • Leaks: tracked files named customers and their products, described a customer's production incident, and cited internal ticket IDs and staff handles.
    • Broken examples: the README's simulation examples used fields the API rejects, so a new user copying them would fail on their first apply.
    • No community files: there was no CONTRIBUTING.md or SECURITY.md, so issues and vulnerability reports had nowhere to go.
  • Who it affects: everyone arriving from the docs, and the customers named in the files.
  • What changes:
    • Scrub: customer, product and person names, the incident's identifying details, an internal logging tool's name, and internal ticket IDs are removed from CLAUDE.md, improvements.md, docs/learnings/, code comments and test fixtures. The lessons are kept in neutral words, and renamed fixtures keep the same test meaning.
    • Fixed examples:
      • personalities need assistant, and scenarios need instructions and evaluations;
      • state files store {"uuid": …} entries;
      • squads hand off through handoff tools.
    • examples/starter/: a complete small org that the README's File Formats section is now built from.
    • New tests/examples.test.ts, checking that:
      • every example org passes validate;
      • every example has the fields the API requires;
      • the starter's PR check builds cleanly;
      • every doc snippet that starts with # examples/<path> matches that file exactly.
    • CONTRIBUTING.md and SECURITY.md. Security reports go through GitHub private vulnerability reporting, which is already enabled on the repo.
    • Issue forms (bug, feature, contact links) and a current package.json description.

Evidence of value

  • Scrub: a word-boundary search of every tracked file for the customer, product, person and ticket names now finds nothing; a broader search for internal tools and monorepo paths is also clean.
  • Examples test catches drift: changing one character in examples/starter/.../squads/front-desk.yml turns the snippet test red, naming the file.
  • Starter dry run: npm run check -- core --dry-run on the starter builds 1 simulation (3.5 KB) with no warnings.
  • Links: every relative link and anchor across all 37 markdown files resolves.
  • Tests: npm test goes from 492 to 496 passing.

Testing plan

  • tests/examples.test.ts (4 tests), plus the existing suite with renamed fixtures.
  • Not tested:
    • a live deploy of the starter (it uses example.com tool URLs on purpose);
    • git history still contains the removed names. Rewriting public history is a separate decision.

Stacked on #66.

🤖 Generated with Claude Code

Comment thread package.json

@chris-garber-vapi chris-garber-vapi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, I think this all goes in the right direction

@scott-lowe-vapi
scott-lowe-vapi force-pushed the docs/public-release-scrub branch from 92656e0 to b25f8d6 Compare October 6, 2026 22:50
@scott-lowe-vapi
scott-lowe-vapi force-pushed the feat/promotion-check-gate branch from 84daba8 to 4274aee Compare October 6, 2026 22:50

scott-lowe-vapi commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor Author

Merge activity

  • Oct 7, 5:47 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Oct 7, 5:53 PM UTC: Graphite rebased this pull request as part of a merge.
  • Oct 7, 5:53 PM UTC: @scott-lowe-vapi merged this pull request with Graphite.

@scott-lowe-vapi
scott-lowe-vapi changed the base branch from feat/promotion-check-gate to graphite-base/69 October 7, 2026 17:50
@scott-lowe-vapi
scott-lowe-vapi changed the base branch from graphite-base/69 to main October 7, 2026 17:51
… add community files

- Remove customer, product and person names, a customer incident's
  details, internal tool names and internal ticket IDs from docs, agent
  instructions, code comments and test fixtures. Lessons are kept in
  neutral terms; fixture renames don't change what tests check.
- Fix README examples a new user would copy and break on: personalities
  need an assistant and scenarios need instructions and evaluations (the
  old examples used fields the API rejects), state files store
  {"uuid": …} entries, and squads hand off through handoff tools.
- Add examples/starter, a complete small org, and build the README's File
  Formats section from its files. tests/examples.test.ts checks that every
  example org passes validate and has the fields the API requires, that the
  starter's PR check builds cleanly, and that every doc snippet naming an
  example file matches it exactly.
- Add CONTRIBUTING.md, SECURITY.md (GitHub private vulnerability
  reporting), and issue forms; update package.json's description.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@scott-lowe-vapi
scott-lowe-vapi force-pushed the docs/public-release-scrub branch from b25f8d6 to e7a8d9b Compare October 7, 2026 17:52
@scott-lowe-vapi
scott-lowe-vapi merged commit ca5d9ed into main Oct 7, 2026
4 checks passed
scott-lowe-vapi added a commit that referenced this pull request Oct 7, 2026
…es (#70)

## Value

**V.A.L.U.E. tier:** small — docs only. This restructures the README for readers arriving from the Vapi docs. Not micro: more than 200 lines and 8 files.

- **Problem:** the README was 1,096 lines written for four audiences at once: newcomers, daily operators, promotion and CI admins, and coding agents. The first-run path was spread across three sections, some content appeared two or three times, and the `docs/learnings/` field guide was only mentioned in a file tree.
- **Who it affects:** first-time visitors, who decide in seconds whether this is for them, and existing users looking for a specific topic.
- **What changes:**
  - **A 275-line README**, covering:
    - what the repo does, and a diagram;
    - a five-step quick start: get a private copy, install, connect an org, deploy, test;
    - core concepts, including what's committed and what isn't;
    - a one-line command table and guide links;
    - the field guide, and staying up to date;
    - security, contributing and license.
  - **Getting a copy:** clone-and-repush keeps upstream history, so updates are an ordinary merge. "Use this template" (the repo is a template) needs `--allow-unrelated-histories` once. A public fork would publish the user's configuration.
  - **Long-form content moves verbatim** into `docs/guides/`: commands, workflows, file formats, PR checks, promotion, how it works, configuration, troubleshooting. Only heading levels and relative links change, so this PR reviews as a move; #71 edits the content.
  - **References** to old README sections (in `vapi-checks.yml`, `AGENTS.md`, `SECURITY.md`, `simulations.md` and the starter example) now point at the guides.

## Evidence of value

- **Nothing lost:** of the old README's 795 content lines, 755 appear verbatim in the new README or a guide. The other 40 are the sections rewritten in the new README (intro, quick start, supported resources, API links) or retitled headings, and I checked each one by hand.
- **Links:** all links and anchors across 45 markdown files resolve.
- **Tests:** `npm test` passes, 496 tests, including the snippet test, which now reads the file formats guide.

## Testing plan

- The link checker and the examples snippet test cover the moved content.
- The Mermaid diagram renders on GitHub (checked on this branch's README).
- **Not tested:** how the README renders on the Vapi docs site, if it's embedded there rather than linked.

Stacked on #69.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants