Skip to content

examples: add lift-upstream proof bundle#87

Merged
monadic merged 1 commit intocodex/springboot-noop-target-proof-syncfrom
codex/springboot-lift-upstream-proof
Mar 23, 2026
Merged

examples: add lift-upstream proof bundle#87
monadic merged 1 commit intocodex/springboot-noop-target-proof-syncfrom
codex/springboot-lift-upstream-proof

Conversation

@monadic
Copy link
Copy Markdown
Contributor

@monadic monadic commented Mar 22, 2026

Summary

  • add a read-only Redis lift-upstream bundle for springboot-platform-app
  • render the exact GitHub-ready diff for upstream app inputs and refreshed ConfigHub YAMLs
  • document the proof boundary clearly as a deterministic bundle, not real PR automation

Validation

  • ./scripts/verify.sh
  • cd incubator/springboot-platform-app && ./verify.sh
  • cd incubator/springboot-platform-app && ./lift-upstream-verify.sh
  • cd incubator/springboot-platform-app/upstream/app && mvn test

Notes

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 592999a850

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add cache-enabling code to the Redis lift-upstream bundle

The bundle adds spring-boot-starter-data-redis, but upstream/app/src/main/java/com/example/inventory/InventoryApiApplication.java still never enables caching and upstream/app/src/main/java/com/example/inventory/api/InventoryService.java has no cached methods. In the current example, applying this advertised “GitHub-ready” patch only changes the reported CACHE_BACKEND value in InventoryController; it does not introduce any actual Redis-backed caching for the service.

Useful? React with 👍 / 👎.

Comment on lines +7 to +8
cache:
type: redis
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Configure a real Redis endpoint in the lifted app inputs

Setting spring.cache.type to redis here selects Redis-backed cache behavior, but I could not find any Redis host/port/secret or Redis resource anywhere under incubator/springboot-platform-app—the only Redis-related additions are type: redis and CACHE_BACKEND=redis. That means any environment that actually exercises the cache has no way to reach a Redis instance, so this patch bundle is incomplete for the requested feature.

Useful? React with 👍 / 👎.

@monadic monadic merged commit 6d0352f into codex/springboot-noop-target-proof-sync Mar 23, 2026
monadic added a commit that referenced this pull request Mar 23, 2026
Add the remaining two routed-outcome proof bundles for the
springboot-platform-app example:

- lift-upstream: read-only Redis caching request bundle with
  render-diff, explain, and verify scripts
- block-escalate: read-only datasource override boundary bundle
  with render-attempt, explain, and verify scripts

Both bundles are deterministic and read-only. They prove the
three-outcome mutation model without requiring a live cluster
or real GitHub PR automation.

Replaces PRs #87 and #89 which were stacked on intermediate
branches that no longer exist after squash merges.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
monadic added a commit that referenced this pull request Mar 23, 2026
Add the remaining two routed-outcome proof bundles for the
springboot-platform-app example:

- lift-upstream: read-only Redis caching request bundle with
  render-diff, explain, and verify scripts
- block-escalate: read-only datasource override boundary bundle
  with render-attempt, explain, and verify scripts

Both bundles are deterministic and read-only. They prove the
three-outcome mutation model without requiring a live cluster
or real GitHub PR automation.

Replaces PRs #87 and #89 which were stacked on intermediate
branches that no longer exist after squash merges.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant