diff --git a/apps/sim/content/changelog/edition-2026-11-30/production.md b/apps/sim/content/changelog/edition-2026-11-30/production.md new file mode 100644 index 00000000000..bb2b47d5f5b --- /dev/null +++ b/apps/sim/content/changelog/edition-2026-11-30/production.md @@ -0,0 +1,94 @@ +# Apply, test, and deploy in one CLI command + +Status: editorial draft. Availability and media require review before an article is added. + +## Editorial selection + +Story type: improvement + +The CLI apply-test-deploy loop (#10440 and #10450) is the strongest user-facing story: it lets developers apply source, dry-run the saved draft, and deploy only when the run passes, all in one command, with file:line failure mapping. This is a complete, observable workflow capability that changes how agents and developers iterate. Chat people-directory lookup (#10451) is a valid supporting note since all three PRs share the v0.9.67 release tag. Security hardening (#10494/#10496/#10498/#10501) has no required user action. The v2 API alias fix (#10472) is a compatibility restore. Realtime caps, host fixes, and CLI output polish are maintenance. + +## Proposed article + +Sim's CLI applies workflow source, dry-runs the saved draft with your input, and deploys only when the run completes — in a single command. + +`sim workflows source apply --yes --run '' --deploy` applies your source, dry-runs the saved draft with that input, and deploys only when the run completes. A failed run exits 1, maps the failing block to its file and line, and deploys nothing — the output names the same command as the next step. Drop `--deploy` to keep the change as a draft. + +The same pattern works across workspaces: `sim workspaces source apply --yes --run =''` tests each named workflow after the apply and gates deployment on every run completing. Repeat `--run` to test several workflows in one call. See the [coding agents guide](https://docs.sim.ai/workflows/code/coding-agents) and the [workspace guide](https://docs.sim.ai/workflows/code/workspace) for the full loop. + +### Also in v0.9.67 + +- Chat looks up people in your organization directory and filters workspace searches by the person involved. + +## Editorial review + +- Removed 'now' and 'can now' from summary, supporting note, social, and email per automatic-draft policy — human review establishes rollout timing. +- Simplified workspace deployment gating explanation: removed internal details about live: 'draft' source convention and second-pass write mechanism; described only the user-visible behavior (deployment gated on run completion). +- People-directory lookup (#10451) enforces the People feature flag and organization.member_directory capability per PR evidence; asked owner to confirm whether this requires a specific plan or manual enablement so the supporting note can include the access requirement if needed. +- The get-by-name improvement (part of #10440: `get` now accepts an exact name, not just an id) is not highlighted because it is a minor convenience alongside the larger apply+run+deploy story. +- All four links verified against verifiedLinks array. Body contains two contextual docs links (coding agents guide, workspace guide). + +## Source evidence + +- `sim workflows source apply --yes --run '' --deploy` applies source, dry-runs the saved draft, and deploys only if the run completed; a failed run exits 1, maps the failing block to file:line, and deploys nothing. — simstudioai/sim#10440 +- `sim workspaces source apply --run =''` gates deployment: deployments are written in a second pass only after every named run completed. — simstudioai/sim#10450 +- Chat gained a people-directory lookup and a person filter (involving) for workspace searches in the organization assistant; the People feature flag and organization member_directory capability are enforced. — simstudioai/sim#10451 + +- https://github.com/simstudioai/sim/pull/10440 +- https://github.com/simstudioai/sim/pull/10450 +- https://github.com/simstudioai/sim/pull/10451 + +## Availability and open questions + +- [ ] Owner review: is the apply+run+deploy loop available to all CLI users in v0.9.67, or gated behind a flag or plan? +- [ ] Owner review: does the Chat people-directory lookup (#10451) require the People feature flag or a specific organization plan before it appears? The PR enforces the People feature flag and organization.member_directory capability. +- [ ] Media: can we capture a clean terminal recording of `sim workflows source apply --yes --run … --deploy` showing the dry-run result and deployment confirmation, including a failed-run take with file:line output? + +## Links checked during drafting + +- [Coding agents guide](https://docs.sim.ai/workflows/code/coding-agents) +- [Workspace guide](https://docs.sim.ai/workflows/code/workspace) +- [CLI workflows reference](https://docs.sim.ai/cli/workflows) +- [Exit codes](https://docs.sim.ai/workflows/code/exit-codes) + +## Media production + +Format: video · 30 seconds +Subject: Terminal running sim workflows source apply --yes --run … --deploy +Starting state: Terminal open in a workflow directory with source files visible, command typed and ready +Action: Command executes: source is applied, dry-run completes with a one-line summary, deployment is confirmed +Visible result: Terminal shows deployment confirmation with a live URL; output ends with next line +Poster: The deployment confirmation line with the live URL visible alongside the one-line summary at the top +Framing: Full-width terminal at readable font size (minimum 390px wide); no personal credentials or real API keys visible; sample workflow with placeholder input JSON +Demonstration limits: Capture against a real Sim workspace using the actual CLI on v0.9.67; verify the dry-run result and deployment URL are genuine; do not fabricate output lines or imply a placeholder key was accepted; confirm --run and --deploy flags are accepted before recording + +Record a 25–30 second terminal session showing the apply-test-deploy loop. Start with a workflow directory ready. Run `sim workflows source apply --yes --run '{"input":"test"}' --deploy`, showing the one-line summary, dry-run result, and deployment confirmation with a live URL. Optionally show a second take where the run fails and the CLI prints a file:line error with no deployment. Use a sample-data workspace, readable font size at 390px minimum, and no visible credentials or real API keys. + +1. Terminal at rest in a workflow directory, command ready to enter +2. Full command entered: `sim workflows source apply --yes --run '{"input":"test"}' --deploy` +3. Output scrolling: one-line summary, dry-run result, then deployment confirmation with live URL +4. (Optional second clip) Failed run: file:line error, exit 1, no deployment line + +Suggested alt text: Terminal output of sim workflows source apply with --run and --deploy flags, showing a one-line summary, dry-run result, and deployment confirmation with a live webhook URL. + +- [ ] Independently verify the feature and rollout; record evidence and limitations. +- [ ] Review a product capture, verified diagram, or original editorial illustration; retain capture or generation provenance. +- [ ] Choose the final image or video poster; verify it reads clearly at 390px. Candidate assets are not approved media. +- [ ] Add optimized versioned media, captions if spoken, and index.mdx with draft: true. +- [ ] Verify the final media on desktop and mobile and run the content audit. +- [ ] Feature owner confirms availability; editor approves copy and links. +- [ ] After the approved site deployment, verify article, media, RSS and sitemap before marking published. + +## Announcement drafts + +**Social** + +Sim's CLI applies, tests, and deploys in one command. `sim workflows source apply --yes --run '' --deploy` dry-runs your draft and deploys only if it passes — with file:line error mapping when it doesn't. + +**Email** + +Sim's CLI applies workflow source, tests the saved draft, and deploys in a single command. `sim workflows source apply --yes --run '' --deploy` dry-runs the draft with your input and deploys only when the run completes. A failed run exits 1, maps the error to file and line, and deploys nothing. The same pattern works across whole workspaces with `sim workspaces source apply --run`. See the workspace guide and coding agents guide for the full loop. + +Final canonical URL is assigned when the reviewed article slug is chosen. Do not distribute these drafts before publication. + +Editorial contract: apps/sim/content/changelog/README.md and editorial-standard.md. This brief is public repository content; keep private operational evidence in Sim.