From 1e97182f1e5ab48a7dfd385190d3a5eefa1257f8 Mon Sep 17 00:00:00 2001 From: monadic Date: Sun, 3 May 2026 14:53:11 +0100 Subject: [PATCH] Polish spring initiative proof docs --- spring-platform/FROM-DEMO-TO-PRODUCT.md | 3 ++- spring-platform/README.md | 8 +++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/spring-platform/FROM-DEMO-TO-PRODUCT.md b/spring-platform/FROM-DEMO-TO-PRODUCT.md index f700711..e919724 100644 --- a/spring-platform/FROM-DEMO-TO-PRODUCT.md +++ b/spring-platform/FROM-DEMO-TO-PRODUCT.md @@ -156,7 +156,8 @@ cub-gen springboot set-embedded-config \ --configmap my-service-config \ feature.myservice.reservationMode optimistic -# Step 5: Initiative GUI proof +# Step 5: Initiative GUI proof, from the cub-gen repo root +cd /path/to/cub-gen ./examples/springboot-paas/demo-initiative-gui.sh jq '.scenarios[] | {title, changed_field, route, decision, source_file, next_actions}' \ .tmp/springboot-initiative-gui/initiative-card.json diff --git a/spring-platform/README.md b/spring-platform/README.md index 520180b..3aafb97 100644 --- a/spring-platform/README.md +++ b/spring-platform/README.md @@ -125,9 +125,11 @@ jq '.scenarios[] | {title, changed_field, route, decision, source_file, next_act ``` The expected decisions are `ALLOW` for the feature flag, `ESCALATE` for Redis -caching, and `BLOCK` for the datasource override. The Redis case should name -`pom.xml` and `src/main/resources/application.yaml` as the source files to -change or link through a PR. +caching, and `BLOCK` for the datasource override. In the Redis case, +`source_file` should be `src/main/resources/application.yaml`, and +`next_actions[].files` should list both `pom.xml` and +`src/main/resources/application.yaml` as the files to change or link through a +PR. If you have studied the model here and want to move to real tooling, that is the bridge.