Skip to content

Commit 3437b6e

Browse files
authored
[JCLEM-12] Warn agents before using the Workflows template (#109)
## Description #### Attribution - Custom agent: [Clem 3000](agent://415fc269-e68f-4da0-b3e3-b1273b741a7f/3e2b35e6-e67f-8010-b001-009293c9d64c) - Custom agent created by: Jonathan Clem (jclem@makenotion.com) - Custom agent requested by: Jonathan Clem (jclem@makenotion.com) - Triggered from Notion page: [View page](https://app.dev.notion.com/p/3e5b35e6e67f80428152fbffb22f4904) - Notion thread: [View thread](https://app.dev.notion.com/chat?t=3e5b35e6e67f8175ab7600a90e4a292a&wfv=chat) The Workflows template now says up front that the private alpha has no waitlist and requires existing access. Its agent instructions tell agents to warn users verbally, confirm access, and stop if access is missing. The template instructions are synced from their canonical source. ## How was this change tested? - [x] Automated test (unit, integration, etc.): Agent-file sync check, Markdown lint, and Prettier format check passed. - [ ] Manual test (provide reproducible testing steps below) ## Is this feature gated? (Optional) - [x] Yes: Workflows private alpha access is required. - [ ] No
1 parent d51e185 commit 3437b6e

3 files changed

Lines changed: 23 additions & 2 deletions

File tree

‎workers/agents/instructions/workflow/INSTRUCTIONS.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Workflow template guidance
22

3+
## Private alpha: confirm access before proceeding
4+
5+
Workflows are in an early, closed private alpha with no waitlist. This template
6+
will not work unless the user already has access to the alpha. Before using or
7+
changing this template for a user, verbally warn them about this limit and ask
8+
them to confirm that they are in the Workflows alpha. Do not proceed until they
9+
confirm. If they do not have access, explain that there is no waitlist and do
10+
not use this template.
11+
312
## Project structure
413

514
- `src/workflows/` contains Workflow definitions.

‎workers/templates/workflows/workflow/.agents/INSTRUCTIONS.md‎

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎workers/templates/workflows/workflow/README.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22

33
> [!WARNING]
44
>
5-
> Workflows are an early alpha feature. The SDK can make breaking changes.
5+
> Workflows are in an early, closed private alpha with no waitlist. This
6+
> template will not work unless you already have access to the alpha. If you
7+
> do not have access, do not use this template. The SDK can make breaking
8+
> changes.
69
710
This template starts a Worker that runs durable automation steps after a
811
configured trigger fires. The included `sayHello` Workflow runs on a recurring
912
schedule.
1013

1114
## Prerequisites
1215

13-
- Access to the Workflows alpha.
16+
- Existing access to the Workflows private alpha (there is no waitlist).
1417
- Node.js 22 or newer and npm 10.9.2 or newer.
1518
- The Notion CLI.
1619

0 commit comments

Comments
 (0)