forgeos 0.1.0-alpha.51 → 0.1.0-alpha.53

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/AGENTS.md CHANGED
@@ -1,4 +1,4 @@
1
- // @forge-generated generator=0.1.0-alpha.51 input=56e2fea9ee90281ea32b5a5f6297bf827b851718f02b6c41f1b3f6f862a7eca8 content=721818a6f9a664aa898092d4aa5cd68cbbd8ad6e150c7d3ad3ef785a2e3fcf53
1
+ // @forge-generated generator=0.1.0-alpha.53 input=3ed440f80e50b242cb2753283b0f3bb633fa0fc4ab79d0242f469d3a6bd258ba content=721818a6f9a664aa898092d4aa5cd68cbbd8ad6e150c7d3ad3ef785a2e3fcf53
2
2
  # AGENTS.md
3
3
 
4
4
  <!-- forge-generated:start -->
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # forgeos
2
2
 
3
+ ## 0.1.0-alpha.53
4
+
5
+ ### Patch Changes
6
+
7
+ - Keep WorkOS FGA proof messaging honest across local and real modes.
8
+
9
+ - `forge workos fga doctor --json` now reports local proof timestamps as
10
+ local proof instead of using real-production wording when the state file was
11
+ produced by local FGA proof commands.
12
+ - This prevents local/mock FGA evidence from being mistaken for hosted WorkOS
13
+ Authorization API proof during production-readiness handoff.
14
+
15
+ ## 0.1.0-alpha.52
16
+
17
+ ### Patch Changes
18
+
19
+ - Make WorkOS FGA real-rollout failures produce a concrete operator artifact.
20
+
21
+ - Generated WorkOS FGA setup guides now include an explicit automation
22
+ boundary explaining that ForgeOS derives the graph, syncs resources, and
23
+ proves Authorization API checks, but does not invent unsupported WorkOS
24
+ resource-type creation commands.
25
+ - `forge workos fga sync --real --write --json` now remains useful when the
26
+ WorkOS Authorization API reports missing resource types: the JSON includes
27
+ `setupGuidePath` and the written guide lists the resource types, parents,
28
+ permissions, roles, example external IDs, membership env, and rerun
29
+ commands needed to finish the hosted setup.
30
+
3
31
  ## 0.1.0-alpha.51
4
32
 
5
33
  ### Patch Changes
package/docs/changelog.md CHANGED
@@ -6,6 +6,22 @@ The canonical source file in the repository is `CHANGELOG.md`.
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 0.1.0-alpha.53
10
+
11
+ - `forge workos fga doctor --json` now distinguishes local FGA proof timestamps
12
+ from real WorkOS Authorization API proof timestamps, avoiding production
13
+ readiness confusion in agent handoffs.
14
+
15
+ ## 0.1.0-alpha.52
16
+
17
+ - Generated WorkOS FGA setup guides now include an explicit automation boundary
18
+ describing what ForgeOS can automate versus the hosted WorkOS resource-type
19
+ configuration that must exist before real resource sync.
20
+ - `forge workos fga sync --real --write --json` now provides a concrete
21
+ `setupGuidePath` even when real sync fails because hosted WorkOS resource
22
+ types are missing, so agents have a deterministic artifact for the remaining
23
+ setup and rerun commands.
24
+
9
25
  ## 0.1.0-alpha.51
10
26
 
11
27
  - `forge workos fga doctor --real --json` now reports a structured readiness
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forgeos",
3
- "version": "0.1.0-alpha.51",
3
+ "version": "0.1.0-alpha.53",
4
4
  "description": "Agent-native application framework and compiler for building Forge apps without a mandatory dashboard.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1 +1 @@
1
- {"defaultProvider":"local","diagnostics":[],"env":{"deployEnv":"FORGE_DEPLOY_ENV","deployId":"FORGE_DEPLOY_ID","publicReleaseId":"NEXT_PUBLIC_FORGE_RELEASE_ID","releaseId":"FORGE_RELEASE_ID"},"gitSha":"unknown","optionalProviders":["local","sentry-compatible","sentry","glitchtip","bugsink","otel","custom"],"packageName":"forgeos","packageVersion":"0.1.0-alpha.51","releaseId":"forgeos@0.1.0-alpha.51+unknown","schemaVersion":"0.1.0"}
1
+ {"defaultProvider":"local","diagnostics":[],"env":{"deployEnv":"FORGE_DEPLOY_ENV","deployId":"FORGE_DEPLOY_ID","publicReleaseId":"NEXT_PUBLIC_FORGE_RELEASE_ID","releaseId":"FORGE_RELEASE_ID"},"gitSha":"unknown","optionalProviders":["local","sentry-compatible","sentry","glitchtip","bugsink","otel","custom"],"packageName":"forgeos","packageVersion":"0.1.0-alpha.53","releaseId":"forgeos@0.1.0-alpha.53+unknown","schemaVersion":"0.1.0"}
@@ -1,4 +1,4 @@
1
- // @forge-generated generator=0.1.0-alpha.51 input=56e2fea9ee90281ea32b5a5f6297bf827b851718f02b6c41f1b3f6f862a7eca8 content=0e813cc871b8bd6a982fd4ccaf852bbc0a25e9dd49ab6a438de3bba9f0f840ab
1
+ // @forge-generated generator=0.1.0-alpha.53 input=3ed440f80e50b242cb2753283b0f3bb633fa0fc4ab79d0242f469d3a6bd258ba content=a648def26a36193279d13f385b2c17a555fadf46893ffee57e87f439642c958e
2
2
  export const releaseManifest = {
3
3
  "defaultProvider": "local",
4
4
  "diagnostics": [],
@@ -19,7 +19,7 @@ export const releaseManifest = {
19
19
  "custom"
20
20
  ],
21
21
  "packageName": "forgeos",
22
- "packageVersion": "0.1.0-alpha.51",
23
- "releaseId": "forgeos@0.1.0-alpha.51+unknown",
22
+ "packageVersion": "0.1.0-alpha.53",
23
+ "releaseId": "forgeos@0.1.0-alpha.53+unknown",
24
24
  "schemaVersion": "0.1.0"
25
25
  } as const;
@@ -1149,6 +1149,13 @@ function workOSFgaSetupGuide(manifest: WorkOSFgaManifest, hostedSetup: WorkOSFga
1149
1149
  "ForgeOS derived this resource graph from the app contract, policies, and workos-seed.yml.",
1150
1150
  "WorkOS resource type configuration is hosted WorkOS configuration. ForgeOS uses the WorkOS CLI/API or SDK to sync resources and prove authorization checks after those resource types exist.",
1151
1151
  "",
1152
+ "## Automation Boundary",
1153
+ "",
1154
+ "- ForgeOS can derive the FGA graph, generate this setup guide, sync WorkOS FGA resources, and run Authorization API access checks.",
1155
+ "- ForgeOS does not invent WorkOS CLI/API calls for resource type creation. The current public WorkOS automation surface supports resources and checks after resource types exist.",
1156
+ "- Configure each non-organization resource type below in hosted WorkOS, then rerun the real sync/proof commands.",
1157
+ "- The `organization` node is treated as the WorkOS tenant root and is not created as an authorization resource.",
1158
+ "",
1152
1159
  "## Resource Types",
1153
1160
  "",
1154
1161
  ...resourceTypes.flatMap((resourceType) => [
@@ -2614,7 +2621,9 @@ function collectWorkOSFgaChecks(input: {
2614
2621
  name: "fga-proof-state",
2615
2622
  ok: !input.requireProof || Boolean(input.state.provedAt),
2616
2623
  detail: input.state.provedAt
2617
- ? `${WORKOS_FGA_STATE_FILE} records real proof at ${input.state.provedAt}`
2624
+ ? input.state.mode === "real"
2625
+ ? `${WORKOS_FGA_STATE_FILE} records real proof at ${input.state.provedAt}`
2626
+ : `${WORKOS_FGA_STATE_FILE} records local proof at ${input.state.provedAt}`
2618
2627
  : input.requireProof
2619
2628
  ? `${WORKOS_FGA_STATE_FILE} must be produced by forge workos fga prove --real --json`
2620
2629
  : `${WORKOS_FGA_STATE_FILE} proof timestamp not required for this command`,
@@ -1,3 +1,3 @@
1
- export const FORGEOS_VERSION = "0.1.0-alpha.51";
1
+ export const FORGEOS_VERSION = "0.1.0-alpha.53";
2
2
  export const GENERATOR_VERSION = FORGEOS_VERSION;
3
3
  export const CLI_VERSION = FORGEOS_VERSION;