You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: scope resource directories by environment (dev/stg/prod)
RESOURCES_DIR now resolves to resources/<env>/ so push/pull only
operate on the active environment's files. Fixes a pull.ts bug
where hardcoded paths broke locally-changed-file detection.
Copy file name to clipboardExpand all lines: .cursor/rules/changelog-updates.mdc
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,15 @@
1
1
---
2
-
description: Require changelog updates for significant config changes
2
+
description: Require changelog updates for significant config changes in customer deployments
3
3
alwaysApply: true
4
4
---
5
5
6
6
# Changelog Update Requirement
7
7
8
-
When making significant configuration changes, update `docs/changelog.md` in the same change.
8
+
This rule applies to **customer deployment clones** of the gitops repo, not the root template repo itself.
9
+
10
+
**How to tell the difference:** If `docs/changelog.md` still contains the placeholder section header `## YYYY-MM-DD`, this is the unmodified template and you should NOT update the changelog. Once that placeholder has been replaced with real dated entries, this is a customer deployment and the rule below applies.
11
+
12
+
When making significant configuration changes in a customer deployment, update `docs/changelog.md` in the same change.
Copy file name to clipboardExpand all lines: AGENTS.md
+29-25Lines changed: 29 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,24 +6,26 @@ This project manages **Vapi voice agent configurations** as code. All resources
6
6
7
7
**Prompt quality:** Whenever you create a new assistant or change an existing assistant’s system prompt, read **`docs/Vapi Prompt Optimization Guide.md`** first. It goes deeper on structure, voice constraints, tool usage, and evaluation than the summary in this file.
8
8
9
+
**Environment-scoped resources:** Resources live in `resources/<env>/` (e.g. `resources/dev/`, `resources/prod/`). Each environment directory is isolated — `push:dev` only touches `resources/dev/`, `push:prod` only touches `resources/prod/`. See **`docs/environment-scoped-resources.md`** for the full promotion workflow and rationale.
Use this file to track meaningful configuration changes to assistants, tools, squads, and related resources.
3
+
Track meaningful configuration changes to assistants, tools, squads, and related resources here.
4
+
5
+
This is a **template file**. When you clone this repo for a customer project, replace the example section below with real entries to start tracking changes specific to that deployment.
4
6
5
7
## How To Use
6
8
7
9
- Add a new dated section at the top for each meaningful change set.
8
10
- Include what changed, why it changed, and expected impact.
9
11
- Group entries by resource type when possible.
12
+
- Remove the `YYYY-MM-DD` example section once you add your first real entry.
10
13
11
14
---
12
15
13
16
## YYYY-MM-DD
14
17
15
18
### Added
16
-
-[assistants] Added `resources/assistants/example-agent.md` for new intake flow.
19
+
-[assistants] Added `resources/<env>/assistants/example-agent.md` for new intake flow.
17
20
18
21
### Changed
19
-
-[tools] Updated `resources/tools/example-tool.yml` parameters to include `reasonCode`.
-[assistants] Corrected prompt guardrails in `resources/assistants/example-agent.md`.
26
+
-[assistants] Corrected prompt guardrails in `resources/<env>/assistants/example-agent.md`.
24
27
25
28
### Notes
26
29
- Follow-up action or migration notes (if any).
27
-
28
-
---
29
-
30
-
## 2026-03-25
31
-
32
-
### Added
33
-
-[testing] Added `scripts/mock-vapi-webhook-server.ts` to receive and inspect webhook events locally.
34
-
-[tooling] Added `npm run mock:webhook` for quickly running the local webhook receiver.
35
-
36
-
### Changed
37
-
-[docs] Updated `AGENTS.md` mock-server guidance to include core `serverMessages` event types (`speech-update`, `status-update`, `end-of-call-report`) and `ngrok` tunnel usage for local callback testing.
38
-
39
-
### Notes
40
-
- The mock server includes `GET /health`, `GET /events`, and `POST /webhook` routes.
41
-
-`tool-calls` requests receive a basic mocked `results` response to keep test flows unblocked.
0 commit comments