Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,37 @@
Notable changes, newest first. Release notes on GitHub list every commit;
this file collects what users and scripts need to know.

## Unreleased
## 0.24.0 (2026-11-05)

### New

- Norcube Monitor status page subscribers: `monitor status-pages subscribers
list | delete`, with pages named by id or exact slug. Addresses are personal
data, so these commands need the `monitor.statuspages` scope on a CI token,
even to list. A token without it exits 5 and says so. The API's subscriber
count and CSV export have no commands yet; `nrc api` reaches them.
- `--notify` on `monitor status-pages incidents create` and `incidents updates
create` emails the update to the page's subscribers.
- `--auto-post` on `monitor status-pages create` and `update` lets a page post
confirmed critical monitor incidents by itself. It is optional on `create`
and off unless you ask for it.
- `monitor status-pages get` shows whether a page posts automatically, and
`incidents get` shows when a post was written by the system.

### Changes

- Refreshed the generated API clients and specs. No command, flag, JSON field or
`-o text` column changes. Norcube Monitor's status page domain and logo
endpoints, DomainRadar's expiry alert settings and Billing's plan features are
in the clients but have no commands yet; `nrc api` reaches them.
- Refreshed the Norcube Monitor client and spec for status page subscribers and
automatic posts.

### Changes for scripts

- `monitor status-pages incidents` JSON and YAML: posted incidents gain
`autoPosted` and `autoManaged`, and their updates `notifySubscribers`.
- `monitor status-pages` page JSON and YAML: `settings` gains `autoPost`.

## 0.23.0 (2026-11-05)

Expand Down
13 changes: 8 additions & 5 deletions docs/DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ flag; [CHANGELOG.md](../CHANGELOG.md) says when each arrived.
| `langsync` | `init`, `sync`, `pull`; `namespaces list | create | update | delete`; `terms list | add | update | delete | import`, `terms import status`; `translations get | set | suggest | translate-missing`; `languages list | add | remove | create | delete`; `prompts list | get | create | update | delete`; `glossary get`, `glossary items list | get | create | translate | delete`, `glossary languages attach`; `api-keys list | create | revoke`; `audit list` |
| `domainradar` | `check`; `bulk create | list | get | results | watch | export | cancel | delete`; `saved list | add | remove`; `watchers list | get | create | update | delete`; `hits list | get`; `names generate | list | get | results | check | delete` |
| `billing` | `status`; `subscriptions list`; `usage estimate | metrics`; `invoices list | download`; `budget get | set` |
| `monitor` | `status` (`--fail-on`); `monitors list | get | create | update | delete | pause | resume | run` (`--wait`), `monitors bulk pause | resume | delete`, `monitors results list`, `monitors status-changes list`, `monitors stats get`, `monitors availability get`, `monitors certificate get`, `monitors alerts get | set`; `incidents list | get | acknowledge | summary`; `channels list | get | create | update | delete | test | verify`, `channels deliveries list`; `status-pages list | get | create | update | delete | publish | unpublish | preview-link`, `status-pages layout get | set`, `status-pages incidents list | get | create | update`, `status-pages incidents updates create` |
| `monitor` | `status` (`--fail-on`); `monitors list | get | create | update | delete | pause | resume | run` (`--wait`), `monitors bulk pause | resume | delete`, `monitors results list`, `monitors status-changes list`, `monitors stats get`, `monitors availability get`, `monitors certificate get`, `monitors alerts get | set`; `incidents list | get | acknowledge | summary`; `channels list | get | create | update | delete | test | verify`, `channels deliveries list`; `status-pages list | get | create | update | delete | publish | unpublish | preview-link`, `status-pages layout get | set`, `status-pages incidents list | get | create | update`, `status-pages incidents updates create`, `status-pages subscribers list | delete` |
| PromptHub | No command group; `nrc api prompthub ...` |
| CMS | None (CMS has no public API) |

Expand All @@ -740,9 +740,10 @@ now), `backup.verify` (restore tests), `domainradar.check`,
monitor's check now), `monitor.write` (manage monitors, alert routing,
acknowledge incidents), `monitor.channels` (manage alert channels, test
sends and verification codes; not included in `monitor.write`, because
channels hold credentials and sends cost money), `monitor.statuspages` (manage status pages and post
incidents on them; not included in any other scope, because everything it
changes is public).
channels hold credentials and sends cost money), `monitor.statuspages` (manage status pages, post
incidents on them and manage their subscribers; not included in any other
scope, because what it changes is public and subscribers' addresses are
personal data).

Installation channels: Homebrew cask (with `nrc`), `.deb` / `.rpm` /
`.apk`, `install.sh`, release archives (darwin and linux amd64/arm64,
Expand Down Expand Up @@ -791,6 +792,8 @@ changelog, and the owner's decisions in the planning sessions of
| 2026-11-04 | Status pages in the CLI. Pages are named by id or exact slug; a page's posted incidents are a nested resource (`status-pages incidents`), and an update on one is `status-pages incidents updates create` rather than a new verb, by the rule of the Norcube Monitor entry above. `create` marks every setting required and fills in none: a page is public communication, and the backend has no defaults either. `layout set` refuses a document without both lists, since it replaces the layout as a whole. `unpublish` confirms (old addresses are given up); `publish` and posting don't, so an incident pipeline stays one command, and their help says they go public. `preview-link` is a `read`: it changes nothing, though the API asks for `monitor.statuspages` | Owner's brief. Rejected: `incidents post`, a synonym for creating an update; the dashboard's defaults on `create`, as `monitors create` has, because a required setting on a public page should be a choice | owner |
| 2026-11-04 | `nrc commands`: the whole command tree as one versioned, offline document; what the tree cannot reveal is declared with annotations (`effect`, flag enums, service), never inferred from verbs | Agents should not crawl dozens of `--help` pages. Prior art: `kubectl api-resources` / `explain` (verbs per resource, offline schema), `aws ... --generate-cli-skeleton` (machine-readable input), cobra's doc generation (`tools/gendocs` already walks the tree). Global flags listed once rather than on every command, to keep the document small; a verb-based guess of the effect was rejected because domain verbs like `check`, `suggest` or `init` don't say whether they change anything | owner |
| 2026-11-04 | PulseCheck is renamed Norcube Monitor before its first release, every technical name included: command group `monitor` (`nrc monitor monitors list`), registry key, OAuth audience and generated package `monitor`, scopes `monitor.read`, `monitor.check`, `monitor.write`, `monitor.channels`, endpoint `https://monitor.api.norcube.com/app/v1`, `NORCUBE_MONITOR_URL`. No `pulsecheck` alias or `cmdutil.Renamed` entry | The old name was never in a release, so no script, config file or token depends on it and P10 has nothing to keep; the backend renamed its service, audience and scopes in the same change. Rejected: keeping `pulsecheck` as a hidden alias, which would be a second name for one thing (P13) with no user to serve | owner |
| 2026-11-05 | Status page subscribers in the CLI: `status-pages subscribers list` and `delete`. A subscriber is named by id only. `delete <page> <subscriber>` completes the page but not the subscriber, because completion candidates are cached on disk and addresses have no place there. The CLI words the scope refusal itself: the API's sentence is shared with the page's other writes and speaks of changing pages, which misleads on a list | Owner's brief. The API's `count` and `export` have no commands yet; `nrc api` reaches them | owner |
| 2026-11-05 | `--auto-post` is the one page setting `create` doesn't require: the flag came after 0.23.0, so requiring it would break scripts that create pages, and the API keeps it off unless asked. `--notify` is sent only when given, and exists only on writes that add an update | Compatibility rule P10; owner's brief | owner |

---

Expand Down Expand Up @@ -866,7 +869,7 @@ it with the same guarantees as every other product. The steps, in order:
| Step | State |
| --- | --- |
| 1 Audience | `monitor` exists in Norcube Auth (sign-in audience list, CI token exchange) |
| 2 Scopes | `monitor.read`, `monitor.check`, `monitor.write`, `monitor.channels`, `monitor.statuspages` in the CI token catalog (and so the CLI sign-in catalog), with IAM actions; channel changes and sends only with `monitor.channels`, status page changes and posts only with `monitor.statuspages`, neither of which `monitor.write` includes; not on the MCP consent screen until the MCP redesign |
| 2 Scopes | `monitor.read`, `monitor.check`, `monitor.write`, `monitor.channels`, `monitor.statuspages` in the CI token catalog (and so the CLI sign-in catalog), with IAM actions; channel changes and sends only with `monitor.channels`, status page changes, posts and subscribers only with `monitor.statuspages`, neither of which `monitor.write` includes; not on the MCP consent screen until the MCP redesign |
| 3 Enforcement | Default-closed route table (`internal/routers/app/scopes.go`) after the token middleware, coverage and matrix tests, and IAM refusing a scoped request the table never checked |
| 4 Contract | Every operation has a verb-noun `@Id`, `@Security Bearer`, 401/403 problems and `x-norcube-scopes`; the status route is tagged `Status` and excluded here |
| 5 to 10 CLI | Registry entry, hand-kept tables, client, `nrc monitor` commands, completion, command and golden tests |
Expand Down
Loading
Loading