@aotter/mantle 0.0.11-alpha.41 → 0.0.11-alpha.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -148,11 +148,12 @@ admin UI surfaces the child only as locale tabs in the parent's editor.
148
148
 
149
149
  #### Lifecycle
150
150
 
151
- **`spec.lifecycle: 'simple' | 'editorial'`** — controls the entry's
152
- state machine.
151
+ **`spec.lifecycle: 'simple' | 'editorial' | 'none'`** — controls the
152
+ entry's state machine.
153
153
 
154
154
  - `simple` (default) — `draft → published → archived`. No approval
155
- queue. **This is the only mode whose runtime ships in v0.1.0.**
155
+ queue. **This is the only content-workflow mode whose runtime ships
156
+ in v0.1.0.**
156
157
  - `editorial` — the six-state machine with an approval queue
157
158
  (`draft → review → approved → scheduled → published → archived`,
158
159
  with `published` returnable to `draft` for republish). **Grammar
@@ -161,10 +162,20 @@ state machine.
161
162
  with the diagnostic `LIFECYCLE_NOT_IN_V010` and a message
162
163
  pointing at the v0.1.x roadmap. Authors should not write
163
164
  `lifecycle: editorial` in v0.1.0 manifests; it will fail boot.
164
-
165
- The two modes are **per-Schema and mix freely** within a site. There
166
- is no site-wide lifecycle setting; one Schema can be `simple` while
167
- another is `editorial`.
165
+ - `none` — **operational records**, not authored content: orders,
166
+ inventory snapshots, grant/audit rows anything written by
167
+ Procedures as a side effect rather than drafted by a person. No
168
+ content workflow applies: entries are live (`published`) the moment
169
+ they are created, are editable in place regardless of status, and
170
+ have **no** publish / unpublish / archive transitions (all reject
171
+ with `CONFLICT`). The admin console renders these collections flat —
172
+ no draft/published filter buckets, no publish controls. Declare it
173
+ on any Schema whose rows a human should *inspect and correct*, never
174
+ *stage and publish*.
175
+
176
+ The modes are **per-Schema and mix freely** within a site. There is no
177
+ site-wide lifecycle setting; one Schema can be `simple` while another
178
+ is `editorial` and a third is `none`.
168
179
 
169
180
  **Property-level extensions** (JSON Schema vendor keywords, all optional):
170
181
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aotter/mantle",
3
- "version": "0.0.11-alpha.41",
3
+ "version": "0.0.11-alpha.43",
4
4
  "description": "Umbrella entry for @aotter/mantle. Adopters install this one package and import from subpaths: /spec, /runtime, /cloudflare, /admin-ui. Sub-packages remain individually installable on npm for tooling / alt-adapter authors. The Netlify adapter ships as a private workspace stub in v0.1 — its subpath will be added when the impl lands in v0.2.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://mantle.tools/",
@@ -47,20 +47,20 @@
47
47
  "README.md"
48
48
  ],
49
49
  "dependencies": {
50
- "@aotter/mantle-cloudflare": "0.0.11-alpha.41",
51
- "@aotter/mantle-runtime": "0.0.11-alpha.41",
52
- "@aotter/mantle-admin-ui": "0.0.11-alpha.41",
53
- "@aotter/mantle-spec": "0.0.11-alpha.41"
50
+ "@aotter/mantle-admin-ui": "0.0.11-alpha.43",
51
+ "@aotter/mantle-runtime": "0.0.11-alpha.43",
52
+ "@aotter/mantle-spec": "0.0.11-alpha.43",
53
+ "@aotter/mantle-cloudflare": "0.0.11-alpha.43"
54
54
  },
55
55
  "peerDependencies": {
56
- "@cloudflare/workers-oauth-provider": "^0.7.0",
56
+ "@cloudflare/workers-oauth-provider": "^0.8.0",
57
57
  "aws4fetch": "^1.0.20",
58
58
  "better-auth": "^1.6.23",
59
59
  "hono": "^4.12.0",
60
60
  "zod": "^4.0.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@cloudflare/workers-oauth-provider": "^0.7.0",
63
+ "@cloudflare/workers-oauth-provider": "^0.8.0",
64
64
  "@types/node": "^25",
65
65
  "aws4fetch": "^1.0.20",
66
66
  "better-auth": "^1.6.23",
@@ -4,7 +4,7 @@ description: Work on any Mantle project using the Core SDK contract. Use for man
4
4
  source: "@aotter/mantle"
5
5
  sourcePath: skills/develop/SKILL.md
6
6
  when_to_invoke: |
7
- Working dir contains a Mantle project: package.json depends on @aotter/mantle or @aotter/mantle-*, and manifests/ or src/mantleConfig.ts exists.
7
+ Working dir contains a Mantle project: package.json depends on @aotter/mantle or @aotter/mantle-*, and manifests/ or src/mantle/config.ts exists. Legacy projects may still use src/mantleConfig.ts.
8
8
  applies_to: mantle@v0.1.0
9
9
  ---
10
10
 
@@ -17,7 +17,7 @@ owns the workflow vocabulary.
17
17
  ## First Read
18
18
 
19
19
  1. `package.json` for the installed `@aotter/mantle*` versions.
20
- 2. `manifests/` and `src/mantleConfig.ts` for the active atoms and adapter wiring.
20
+ 2. `manifests/` and `src/mantle/config.ts` for the active atoms and adapter wiring. If the project is older, check `src/mantleConfig.ts`.
21
21
  3. Optional local context: `.mantle/launch-state.json`, `.mantle/handoff.md`,
22
22
  `.mantle/plugins.json`, `.mantle/plugins.lock.json`, and `.mantle/recipes/`.
23
23
  4. Installed Core docs in `node_modules/@aotter/mantle/docs/`.
@@ -45,7 +45,8 @@ A landing-provisioned repo carries its launch context and ground truth in:
45
45
  | `.mantle/features.json` | Starter launch context and applied starter state |
46
46
  | `.mantle/handoff.md` | The launch handoff note written for you |
47
47
  | `manifests/*.yaml` | Schemas / Views / Procedures / Triggers |
48
- | `src/mantleConfig.ts` | Site defaults, handler registration, runtime bindings |
48
+ | `src/mantle/config.ts` | Site defaults, runtime bindings |
49
+ | `src/mantle/handlers/index.ts` | Procedure handler registration |
49
50
  | `src/handlers/` | Handler implementations |
50
51
  | `AGENTS.md` | Cross-tool agent entry |
51
52
  | `.agent/skills/` + `.claude/skills/` | Vendored Core skills from `@aotter/mantle`: `mantle:develop`, `mantle:plugin`, `mantle:theme`, `mantle:update` |
@@ -51,7 +51,7 @@ stop and ask for the recipe instead of guessing.
51
51
 
52
52
  1. `package.json` for Mantle version and adapter package.
53
53
  2. `manifests/` for current atom names and route/tool collisions.
54
- 3. `src/mantleConfig.ts` for registered handlers, templates, and optional ports.
54
+ 3. `src/mantle/config.ts` and `src/mantle/handlers/` for registered handlers, templates, and optional ports. Older projects may use `src/mantleConfig.ts`.
55
55
  4. `.mantle/plugins.json` and `.mantle/plugins.lock.json` if present.
56
56
  5. `.mantle/launch-state.json` only as context, not as plugin authority.
57
57
 
@@ -16,7 +16,7 @@ tokens, or recipes, but the skill contract is Core-owned.
16
16
  ## First Read
17
17
 
18
18
  1. `.mantle/handoff.md` and `.mantle/recipes/` if present.
19
- 2. `styles/`, `components/`, `src/home.tsx`, `src/theme*`, and `kiwa-ui.json`
19
+ 2. `styles/`, `components/`, `src/web/`, `src/theme*`, and `kiwa-ui.json`
20
20
  if present.
21
21
  3. `manifests/` to understand which content shape drives the public UI.
22
22