create-githolon 0.1.5 → 0.1.6

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": "create-githolon",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "description": "Scaffold a Nomos domain package: the starter domain + compile config + live e2e. `npm create githolon my-app`.",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -10,6 +10,12 @@ npx githolon compile # → build/: deployable package + manifests + typ
10
10
  npx githolon login --agent # self-onboard a verified identity (no browser; linkable to a full account later)
11
11
  ```
12
12
 
13
+ **The shortest complete proof** — `npm install && npx githolon compile && npm run e2e`
14
+ — IS the whole demonstration: your law deploys to a throwaway workspace, an
15
+ ENFORCED-offline write (fetch is trapped) syncs through edge admission, and the
16
+ cloud answers your declared query and count. Paths A/B below are for keeping a
17
+ real workspace afterwards.
18
+
13
19
  ## Path A — deploy your law
14
20
 
15
21
  ```bash
@@ -15,6 +15,9 @@ const CLOUD = (process.env.NOMOS_CLOUD || "https://nomos.captainapp.co.uk").repl
15
15
  const WS = process.env.NOMOS_WS || "gb-e2e-" + Math.random().toString(36).slice(2, 8);
16
16
 
17
17
  // explicit annotation on the const so TS's never-call narrowing applies after fail(...)
18
+ // IDENTITY NOTE: this proof uses the bare x-nomos-principal lane so the test is
19
+ // SELF-CONTAINED (a throwaway workspace, no stored credentials). Real apps use
20
+ // `githolon login --agent` (a VERIFIED identity) + `githolon ws create/deploy`.
18
21
  const fail: (m: string) => never = (m) => { console.error("✗ " + m); process.exit(1); };
19
22
  const ok = (m: string) => console.log("✓ " + m);
20
23