Repository navigation
Commit e8f37cd
authored
[TASK-396857] [Apps] Group Perfect Meetings databases for demo cleanup (#132)
## Description
#### Attribution
- Custom agent: [Neil
3000](https://app.dev.notion.com/agent/40bff68032f2477d8ce9cff62af1dc40)
- Custom agent created by: Neil Sarkar (nsarkar@makenotion.com)
- Custom agent requested by: Neil Sarkar (nsarkar@makenotion.com)
- Triggered from Slack thread: [View
thread](https://notion.enterprise.slack.com/archives/C0BL6SMEHU4/p1791501419755589)
- Notion thread: [View
thread](https://app.dev.notion.com/chat?t=3f3b35e6e67f81f08fd100a9acca102c&wfv=chat)
[written by Neil 3000]
New Perfect Meetings installations create their four databases under
**Perfect Meetings Resources**, linked from the app home. This gives
demos a single data-cleanup page while keeping existing resource IDs
stable. Existing installations need a manual database move; the custom
agent and Worker remain separate, so this is not full uninstall.
Task: [Group Perfect Meetings template resources under one cleanup
page](https://app.dev.notion.com/p/25b933ee59a54b81baa2610399756fca)
The resources page has no explanatory text, only the four child database
links. Omitting those links fails SDK provisioning because each child
database must appear exactly once in its parent page. README cleanup
guidance and the catalog copy change have been removed.
### Resource declaration
This declaration was exercised in the successful local deployment:
```ts
const resources = page({
resourceId: "perfect-meetings-resources",
properties: { title: notion.text("Perfect Meetings Resources") },
content: `<database url="meetings-db" inline="false">Meetings</database>
<database url="people-db" inline="false">People</database>
<database url="companies-db" inline="false">Companies</database>
<database url="sync-runs-db" inline="false">Workflow runs</database>`,
})
```
## Testing
- App checks, all 168 existing unit tests, and build passed on Node 26.
Catalog validation, generated agent-file checks, targeted
Markdown/format checks, and commit hooks passed.
- Deployed the revised template to an isolated local Notion workspace.
The real client shows only Meetings, People, Companies, and Workflow
runs under Perfect Meetings Resources. Fresh server reads confirm these
are the page's only four child blocks and each database has that page as
its parent.
- The stock smoke fixture was adapted temporarily for current NaC
imports and CLI arguments, with workspace deletion disabled. Deployment
completed successfully. Destructive cleanup, workflow execution, and
existing-install migration were not exercised.
### Agent QA proof (after-only)

---------
Co-authored-by: neilsarkar <83109+neilsarkar@users.noreply.github.com>1 parent b321e9e commit e8f37cd
3 files changed
Lines changed: 30 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
59 | 72 | | |
60 | 73 | | |
61 | 74 | | |
| |||
83 | 96 | | |
84 | 97 | | |
85 | 98 | | |
86 | | - | |
| 99 | + | |
87 | 100 | | |
88 | 101 | | |
89 | 102 | | |
| |||
158 | 171 | | |
159 | 172 | | |
160 | 173 | | |
161 | | - | |
| 174 | + | |
162 | 175 | | |
163 | 176 | | |
164 | 177 | | |
| |||
283 | 296 | | |
284 | 297 | | |
285 | 298 | | |
286 | | - | |
| 299 | + | |
287 | 300 | | |
288 | 301 | | |
289 | 302 | | |
| |||
0 commit comments