feat(ibmi-rpg): apply a declared routine source loss after each deploy #311
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/routine-loss"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Routine source loss after each ibmi-rpg deploy
rpg-lemonade and rpg-munchers are synthetic. To stand in for an application developed over decades, every deployment must leave the box in the decades-old condition: source members gone, observability stripped, only executables left. The originals stay in Git, so the next deploy restores everything.
loss_profile(safe relative path) ends its deploy with the released repository's own tooling:scripts/source-loss.sh routine --profile <path> --development SOMEARA1 --production SOMEARAB --report /tmp/loss-report.json, after the production evidence is verified and beforeresult.jsonis written.scripts/checkvalidates the key;recipes/ibmi-rpg/test-deploy-runnercovers the call and its arguments, the unchanged result, the no-profile case, a failing step, a missing script and an unsafe path.routinemode in their own PRs; a follow-up plans PR then declares the profile for both.https://claude.ai/code/session_01HPdKaFBKQVs8hzfgXMrnwV