@aotter/mantle 0.0.11-alpha.72 → 0.0.11-alpha.73

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aotter/mantle",
3
- "version": "0.0.11-alpha.72",
3
+ "version": "0.0.11-alpha.73",
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/",
@@ -55,10 +55,10 @@
55
55
  "README.md"
56
56
  ],
57
57
  "dependencies": {
58
- "@aotter/mantle-admin-ui": "0.0.11-alpha.72",
59
- "@aotter/mantle-runtime": "0.0.11-alpha.72",
60
- "@aotter/mantle-spec": "0.0.11-alpha.72",
61
- "@aotter/mantle-cloudflare": "0.0.11-alpha.72"
58
+ "@aotter/mantle-admin-ui": "0.0.11-alpha.73",
59
+ "@aotter/mantle-cloudflare": "0.0.11-alpha.73",
60
+ "@aotter/mantle-runtime": "0.0.11-alpha.73",
61
+ "@aotter/mantle-spec": "0.0.11-alpha.73"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "@cloudflare/workers-oauth-provider": "^0.8.0",
@@ -16,7 +16,7 @@ docs govern runtime/API behavior.
16
16
  ## First Read
17
17
 
18
18
  1. `package.json` for the installed `@aotter/mantle*` versions.
19
- 2. `manifests/` and `src/mantle/config.ts` for the active atoms and adapter wiring. If the project is older, check `src/mantleConfig.ts`.
19
+ 2. `manifests/`, the active adapter config, and `src/auth.ts` when present. If the project is older, check `src/mantleConfig.ts`.
20
20
  3. The active `.mantle/overlays/<type>/seed.json`, when present; generated
21
21
  homepages commonly import visible copy and form structure from it.
22
22
  4. Optional local context: `.mantle/launch-state.json`, `.mantle/handoff.md`,
@@ -125,6 +125,15 @@ composition root. If a normal feature cannot be expressed through a
125
125
  purpose-shaped surface, treat that as a Core abstraction gap instead of
126
126
  teaching the project Mantle internals.
127
127
 
128
+ ## Auth Composition
129
+
130
+ When a generated repo contains `src/auth.ts`, the repo owns its auth
131
+ composition. Preserve the explicit mode recorded in its launch state and
132
+ Worker config; do not infer a mode from whichever credentials happen to be
133
+ present or configure competing paths. Keep provider secrets out of source.
134
+ Follow the repo handoff for provider-specific setup rather than adding product
135
+ policy to Core.
136
+
128
137
  ## Performance Loop
129
138
 
130
139
  After changing a Schema index, View filter/order, public API, or rendered page,
@@ -107,7 +107,7 @@ Follow the landing handoff and generated client configuration. Hosted
107
107
  configuration remains in landing-managed Cloudflare Worker bindings; do not
108
108
  write client secrets into `wrangler.toml`.
109
109
 
110
- Verify that admin sign-in redirects to Mantle Platform and Staff MCP
110
+ Verify that admin sign-in redirects to Mantle Hosted Auth and Staff MCP
111
111
  authenticates, then skip the self-hosted flow.
112
112
 
113
113
  ## Smoke Test