Skip to content

feat(env): promote, rollback and built-ins repair commands, the promote hint, ai init environments guidance - #86

Merged
Domantas merged 10 commits into
mainfrom
feat/promotion-phase2
Oct 20, 2026
Merged

Domantas merged 10 commits into
mainfrom
feat/promotion-phase2

Conversation

@Domantas

Copy link
Copy Markdown
Contributor

norbix env promote --from TEST --to PROD (preview by default, --yes to run, --seed/--skip/--map, --confirm-record-loss), norbix env rollback --to PROD --version N, norbix env built-ins repair. Human preview: summary, items by status with record counts, integrations with choice, warnings, real senders and the id in the target, not-promoted list; --json prints the Hub answer.
Content commands (schema, term, template, trigger, footer, signature) run straight into an env with a lower one print Note: PROD is promoted from TEST — … on stderr; the env ladder (promotionOrder, gateway 57b5f4bad) is cached with the env list. norbix ai init writes an "Environments" section: build in TEST, preview, promote, roll back.

Tests: tsc --noEmit clean; npm test 39 files, 1067/1067 passed (14 new in tests/env-promote.test.ts). Acceptance: a headless agent given the generated CLAUDE.md/skill plans env promote preview → --yes after approval → rollback anchor.
Task file: docs/tasks/promotion-phase2.md (branch feat/promotion-phase2). Expected release: minor (1.37.0).

🤖 Generated with Claude Code

Domantas and others added 10 commits October 20, 2026 16:39
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…to run, integration choices and record-loss consent

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ew by default

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts the promote hint; the env ladder is cached

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ion, promote and roll back

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hub path against a fake gateway

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t when it differs (a seeded files integration gets its own id)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… hint note

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas
Domantas merged commit c96d2a0 into main Oct 20, 2026
11 checks passed
@Domantas
Domantas deleted the feat/promotion-phase2 branch October 20, 2026 13:55
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.37.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant