Thanks for helping improve AutoRescue. This guide captures the workflow, quality checks, and review expectations to keep changes consistent.
- Familiarize yourself with
README.md,OVERVIEW.md, andauto-rescue-usecase.mdto understand the scenario narrative. - Align proposed work with the existing agents, flows, and docs structure; add new long-form references under
docs/using lowercase kebab-case filenames. - Keep secrets and customer data out of the repository; store temporary tokens in
.env.local, which is gitignored.
- Install Node.js 18+ and run
npm install. - Copy the redacted environment template to
.env.localand populate sandbox credentials. - Use the scripts in
README.mdto reproduce the scenario you are changing; log any manual integrations exercised. - Run relevant verification commands before opening a pull request:
jq . airia-web-apis.json npx @redocly/cli lint airia-web-apis.json npx markdownlint-cli2 auto-rescue-usecase.md AGENTS.md - Capture additional linters or test scripts you run in the pull request summary so reviewers can follow along.
- Record test cases in Markdown tables (input, expected outcome, side-effects) and link them from
auto-rescue-usecase.md. - Update the changelog near the top of
auto-rescue-usecase.mdwhenever you modify the scenario narrative. - When adjusting the OpenAPI contract (
airia-web-apis.json), add or refresh samplecurlor SDK snippets proving the revised contract.
- Stick to the existing coding style; add succinct comments only when the intent is not obvious.
- Keep JSON two-space indented with alphabetized properties inside schema objects and clear explanations for enum values.
- Name new agents, flows, and endpoint docs with lowercase kebab-case filenames.
- Follow Conventional Commits (for example
feat: add webhook retry guard) with subjects under 72 characters written in the imperative mood. - Group related changes into logical commits and request review from teammates covering the affected surface area (API, orchestration narrative, outreach playbooks).
- In pull request descriptions, note the business incident or ticket addressed, attach screenshots for diagram updates, and list verification steps (including
jq,redocly, and manual callouts).