Skip to content

feat(build-notes): draft workflow builds in hidden, agent-only build notes - #10193

Open
myxamediyar wants to merge 9 commits into
stagingfrom
feat/build-notes
Open

myxamediyar wants to merge 9 commits into
stagingfrom
feat/build-notes

Conversation

@myxamediyar

@myxamediyar myxamediyar commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • New build-notes feature flag (off by default; global and per-organization rollout)
  • Chat drafts a workflow build in build-notes/<workflowId>.md before it changes the graph; Sim keeps the sanitized graph of its last build beside it in build-notes/<workflowId>.baseline.json
  • New workflow_build_notes table owns both files (owned-file context build_notes): never listed in Files, reachable only by Copilot (people and API keys get not found), archived and restored with the workflow, never copied by duplicate, fork or export
  • build_notes Copilot service: create, status, evaluate (dry-runs the notes' operations block and lists open <<open:…>> placeholders, [gather]/[ask] items, skipped operations, input errors, and lint the batch adds), apply (builds from the evaluated block, atomically), changes (redacted diff since the baseline, ignoring layout), rebase
  • On a workflow with notes, a Copilot operations apply must be the evaluated batch, from notes unchanged since evaluation, on a graph unchanged since the baseline (credential switches included, through salted hashes of withheld values); the check holds under the workflow lock, where the build spends the evaluation, and the baseline moves to exactly what the build committed. A Copilot state replace is refused. A person's edit (editor or API) is never refused; it shows up in changes
  • The chat inventory marks workflows with notes, and whether they were saved since the baseline
  • Migration 0473 adds workflow_build_notes and lets the file ownership functions admit the build_notes context (reconcile-file-ownership replays them for push-provisioned databases)
  • listWorkflowLintFindings lets evaluation compare a batch's lint with the saved graph's

Type of Change

  • New feature

Testing

  • lib/build-notes/build-notes.integration.ts (19 checks, real Postgres): hidden files and person access, baseline write refusal, evaluation and its parser, exact-batch builds, edited-notes refusal, a person's edit and its reconciliation, lint the batch adds vs. lint already in the graph, content-gate refusal, refused replace, credential switches, folder restore, flag off, archive and restore with file history, archive/build lock order, stale verdicts and baselines, first-baseline races. Disabling the agent-only access check, the apply guard, the archive lock order, the baseline's evaluation withdrawal and the attach-once rule turns their checks red
  • lib/build-notes/agent-path.integration.ts: the whole loop through sim_cli as Chat sends it (24 calls: workflows create, build-notes create/evaluate/apply/status/changes/rebase, files read/edit), with a JSON transcript in test-results/build-notes-agent.json. It caught two bugs fixed here: the template's own example placeholder blocked every evaluation, and lint from a person's unfinished edit blocked the agent's builds
  • bun run test (3777 files pass), bun run lint, bun run type-check, bun run check:audits, bun run check:migrations origin/staging, block registry check, drizzle-kit generate (no drift)

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 24, 2026 7:59pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] The changes affect Copilot workflow-building and the storage paths for its private notes.

The code needs the required folder barrels and exported-helper documentation before merging; no new blocking runtime failure was established.

Findings

  1. P1 Approved builds can save partially ▶
  2. P2 Required folder barrels are missing ▶
  3. P2 Exported helpers lack required TSDoc ▶
  4. P2 Required shared exports are missing ▶
  5. P2 Exported helpers lack required documentation ▶

Summary

Adds hidden, agent-only workflow build notes behind the build-notes flag.

  • Copilot can draft and evaluate workflow builds in hidden notes.
  • Copilot builds from notes only when the batch and workflow still match.
  • Build notes stay hidden and follow their workflow.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  Draft[Copilot edits notes] --> Evaluate[Evaluate operations and open items]
  Evaluate --> Approval[Record notes and batch hashes]
  Approval --> Guard[Check notes and baseline]
  Guard --> Lock[Lock workflow and spend approval]
  Lock --> Save[Commit graph]
  Save --> Baseline[Save committed baseline]
  Person[Person edits workflow] --> Reconcile[Compare and reconcile notes]
  Reconcile --> Rebase[Rebase and evaluate again]
Loading

Reviews (10) · Last reviewed commit: "chore(build-notes): merge staging" · Reviewed by Greptile

Comment thread apps/sim/lib/build-notes/guard.ts Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 48 files

This PR changes authentication, authorization, or input validation. Ultrareviews find 2.4x more serious bugs than standard reviews. Comment @cubic-dev-ai ultrareview to run one.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/lib/workflows/lifecycle.ts Resolved
Comment thread apps/sim/lib/build-notes/guard.ts Resolved
Comment thread apps/sim/lib/build-notes/baseline.ts Resolved
Comment thread apps/sim/lib/build-notes/files.ts Resolved
Comment thread apps/sim/lib/workflows/editing/lint.ts Resolved
Comment thread apps/sim/lib/build-notes/notes.ts Resolved
@myxamediyar

Copy link
Copy Markdown
Contributor Author

@greptile

@myxamediyar

Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@myxamediyar I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 48 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/lib/build-notes/guard.ts Resolved
Comment thread apps/sim/lib/build-notes/baseline.ts Resolved
@myxamediyar

Copy link
Copy Markdown
Contributor Author

@greptile

@myxamediyar

Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@myxamediyar I have started the AI code review. It will take a few minutes to complete.

Comment thread apps/sim/lib/build-notes/guard.ts Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 50 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/lib/build-notes/content.ts Resolved
Comment thread apps/sim/lib/build-notes/baseline.ts Resolved
Comment thread apps/sim/lib/build-notes/guard.ts Resolved
Comment thread apps/sim/lib/build-notes/guard.ts Resolved
@myxamediyar

Copy link
Copy Markdown
Contributor Author

@greptile

@myxamediyar

Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@myxamediyar I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

1 issue found across 50 files

Confidence score: 4/5

  • In apps/sim/lib/build-notes/content.ts, notes can be written with notes.baselineFileId null, leaving an incomplete row that can be evaluated without a baseline. Reject the write and direct callers to run build-notes rebase first.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="apps/sim/lib/build-notes/content.ts">

<violation number="1" location="apps/sim/lib/build-notes/content.ts:21">
P2: A notes write is accepted while `notes.baselineFileId` is null. Refuse it and direct the caller to run `build-notes rebase` before editing notes, so an incomplete notes row cannot be evaluated without a baseline.

(Based on your team's feedback about requiring a baseline before guarded writes.)</violation>
</file>

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/lib/build-notes/content.ts Resolved
Comment thread apps/sim/lib/build-notes/files.ts Resolved
Comment thread apps/sim/lib/build-notes/repository.ts Resolved
Comment thread apps/sim/lib/build-notes/files.ts Resolved
@myxamediyar

Copy link
Copy Markdown
Contributor Author

@greptile

@myxamediyar

Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@myxamediyar I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 50 files

You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/lib/build-notes/files.ts Resolved
@myxamediyar

Copy link
Copy Markdown
Contributor Author

@greptile

@myxamediyar

Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@myxamediyar I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 50 files

You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/lib/build-notes/files.ts Resolved
…notes

Behind the build-notes feature flag, Chat drafts a workflow build in
build-notes/<workflowId>.md before it changes the graph, and Sim keeps the
sanitized graph of its last build beside it as build-notes/<workflowId>.baseline.json.

- workflow_build_notes owns both files; they never appear in Files and only
  Copilot reaches them
- build_notes service: create, status, evaluate (dry-run of the notes' operations
  block plus open placeholders and items), apply, changes, rebase
- a Copilot apply or state replace on a workflow with notes must be the evaluated
  batch, from unchanged notes, on a graph unchanged since the baseline; a person's
  edit is never refused and shows up in changes
- evaluation holds a build only for lint its batch adds
- archive and restore carry the notes; the file ownership functions admit the
  build_notes context
…ghten review findings

- spend the evaluation and re-check the baseline inside the write transaction;
  notes writes spend it too, so a build racing a notes edit is refused
- record the baseline from the build's own commit (afterWrite hook)
- refuse a Copilot whole-graph replace on a workflow with notes, and a build
  with no baseline
- detect credential switches through salted hashes of withheld values
- compare lint findings by block id, as counts
- restore build notes with a restored folder; skip the archive step on a schema
  that predates the table
- read the baseline in one snapshot, refuse oversize baselines, anchor the
  operations fence, accept any list marker for open items
…s monotonic

- archive the workflow rows, then build-notes files, then notes rows: the order
  builds (workflow, notes) and notes writes (file, notes) already take
- record a baseline only if it is not older than the recorded one, rolling back
  its file write otherwise
- a failing evaluation withdraws an earlier pass
- refuse NUL bytes in notes; hash cleared block data values too
…nt builds and archives

- record a passing evaluation only while its baseline is still the recorded one
- create notes and baseline files under a shared lock on the live workflow row
- hand build-notes files to the workspace when their creator's account goes
@myxamediyar

Copy link
Copy Markdown
Contributor Author

@greptile

@myxamediyar

Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@myxamediyar I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 50 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.

Turn on auto-fix | Re-trigger cubic

@myxamediyar

Copy link
Copy Markdown
Contributor Author

@greptile

@myxamediyar

Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@myxamediyar I have started the AI code review. It will take a few minutes to complete.

@myxamediyar

Copy link
Copy Markdown
Contributor Author

@greptile

@myxamediyar

Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@myxamediyar I have started the AI code review. It will take a few minutes to complete.

Comment on lines +223 to +231
const buildNotes = input.dryRun
? null
: await assertBuildNotesAllowWrite({
principal,
workflowId: context.workflowId,
workspaceId: context.workspaceId,
workspaceOrganizationId: context.workspaceOrganizationId,
batch: { operations: input.operations, blockEnabledChanges: input.blockEnabledChanges },
})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Approved builds can save partially

After evaluation passes, a credential can be deleted or the caller can lose access without changing the workflow graph. Ordinary Copilot workflows operations apply still passes the new guard for that batch. Then preValidateCredentialInputs removes the credential, and the default atomic: false lets the incomplete graph save and become the baseline.

Require atomic writes whenever buildNotes is present, not only in applyBuildNotes.

Comment on lines +4 to +19
import {
type BaselineGraph,
type BaselineSnapshot,
diffFromBaseline,
loadCurrentBaselineState,
parseBaseline,
} from '@/lib/build-notes/baseline'
import { isBuildNotesEnabled } from '@/lib/build-notes/feature-flag'
import { readBaselineText, readBuildNotesFileText, writeBaseline } from '@/lib/build-notes/files'
import { type BuildNotesBatch, batchHash, notesHash } from '@/lib/build-notes/notes'
import { buildNotesPath } from '@/lib/build-notes/paths'
import {
type BuildNotesRow,
getLiveBuildNotesForWorkflow,
spendBuildNotesEvaluation,
} from '@/lib/build-notes/repository'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Required shared exports are missing

The new build-notes folder has more than three exports but no index.ts, and these imports read its individual modules. The import guide requires folders with three or more exports to provide a barrel and callers to use it. The same pattern appears in application/build-notes.ts.

Add the required barrel and update these imports before merging.

Context Used: Import patterns for the Sim application (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Comment on lines +11 to +16
export function buildNotesFileName(workflowId: string, file: BuildNotesFile): string {
return `${workflowId}${file === 'notes' ? NOTES_SUFFIX : BASELINE_SUFFIX}`
}

export function buildNotesPath(workflowId: string, file: BuildNotesFile): string {
return `${BUILD_NOTES_PREFIX}${buildNotesFileName(workflowId, file)}`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Exported helpers lack required documentation

The new buildNotesFileName and buildNotesPath exports have no TSDoc. notesHash is another example. The repository requires TSDoc on exported APIs, so add short comments describing these helpers’ contracts before merging.

Context Used: CLAUDE.md (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Comment on lines +4 to +8
import {
diffFromBaseline,
loadCurrentBaselineState,
parseBaseline,
} from '@/lib/build-notes/baseline'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Required folder barrels are missing

The new build-notes and build-notes/application folders each expose more than three exports but have no index.ts. Callers import their individual files instead. The repository requires a barrel when a folder has three or more exports. Add the barrels and update these imports before merging.

Context Used: Import patterns for the Sim application (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

})
}

export function serializeBaseline(baseline: BaselineGraph): string {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Exported helpers lack required TSDoc

New public helpers such as serializeBaseline and parseBaseline have no TSDoc. The same pattern appears on readBuildNotes and buildNotesFileName. The repository requires TSDoc on exported APIs. Document what these helpers accept, return, and reject before merging.

Context Used: CLAUDE.md (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

2 issues found across 50 files

Confidence score: 3/5

  • apply-workflow-operations.ts can let a matching apply with atomic: false save a partial graph as the new baseline after unavailable credentials are removed. Require atomic writes for this path.
  • replace-workflow-state.ts can report a successful dry run that the committed write will reject because dry runs skip the build-notes guard. Run the guard during dry runs or update the contract.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="apps/sim/lib/workflows/application/replace-workflow-state.ts">

<violation number="1" location="apps/sim/lib/workflows/application/replace-workflow-state.ts:143">
P3: The dry run skips the build-notes guard, so Copilot gets a success preview for a replace the committed write will refuse. The dryRun contract says the two responses match. Run the guard for dry runs too, or document the exception.</violation>
</file>

<file name="apps/sim/lib/workflows/application/apply-workflow-operations.ts">

<violation number="1" location="apps/sim/lib/workflows/application/apply-workflow-operations.ts:230">
P2: A matching `workflows operations apply` can pass this guard with `atomic: false`; credential prevalidation can then remove unavailable credentials while saving a partial graph as the new baseline. Require atomic writes whenever `buildNotes` is present.</violation>
</file>

You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.

Turn on auto-fix | Re-trigger cubic

Comment on lines +230 to +231
batch: { operations: input.operations, blockEnabledChanges: input.blockEnabledChanges },
})

@cubic-dev-ai cubic-dev-ai Bot Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2: A matching workflows operations apply can pass this guard with atomic: false; credential prevalidation can then remove unavailable credentials while saving a partial graph as the new baseline. Require atomic writes whenever buildNotes is present.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At apps/sim/lib/workflows/application/apply-workflow-operations.ts, line 230:

<comment>A matching `workflows operations apply` can pass this guard with `atomic: false`; credential prevalidation can then remove unavailable credentials while saving a partial graph as the new baseline. Require atomic writes whenever `buildNotes` is present.</comment>

<file context>
@@ -214,6 +220,15 @@ export const applyWorkflowOperations = defineAuthorizedWorkflowUseCase({
+          workflowId: context.workflowId,
+          workspaceId: context.workspaceId,
+          workspaceOrganizationId: context.workspaceOrganizationId,
+          batch: { operations: input.operations, blockEnabledChanges: input.blockEnabledChanges },
+        })
 
</file context>
Suggested change
batch: { operations: input.operations, blockEnabledChanges: input.blockEnabledChanges },
})
batch: { operations: input.operations, blockEnabledChanges: input.blockEnabledChanges },
})
if (buildNotes && !input.atomic) {
throw new OrchestrationError('validation', 'Build-notes writes must be atomic')
}
Fix with cubic

Comment on lines +143 to +150
if (!input.dryRun) {
await assertBuildNotesAllowWrite({
principal,
workflowId: context.workflowId,
workspaceId: context.workspaceId,
workspaceOrganizationId: context.workspaceOrganizationId,
})
}

@cubic-dev-ai cubic-dev-ai Bot Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P3: The dry run skips the build-notes guard, so Copilot gets a success preview for a replace the committed write will refuse. The dryRun contract says the two responses match. Run the guard for dry runs too, or document the exception.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At apps/sim/lib/workflows/application/replace-workflow-state.ts, line 143:

<comment>The dry run skips the build-notes guard, so Copilot gets a success preview for a replace the committed write will refuse. The dryRun contract says the two responses match. Run the guard for dry runs too, or document the exception.</comment>

<file context>
@@ -138,6 +139,15 @@ export const replaceWorkflowState = defineAuthorizedWorkflowUseCase({
   async execute({ principal, input, context }): Promise<ReplaceWorkflowStateResult> {
     await requireMutableWorkflow(context.workflowId)
+    // Refuses Copilot outright on a workflow with build notes: a replace has no evaluated batch.
+    if (!input.dryRun) {
+      await assertBuildNotesAllowWrite({
+        principal,
</file context>
Suggested change
if (!input.dryRun) {
await assertBuildNotesAllowWrite({
principal,
workflowId: context.workflowId,
workspaceId: context.workspaceId,
workspaceOrganizationId: context.workspaceOrganizationId,
})
}
await assertBuildNotesAllowWrite({
principal,
workflowId: context.workflowId,
workspaceId: context.workspaceId,
workspaceOrganizationId: context.workspaceOrganizationId,
})
Fix with cubic

This branch was successfully deployed

1 active deployment
Preview — a4041f67 Deployed Nov 24, 2026 by vercel[bot]
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