Verify repair and recovery save state in native Windows workflows

This commit is contained in:
2026-09-11 14:12:09 -07:00
parent 33c6d83e9b
commit 8cf64cedb2
172 changed files with 12768 additions and 9 deletions
+6 -2
View File
@@ -55,8 +55,12 @@ fixes, ambiguous/partial source navigation, and the 30-file engineering workflow
explicit Save preserved complete models, identities and source bytes. It also
found a repair-mode false-clean status against the prior saved destination.
Its [saved-baseline correction](release-text-repair-save-state-20260911.md)
passes the full 755-test suite, strict Clippy and matching GUI B183 build;
new native repair/closing and package acceptance remain required.
at **33c6d83** passes the full 755-test suite, strict Clippy and matching GUI B183
build. Its [native repair verification](release-text-repair-save-native-v4-20260911.md)
passed missing-include and duplicate-alias repairs plus interrupted-save rollback:
Apply/Recover retain unsaved status, Close warns, Cancel retains work, and explicit
Save yields exact complete model/identity/source equality. Package acceptance
remains separate and required.
The [integrated evaluation](release-text-navigation-integrated-20260911.md) links
exact input archives, earlier full-test scope and independent findings.
The published contextual preview remains unchanged.
@@ -0,0 +1 @@
** -text whitespace=-blank-at-eol,-blank-at-eof,cr-at-eol
@@ -0,0 +1,11 @@
# Repair/save native-v4 evidence
Three root-operated native workflows passed on GUI B183/source33c6d83: missing include repair, duplicate alias repair, and v1 journal recovery. Apply kept repaired bytes unsaved; Close prompted; Cancel retained the work; explicit Save was followed by exact full-model/source equality. See the [native report](../../../release-text-repair-save-native-v4-20260911.md) for chronology and scope, and the [correction gates](../repair-save-correction/README.md) for source/build provenance.
`preparation-README.md` is the original pre-launch document, preserved exactly. Its pending/no-launch wording describes preparation, not the completed trial. `helper.py`, `fixture-manifest.json` and all 64 fixture files are retained. Under `trial/` are seven disk checkpoints, three real saved-oracle receipts/log pairs, 20 original screenshot JPEG/metadata pairs, and launch/admission/binary/readback/empty process logs.
All originals copied here are exact bytes. `manifest.json` is the complete payload whitelist, including original paths; `readback.json` records original/archive and fixture/checkpoint/equality checks. Omitted final trial model directories were byte-identical to retained fixtures/checkpoints, recorded in `excluded-duplicates.json`. No binaries, profile or temporary/cache contents are included. GUI/DLL identity remains in before/after receipts.
Root observed normal close and subsequent window/PID absence. The helper records caller-observed absence, not an independently obtained numeric process exit code. Empty stdout/stderr and unchanged GUI/DLL are preserved. The window was 1442 by 932; this was not a minimum-size or full navigation retest, and no package/release/Linux result is implied.
Run `python verify_archive.py` for read-only hash, whitelist, fixture, screenshot, checkpoint and saved-oracle receipt verification; it does not launch a binary or rerun an oracle. Python 3 standard library only.
@@ -0,0 +1,80 @@
{
"trial/valid": {
"identicalTo": "fixtures/valid",
"files": {
"links.arcadia": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"project.arcadia": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"救援/assess.arcadia": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"救援/confirm.arcadia": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
}
},
"trial/release1": {
"identicalTo": "fixtures/release1",
"files": {
"expected-diagnostics.json": "3700393d76b940cfc076bf52861bd7b1f43370f8eabce3594531bd0bf1fc851e",
"model.json": "ef0ef4006c3e09d5db6e1b621256b3f7d6642f3a7b09cc34607cfbcca830c727",
"model.rs": "15f30f6bde655808fe754665c26d560e36f2a9bad340f346b09137d0d05045f5",
"project.arcadia": "b2674e6bf77cfe0f6f0ba79c81d2e96d92f39c02ca2c6266d80e91723bfb9fda",
"README.md": "113cfb1cf38a98b51bff60442d86a35d636a3d80ef206bece7d53d0aae67f2d5",
"traceability.arcadia": "48a96f543456c9b5a5798fc795594e4119147fe45f11a6f109f141b7f514560f",
"transition-before.json": "2253e6434f741687e22327c37d520ed15c043bc36025498650bc2366bb6a874d",
"transition-request.json": "43b9a22e5f95ad3bc0ebd2478ead0e14406854abc989ae94ded9367b013d812a",
"evidence/repair-check.md": "f4db17bdca4ecbb1bf0caef01b2da5f1f7f798ab3152b648ce6dd8696a6a68e5",
"oa/capabilities.arcadia": "fc8012e5554350b12e1cb80080f8feab80d933c9b33c0f2a7bb500cb7d609936",
"oa/model.arcadia": "f7cf914766ea73ec53b85e32d117ea9a9dba52d3e038246863541ae7069b1a15",
"oa/participants.arcadia": "951764c14179f27c10e315acf2ea37d1fff54c77b8441e23addd239e8c715ce3",
"oa/types.arcadia": "9d0396fb82dd5733edd8d1cf52f968ca84906927c704f9cf0944a7fae215cf49",
"sa/capabilities.arcadia": "b6912fb3ece439912345fa71724acd462e716a1e5a88203a1058a5c3b2c20a4f",
"sa/model.arcadia": "d431509251acb859fbb98733b6d18add952495e10a78703fbe8f31e40bc083c4",
"sa/participants.arcadia": "780d2eb08b217b67b55febb3d34846f727b8ee9018df6c5741748647e36b2ff8",
"sa/types.arcadia": "101fc0fbd99f1101514aa7b6da4f8e535aae0bb94c9e2b9e7e6c151135b28660",
"views/diagram_oa_allocation_view.arcadia": "dfc0eb61e0e2aa5bda45524571fbfa3494f44ce19696f3e15e07438074a07bc7",
"views/diagram_sa_allocation_view.arcadia": "b78b43a26a82efb8fbd5374b09c329fa341f57b29f635d397b9ef8aede71d389",
"views/diagram_sa_capability_view.arcadia": "75e8dc9fb30f25d6f8fd3c6b595593ab4f98958a25798f961e336e0fac557649",
"views/diagram_sa_service_view.arcadia": "b08c84f3ea633e7c78dfdad3272f75415f6256cf3614b6d99bfd4f0269076c9b",
"views/diagram_sa_state_view.arcadia": "5f42f4c605e57b817d8400ed21f2b14bfc4e1592aebe941ff113767504c2b869",
"oa/activities/activity_oa_restore_work.arcadia": "83e73d0a013d5c3e1a4af0d9139ab0cfa362d25a846671fc2dac59181061a9d4",
"oa/behavior/process_oa_assessment_procedure.arcadia": "172c32c044ef4b5bc58a1f4635cc81f48dabb4014479b47dce7b25fedf2dbd0d",
"oa/behavior/process_oa_field_procedure.arcadia": "d2552dc5383e2e91cb302a790364e197f663c2edc013a2ab1978789825c9c324",
"oa/behavior/process_oa_response.arcadia": "cf86f46fa5c5d70592ef43f1bc1cb4d968efd8add384ba88036bef6b88aa4abc",
"oa/behavior/scenario_oa_conversation.arcadia": "b25be524e98a35ebac5e4481b7609c027b32baf9605e8097f807560f94a77ca6",
"oa/behavior/scenario_oa_full_scenario.arcadia": "00a1edf2c9707a0eb62ac070c2d02467874f2c9c1f273cc6ddb53d6d65999a1c",
"oa/behavior/state_machine_oa_monitor.arcadia": "447c9ad1359f4a31ecf975ad07c0b08d8e7e03191fb0858e2fc56f377b223cd5",
"sa/behavior/process_sa_assessment_procedure.arcadia": "73928ced61c06cbc08728d7956676a50fd4c05aa5b7f1ff4f29ce27a0b0f2088",
"sa/behavior/process_sa_field_procedure.arcadia": "886d462af83110cbfa55dd232a667ea1446761234471357cbb878794e98e8768",
"sa/behavior/process_sa_response.arcadia": "041785fc22842423822431bd5e6e8d16094ebd0716965e7c765fb8c1d7549e8a",
"sa/behavior/scenario_sa_conversation.arcadia": "97276f5757ee9aa12a0dbd9d3ccd58174b3091162bb8bcce357cec20a45f5d85",
"sa/behavior/scenario_sa_full_scenario.arcadia": "e12fc406b99d60a2f7768aaa0b25ba560e8605f0b8e37f3a7cdd3b8443562b74",
"sa/behavior/state_machine_sa_monitor.arcadia": "05ce29af99424c491c47fe2450dc6f5f8ce995511c01ec7e17bb5855be3c9736",
"sa/functions/function_sa_audit_thresholds.arcadia": "e5a04325d52183956dca814dd90f4e56c96c6b7db0f4f202f203ecb49c3e0f4f",
"sa/functions/function_sa_restore_work.arcadia": "fddeb67308051325041fee641fe758ddf43345b7c47b66d433616ad07fdccdd6"
}
},
"trial/missing-include": {
"identicalTo": "trial/checkpoints/missing-final-saved/sources",
"files": {
"links.arcadia": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"project.arcadia": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"救援/assess.arcadia": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"救援/confirm.arcadia": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
}
},
"trial/ambiguous": {
"identicalTo": "trial/checkpoints/duplicate-final-saved/sources",
"files": {
"links.arcadia": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"project.arcadia": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"救援/assess.arcadia": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"救援/confirm.arcadia": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
}
},
"trial/recovery": {
"identicalTo": "trial/checkpoints/recovery-final-saved/sources",
"files": {
"links.arcadia": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"project.arcadia": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"救援/assess.arcadia": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"救援/confirm.arcadia": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
}
}
}
@@ -0,0 +1,351 @@
{
"atUtc": "2026-09-11T20:44:05.057097+00:00",
"originalManifestSha256": "edd4157fc31823f4494dee91862728b87f12ef51c49b8d1fd86a954bc9ecc1ed",
"copiedGroups": {
"valid": "valid-baseline",
"release1": "release1-baseline",
"ambiguous": "ambiguous-open",
"missing-include": "missing-include-open"
},
"recovery": {
"scope": "Static v1 entry-only interrupted-save fixture; no recovery/app/oracle execution",
"journal": {
"version": 1,
"entry": "project.arcadia",
"files": [
{
"path": "project.arcadia",
"before": true,
"write": true
}
]
},
"beforeEntrySha256": "6e9abf4ecf24175b9f04a8db11fe182146581059628eb8769e869597401f262e",
"afterEntrySha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"beforeDiff": "Only project title changed from Navigation — 救援 to Before interrupted save — 救援. IDs/includes/other three files unchanged.",
"expectedFinalBaseline": "recovery-expected-after/project.arcadia",
"expectedAfterEqualsPinnedValid": true
},
"files": [
{
"path": "ambiguous/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b"
},
{
"path": "ambiguous/project.arcadia",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414"
},
{
"path": "ambiguous/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992"
},
{
"path": "ambiguous/救援/confirm.arcadia",
"bytes": 186,
"sha256": "ba3e222bdc7dfa94e4f1b16df091447835da6b5bea8a72701e12e077e77319a6"
},
{
"path": "missing-include/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b"
},
{
"path": "missing-include/project.arcadia",
"bytes": 320,
"sha256": "573357995f0a68fef39aa3eef3125e2271242d1ce01607c129624399b77e682e"
},
{
"path": "missing-include/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992"
},
{
"path": "missing-include/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
},
{
"path": "recovery/.arcadia-save-project.arcadia.journal/0.after",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414"
},
{
"path": "recovery/.arcadia-save-project.arcadia.journal/0.before",
"bytes": 290,
"sha256": "6e9abf4ecf24175b9f04a8db11fe182146581059628eb8769e869597401f262e"
},
{
"path": "recovery/.arcadia-save-project.arcadia.journal/journal.json",
"bytes": 104,
"sha256": "08e19098159f9a539f33754ef8d8bbb5e653744baa0aa9784403e019498d4c42"
},
{
"path": "recovery/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b"
},
{
"path": "recovery/project.arcadia",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414"
},
{
"path": "recovery/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992"
},
{
"path": "recovery/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
},
{
"path": "recovery-expected-after/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b"
},
{
"path": "recovery-expected-after/project.arcadia",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414"
},
{
"path": "recovery-expected-after/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992"
},
{
"path": "recovery-expected-after/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
},
{
"path": "recovery-expected-before/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b"
},
{
"path": "recovery-expected-before/project.arcadia",
"bytes": 290,
"sha256": "6e9abf4ecf24175b9f04a8db11fe182146581059628eb8769e869597401f262e"
},
{
"path": "recovery-expected-before/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992"
},
{
"path": "recovery-expected-before/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
},
{
"path": "release1/evidence/repair-check.md",
"bytes": 1419,
"sha256": "f4db17bdca4ecbb1bf0caef01b2da5f1f7f798ab3152b648ce6dd8696a6a68e5"
},
{
"path": "release1/expected-diagnostics.json",
"bytes": 288,
"sha256": "3700393d76b940cfc076bf52861bd7b1f43370f8eabce3594531bd0bf1fc851e"
},
{
"path": "release1/model.json",
"bytes": 134520,
"sha256": "ef0ef4006c3e09d5db6e1b621256b3f7d6642f3a7b09cc34607cfbcca830c727"
},
{
"path": "release1/model.rs",
"bytes": 28762,
"sha256": "15f30f6bde655808fe754665c26d560e36f2a9bad340f346b09137d0d05045f5"
},
{
"path": "release1/oa/activities/activity_oa_restore_work.arcadia",
"bytes": 1307,
"sha256": "83e73d0a013d5c3e1a4af0d9139ab0cfa362d25a846671fc2dac59181061a9d4"
},
{
"path": "release1/oa/behavior/process_oa_assessment_procedure.arcadia",
"bytes": 697,
"sha256": "172c32c044ef4b5bc58a1f4635cc81f48dabb4014479b47dce7b25fedf2dbd0d"
},
{
"path": "release1/oa/behavior/process_oa_field_procedure.arcadia",
"bytes": 1781,
"sha256": "d2552dc5383e2e91cb302a790364e197f663c2edc013a2ab1978789825c9c324"
},
{
"path": "release1/oa/behavior/process_oa_response.arcadia",
"bytes": 3225,
"sha256": "cf86f46fa5c5d70592ef43f1bc1cb4d968efd8add384ba88036bef6b88aa4abc"
},
{
"path": "release1/oa/behavior/scenario_oa_conversation.arcadia",
"bytes": 1795,
"sha256": "b25be524e98a35ebac5e4481b7609c027b32baf9605e8097f807560f94a77ca6"
},
{
"path": "release1/oa/behavior/scenario_oa_full_scenario.arcadia",
"bytes": 1261,
"sha256": "00a1edf2c9707a0eb62ac070c2d02467874f2c9c1f273cc6ddb53d6d65999a1c"
},
{
"path": "release1/oa/behavior/state_machine_oa_monitor.arcadia",
"bytes": 2022,
"sha256": "447c9ad1359f4a31ecf975ad07c0b08d8e7e03191fb0858e2fc56f377b223cd5"
},
{
"path": "release1/oa/capabilities.arcadia",
"bytes": 781,
"sha256": "fc8012e5554350b12e1cb80080f8feab80d933c9b33c0f2a7bb500cb7d609936"
},
{
"path": "release1/oa/model.arcadia",
"bytes": 661,
"sha256": "f7cf914766ea73ec53b85e32d117ea9a9dba52d3e038246863541ae7069b1a15"
},
{
"path": "release1/oa/participants.arcadia",
"bytes": 1834,
"sha256": "951764c14179f27c10e315acf2ea37d1fff54c77b8441e23addd239e8c715ce3"
},
{
"path": "release1/oa/types.arcadia",
"bytes": 788,
"sha256": "9d0396fb82dd5733edd8d1cf52f968ca84906927c704f9cf0944a7fae215cf49"
},
{
"path": "release1/project.arcadia",
"bytes": 1958,
"sha256": "b2674e6bf77cfe0f6f0ba79c81d2e96d92f39c02ca2c6266d80e91723bfb9fda"
},
{
"path": "release1/README.md",
"bytes": 11137,
"sha256": "113cfb1cf38a98b51bff60442d86a35d636a3d80ef206bece7d53d0aae67f2d5"
},
{
"path": "release1/sa/behavior/process_sa_assessment_procedure.arcadia",
"bytes": 706,
"sha256": "73928ced61c06cbc08728d7956676a50fd4c05aa5b7f1ff4f29ce27a0b0f2088"
},
{
"path": "release1/sa/behavior/process_sa_field_procedure.arcadia",
"bytes": 1790,
"sha256": "886d462af83110cbfa55dd232a667ea1446761234471357cbb878794e98e8768"
},
{
"path": "release1/sa/behavior/process_sa_response.arcadia",
"bytes": 3234,
"sha256": "041785fc22842423822431bd5e6e8d16094ebd0716965e7c765fb8c1d7549e8a"
},
{
"path": "release1/sa/behavior/scenario_sa_conversation.arcadia",
"bytes": 2127,
"sha256": "97276f5757ee9aa12a0dbd9d3ccd58174b3091162bb8bcce357cec20a45f5d85"
},
{
"path": "release1/sa/behavior/scenario_sa_full_scenario.arcadia",
"bytes": 1256,
"sha256": "e12fc406b99d60a2f7768aaa0b25ba560e8605f0b8e37f3a7cdd3b8443562b74"
},
{
"path": "release1/sa/behavior/state_machine_sa_monitor.arcadia",
"bytes": 2022,
"sha256": "05ce29af99424c491c47fe2450dc6f5f8ce995511c01ec7e17bb5855be3c9736"
},
{
"path": "release1/sa/capabilities.arcadia",
"bytes": 781,
"sha256": "b6912fb3ece439912345fa71724acd462e716a1e5a88203a1058a5c3b2c20a4f"
},
{
"path": "release1/sa/functions/function_sa_audit_thresholds.arcadia",
"bytes": 297,
"sha256": "e5a04325d52183956dca814dd90f4e56c96c6b7db0f4f202f203ecb49c3e0f4f"
},
{
"path": "release1/sa/functions/function_sa_restore_work.arcadia",
"bytes": 2576,
"sha256": "fddeb67308051325041fee641fe758ddf43345b7c47b66d433616ad07fdccdd6"
},
{
"path": "release1/sa/model.arcadia",
"bytes": 661,
"sha256": "d431509251acb859fbb98733b6d18add952495e10a78703fbe8f31e40bc083c4"
},
{
"path": "release1/sa/participants.arcadia",
"bytes": 4012,
"sha256": "780d2eb08b217b67b55febb3d34846f727b8ee9018df6c5741748647e36b2ff8"
},
{
"path": "release1/sa/types.arcadia",
"bytes": 1227,
"sha256": "101fc0fbd99f1101514aa7b6da4f8e535aae0bb94c9e2b9e7e6c151135b28660"
},
{
"path": "release1/traceability.arcadia",
"bytes": 29506,
"sha256": "48a96f543456c9b5a5798fc795594e4119147fe45f11a6f109f141b7f514560f"
},
{
"path": "release1/transition-before.json",
"bytes": 35801,
"sha256": "2253e6434f741687e22327c37d520ed15c043bc36025498650bc2366bb6a874d"
},
{
"path": "release1/transition-request.json",
"bytes": 4276,
"sha256": "43b9a22e5f95ad3bc0ebd2478ead0e14406854abc989ae94ded9367b013d812a"
},
{
"path": "release1/views/diagram_oa_allocation_view.arcadia",
"bytes": 2176,
"sha256": "dfc0eb61e0e2aa5bda45524571fbfa3494f44ce19696f3e15e07438074a07bc7"
},
{
"path": "release1/views/diagram_sa_allocation_view.arcadia",
"bytes": 2173,
"sha256": "b78b43a26a82efb8fbd5374b09c329fa341f57b29f635d397b9ef8aede71d389"
},
{
"path": "release1/views/diagram_sa_capability_view.arcadia",
"bytes": 1620,
"sha256": "75e8dc9fb30f25d6f8fd3c6b595593ab4f98958a25798f961e336e0fac557649"
},
{
"path": "release1/views/diagram_sa_service_view.arcadia",
"bytes": 2209,
"sha256": "b08c84f3ea633e7c78dfdad3272f75415f6256cf3614b6d99bfd4f0269076c9b"
},
{
"path": "release1/views/diagram_sa_state_view.arcadia",
"bytes": 1931,
"sha256": "5f42f4c605e57b817d8400ed21f2b14bfc4e1592aebe941ff113767504c2b869"
},
{
"path": "valid/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b"
},
{
"path": "valid/project.arcadia",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414"
},
{
"path": "valid/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992"
},
{
"path": "valid/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
}
]
}
@@ -0,0 +1,4 @@
interaction handoff "Assessment handoff" id "9e8f0000-0000-4000-8000-000000000004" {
description "救援 @assess is prose"; source @assess; target @confirm;
// Another comment @assess is excluded.
}
@@ -0,0 +1,7 @@
arcadia 7;
project navigation_trial "Navigation — 救援" id "9e8f0000-0000-4000-8000-000000000001" {
description "Prose @assess must not be a lexical use.";
include "救援/assess.arcadia";
include "救援/confirm.arcadia";
include "links.arcadia";
}
@@ -0,0 +1,4 @@
// Comment @assess must not be a lexical use.
oa_activity assess "Assess 救援 request" id "9e8f0000-0000-4000-8000-000000000002" {
description "Keep @assess as prose, not a use.";
}
@@ -0,0 +1,2 @@
oa_activity confirm "Confirm 救援 response" id "9e8f0000-0000-4000-8000-000000000003" {}
oa_activity assess "Duplicate draft assessment" id "9e8f0000-0000-4000-8000-000000000005" {}
@@ -0,0 +1,4 @@
interaction handoff "Assessment handoff" id "9e8f0000-0000-4000-8000-000000000004" {
description "救援 @assess is prose"; source @assess; target @confirm;
// Another comment @assess is excluded.
}
@@ -0,0 +1,8 @@
arcadia 7;
project navigation_trial "Navigation — 救援" id "9e8f0000-0000-4000-8000-000000000001" {
description "Prose @assess must not be a lexical use.";
include "救援/assess.arcadia";
include "救援/confirm.arcadia";
include "links.arcadia";
include "missing/not-loaded.arcadia";
}
@@ -0,0 +1,4 @@
// Comment @assess must not be a lexical use.
oa_activity assess "Assess 救援 request" id "9e8f0000-0000-4000-8000-000000000002" {
description "Keep @assess as prose, not a use.";
}
@@ -0,0 +1 @@
oa_activity confirm "Confirm 救援 response" id "9e8f0000-0000-4000-8000-000000000003" {}
@@ -0,0 +1,4 @@
interaction handoff "Assessment handoff" id "9e8f0000-0000-4000-8000-000000000004" {
description "救援 @assess is prose"; source @assess; target @confirm;
// Another comment @assess is excluded.
}
@@ -0,0 +1,7 @@
arcadia 7;
project navigation_trial "Navigation — 救援" id "9e8f0000-0000-4000-8000-000000000001" {
description "Prose @assess must not be a lexical use.";
include "救援/assess.arcadia";
include "救援/confirm.arcadia";
include "links.arcadia";
}
@@ -0,0 +1,4 @@
// Comment @assess must not be a lexical use.
oa_activity assess "Assess 救援 request" id "9e8f0000-0000-4000-8000-000000000002" {
description "Keep @assess as prose, not a use.";
}
@@ -0,0 +1 @@
oa_activity confirm "Confirm 救援 response" id "9e8f0000-0000-4000-8000-000000000003" {}
@@ -0,0 +1,4 @@
interaction handoff "Assessment handoff" id "9e8f0000-0000-4000-8000-000000000004" {
description "救援 @assess is prose"; source @assess; target @confirm;
// Another comment @assess is excluded.
}
@@ -0,0 +1,7 @@
arcadia 7;
project navigation_trial "Before interrupted save — 救援" id "9e8f0000-0000-4000-8000-000000000001" {
description "Prose @assess must not be a lexical use.";
include "救援/assess.arcadia";
include "救援/confirm.arcadia";
include "links.arcadia";
}
@@ -0,0 +1,4 @@
// Comment @assess must not be a lexical use.
oa_activity assess "Assess 救援 request" id "9e8f0000-0000-4000-8000-000000000002" {
description "Keep @assess as prose, not a use.";
}
@@ -0,0 +1 @@
oa_activity confirm "Confirm 救援 response" id "9e8f0000-0000-4000-8000-000000000003" {}
@@ -0,0 +1,7 @@
arcadia 7;
project navigation_trial "Navigation — 救援" id "9e8f0000-0000-4000-8000-000000000001" {
description "Prose @assess must not be a lexical use.";
include "救援/assess.arcadia";
include "救援/confirm.arcadia";
include "links.arcadia";
}
@@ -0,0 +1,7 @@
arcadia 7;
project navigation_trial "Before interrupted save — 救援" id "9e8f0000-0000-4000-8000-000000000001" {
description "Prose @assess must not be a lexical use.";
include "救援/assess.arcadia";
include "救援/confirm.arcadia";
include "links.arcadia";
}
@@ -0,0 +1 @@
{"version":1,"entry":"project.arcadia","files":[{"path":"project.arcadia","before":true,"write":true}]}
@@ -0,0 +1,4 @@
interaction handoff "Assessment handoff" id "9e8f0000-0000-4000-8000-000000000004" {
description "救援 @assess is prose"; source @assess; target @confirm;
// Another comment @assess is excluded.
}
@@ -0,0 +1,7 @@
arcadia 7;
project navigation_trial "Navigation — 救援" id "9e8f0000-0000-4000-8000-000000000001" {
description "Prose @assess must not be a lexical use.";
include "救援/assess.arcadia";
include "救援/confirm.arcadia";
include "links.arcadia";
}
@@ -0,0 +1,4 @@
// Comment @assess must not be a lexical use.
oa_activity assess "Assess 救援 request" id "9e8f0000-0000-4000-8000-000000000002" {
description "Keep @assess as prose, not a use.";
}
@@ -0,0 +1 @@
oa_activity confirm "Confirm 救援 response" id "9e8f0000-0000-4000-8000-000000000003" {}
@@ -0,0 +1,86 @@
# Restore safe water pressure
This source-7 project follows one engineering question: after a pressure alarm, can the control room restore service remotely, or must a technician repair a valve? It connects the operational need to an explicitly chosen coordination-service boundary. Allow about 25 minutes for the walkthrough.
Copy the whole `examples/release1` folder to your working location, then open the copied `project.arcadia` in Arcadia Studio. Keep the folder together: the entry includes 29 modules, and the evidence link is relative to it. If you instead use Save As to a new folder, it copies model source files only: also copy `evidence/` beside the new entry and keep this README available. Save As does not copy external artifact targets. Existing older examples remain useful migration exercises.
The numbers, guards and states describe an illustrative design. The model does not simulate hydraulics, execute a control algorithm, or establish the safety of an actual water network.
## 1. Start with responsibility, not equipment
Open saved view **1 · OA responsibility and repair traffic**. The **Control room** assesses the alarm, resets the valve and confirms pressure. The **Field technician** performs field repair. The parent activity **Restore safe pressure** groups these leaf activities; responsibility is allocated to the leaves.
Inspect **Technician service conversation** (`oa_contact`). This unoriented CommunicationMean connects operational participants. **Request field repair** and **Report repair result** are Interactions between their allocated activities. Each Interaction is explicitly allocated to the communication mean. No OA port or implementation component has been introduced.
Inspect the **Valve repair** exchange item and its `pressure` parameter. The parameter has direction InOut, Value storage, multiplicity 1..1, and a real-valued type bounded from 0 to 600 with unit text `kPa`. The unit documents the contract; no conversion is inferred.
## 2. Follow the alternative and its reusable procedure
Open process **Handle a pressure alarm** (`oa_response`) in the behavior workspace. Its first step references **Assess an alarm procedure** (`oa_assessment_procedure`), whose Action uses the assessment activity and whose ChainInvolvement supports **Assess an alarm**. Follow that reference to the Choice in the main process. The guarded branch allows an authorized remote reset; the `else` branch references **Field repair procedure** (`oa_field_procedure`). Both paths merge before confirmation. The explicit SequenceLinks define flow; the list of steps alone does not imply those branches.
Open the referenced procedure. It contains request exchange, repair action, then report exchange. The parent process reuses that procedure by identity. It does not copy its actions. The main process contributes to the restoration capability.
Open scenario **Repair request and measured reply** (`oa_conversation`). The Control room calls the technician using the communication mean, supplying `420.0`. The technician's correlated Reply returns `320.0` on the reversed participant pair. The reply points to the actual Call. The enclosing scenario (`oa_full_scenario`) reuses this conversation with two explicit lifeline bindings.
The mission **Maintain safe water supply** links to the restoration capability, which includes the assessment capability. The repair conversation has the restoration context: it begins after assessment and coordinates repair. The assessment procedure supplies the separate assessment behavior support.
## 3. Examine the explicit SA engineering decisions
Open **2 · SA service boundary and functions**. The chosen System is **Pressure coordination service**; the technician remains outside as a SystemActor. OA activities have traced SA functions. The communication mean has a traced SA BoundaryExchange (`sa_contact`), with two explicitly chosen Standard component ports. The two Interactions have traced FunctionalExchanges with directional function ports.
Inspect **Valve repair service** (`sa_repair_interface`), its synchronous Operation acceptance, and the client Requires / provider Provides links. Four PortAllocations connect the function ports to their component ports; two ExchangeAllocations connect functional traffic to the boundary exchange. These are explicit contract refinements. An operational channel cannot choose the technical interface or ports on the engineer's behalf.
The generator performs the real OA→SA transition. `transition-before.json` is the OA model plus the two intentionally named SA participants. `transition-request.json` contains their explicit mappings and both component-port Create decisions. It deliberately leaves the operational ExchangeAllocations out of this first transition: those allocations require the later reviewed SA interface and port refinements. Omitting these allocations is explicit, not silently guessed.
For a fresh transition exercise, import `transition-before.json`, select the OA content, map Control room to the existing System and Field technician to the existing SystemActor, and review both communication endpoint ports. The supplied request is the exact programmatic counterpart. The generated final project then adds the interface/port allocations, views, evidence and one unfinished function. Fresh transition UUIDs are normalized by the generator for stable published files, so an interactive replay is semantically comparable rather than byte-identical to `model.json`.
## 4. Compare views without changing the architecture
Switch between **2 · SA service boundary and functions** and **3 · SA service conversation only**. They place the same semantic identities. The focused view uses the participant exchange category, an explicitly empty work-category selection, and NameAndItems labels. It shows the boundary conversation and hides functional traffic. The underlying exchanges and their port positions remain unchanged.
Open View properties to inspect the selections. Clearing a filter does not delete a relation. The category is an engineering collection of existing exchanges; it is not a replacement exchange. **4 · SA mission and included capability** supplies a separate goal view.
Open **5 · SA pressure supervision** in the state workspace. Follow the initial state to monitoring, the typed high-pressure Change event into waiting, and the guarded return. Waiting has an Entry action linked to the assessment function. This is an event/action relationship, not free prose embedded in a transition label.
## 5. Investigate the deliberate warning
Model checks should report exactly one warning: `work_without_behavior_context` on **Audit pressure thresholds** (`sa_audit_thresholds`). It has a responsible System but no process/chain or scenario use. `expected-diagnostics.json` records the expected located issue.
Decide whether threshold auditing belongs in the response process, in a separate maintenance behavior, or outside the intended model. Add the appropriate behavior use or remove the explicitly out-of-scope function. Merely hiding it in a view would not resolve the coverage question. The supplied model intentionally leaves this decision open.
## 6. Make one reviewed change and inspect its source
1. In OA, rename **Confirm safe pressure** (`oa_confirm`) to **Confirm stable pressure** and Apply the edit.
2. Open semantic OA→SA review for that activity and its existing function counterpart (`sa_confirm`). Review the Header Name facet and choose Take source. Preview, then Apply the reviewed change.
3. Confirm that the SA function name changed while the deliberately different System name remains **Pressure coordination service**.
4. In Source, inspect `sa/functions/function_sa_restore_work.arcadia` and `traceability.arcadia`. The counterpart name and review history change. Unrelated modules retain their text. Use Undo/Redo in this editing session to inspect the reviewed transaction; then Save and reopen to check persistence. Undo history is session-local; reopening restores the saved model, not the previous undo stack.
The integration oracle executes this exact semantic review and source update. It separately proves that changing the request Interaction to target a Control-room-owned activity violates the communication allocation's performer pairing: command and source-update paths reject the invalid candidate together.
## Source, service and reproducibility
| File or folder | Purpose |
|---|---|
| `project.arcadia` | Openable source-7 entry with all module includes |
| `oa/`, `sa/` | Participants, work, data, capabilities and reusable behavior |
| `views/` | Five saved views; filters and placements are presentation state |
| `traceability.arcadia` | OA↔SA correspondence and review history |
| `model.json` | Current schema-7 interchange of the final accepted model |
| `transition-before.json`, `transition-request.json` | Explicit first-transition replay inputs |
| `evidence/repair-check.md` | Local teaching evidence linked from the SA conversation |
| `model.rs` | Deterministic lesson builder shared by generator and tests |
The REST routes are documented in [the API reference](../../docs/api.rst). Import `model.json` with `POST /api/v1/projects/import`; query the returned resource's `/model` and `/validation`. Expect schema 7 and the one warning above. JSON import provides canonical source; to retain the exact modular source layout, use `/api/v1/projects/import-source-project` with a SourceBundle containing entry `project.arcadia` and only the 30 reachable `.arcadia` file strings, keyed by slash-separated relative paths. Neither route reads the artifact target from your local filesystem.
For transition replay, import `transition-before.json` instead. Submit `transition-request.json` to that baseline resource's `/transitions/preview` with its current ETag in `If-Match`. Review the returned plan, then follow the documented `/transitions/apply` protocol. Use the baseline resource for this exercise: the final model already contains the mapped records and subsequent refinements. This tutorial's automated evidence is core/source validation; it does not claim a separate native or HTTP acceptance run of this particular example.
From the repository root, with the supported Rust toolchain available:
```text
cargo run --locked -p oa-core --example generate_release1 -- examples/release1
cargo test --locked -p oa-core --test release1_teaching
```
Regeneration deliberately overwrites the generated source and JSON in the selected output folder. Copy the lesson before experimenting. No old examples are rewritten. The tests check deterministic regeneration, exact source/interchange parity, explicit transport and reply direction, behavior reuse, view identity/geometry, atomic rejection, and a reviewed name change preserving unrelated modules.
The available SVG export is for architecture views. Faithful process, scenario and state-scene SVG export is outside this first-release export scope; the interactive behavior workspace is the authoritative rendering for this exercise.
@@ -0,0 +1,15 @@
# Repair conversation acceptance notes
Revision: lesson-1. Linked from `sa_conversation` by `repair_test_evidence`, relation Verifies, fragment `acceptance`.
## Acceptance
This is a reproducible teaching check, not field-test evidence for a real valve.
- The Control room calls the Field technician across the operational channel; the correlated Reply reverses the actual Call pair.
- The SA conversation uses the selected service boundary and explicit Standard client/provider ports. A synchronous operation interface and its Requires/Provides links describe the contract.
- Both request and report functional exchanges are allocated through matching function/component ports and the boundary exchange.
- The example carries input/output pressure values `420.0` and `320.0` against the declared 0..600 real type. Values and unit text are descriptive model data; no hydraulic simulation has run.
- The remote reset and field-repair alternatives join before pressure confirmation. The field procedure and scenario conversation are reused through identities and explicit bindings.
Run `cargo test --locked -p oa-core --test release1_teaching` from the repository root to reproduce the core/source oracles. The intentionally unfinished threshold-audit function remains a located coverage warning. Actual equipment safety assessment, executable control validation and field measurements are separate engineering work.
@@ -0,0 +1,9 @@
[
{
"code": "work_without_behavior_context",
"element": "4149a872-3440-59de-9879-8981e78d27ab",
"field": null,
"message": "Include this leaf activity/function in a process/chain or scenario through a work action or exchange occurrence.",
"severity": "Warning"
}
]
@@ -0,0 +1,45 @@
oa_activity oa_restore_work "Restore safe pressure" id "1b91f8a7-0bdb-514e-b1cd-955658e09927" {
description "";
parent none;
}
oa_activity oa_assess "Assess pressure alarm" id "61f7bbfb-74a4-5540-9182-2583dfb27a49" {
description "";
parent @oa_restore_work;
}
oa_activity oa_confirm "Confirm safe pressure" id "727c0b5c-8db6-5eb7-83d6-735519c5949f" {
description "";
parent @oa_restore_work;
}
oa_activity oa_repair "Repair valve in the field" id "a21465af-05f3-5fb5-8983-de26932422fb" {
description "";
parent @oa_restore_work;
}
oa_activity oa_reset "Reset valve remotely" id "d0c8be87-d238-503a-a549-7558a210507f" {
description "";
parent @oa_restore_work;
}
capability_involvement oa_assessment_support "Capability involvement: Assess an alarm" id "ffdbfcd0-d423-5707-a880-0dfbe1400f72" {
description "";
source @oa_assess;
target @oa_triage;
}
interaction oa_repair_request "Request field repair" id "cf423ea2-8b2e-5a27-93d4-5e8542d9db8d" {
description "";
items [@oa_repair_operation];
source @oa_assess;
target @oa_repair;
}
interaction oa_repair_report "Report repair result" id "b436d0b3-c824-5a96-af6b-2c269816d1cc" {
description "";
items [@oa_repair_operation];
source @oa_repair;
target @oa_confirm;
}
@@ -0,0 +1,25 @@
oa_process oa_assessment_procedure "Assess an alarm procedure" id "022d3cfa-bbaf-5e13-924a-8e55099b8745" {
description "";
parent none;
steps [@oa_assessment_action];
}
oa_occurrence oa_assessment_action "Assess pressure alarm" id "942975b8-0bef-5ae8-9fcb-c37497833fb0" {
body {
Action {
action @oa_assess;
lifeline none;
};
};
description "";
parent @oa_assessment_procedure;
postcondition "";
precondition "";
}
chain_involvement oa_assessment_delivery "Chain involvement: Assess an alarm" id "628cb4fc-fe63-5f6b-b364-6268f26b5740" {
description "";
source @oa_assessment_procedure;
target @oa_triage;
}
@@ -0,0 +1,67 @@
oa_process oa_field_procedure "Field repair procedure" id "5d3af417-244c-54bb-9588-16daedda4e1f" {
description "";
parent none;
steps [@oa_request_step, @oa_repair_step, @oa_report_step];
}
oa_occurrence oa_repair_step "Repair the valve" id "c59432fe-6092-5ee0-908d-9dbf39476471" {
body {
Action {
action @oa_repair;
lifeline none;
};
};
description "";
parent @oa_field_procedure;
postcondition "";
precondition "";
}
oa_occurrence oa_report_step "Report the measured result" id "df2fd3f8-6bc2-5380-a13f-36643ed35ac7" {
body {
Exchange {
exchange @oa_repair_report;
message_kind Asynchronous;
receiver none;
reply_to none;
sender none;
values [];
};
};
description "";
parent @oa_field_procedure;
postcondition "";
precondition "";
}
oa_occurrence oa_request_step "Request the field repair" id "5ba8079c-2dbe-5e98-ae82-2b60c6020a02" {
body {
Exchange {
exchange @oa_repair_request;
message_kind Asynchronous;
receiver none;
reply_to none;
sender none;
values [];
};
};
description "";
parent @oa_field_procedure;
postcondition "";
precondition "";
}
sequence_link oa_repair_then_report "Sequence link: Report the measured result" id "c8196d35-2168-5fef-8b03-ba0d139bc00f" {
description "";
guard "";
source @oa_repair_step;
target @oa_report_step;
}
sequence_link oa_request_then_repair "Sequence link: Repair the valve" id "3f54d890-4ca5-5e36-873b-abb5c92d578c" {
description "";
guard "";
source @oa_request_step;
target @oa_repair_step;
}
@@ -0,0 +1,128 @@
oa_process oa_response "Handle a pressure alarm" id "58bae2b0-f560-50f2-818d-19091d22d18a" {
description "";
parent none;
steps [@oa_assess_step, @oa_decision, @oa_reset_step, @oa_use_field, @oa_merge, @oa_confirm_step];
}
oa_occurrence oa_assess_step "Assess the alarm" id "0b07b9ed-492d-57f6-b0b1-ce8a709238a7" {
body {
SequenceReference {
sequence @oa_assessment_procedure;
};
};
description "";
parent @oa_response;
postcondition "";
precondition "";
}
oa_occurrence oa_confirm_step "Confirm safe pressure" id "e00594a3-6122-5a6b-b3c2-ecb5506c741d" {
body {
Action {
action @oa_confirm;
lifeline none;
};
};
description "";
parent @oa_response;
postcondition "";
precondition "";
}
oa_occurrence oa_decision "Can a remote reset safely recover pressure?" id "b280c6ca-e5f9-5424-a5c1-5676e01c2371" {
body {
Control {
kind Choice;
};
};
description "";
parent @oa_response;
postcondition "";
precondition "";
}
oa_occurrence oa_merge "Recovery path completed" id "6b945a6d-6aa0-5dd3-96e6-2e8d757d167d" {
body {
Control {
kind Merge;
};
};
description "";
parent @oa_response;
postcondition "";
precondition "";
}
oa_occurrence oa_reset_step "Try the authorized remote reset" id "d2026fc2-74a8-5e22-9942-ff3eb68a3677" {
body {
Action {
action @oa_reset;
lifeline none;
};
};
description "";
parent @oa_response;
postcondition "";
precondition "";
}
oa_occurrence oa_use_field "Use the field repair procedure" id "fc6763bf-a534-54bf-afcd-57ab285ff07d" {
body {
SequenceReference {
sequence @oa_field_procedure;
};
};
description "";
parent @oa_response;
postcondition "";
precondition "";
}
sequence_link oa_assess_then_decide "Continue" id "109e2d6b-7e86-5934-93a5-fab56eced84e" {
description "";
guard "";
source @oa_assess_step;
target @oa_decision;
}
sequence_link oa_field_path "else" id "c1adbbd0-a762-5ee3-8b9a-5c18af377771" {
description "";
guard "else";
source @oa_decision;
target @oa_use_field;
}
sequence_link oa_remote_path "remote reset is authorized" id "76218d89-68fd-531d-b35b-90c5b769a5ef" {
description "";
guard "remote reset is authorized";
source @oa_decision;
target @oa_reset_step;
}
sequence_link oa_confirm_path "Continue" id "229ee94f-d147-50f6-9769-b5bd0c03a084" {
description "";
guard "";
source @oa_merge;
target @oa_confirm_step;
}
sequence_link oa_remote_merge "Continue" id "bac43d3b-910b-5bdc-be9b-f78cf973e1ed" {
description "";
guard "";
source @oa_reset_step;
target @oa_merge;
}
chain_involvement oa_response_delivery "Chain involvement: Restore a safe supply" id "c7c248f8-28b8-55be-9023-0991d44021e3" {
description "";
source @oa_response;
target @oa_restore;
}
sequence_link oa_field_merge "Continue" id "c8593670-8906-530f-b6a2-3ada77a9c219" {
description "";
guard "";
source @oa_use_field;
target @oa_merge;
}
@@ -0,0 +1,64 @@
oa_scenario oa_conversation "Repair request and measured reply" id "20472233-5ce6-5ffe-b4ad-0bdbccf3e423" {
context @oa_restore;
description "";
parent none;
postcondition "The controller has received the measured pressure after repair";
precondition "A pressure alarm has been assessed";
steps [@oa_call, @oa_reply];
viewpoint ParticipantInteraction;
}
oa_occurrence oa_call "Request valve repair" id "b97437c6-cd7a-5a05-b537-b30a17dd936a" {
body {
Exchange {
exchange @oa_contact;
message_kind Call;
receiver @oa_responder;
reply_to none;
sender @oa_caller;
values [{
expression "420.0";
field @oa_pressure_parameter;
path [];
}];
};
};
description "";
parent @oa_conversation;
postcondition "";
precondition "";
}
oa_lifeline oa_caller "Controller" id "41859a65-ded2-547b-ab03-14e2fa740cf9" {
description "";
parent @oa_conversation;
represented @oa_control;
}
oa_occurrence oa_reply "Return pressure after repair" id "cc2d497a-fd15-5455-9ee5-e70eb95811d8" {
body {
Exchange {
exchange @oa_contact;
message_kind Reply;
receiver @oa_caller;
reply_to @oa_call;
sender @oa_responder;
values [{
expression "320.0";
field @oa_pressure_parameter;
path [];
}];
};
};
description "";
parent @oa_conversation;
postcondition "";
precondition "";
}
oa_lifeline oa_responder "Technician" id "fc81c5f0-0442-5b88-992b-e5b10f351c59" {
description "";
parent @oa_conversation;
represented @oa_technician;
}
@@ -0,0 +1,41 @@
oa_scenario oa_full_scenario "Restore supply through field repair" id "d6f881a4-95da-54e9-ad97-1b8965532629" {
context @oa_restore;
description "";
parent none;
postcondition "The controller has received the measured pressure after repair";
precondition "A pressure alarm has been assessed";
steps [@oa_use_conversation];
viewpoint ParticipantInteraction;
}
oa_lifeline oa_outer_controller "Controller" id "2011b3ac-614b-5a47-8891-7ff81965f425" {
description "";
parent @oa_full_scenario;
represented @oa_control;
}
oa_lifeline oa_outer_technician "Technician" id "fffff882-78fd-5415-928d-c1ef7fac6576" {
description "";
parent @oa_full_scenario;
represented @oa_technician;
}
oa_occurrence oa_use_conversation "Use the reviewed repair conversation" id "9ff94014-afa1-50ab-a4d3-8e9dd0565cc5" {
body {
ScenarioUse {
bindings [{
local @oa_outer_controller;
referenced @oa_caller;
}, {
local @oa_outer_technician;
referenced @oa_responder;
}];
scenario @oa_conversation;
};
};
description "";
parent @oa_full_scenario;
postcondition "";
precondition "";
}
@@ -0,0 +1,80 @@
oa_state_machine oa_monitor "Pressure supervision" id "1970608f-85d1-5234-ac86-5e2b0df27dc3" {
description "";
parent @oa_control;
}
oa_region oa_monitor_region "Supervision cycle" id "8412e9c6-96fe-5ed6-a903-1d37ec3c3bf7" {
description "";
parent @oa_monitor;
}
oa_initial oa_monitor_initial "Start" id "a7ffb869-9dde-5e76-b276-c719c5c143a9" {
description "";
do_activity "";
entry "";
exit "";
kind Initial;
parent @oa_monitor_region;
}
oa_state oa_monitoring "Monitoring" id "6cbde0d8-9f5f-510a-a8c1-e29cb99ad4ae" {
description "";
do_activity "";
entry "";
exit "";
kind State;
parent @oa_monitor_region;
}
oa_state oa_waiting "Awaiting repair" id "58c15833-6e75-523a-b57f-a88f19f6d672" {
description "";
do_activity "";
entry "";
exit "";
kind State;
parent @oa_monitor_region;
}
state_transition oa_start_monitoring "State transition: Monitoring" id "2b00270c-79a5-52a5-af96-33346bea531b" {
description "";
effect "";
effects [];
guard "";
source @oa_monitor_initial;
target @oa_monitoring;
transition_kind External;
trigger "";
triggers [];
}
state_transition oa_alarm_transition "State transition: Awaiting repair" id "fbde9d5e-c7e9-55db-a2be-497345c491b3" {
description "";
effect "";
effects [];
guard "";
source @oa_monitoring;
target @oa_waiting;
transition_kind External;
trigger "";
triggers [@oa_high_pressure];
}
state_action oa_assess_on_entry "Assess when repair is needed" id "7fa37e63-db65-5aa7-88f2-31ff4347a787" {
description "";
phase Entry;
source @oa_waiting;
target @oa_assess;
}
state_transition oa_normal_transition "State transition: Monitoring" id "21fe5e8e-cbc2-5dad-b3e8-1df46e167d97" {
description "";
effect "";
effects [];
guard "repair confirmed and pressure is safe";
source @oa_waiting;
target @oa_monitoring;
transition_kind External;
trigger "";
triggers [];
}
@@ -0,0 +1,27 @@
oa_mission oa_mission "Maintain safe water supply" id "c9c61f50-06e0-5d17-973d-dcc57cd5cc90" {
description "";
parent none;
}
oa_capability oa_restore "Restore a safe supply" id "3dfee23a-148b-5cec-ad2d-b774e84ea5bb" {
description "";
parent none;
}
oa_capability oa_triage "Assess an alarm" id "6a30b763-cc51-546d-907f-5c63657cfd03" {
description "";
parent none;
}
mission_capability oa_mission_delivery "Mission capability: Restore a safe supply" id "1f8b1898-65f6-5360-99cf-b78a71bd50ec" {
description "";
source @oa_mission;
target @oa_restore;
}
capability_include oa_include_triage "Capability include: Assess an alarm" id "e21d9a54-ae8e-5618-a4f8-67ee22b92638" {
description "";
source @oa_restore;
target @oa_triage;
}
@@ -0,0 +1,24 @@
oa_exchange_category oa_contact_category "Field contact" id "19bd3a3a-4d0c-56d5-bf50-a6b43fd81771" {
description "";
exchanges [@oa_contact];
family "Participant";
parent none;
}
oa_event oa_high_pressure "Pressure alarm detected" id "65d6b8d6-271a-5c84-8b42-abbe310c955e" {
body {
Change {
expression "measured_pressure > operating_limit";
};
};
description "";
parent none;
}
oa_exchange_category oa_repair_traffic "Repair work exchanges" id "9349b353-53f2-56f8-b571-a05b09335cdf" {
description "";
exchanges [@oa_repair_request, @oa_repair_report];
family "Work";
parent none;
}
@@ -0,0 +1,60 @@
oa_entity oa_control "Control room" id "32aa9940-df6e-5a12-b9bd-6337e2d2ed22" {
description "";
parent none;
}
oa_actor oa_technician "Field technician" id "e07c3952-4a1a-5cc7-b7d5-03a01101ce49" {
description "";
parent none;
}
allocation oa_assess_allocation "Allocation: Assess pressure alarm" id "594c61cd-94e0-5c07-890d-edfd520d7df9" {
description "";
source @oa_control;
target @oa_assess;
}
allocation oa_confirm_allocation "Allocation: Confirm safe pressure" id "bfd4326e-ea65-5269-b5e6-e063a355d1e9" {
description "";
source @oa_control;
target @oa_confirm;
}
communication_mean oa_contact "Technician service conversation" id "27b47887-baf0-518b-bf87-f5acbf7d0b93" {
description "";
items [@oa_repair_operation];
oriented false;
source @oa_control;
target @oa_technician;
}
exchange_allocation oa_report_carriage "Exchange allocation: Report repair result" id "4549d3fa-5ab9-52a9-b4f9-3a78fc9d625a" {
description "";
source @oa_contact;
target @oa_repair_report;
}
exchange_allocation oa_request_carriage "Exchange allocation: Request field repair" id "094b888c-450c-5c4f-971a-7d75db059574" {
description "";
source @oa_contact;
target @oa_repair_request;
}
mission_involvement oa_mission_participant "Mission involvement: Maintain safe water supply" id "0c4c9e58-ff32-5c00-b82a-d408a4be0183" {
description "";
source @oa_control;
target @oa_mission;
}
allocation oa_reset_allocation "Allocation: Reset valve remotely" id "1853df1f-30f4-5b1a-baac-2dcaf73c7b3a" {
description "";
source @oa_control;
target @oa_reset;
}
allocation oa_repair_allocation "Allocation: Repair valve in the field" id "ae53f363-0dec-5a7c-9afd-8fcd1b778ab2" {
description "";
source @oa_technician;
target @oa_repair;
}
@@ -0,0 +1,35 @@
oa_data_type oa_pressure "Measured pressure" id "e7824764-5db9-5384-8198-2fbaea2b10b2" {
default none;
definition {
Real {
maximum 600.0;
minimum 0.0;
};
};
description "";
parent none;
unit "kPa";
}
oa_exchange_item oa_repair_operation "Valve repair" id "d736c7d6-d369-550a-8ba4-dae223e40bb3" {
description "";
kind Information;
mechanism Operation;
parent none;
supertype none;
}
oa_data_field oa_pressure_parameter "Pressure before / after repair" id "8bc6d0a4-3e87-559b-8bd7-1b679a2db5b7" {
default none;
description "";
direction InOut;
maximum 1;
minimum 1;
parent @oa_repair_operation;
storage Value;
type_ref {
Named @oa_pressure;
};
unit "";
}
@@ -0,0 +1,33 @@
arcadia 7;
project pressure_restoration "Restore safe water pressure — release 1 walkthrough" id "2786d72f-5763-5f33-a57f-2773a4ca1a6c" {
description "A controller either resets a valve remotely or requests field repair. Compare the operational need with the explicitly chosen coordination-service boundary. Start with README.md beside project.arcadia. Units and guards are descriptive; this model does not simulate a real water network.";
include "oa/activities/activity_oa_restore_work.arcadia";
include "oa/behavior/process_oa_assessment_procedure.arcadia";
include "oa/behavior/process_oa_field_procedure.arcadia";
include "oa/behavior/process_oa_response.arcadia";
include "oa/behavior/scenario_oa_conversation.arcadia";
include "oa/behavior/scenario_oa_full_scenario.arcadia";
include "oa/behavior/state_machine_oa_monitor.arcadia";
include "oa/capabilities.arcadia";
include "oa/model.arcadia";
include "oa/participants.arcadia";
include "oa/types.arcadia";
include "sa/behavior/process_sa_assessment_procedure.arcadia";
include "sa/behavior/process_sa_field_procedure.arcadia";
include "sa/behavior/process_sa_response.arcadia";
include "sa/behavior/scenario_sa_conversation.arcadia";
include "sa/behavior/scenario_sa_full_scenario.arcadia";
include "sa/behavior/state_machine_sa_monitor.arcadia";
include "sa/capabilities.arcadia";
include "sa/functions/function_sa_audit_thresholds.arcadia";
include "sa/functions/function_sa_restore_work.arcadia";
include "sa/model.arcadia";
include "sa/participants.arcadia";
include "sa/types.arcadia";
include "traceability.arcadia";
include "views/diagram_oa_allocation_view.arcadia";
include "views/diagram_sa_allocation_view.arcadia";
include "views/diagram_sa_capability_view.arcadia";
include "views/diagram_sa_service_view.arcadia";
include "views/diagram_sa_state_view.arcadia";
}
@@ -0,0 +1,25 @@
sa_functional_chain sa_assessment_procedure "Assess an alarm procedure" id "acd5a018-f559-5298-a40d-1cf6e1353e74" {
description "";
parent none;
steps [@sa_assessment_action];
}
sa_occurrence sa_assessment_action "Assess pressure alarm" id "bae5b192-5b8e-51c6-82ae-2331af0d33bf" {
body {
Action {
action @sa_assess;
lifeline none;
};
};
description "";
parent @sa_assessment_procedure;
postcondition "";
precondition "";
}
chain_involvement sa_assessment_delivery "Chain involvement: Assess an alarm" id "a6d5a6be-fa6e-5fa0-a309-08e87ba40c57" {
description "";
source @sa_assessment_procedure;
target @sa_triage;
}
@@ -0,0 +1,67 @@
sa_functional_chain sa_field_procedure "Field repair procedure" id "93eb6479-54e9-59cb-ac7b-16912347bfc0" {
description "";
parent none;
steps [@sa_request_step, @sa_repair_step, @sa_report_step];
}
sa_occurrence sa_repair_step "Repair the valve" id "0f195fea-3493-5ebd-966d-da9eddeb05d7" {
body {
Action {
action @sa_repair;
lifeline none;
};
};
description "";
parent @sa_field_procedure;
postcondition "";
precondition "";
}
sa_occurrence sa_report_step "Report the measured result" id "ea32e4ec-8bdc-57ea-8a90-7b09ba4f0eac" {
body {
Exchange {
exchange @sa_repair_report;
message_kind Asynchronous;
receiver none;
reply_to none;
sender none;
values [];
};
};
description "";
parent @sa_field_procedure;
postcondition "";
precondition "";
}
sa_occurrence sa_request_step "Request the field repair" id "40d94322-baa2-5c81-b261-ff47cdc33782" {
body {
Exchange {
exchange @sa_repair_request;
message_kind Asynchronous;
receiver none;
reply_to none;
sender none;
values [];
};
};
description "";
parent @sa_field_procedure;
postcondition "";
precondition "";
}
sequence_link sa_repair_then_report "Sequence link: Report the measured result" id "7fb30b1d-195c-5f0e-a19c-a536f519a899" {
description "";
guard "";
source @sa_repair_step;
target @sa_report_step;
}
sequence_link sa_request_then_repair "Sequence link: Repair the valve" id "6a6d968f-26d6-5dbb-b721-5a27d362779a" {
description "";
guard "";
source @sa_request_step;
target @sa_repair_step;
}
@@ -0,0 +1,128 @@
sa_functional_chain sa_response "Handle a pressure alarm" id "5139ce73-56fd-5875-ba3a-e569fc890231" {
description "";
parent none;
steps [@sa_assess_step, @sa_decision, @sa_reset_step, @sa_use_field, @sa_merge, @sa_confirm_step];
}
sa_occurrence sa_assess_step "Assess the alarm" id "9024243c-ccc1-5edb-8477-2aa16e5e9a50" {
body {
SequenceReference {
sequence @sa_assessment_procedure;
};
};
description "";
parent @sa_response;
postcondition "";
precondition "";
}
sa_occurrence sa_confirm_step "Confirm safe pressure" id "47bec4f9-d6d0-5ed1-adca-fa0d960dc416" {
body {
Action {
action @sa_confirm;
lifeline none;
};
};
description "";
parent @sa_response;
postcondition "";
precondition "";
}
sa_occurrence sa_decision "Can a remote reset safely recover pressure?" id "30c8fad9-a49b-5692-9542-3148e76afd7b" {
body {
Control {
kind Choice;
};
};
description "";
parent @sa_response;
postcondition "";
precondition "";
}
sa_occurrence sa_merge "Recovery path completed" id "4ed0dd9d-c9e0-5652-aedf-5f0ab4328a07" {
body {
Control {
kind Merge;
};
};
description "";
parent @sa_response;
postcondition "";
precondition "";
}
sa_occurrence sa_reset_step "Try the authorized remote reset" id "bfa2ef0b-ce68-55c2-a9e5-31ea8a74fce6" {
body {
Action {
action @sa_reset;
lifeline none;
};
};
description "";
parent @sa_response;
postcondition "";
precondition "";
}
sa_occurrence sa_use_field "Use the field repair procedure" id "d5e61c5d-510b-5091-a878-da46f3a9e152" {
body {
SequenceReference {
sequence @sa_field_procedure;
};
};
description "";
parent @sa_response;
postcondition "";
precondition "";
}
sequence_link sa_assess_then_decide "Continue" id "9d4a131f-36ad-5125-b21f-c3dd033b8c82" {
description "";
guard "";
source @sa_assess_step;
target @sa_decision;
}
sequence_link sa_field_path "else" id "1bbd5957-1173-51d8-97e3-ba4f084227ae" {
description "";
guard "else";
source @sa_decision;
target @sa_use_field;
}
sequence_link sa_remote_path "remote reset is authorized" id "d8b6710a-e713-5979-934f-e5ca7d155bb4" {
description "";
guard "remote reset is authorized";
source @sa_decision;
target @sa_reset_step;
}
sequence_link sa_confirm_path "Continue" id "1e738f27-a3a1-526d-b330-6384088b9689" {
description "";
guard "";
source @sa_merge;
target @sa_confirm_step;
}
sequence_link sa_remote_merge "Continue" id "e5279265-8eac-52e8-98dc-571b20475e1f" {
description "";
guard "";
source @sa_reset_step;
target @sa_merge;
}
chain_involvement sa_response_delivery "Chain involvement: Restore a safe supply" id "66efc484-53c7-51a3-89e9-422429344b38" {
description "";
source @sa_response;
target @sa_restore;
}
sequence_link sa_field_merge "Continue" id "0f6ac3fb-4ad6-581e-ad14-336472072d5e" {
description "";
guard "";
source @sa_use_field;
target @sa_merge;
}
@@ -0,0 +1,73 @@
sa_scenario sa_conversation "Repair request and measured reply" id "730b27ca-b039-5a3b-8dc6-03418f9061b3" {
context @sa_restore;
description "";
parent none;
postcondition "The controller has received the measured pressure after repair";
precondition "A pressure alarm has been assessed";
steps [@sa_call, @sa_reply];
viewpoint BoundaryInterface;
}
sa_occurrence sa_call "Request valve repair" id "8bab4783-a098-5984-9e36-493957caf26c" {
body {
Exchange {
exchange @sa_contact;
message_kind Call;
receiver @sa_responder;
reply_to none;
sender @sa_caller;
values [{
expression "420.0";
field @sa_pressure_parameter;
path [];
}];
};
};
description "";
parent @sa_conversation;
postcondition "";
precondition "";
}
sa_lifeline sa_caller "Controller" id "98c61788-2fee-51f4-8cf9-de48e8c70e9e" {
description "";
parent @sa_conversation;
represented @sa_control;
}
sa_occurrence sa_reply "Return pressure after repair" id "4e1c0a56-ce80-5f13-a93a-6956de54880c" {
body {
Exchange {
exchange @sa_contact;
message_kind Reply;
receiver @sa_caller;
reply_to @sa_call;
sender @sa_responder;
values [{
expression "320.0";
field @sa_pressure_parameter;
path [];
}];
};
};
description "";
parent @sa_conversation;
postcondition "";
precondition "";
}
sa_lifeline sa_responder "Technician" id "6249b54a-e396-5338-82b9-89266c55670d" {
description "";
parent @sa_conversation;
represented @sa_technician;
}
artifact repair_test_evidence "Repair conversation acceptance notes" id "f5922bf7-05d8-590f-86e9-1d09f37f4fa6" {
description "A local teaching artifact, not proof of a real valve's safety.";
fragment "acceptance";
owner @sa_conversation;
relation Verifies;
revision "lesson-1";
uri "evidence/repair-check.md";
}
@@ -0,0 +1,41 @@
sa_scenario sa_full_scenario "Restore supply through field repair" id "f746a1cd-ff9f-55c0-b325-01c03d2f4fae" {
context @sa_restore;
description "";
parent none;
postcondition "The controller has received the measured pressure after repair";
precondition "A pressure alarm has been assessed";
steps [@sa_use_conversation];
viewpoint BoundaryInterface;
}
sa_lifeline sa_outer_controller "Controller" id "1edfcf9e-9bfa-51f1-80d5-62b8fd8bb023" {
description "";
parent @sa_full_scenario;
represented @sa_control;
}
sa_lifeline sa_outer_technician "Technician" id "155e4fe4-9e3b-5f4e-b886-28abcc3f086b" {
description "";
parent @sa_full_scenario;
represented @sa_technician;
}
sa_occurrence sa_use_conversation "Use the reviewed repair conversation" id "1c9da843-e2d3-5591-8e3f-db083a42867e" {
body {
ScenarioUse {
bindings [{
local @sa_outer_controller;
referenced @sa_caller;
}, {
local @sa_outer_technician;
referenced @sa_responder;
}];
scenario @sa_conversation;
};
};
description "";
parent @sa_full_scenario;
postcondition "";
precondition "";
}
@@ -0,0 +1,80 @@
sa_state_machine sa_monitor "Pressure supervision" id "132b3f28-3f88-5327-9868-8c8b645ed412" {
description "";
parent @sa_control;
}
sa_region sa_monitor_region "Supervision cycle" id "3ab11e24-4140-58fc-b3fa-da5f51c7fe2c" {
description "";
parent @sa_monitor;
}
sa_initial sa_monitor_initial "Start" id "57eb5348-14d8-560e-996a-8dbf993243e2" {
description "";
do_activity "";
entry "";
exit "";
kind Initial;
parent @sa_monitor_region;
}
sa_state sa_monitoring "Monitoring" id "8af21f9b-c21e-5aae-af0d-0958840f6655" {
description "";
do_activity "";
entry "";
exit "";
kind State;
parent @sa_monitor_region;
}
sa_state sa_waiting "Awaiting repair" id "a6bb10b1-f1e5-5b31-8afd-5bad5a7b6c37" {
description "";
do_activity "";
entry "";
exit "";
kind State;
parent @sa_monitor_region;
}
state_transition sa_start_monitoring "State transition: Monitoring" id "47730532-0372-5cc5-9d6d-0b8953aebdd8" {
description "";
effect "";
effects [];
guard "";
source @sa_monitor_initial;
target @sa_monitoring;
transition_kind External;
trigger "";
triggers [];
}
state_transition sa_alarm_transition "State transition: Awaiting repair" id "13c3bfa4-9254-5ab2-b96f-f65f402adf81" {
description "";
effect "";
effects [];
guard "";
source @sa_monitoring;
target @sa_waiting;
transition_kind External;
trigger "";
triggers [@sa_high_pressure];
}
state_action sa_assess_on_entry "Assess when repair is needed" id "a887f96a-37cb-5891-8070-011fa276e5b5" {
description "";
phase Entry;
source @sa_waiting;
target @sa_assess;
}
state_transition sa_normal_transition "State transition: Monitoring" id "6e2c1b47-764c-577a-b325-ff66dd2a2768" {
description "";
effect "";
effects [];
guard "repair confirmed and pressure is safe";
source @sa_waiting;
target @sa_monitoring;
transition_kind External;
trigger "";
triggers [];
}
@@ -0,0 +1,27 @@
sa_mission sa_mission "Maintain safe water supply" id "5ad034b1-084d-5273-9e70-971671766132" {
description "";
parent none;
}
sa_capability sa_restore "Restore a safe supply" id "81259051-370a-512d-a3b5-6420a6f933b6" {
description "";
parent none;
}
sa_capability sa_triage "Assess an alarm" id "bad8fa7c-f634-55fd-98d3-e1eb2da05d8f" {
description "";
parent none;
}
mission_capability sa_mission_delivery "Mission capability: Restore a safe supply" id "a0902e0f-3d18-576a-9aca-975a136dfdd7" {
description "";
source @sa_mission;
target @sa_restore;
}
capability_include sa_include_triage "Capability include: Assess an alarm" id "f3fe7690-734a-5877-8b57-a6599a4033c4" {
description "";
source @sa_restore;
target @sa_triage;
}
@@ -0,0 +1,5 @@
sa_function sa_audit_thresholds "Audit pressure thresholds" id "4149a872-3440-59de-9879-8981e78d27ab" {
description "Deliberately unfinished: assigned to the service, but no behavior context yet. Model checks should expose this one work_without_behavior_context warning.";
parent none;
}
@@ -0,0 +1,93 @@
sa_function sa_restore_work "Restore safe pressure" id "58867e7d-916e-5ebc-9e4c-8dbed1314be3" {
description "";
parent none;
}
sa_function sa_assess "Assess pressure alarm" id "dddae020-a444-5d48-acc8-139d2696a672" {
description "";
parent @sa_restore_work;
}
sa_port sa_repair_request_out "Request field repair output" id "24a6850e-b819-57e0-af88-ca4ab76581b7" {
contract {
FunctionOutput {
outgoing_items [@sa_repair_operation];
};
};
description "";
legacy none;
parent @sa_assess;
}
sa_function sa_confirm "Confirm safe pressure" id "d75eb3fa-a27d-52d5-8782-8b342b3865f6" {
description "";
parent @sa_restore_work;
}
sa_port sa_repair_report_in "Report repair result input" id "391af7c4-b07d-53a7-8ddd-5c81461fc4f8" {
contract {
FunctionInput {
incoming_items [@sa_repair_operation];
};
};
description "";
legacy none;
parent @sa_confirm;
}
sa_function sa_repair "Repair valve in the field" id "9497e10f-04c4-5586-8738-2464a6f00bd4" {
description "";
parent @sa_restore_work;
}
sa_port sa_repair_report_out "Report repair result output" id "994faed7-dbc8-5b96-9d62-7604ac0fbc3a" {
contract {
FunctionOutput {
outgoing_items [@sa_repair_operation];
};
};
description "";
legacy none;
parent @sa_repair;
}
sa_port sa_repair_request_in "Request field repair input" id "d2113fb0-a531-54ef-9484-13951b00ab8f" {
contract {
FunctionInput {
incoming_items [@sa_repair_operation];
};
};
description "";
legacy none;
parent @sa_repair;
}
sa_function sa_reset "Reset valve remotely" id "09342ccb-044b-5483-ac58-87dc3cf7831c" {
description "";
parent @sa_restore_work;
}
capability_involvement sa_assessment_support "Capability involvement: Assess an alarm" id "93eaad8d-83b7-5980-b9bb-86c9e3f31da4" {
description "";
source @sa_assess;
target @sa_triage;
}
functional_exchange sa_repair_request "Request field repair" id "93474111-f23e-56c1-b61b-b7c2396b91bd" {
description "";
items [@sa_repair_operation];
source @sa_assess;
source_port @sa_repair_request_out;
target @sa_repair;
target_port @sa_repair_request_in;
}
functional_exchange sa_repair_report "Report repair result" id "684eadc3-e670-5779-a60f-bbc9a5bfb062" {
description "";
items [@sa_repair_operation];
source @sa_repair;
source_port @sa_repair_report_out;
target @sa_confirm;
target_port @sa_repair_report_in;
}
@@ -0,0 +1,24 @@
sa_exchange_category sa_contact_category "Field contact" id "781cbe75-410f-5cc5-aeb8-a43491f77b99" {
description "";
exchanges [@sa_contact];
family "Participant";
parent none;
}
sa_event sa_high_pressure "Pressure alarm detected" id "01490fa8-2f01-5ac8-9722-d55d45414379" {
body {
Change {
expression "measured_pressure > operating_limit";
};
};
description "";
parent none;
}
sa_exchange_category sa_repair_traffic "Repair work exchanges" id "a9a47e48-100c-57a8-95f0-7fe24da94f94" {
description "";
exchanges [@sa_repair_request, @sa_repair_report];
family "Work";
parent none;
}
@@ -0,0 +1,126 @@
sa_system sa_control "Pressure coordination service" id "435bf87c-73fd-5e4d-978a-4c471bc9eaf0" {
description "";
parent none;
}
sa_port sa_control_port "Repair service client" id "98d411e7-7c65-5c3f-b543-8bf0f2522ea2" {
contract {
Component {
kind Standard;
orientation Unset;
};
};
description "Explicitly chosen Standard component port for the repair service.";
legacy none;
parent @sa_control;
}
sa_actor sa_technician "Field technician" id "c05b9422-b9da-5de5-b21d-07ad23bd2b8a" {
description "";
parent none;
}
sa_port sa_technician_port "Repair service provider" id "e6d69cbd-99d7-596b-bbe3-dada6118a600" {
contract {
Component {
kind Standard;
orientation Unset;
};
};
description "Explicitly chosen Standard component port for the repair service.";
legacy none;
parent @sa_technician;
}
allocation sa_assess_allocation "Allocation: Assess pressure alarm" id "9b9356d7-2db2-5a94-a47e-ea892cf02afe" {
description "";
source @sa_control;
target @sa_assess;
}
allocation sa_audit_allocation "Allocation: Audit pressure thresholds" id "1b245065-7242-5d81-8472-aaeb932054c9" {
description "";
source @sa_control;
target @sa_audit_thresholds;
}
allocation sa_confirm_allocation "Allocation: Confirm safe pressure" id "b76bf8de-2fa4-563f-a540-dd30f30e6c49" {
description "";
source @sa_control;
target @sa_confirm;
}
interface_requirement sa_client_requires "Interface requirement: Valve repair service" id "4f85337b-f6eb-533c-a45a-9a5d1d9567ca" {
description "";
source @sa_control_port;
target @sa_repair_interface;
}
boundary_exchange sa_contact "Technician service conversation" id "63009b5f-539e-5914-b630-ec6b7fefb4d5" {
description "";
items [@sa_repair_operation];
oriented false;
source @sa_control_port;
target @sa_technician_port;
}
exchange_allocation sa_report_carriage "Exchange allocation: Report repair result" id "ff9897b3-a23a-5994-a5b3-99a5b4d34ceb" {
description "";
source @sa_contact;
target @sa_repair_report;
}
exchange_allocation sa_request_carriage "Exchange allocation: Request field repair" id "4c4c4851-5a3d-5bb9-94df-b19f9cf39819" {
description "";
source @sa_contact;
target @sa_repair_request;
}
port_allocation sa_port_report_in "Port allocation: Report repair result input" id "568c5c01-de21-52a2-83bd-afdddc158085" {
description "";
source @sa_control_port;
target @sa_repair_report_in;
}
port_allocation sa_port_request_out "Port allocation: Request field repair output" id "55ec4dbf-bd17-5b0c-b3a3-95b2194aa8b9" {
description "";
source @sa_control_port;
target @sa_repair_request_out;
}
mission_involvement sa_mission_participant "Mission involvement: Maintain safe water supply" id "1c1e5634-ba8c-591f-b143-90a27cdc6cd2" {
description "";
source @sa_control;
target @sa_mission;
}
allocation sa_reset_allocation "Allocation: Reset valve remotely" id "3cc9ab52-2b00-57fd-8709-aabc75e5d3e3" {
description "";
source @sa_control;
target @sa_reset;
}
allocation sa_repair_allocation "Allocation: Repair valve in the field" id "725f2e1b-aa2c-5615-9b1f-28da178168fa" {
description "";
source @sa_technician;
target @sa_repair;
}
port_allocation sa_port_report_out "Port allocation: Report repair result output" id "e53b7a40-e8a3-5b3f-826d-c2b5c164a84a" {
description "";
source @sa_technician_port;
target @sa_repair_report_out;
}
port_allocation sa_port_request_in "Port allocation: Request field repair input" id "09eaa992-4cdf-5ea3-b748-f10fd74b8cba" {
description "";
source @sa_technician_port;
target @sa_repair_request_in;
}
interface_provision sa_provider_provides "Interface provision: Valve repair service" id "55f89fbf-aa3c-5ae1-95ef-ac676f9c1ada" {
description "";
source @sa_technician_port;
target @sa_repair_interface;
}
@@ -0,0 +1,50 @@
sa_data_type sa_pressure "Measured pressure" id "87d0a95b-af1b-5352-b753-e4c6533671a5" {
default none;
definition {
Real {
maximum 600.0;
minimum 0.0;
};
};
description "";
parent none;
unit "kPa";
}
sa_interface sa_repair_interface "Valve repair service" id "a4b8942e-a975-5f88-ad14-8f38c345baac" {
description "";
parent none;
supertype none;
}
sa_exchange_item sa_repair_operation "Valve repair" id "a962fc5e-3ab0-5296-8b0d-fd84633f9218" {
description "";
kind Information;
mechanism Operation;
parent none;
supertype none;
}
sa_data_field sa_pressure_parameter "Pressure before / after repair" id "bb12ba5d-aab5-5a1b-99de-c767f5365b57" {
default none;
description "";
direction InOut;
maximum 1;
minimum 1;
parent @sa_repair_operation;
storage Value;
type_ref {
Named @sa_pressure;
};
unit "";
}
interface_item_allocation sa_repair_interface_item "Repair operation contract" id "f074e041-23cf-54ad-af9c-f171e30621e7" {
acquisition Accept;
description "";
order 0;
source @sa_repair_interface;
target @sa_repair_operation;
transmission Synchronous;
}
@@ -0,0 +1,114 @@
{
"communication_endpoints": [
{
"source": "27b47887-baf0-518b-bf87-f5acbf7d0b93",
"source_port": {
"Create": {
"alias": "sa_control_port",
"description": "Explicitly chosen Standard component port for the repair service.",
"id": "98d411e7-7c65-5c3f-b543-8bf0f2522ea2",
"kind": "Standard",
"name": "Repair service client",
"orientation": "Unset"
}
},
"target_port": {
"Create": {
"alias": "sa_technician_port",
"description": "Explicitly chosen Standard component port for the repair service.",
"id": "e6d69cbd-99d7-596b-bbe3-dada6118a600",
"kind": "Standard",
"name": "Repair service provider",
"orientation": "Unset"
}
}
}
],
"destination_diagram": null,
"direction": "OaToSa",
"fields": [],
"mappings": [
{
"source": "32aa9940-df6e-5a12-b9bd-6337e2d2ed22",
"target": "435bf87c-73fd-5e4d-978a-4c471bc9eaf0",
"target_kind": null
},
{
"source": "e07c3952-4a1a-5cc7-b7d5-03a01101ce49",
"target": "c05b9422-b9da-5de5-b21d-07ad23bd2b8a",
"target_kind": null
}
],
"resolutions": [],
"scope": "SelectedOnly",
"sources": [
"022d3cfa-bbaf-5e13-924a-8e55099b8745",
"0b07b9ed-492d-57f6-b0b1-ce8a709238a7",
"1970608f-85d1-5234-ac86-5e2b0df27dc3",
"19bd3a3a-4d0c-56d5-bf50-a6b43fd81771",
"1b91f8a7-0bdb-514e-b1cd-955658e09927",
"2011b3ac-614b-5a47-8891-7ff81965f425",
"20472233-5ce6-5ffe-b4ad-0bdbccf3e423",
"32aa9940-df6e-5a12-b9bd-6337e2d2ed22",
"3dfee23a-148b-5cec-ad2d-b774e84ea5bb",
"41859a65-ded2-547b-ab03-14e2fa740cf9",
"58bae2b0-f560-50f2-818d-19091d22d18a",
"58c15833-6e75-523a-b57f-a88f19f6d672",
"5ba8079c-2dbe-5e98-ae82-2b60c6020a02",
"5d3af417-244c-54bb-9588-16daedda4e1f",
"61f7bbfb-74a4-5540-9182-2583dfb27a49",
"65d6b8d6-271a-5c84-8b42-abbe310c955e",
"6a30b763-cc51-546d-907f-5c63657cfd03",
"6b945a6d-6aa0-5dd3-96e6-2e8d757d167d",
"6cbde0d8-9f5f-510a-a8c1-e29cb99ad4ae",
"727c0b5c-8db6-5eb7-83d6-735519c5949f",
"8412e9c6-96fe-5ed6-a903-1d37ec3c3bf7",
"8bc6d0a4-3e87-559b-8bd7-1b679a2db5b7",
"9349b353-53f2-56f8-b571-a05b09335cdf",
"942975b8-0bef-5ae8-9fcb-c37497833fb0",
"9ff94014-afa1-50ab-a4d3-8e9dd0565cc5",
"a21465af-05f3-5fb5-8983-de26932422fb",
"a7ffb869-9dde-5e76-b276-c719c5c143a9",
"b280c6ca-e5f9-5424-a5c1-5676e01c2371",
"b97437c6-cd7a-5a05-b537-b30a17dd936a",
"c59432fe-6092-5ee0-908d-9dbf39476471",
"c9c61f50-06e0-5d17-973d-dcc57cd5cc90",
"cc2d497a-fd15-5455-9ee5-e70eb95811d8",
"d0c8be87-d238-503a-a549-7558a210507f",
"d2026fc2-74a8-5e22-9942-ff3eb68a3677",
"d6f881a4-95da-54e9-ad97-1b8965532629",
"d736c7d6-d369-550a-8ba4-dae223e40bb3",
"df2fd3f8-6bc2-5380-a13f-36643ed35ac7",
"e00594a3-6122-5a6b-b3c2-ecb5506c741d",
"e07c3952-4a1a-5cc7-b7d5-03a01101ce49",
"e7824764-5db9-5384-8198-2fbaea2b10b2",
"fc6763bf-a534-54bf-afcd-57ab285ff07d",
"fc81c5f0-0442-5b88-992b-e5b10f351c59",
"fffff882-78fd-5415-928d-c1ef7fac6576",
"0c4c9e58-ff32-5c00-b82a-d408a4be0183",
"109e2d6b-7e86-5934-93a5-fab56eced84e",
"1853df1f-30f4-5b1a-baac-2dcaf73c7b3a",
"1f8b1898-65f6-5360-99cf-b78a71bd50ec",
"21fe5e8e-cbc2-5dad-b3e8-1df46e167d97",
"229ee94f-d147-50f6-9769-b5bd0c03a084",
"27b47887-baf0-518b-bf87-f5acbf7d0b93",
"2b00270c-79a5-52a5-af96-33346bea531b",
"3f54d890-4ca5-5e36-873b-abb5c92d578c",
"594c61cd-94e0-5c07-890d-edfd520d7df9",
"628cb4fc-fe63-5f6b-b364-6268f26b5740",
"76218d89-68fd-531d-b35b-90c5b769a5ef",
"7fa37e63-db65-5aa7-88f2-31ff4347a787",
"ae53f363-0dec-5a7c-9afd-8fcd1b778ab2",
"b436d0b3-c824-5a96-af6b-2c269816d1cc",
"bac43d3b-910b-5bdc-be9b-f78cf973e1ed",
"bfd4326e-ea65-5269-b5e6-e063a355d1e9",
"c1adbbd0-a762-5ee3-8b9a-5c18af377771",
"c7c248f8-28b8-55be-9023-0991d44021e3",
"c8196d35-2168-5fef-8b03-ba0d139bc00f",
"c8593670-8906-530f-b6a2-3ada77a9c219",
"cf423ea2-8b2e-5a27-93d4-5e8542d9db8d",
"e21d9a54-ae8e-5618-a4f8-67ee22b92638",
"fbde9d5e-c7e9-55db-a2be-497345c491b3",
"ffdbfcd0-d423-5707-a880-0dfbe1400f72"
]
}
@@ -0,0 +1,100 @@
diagram oa_allocation_view "1 · OA responsibility and repair traffic" id "103ea62c-ac56-5827-94e7-cf09bca96ccc" {
description "Teaching view: positions and filters do not change ownership or exchange identities.";
layer Oa;
projection Allocation;
routes [];
view_options {
coverage "All";
exchange_labels "Name";
hidden_edges [];
participant_categories "All";
relation_kinds "All";
work_categories "All";
work_contexts "All";
};
}
node oa_allocation_view_oa_assess id "5ae1c46d-59a3-50fd-8cc3-b292df21f951" {
collapsed false;
diagram @oa_allocation_view;
element @oa_assess;
position {
x 100.0;
y 170.0;
};
size {
height 110.0;
width 245.0;
};
}
node oa_allocation_view_oa_confirm id "edd74060-ac61-5450-a57c-a6577daa5d50" {
collapsed false;
diagram @oa_allocation_view;
element @oa_confirm;
position {
x 100.0;
y 490.0;
};
size {
height 110.0;
width 245.0;
};
}
node oa_allocation_view_oa_control id "3191e05c-1c7f-5f0e-beb0-5f3bded54c48" {
collapsed false;
diagram @oa_allocation_view;
element @oa_control;
position {
x 60.0;
y 80.0;
};
size {
height 110.0;
width 245.0;
};
}
node oa_allocation_view_oa_repair id "202ebe37-ddb4-5099-8ce9-ec3e895ab9e9" {
collapsed false;
diagram @oa_allocation_view;
element @oa_repair;
position {
x 890.0;
y 170.0;
};
size {
height 110.0;
width 245.0;
};
}
node oa_allocation_view_oa_reset id "7066f78c-9736-5349-b94a-0587331b980e" {
collapsed false;
diagram @oa_allocation_view;
element @oa_reset;
position {
x 100.0;
y 330.0;
};
size {
height 110.0;
width 245.0;
};
}
node oa_allocation_view_oa_technician id "d27f28ef-f10a-5355-9a05-6f2fd39b7de6" {
collapsed false;
diagram @oa_allocation_view;
element @oa_technician;
position {
x 850.0;
y 80.0;
};
size {
height 110.0;
width 245.0;
};
}
@@ -0,0 +1,100 @@
diagram sa_allocation_view "2 · SA service boundary and functions" id "35d3c24b-289e-59e5-a610-8333e2c6a4bb" {
description "Teaching view: positions and filters do not change ownership or exchange identities.";
layer Sa;
projection Allocation;
routes [];
view_options {
coverage "All";
exchange_labels "Name";
hidden_edges [];
participant_categories "All";
relation_kinds "All";
work_categories "All";
work_contexts "All";
};
}
node sa_allocation_view_sa_assess id "60f6ad74-b69e-5aef-b832-f1bd60b903ae" {
collapsed false;
diagram @sa_allocation_view;
element @sa_assess;
position {
x 100.0;
y 170.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_allocation_view_sa_confirm id "7e3ba36f-bc68-5520-bdb9-77083bb7bba2" {
collapsed false;
diagram @sa_allocation_view;
element @sa_confirm;
position {
x 100.0;
y 490.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_allocation_view_sa_control id "8345c76a-8d85-5c31-902e-ec1cd33ed4a3" {
collapsed false;
diagram @sa_allocation_view;
element @sa_control;
position {
x 60.0;
y 80.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_allocation_view_sa_repair id "34630a18-41b0-5fdd-bff4-ee86e93e8651" {
collapsed false;
diagram @sa_allocation_view;
element @sa_repair;
position {
x 890.0;
y 170.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_allocation_view_sa_reset id "73406244-ebd7-5995-86c7-e17c73c50b32" {
collapsed false;
diagram @sa_allocation_view;
element @sa_reset;
position {
x 100.0;
y 330.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_allocation_view_sa_technician id "f7225d1c-e506-505d-bb20-916950269d4b" {
collapsed false;
diagram @sa_allocation_view;
element @sa_technician;
position {
x 850.0;
y 80.0;
};
size {
height 110.0;
width 245.0;
};
}
@@ -0,0 +1,72 @@
diagram sa_capability_view "4 · SA mission and included capability" id "3e6ad194-61b5-584c-b0f0-a78a20af5781" {
description "Teaching view: positions and filters do not change ownership or exchange identities.";
layer Sa;
projection Capabilities;
routes [];
view_options {
coverage "All";
exchange_labels "Name";
hidden_edges [];
participant_categories "All";
relation_kinds "All";
work_categories "All";
work_contexts "All";
};
}
node sa_capability_view_sa_control id "41ddb68b-bd2b-5f91-82eb-efde01157828" {
collapsed false;
diagram @sa_capability_view;
element @sa_control;
position {
x 60.0;
y 60.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_capability_view_sa_mission id "4b814335-bf98-5b68-85d5-ea549766517a" {
collapsed false;
diagram @sa_capability_view;
element @sa_mission;
position {
x 420.0;
y 60.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_capability_view_sa_restore id "d3bc13f9-7726-5280-83fe-63f391c45afb" {
collapsed false;
diagram @sa_capability_view;
element @sa_restore;
position {
x 420.0;
y 260.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_capability_view_sa_triage id "069a3fb3-077c-59d8-91da-27b0665143c7" {
collapsed false;
diagram @sa_capability_view;
element @sa_triage;
position {
x 800.0;
y 260.0;
};
size {
height 110.0;
width 245.0;
};
}
@@ -0,0 +1,104 @@
diagram sa_service_view "3 · SA service conversation only" id "50af4c9b-93ce-5ff5-a1f8-7a81eb97e779" {
description "Teaching view: positions and filters do not change ownership or exchange identities.";
layer Sa;
projection Allocation;
routes [];
view_options {
coverage "All";
exchange_labels "NameAndItems";
hidden_edges [];
participant_categories {
Any [@sa_contact_category];
};
relation_kinds "All";
work_categories {
Any [];
};
work_contexts "All";
};
}
node sa_service_view_sa_assess id "439f1e45-e5ed-567c-978b-4c93ef267db1" {
collapsed false;
diagram @sa_service_view;
element @sa_assess;
position {
x 100.0;
y 170.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_service_view_sa_confirm id "6f138672-149b-5f88-ab07-7fc413a42262" {
collapsed false;
diagram @sa_service_view;
element @sa_confirm;
position {
x 100.0;
y 490.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_service_view_sa_control id "f53d4352-b042-56a6-8b3e-c51cd27254f9" {
collapsed false;
diagram @sa_service_view;
element @sa_control;
position {
x 60.0;
y 80.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_service_view_sa_repair id "ae36489d-6ec8-5f1c-b603-8b497227efba" {
collapsed false;
diagram @sa_service_view;
element @sa_repair;
position {
x 890.0;
y 170.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_service_view_sa_reset id "d52da4e6-40b7-5dbc-84fb-80c443711c69" {
collapsed false;
diagram @sa_service_view;
element @sa_reset;
position {
x 100.0;
y 330.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_service_view_sa_technician id "40210589-69f7-5209-b329-10bb83cf615c" {
collapsed false;
diagram @sa_service_view;
element @sa_technician;
position {
x 850.0;
y 80.0;
};
size {
height 110.0;
width 245.0;
};
}
@@ -0,0 +1,90 @@
diagram sa_state_view "5 · SA pressure supervision" id "30d5baf9-6581-5cb6-846a-bcaa1e6cce63" {
description "Teaching view: positions and filters do not change ownership or exchange identities.";
layer Sa;
projection {
StateMachine {
machine @sa_monitor;
};
};
routes [];
view_options {
coverage "All";
exchange_labels "Name";
hidden_edges [];
participant_categories "All";
relation_kinds "All";
work_categories "All";
work_contexts "All";
};
}
node sa_state_view_sa_monitor id "a676fbb9-0833-59a8-98cf-a10d8f4b7434" {
collapsed false;
diagram @sa_state_view;
element @sa_monitor;
position {
x 30.0;
y 30.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_state_view_sa_monitor_initial id "5e2326a0-0f6c-5f8d-8a21-fdded18a9281" {
collapsed false;
diagram @sa_state_view;
element @sa_monitor_initial;
position {
x 100.0;
y 200.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_state_view_sa_monitor_region id "55a74f91-2025-5001-8db8-9566b1dbe783" {
collapsed false;
diagram @sa_state_view;
element @sa_monitor_region;
position {
x 70.0;
y 95.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_state_view_sa_monitoring id "b3af7b04-5a45-5b82-ab69-7eada4b876f0" {
collapsed false;
diagram @sa_state_view;
element @sa_monitoring;
position {
x 220.0;
y 200.0;
};
size {
height 110.0;
width 245.0;
};
}
node sa_state_view_sa_waiting id "57acbb71-ca86-57fc-ae90-42dad195f0e0" {
collapsed false;
diagram @sa_state_view;
element @sa_waiting;
position {
x 650.0;
y 200.0;
};
size {
height 110.0;
width 245.0;
};
}
@@ -0,0 +1,4 @@
interaction handoff "Assessment handoff" id "9e8f0000-0000-4000-8000-000000000004" {
description "救援 @assess is prose"; source @assess; target @confirm;
// Another comment @assess is excluded.
}
@@ -0,0 +1,7 @@
arcadia 7;
project navigation_trial "Navigation — 救援" id "9e8f0000-0000-4000-8000-000000000001" {
description "Prose @assess must not be a lexical use.";
include "救援/assess.arcadia";
include "救援/confirm.arcadia";
include "links.arcadia";
}
@@ -0,0 +1,4 @@
// Comment @assess must not be a lexical use.
oa_activity assess "Assess 救援 request" id "9e8f0000-0000-4000-8000-000000000002" {
description "Keep @assess as prose, not a use.";
}
@@ -0,0 +1 @@
oa_activity confirm "Confirm 救援 response" id "9e8f0000-0000-4000-8000-000000000003" {}
@@ -0,0 +1,281 @@
"""Explicit native-v4 launch/checkpoint helper. Never operates GUI or compiles.
Launch/check/closed require the corresponding root-observed boundary. Merely
copying a snapshot never claims Apply, Save, recovery or model acceptance.
"""
import argparse
from datetime import datetime, timezone
import hashlib
import json
import os
from pathlib import Path
import re
import shutil
import subprocess
import sys
import zipfile
ROOT = Path(__file__).resolve().parents[2]
BASE = Path(__file__).resolve().parent
TRIAL = BASE / 'trial'
FIXTURES = BASE / 'fixtures'
ORIGINAL = ROOT / '.local/text-navigation-native-20260911-preparation'
GATES = ROOT / '.local/text-repair-save-20260911'
ZIP_SHA = '213fdb39ea7c3601b4baac674c3ab3ecc863ac44db1b092d922d3e24f26887b7'
SOURCE_COMMIT = '33c6d83e9ba9a5b1310b1b627d7c40affcbcf15c'
FIXTURE_MANIFEST_SHA = '7bccf622c8e2ff42f9e71ac8e5d08ea27b3493c9ebc689ce5f7fbac9aa63f851'
ORIGINAL_MANIFEST_SHA = 'edd4157fc31823f4494dee91862728b87f12ef51c49b8d1fd86a954bc9ecc1ed'
DLL_SHA = 'f45604a12e8bcd839fd86f667c1be1cc7c4f9da2b3c69ff381ac708f0e1ae7d4'
ORACLE_SHA = '967d9ba3c6fb3a7efb410833903ec94556ca2d48a67d5072c8bb160f40a00f9c'
RUNTIME = ROOT / '.local/toolchain/llvm-mingw-20260826-ucrt-x86_64/bin/libunwind.dll'
ORACLE = ROOT / '.local/staged-source-oracle-20260911/staged-source-authoring-contract.exe'
MODELS = ('valid', 'release1', 'ambiguous', 'missing-include', 'recovery')
JOURNAL = '.arcadia-save-project.arcadia.journal'
COMMANDS = {
'desktop-tests': ['cargo', 'test', '--locked', '--offline', '-p', 'oa-desktop', '--bin', 'arcadia-studio', '--', '--test-threads=1'],
'desktop-clippy': ['cargo', 'clippy', '--locked', '--offline', '-p', 'oa-desktop', '--all-targets', '--', '-D', 'warnings'],
'scoped-fmt': ['rustfmt', '--check', '--edition', '2024', '--config', 'skip_children=true', 'crates/oa-desktop/src/app.rs', 'crates/oa-desktop/src/document.rs', 'crates/oa-desktop/src/app/repair_save_state_tests.rs'],
'diff-check': ['git', 'diff', '--check'],
'gui-build': ['cargo', 'build', '--locked', '--offline', '-p', 'oa-desktop', '--bin', 'arcadia-studio', '--message-format=json-render-diagnostics'],
}
def now():
return datetime.now(timezone.utc).isoformat()
def ordinary(path):
path = Path(path).absolute()
for p in (path, *path.parents):
if p.exists():
assert not p.is_symlink() and not (getattr(p.lstat(), 'st_file_attributes', 0) & 0x400), str(p)
return path
def sha(path):
with ordinary(path).open('rb') as stream:
return hashlib.file_digest(stream, 'sha256').hexdigest()
def load(path):
return json.loads(ordinary(path).read_text(encoding='utf-8'))
def record(path, value):
ordinary(path)
with path.open('x', encoding='utf-8', newline='\n') as out:
json.dump(value, out, ensure_ascii=False, indent=2)
out.write('\n')
def inventory(folder):
ordinary(folder)
result = {}
for p in folder.rglob('*'):
ordinary(p)
if p.is_file():
result[p.relative_to(folder).as_posix()] = sha(p)
assert len({p.casefold() for p in result}) == len(result)
return result
def copy_exact(source, destination):
before = inventory(source)
assert not destination.exists()
shutil.copytree(source, destination)
assert inventory(source) == inventory(destination) == before
return before
def git(*args):
return subprocess.check_output(['git', *args], cwd=ROOT)
def fixture_admission():
assert sha(ORIGINAL / 'fixture-manifest.json') == ORIGINAL_MANIFEST_SHA
for item in load(ORIGINAL / 'fixture-manifest.json'):
path = (ORIGINAL / item['path']).resolve()
assert path.is_relative_to(ORIGINAL)
assert sha(path) == item['sha256'] and path.stat().st_size == item['bytes']
assert sha(BASE / 'fixture-manifest.json') == FIXTURE_MANIFEST_SHA
frozen = load(BASE / 'fixture-manifest.json')
expected = {item['path']: item['sha256'] for item in frozen['files']}
assert len(expected) == len(frozen['files']) and inventory(FIXTURES) == expected
mapping = {'valid': 'valid-baseline', 'release1': 'release1-baseline', 'ambiguous': 'ambiguous-open', 'missing-include': 'missing-include-open'}
for destination, original in mapping.items():
assert inventory(FIXTURES / destination) == inventory(ORIGINAL / original)
after = FIXTURES / 'recovery-expected-after'
before = FIXTURES / 'recovery-expected-before'
assert inventory(after) == inventory(FIXTURES / 'valid')
a = (after / 'project.arcadia').read_bytes()
b = (before / 'project.arcadia').read_bytes()
title = '"Navigation — 救援"'.encode('utf-8')
old_title = '"Before interrupted save — 救援"'.encode('utf-8')
assert a.count(title) == 1 and b == a.replace(title, old_title, 1)
assert {p: h for p, h in inventory(before).items() if p != 'project.arcadia'} == {p: h for p, h in inventory(after).items() if p != 'project.arcadia'}
recovery = FIXTURES / 'recovery'
assert load(recovery / JOURNAL / 'journal.json') == {'version': 1, 'entry': 'project.arcadia', 'files': [{'path': 'project.arcadia', 'before': True, 'write': True}]}
assert (recovery / JOURNAL / '0.before').read_bytes() == b
assert (recovery / JOURNAL / '0.after').read_bytes() == a
assert {p: h for p, h in inventory(recovery).items() if not p.startswith(JOURNAL + '/')} == inventory(after)
return frozen
def gate_admission(source_commit):
assert source_commit == SOURCE_COMMIT
assert git('rev-parse', 'HEAD').decode().strip() == source_commit
manifest = load(GATES / 'inputs1.json')
assert manifest['archiveSha256'] == sha(GATES / 'inputs1.zip') == ZIP_SHA
entries = {e['path']: e for e in manifest['files']}
assert len(entries) == len(manifest['files']) == 500
selectors = ['crates', '.cargo', 'Cargo.toml', 'Cargo.lock', 'docs', 'examples', 'harness/fixtures']
assert not git('status', '--porcelain', '--', *selectors).strip(), 'Source must be committed before launch.'
paths = git('ls-files', '-z', '--cached', '--others', '--exclude-standard', '--', *selectors).decode().split('\0')[:-1]
assert sorted(set(paths)) == sorted(entries)
with zipfile.ZipFile(GATES / 'inputs1.zip') as archive:
assert len(archive.namelist()) == len(entries) and set(archive.namelist()) == set(entries)
for name, item in entries.items():
path = (ROOT / name).resolve()
assert path.is_relative_to(ROOT)
raw = ordinary(path).read_bytes()
assert len(raw) == item['bytes'] and hashlib.sha256(raw).hexdigest() == item['sha256']
assert archive.read(name) == raw
complete = load(GATES / 'complete.json')
assert complete['archiveSha256'] == ZIP_SHA and complete['inputsUnchanged'] is True
assert complete['gates'] == list(COMMANDS) and complete['sourceHead'] == manifest['head']
receipts = {}
for name, command in COMMANDS.items():
receipt = load(GATES / (name + '-result.json'))
assert receipt['exitCode'] == 0 and receipt['inputsUnchanged'] is True and receipt['command'] == command
assert sha(GATES / (name + '-stdout.log')) == receipt['stdoutSha256']
assert sha(GATES / (name + '-stderr.log')) == receipt['stderrSha256']
receipts[name] = sha(GATES / (name + '-result.json'))
summaries = re.findall(r'test result: ok\. (\d+) passed; (\d+) failed; (\d+) ignored; (\d+) measured; (\d+) filtered out;', (GATES / 'desktop-tests-stdout.log').read_text(encoding='utf-8'))
assert summaries == [('755', '0', '1', '0', '0')]
build = load(GATES / 'gui-build-result.json')['binary']
artifact = build['artifact']
assert artifact['target']['name'] == 'arcadia-studio' and artifact['profile']['test'] is False
assert artifact['profile']['opt_level'] == '0' and artifact['profile']['debug_assertions'] is True
assert Path(artifact['executable']).resolve() == Path(build['path']).resolve()
assert Path(build['path']).resolve().is_relative_to(ROOT / '.local/target-gnullvm')
binary = GATES / 'gui-repair.exe'
assert sha(binary) == build['sha256'] and binary.stat().st_size == build['bytes']
assert sha(RUNTIME) == DLL_SHA and sha(ORACLE) == ORACLE_SHA
return binary, build, receipts
def environment():
parent = {k.upper(): v for k, v in os.environ.items()}
names = ('SystemRoot', 'SystemDrive', 'ProgramData', 'ALLUSERSPROFILE', 'PUBLIC')
standard = {name: parent[name.upper()] for name in names}
assert all(value and '%' not in value for value in standard.values())
system = standard['SystemRoot']
return {**standard, 'WINDIR': system, 'PATH': system + '\\System32;' + system,
'USERPROFILE': str(TRIAL / 'profile'), 'LOCALAPPDATA': str(TRIAL / 'profile/local'),
'APPDATA': str(TRIAL / 'profile/roaming'), 'TEMP': str(TRIAL / 'tmp'), 'TMP': str(TRIAL / 'tmp')}
def launch(args):
assert not TRIAL.exists(), 'A previous trial must remain untouched.'
frozen = fixture_admission()
binary, build, receipts = gate_admission(args.source_commit)
ordinary(BASE)
TRIAL.mkdir()
for name in ('bin', 'profile/local', 'profile/roaming', 'profile/Desktop', 'tmp', 'screenshots', 'checkpoints'):
(TRIAL / name).mkdir(parents=True)
for source, name, checksum in ((binary, 'arcadia-studio.exe', build['sha256']), (RUNTIME, 'libunwind.dll', DLL_SHA)):
with source.open('rb') as src, (TRIAL / 'bin' / name).open('xb') as dst:
shutil.copyfileobj(src, dst)
assert sha(source) == sha(TRIAL / 'bin' / name) == checksum
sources = {model: copy_exact(FIXTURES / model, TRIAL / model) for model in MODELS}
record(TRIAL / 'source-before.json', sources)
record(TRIAL / 'binary-before.json', inventory(TRIAL / 'bin'))
record(TRIAL / 'admission.json', {'atUtc': now(), 'sourceCommit': args.source_commit, 'inputArchiveSha256': ZIP_SHA,
'gateReceipts': receipts, 'completeReceiptSha256': sha(GATES / 'complete.json'), 'fixtureManifestSha256': sha(BASE / 'fixture-manifest.json'),
'originalFixtureManifestSha256': ORIGINAL_MANIFEST_SHA, 'binary': build, 'scope': 'Gate/fixture admission only, not native acceptance.'})
env = environment()
startup = subprocess.STARTUPINFO()
startup.dwFlags |= subprocess.STARTF_USESHOWWINDOW
startup.wShowWindow = 0
with (TRIAL / 'stdout.log').open('xb') as out, (TRIAL / 'stderr.log').open('xb') as err:
process = subprocess.Popen([str(TRIAL / 'bin/arcadia-studio.exe')], cwd=TRIAL / 'bin', env=env, stdout=out, stderr=err, startupinfo=startup)
receipt = {'atUtc': now(), 'pid': process.pid, 'sourceCommit': args.source_commit, 'binarySha256': build['sha256'],
'guiBuildReceiptSha256': receipts['gui-build'], 'environment': env, 'modelEntries': {m: str(TRIAL / m / 'project.arcadia') for m in MODELS},
'scope': 'Explicitly launched identified Windows GUI; native results pending.'}
record(TRIAL / 'launch.json', receipt)
print(json.dumps(receipt, ensure_ascii=False, indent=2))
def checkpoint(args, check):
assert args.label and re.fullmatch('[a-z0-9][a-z0-9-]{0,79}', args.label)
if check:
assert args.after_visible_save, 'Oracle check requires root-observed successful Save.'
fixture_admission()
launch_receipt = load(TRIAL / 'launch.json')
before_bin = load(TRIAL / 'binary-before.json')
assert inventory(TRIAL / 'bin') == before_bin and before_bin['arcadia-studio.exe'] == launch_receipt['binarySha256']
folder = TRIAL / 'checkpoints' / args.label
assert not folder.exists()
folder.mkdir()
source = TRIAL / args.model
files = copy_exact(source, folder / 'sources')
journals = {p: h for p, h in files.items() if p.split('/')[0].startswith('.arcadia-save-')}
state = {'atUtc': now(), 'label': args.label, 'model': args.model, 'files': files,
'arcadiaFiles': sum(p.endswith('.arcadia') for p in files), 'journalFiles': journals,
'pendingJournalExists': (source / JOURNAL).exists(), 'binaryFilesUnchanged': True,
'scope': 'On-disk snapshot only; no accepted graph, Apply, Save or recovery success inferred.'}
record(folder / 'snapshot.json', state)
if not check:
print(json.dumps(state, ensure_ascii=False, indent=2))
return
assert not journals, 'Final saved oracle cannot bypass a retained transaction journal.'
assert sha(ORACLE) == ORACLE_SHA
expected = FIXTURES / ('release1' if args.model == 'release1' else 'recovery-expected-after' if args.model == 'recovery' else 'valid')
env = environment()
env['PATH'] = str(TRIAL / 'bin') + ';' + env['PATH']
command = [str(ORACLE), 'same', str(expected / 'project.arcadia'), str(folder / 'sources/project.arcadia')]
result = subprocess.run(command, capture_output=True, env=env)
with (folder / 'oracle.stdout.log').open('xb') as out:
out.write(result.stdout)
with (folder / 'oracle.stderr.log').open('xb') as err:
err.write(result.stderr)
receipt = {'atUtc': now(), 'command': command, 'exitCode': result.returncode, 'oracleSha256': ORACLE_SHA,
'afterVisibleSaveConfirmedByCaller': True, 'model': args.model, 'expected': str(expected), 'files': files,
'binaryFilesUnchanged': inventory(TRIAL / 'bin') == before_bin,
'scope': 'Actual saved oracle result; complete Project/identity/reachable and physical Arcadia equality only if exitCode is zero.'}
record(folder / 'oracle.json', receipt)
print(result.stdout.decode('utf-8', errors='replace'))
print(json.dumps(receipt, ensure_ascii=False, indent=2))
assert receipt['binaryFilesUnchanged']
if result.returncode:
print(result.stderr.decode('utf-8', errors='replace'))
raise SystemExit(result.returncode)
def closed(args):
assert args.observed_absent, 'Root must first verify the process/window is absent.'
before = load(TRIAL / 'binary-before.json')
after = inventory(TRIAL / 'bin')
record(TRIAL / 'binary-after-close.json', {'atUtc': now(), 'files': after, 'unchanged': before == after,
'absenceObservedByCaller': True, 'scope': 'Binary readback only, not a process/exit-code observation by this helper.'})
assert before == after
print(json.dumps({'unchanged': True, 'files': len(after)}))
if __name__ == '__main__':
sys.stdout.reconfigure(encoding='utf-8')
sys.stderr.reconfigure(encoding='utf-8')
parser = argparse.ArgumentParser()
parser.add_argument('action', choices=('launch', 'snapshot', 'check', 'closed'))
parser.add_argument('--source-commit')
parser.add_argument('--model', choices=MODELS, default='valid')
parser.add_argument('--label')
parser.add_argument('--after-visible-save', action='store_true')
parser.add_argument('--observed-absent', action='store_true')
arguments = parser.parse_args()
if arguments.action == 'launch':
launch(arguments)
elif arguments.action in ('snapshot', 'check'):
checkpoint(arguments, arguments.action == 'check')
else:
closed(arguments)
@@ -0,0 +1,998 @@
{
"scope": "Exact native repair/save evidence; no binaries or final release claim",
"payloadFiles": 166,
"payloadBytes": 2421715,
"files": [
{
"path": ".gitattributes",
"bytes": 58,
"sha256": "0a38b8af3fddb7ebb709c8c891e57657b0f5c8fe54a86e63ae4f4c3bfac4808c"
},
{
"path": ".gitignore",
"bytes": 10,
"sha256": "1b7c01abb4d9e16cc4187667732237bf0ee6cee7bbad14c3b860b7216bc9c4b8"
},
{
"path": "excluded-duplicates.json",
"bytes": 6127,
"sha256": "ae4c44205c6ddc2d1bcddfabfc788065070e323e86632469368af687c0cfe73e"
},
{
"path": "fixture-manifest.json",
"bytes": 12194,
"sha256": "7bccf622c8e2ff42f9e71ac8e5d08ea27b3493c9ebc689ce5f7fbac9aa63f851",
"original": ".local/text-repair-save-native-20260911/fixture-manifest.json"
},
{
"path": "fixtures/ambiguous/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"original": ".local/text-repair-save-native-20260911/fixtures/ambiguous/links.arcadia"
},
{
"path": "fixtures/ambiguous/project.arcadia",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"original": ".local/text-repair-save-native-20260911/fixtures/ambiguous/project.arcadia"
},
{
"path": "fixtures/ambiguous/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"original": ".local/text-repair-save-native-20260911/fixtures/ambiguous/救援/assess.arcadia"
},
{
"path": "fixtures/ambiguous/救援/confirm.arcadia",
"bytes": 186,
"sha256": "ba3e222bdc7dfa94e4f1b16df091447835da6b5bea8a72701e12e077e77319a6",
"original": ".local/text-repair-save-native-20260911/fixtures/ambiguous/救援/confirm.arcadia"
},
{
"path": "fixtures/missing-include/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"original": ".local/text-repair-save-native-20260911/fixtures/missing-include/links.arcadia"
},
{
"path": "fixtures/missing-include/project.arcadia",
"bytes": 320,
"sha256": "573357995f0a68fef39aa3eef3125e2271242d1ce01607c129624399b77e682e",
"original": ".local/text-repair-save-native-20260911/fixtures/missing-include/project.arcadia"
},
{
"path": "fixtures/missing-include/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"original": ".local/text-repair-save-native-20260911/fixtures/missing-include/救援/assess.arcadia"
},
{
"path": "fixtures/missing-include/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919",
"original": ".local/text-repair-save-native-20260911/fixtures/missing-include/救援/confirm.arcadia"
},
{
"path": "fixtures/recovery/.arcadia-save-project.arcadia.journal/0.after",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery/.arcadia-save-project.arcadia.journal/0.after"
},
{
"path": "fixtures/recovery/.arcadia-save-project.arcadia.journal/0.before",
"bytes": 290,
"sha256": "6e9abf4ecf24175b9f04a8db11fe182146581059628eb8769e869597401f262e",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery/.arcadia-save-project.arcadia.journal/0.before"
},
{
"path": "fixtures/recovery/.arcadia-save-project.arcadia.journal/journal.json",
"bytes": 104,
"sha256": "08e19098159f9a539f33754ef8d8bbb5e653744baa0aa9784403e019498d4c42",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery/.arcadia-save-project.arcadia.journal/journal.json"
},
{
"path": "fixtures/recovery/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery/links.arcadia"
},
{
"path": "fixtures/recovery/project.arcadia",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery/project.arcadia"
},
{
"path": "fixtures/recovery/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery/救援/assess.arcadia"
},
{
"path": "fixtures/recovery/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery/救援/confirm.arcadia"
},
{
"path": "fixtures/recovery-expected-after/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery-expected-after/links.arcadia"
},
{
"path": "fixtures/recovery-expected-after/project.arcadia",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery-expected-after/project.arcadia"
},
{
"path": "fixtures/recovery-expected-after/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery-expected-after/救援/assess.arcadia"
},
{
"path": "fixtures/recovery-expected-after/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery-expected-after/救援/confirm.arcadia"
},
{
"path": "fixtures/recovery-expected-before/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery-expected-before/links.arcadia"
},
{
"path": "fixtures/recovery-expected-before/project.arcadia",
"bytes": 290,
"sha256": "6e9abf4ecf24175b9f04a8db11fe182146581059628eb8769e869597401f262e",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery-expected-before/project.arcadia"
},
{
"path": "fixtures/recovery-expected-before/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery-expected-before/救援/assess.arcadia"
},
{
"path": "fixtures/recovery-expected-before/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919",
"original": ".local/text-repair-save-native-20260911/fixtures/recovery-expected-before/救援/confirm.arcadia"
},
{
"path": "fixtures/release1/evidence/repair-check.md",
"bytes": 1419,
"sha256": "f4db17bdca4ecbb1bf0caef01b2da5f1f7f798ab3152b648ce6dd8696a6a68e5",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/evidence/repair-check.md"
},
{
"path": "fixtures/release1/expected-diagnostics.json",
"bytes": 288,
"sha256": "3700393d76b940cfc076bf52861bd7b1f43370f8eabce3594531bd0bf1fc851e",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/expected-diagnostics.json"
},
{
"path": "fixtures/release1/model.json",
"bytes": 134520,
"sha256": "ef0ef4006c3e09d5db6e1b621256b3f7d6642f3a7b09cc34607cfbcca830c727",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/model.json"
},
{
"path": "fixtures/release1/model.rs",
"bytes": 28762,
"sha256": "15f30f6bde655808fe754665c26d560e36f2a9bad340f346b09137d0d05045f5",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/model.rs"
},
{
"path": "fixtures/release1/oa/activities/activity_oa_restore_work.arcadia",
"bytes": 1307,
"sha256": "83e73d0a013d5c3e1a4af0d9139ab0cfa362d25a846671fc2dac59181061a9d4",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/oa/activities/activity_oa_restore_work.arcadia"
},
{
"path": "fixtures/release1/oa/behavior/process_oa_assessment_procedure.arcadia",
"bytes": 697,
"sha256": "172c32c044ef4b5bc58a1f4635cc81f48dabb4014479b47dce7b25fedf2dbd0d",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/oa/behavior/process_oa_assessment_procedure.arcadia"
},
{
"path": "fixtures/release1/oa/behavior/process_oa_field_procedure.arcadia",
"bytes": 1781,
"sha256": "d2552dc5383e2e91cb302a790364e197f663c2edc013a2ab1978789825c9c324",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/oa/behavior/process_oa_field_procedure.arcadia"
},
{
"path": "fixtures/release1/oa/behavior/process_oa_response.arcadia",
"bytes": 3225,
"sha256": "cf86f46fa5c5d70592ef43f1bc1cb4d968efd8add384ba88036bef6b88aa4abc",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/oa/behavior/process_oa_response.arcadia"
},
{
"path": "fixtures/release1/oa/behavior/scenario_oa_conversation.arcadia",
"bytes": 1795,
"sha256": "b25be524e98a35ebac5e4481b7609c027b32baf9605e8097f807560f94a77ca6",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/oa/behavior/scenario_oa_conversation.arcadia"
},
{
"path": "fixtures/release1/oa/behavior/scenario_oa_full_scenario.arcadia",
"bytes": 1261,
"sha256": "00a1edf2c9707a0eb62ac070c2d02467874f2c9c1f273cc6ddb53d6d65999a1c",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/oa/behavior/scenario_oa_full_scenario.arcadia"
},
{
"path": "fixtures/release1/oa/behavior/state_machine_oa_monitor.arcadia",
"bytes": 2022,
"sha256": "447c9ad1359f4a31ecf975ad07c0b08d8e7e03191fb0858e2fc56f377b223cd5",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/oa/behavior/state_machine_oa_monitor.arcadia"
},
{
"path": "fixtures/release1/oa/capabilities.arcadia",
"bytes": 781,
"sha256": "fc8012e5554350b12e1cb80080f8feab80d933c9b33c0f2a7bb500cb7d609936",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/oa/capabilities.arcadia"
},
{
"path": "fixtures/release1/oa/model.arcadia",
"bytes": 661,
"sha256": "f7cf914766ea73ec53b85e32d117ea9a9dba52d3e038246863541ae7069b1a15",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/oa/model.arcadia"
},
{
"path": "fixtures/release1/oa/participants.arcadia",
"bytes": 1834,
"sha256": "951764c14179f27c10e315acf2ea37d1fff54c77b8441e23addd239e8c715ce3",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/oa/participants.arcadia"
},
{
"path": "fixtures/release1/oa/types.arcadia",
"bytes": 788,
"sha256": "9d0396fb82dd5733edd8d1cf52f968ca84906927c704f9cf0944a7fae215cf49",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/oa/types.arcadia"
},
{
"path": "fixtures/release1/project.arcadia",
"bytes": 1958,
"sha256": "b2674e6bf77cfe0f6f0ba79c81d2e96d92f39c02ca2c6266d80e91723bfb9fda",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/project.arcadia"
},
{
"path": "fixtures/release1/README.md",
"bytes": 11137,
"sha256": "113cfb1cf38a98b51bff60442d86a35d636a3d80ef206bece7d53d0aae67f2d5",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/README.md"
},
{
"path": "fixtures/release1/sa/behavior/process_sa_assessment_procedure.arcadia",
"bytes": 706,
"sha256": "73928ced61c06cbc08728d7956676a50fd4c05aa5b7f1ff4f29ce27a0b0f2088",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/sa/behavior/process_sa_assessment_procedure.arcadia"
},
{
"path": "fixtures/release1/sa/behavior/process_sa_field_procedure.arcadia",
"bytes": 1790,
"sha256": "886d462af83110cbfa55dd232a667ea1446761234471357cbb878794e98e8768",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/sa/behavior/process_sa_field_procedure.arcadia"
},
{
"path": "fixtures/release1/sa/behavior/process_sa_response.arcadia",
"bytes": 3234,
"sha256": "041785fc22842423822431bd5e6e8d16094ebd0716965e7c765fb8c1d7549e8a",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/sa/behavior/process_sa_response.arcadia"
},
{
"path": "fixtures/release1/sa/behavior/scenario_sa_conversation.arcadia",
"bytes": 2127,
"sha256": "97276f5757ee9aa12a0dbd9d3ccd58174b3091162bb8bcce357cec20a45f5d85",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/sa/behavior/scenario_sa_conversation.arcadia"
},
{
"path": "fixtures/release1/sa/behavior/scenario_sa_full_scenario.arcadia",
"bytes": 1256,
"sha256": "e12fc406b99d60a2f7768aaa0b25ba560e8605f0b8e37f3a7cdd3b8443562b74",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/sa/behavior/scenario_sa_full_scenario.arcadia"
},
{
"path": "fixtures/release1/sa/behavior/state_machine_sa_monitor.arcadia",
"bytes": 2022,
"sha256": "05ce29af99424c491c47fe2450dc6f5f8ce995511c01ec7e17bb5855be3c9736",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/sa/behavior/state_machine_sa_monitor.arcadia"
},
{
"path": "fixtures/release1/sa/capabilities.arcadia",
"bytes": 781,
"sha256": "b6912fb3ece439912345fa71724acd462e716a1e5a88203a1058a5c3b2c20a4f",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/sa/capabilities.arcadia"
},
{
"path": "fixtures/release1/sa/functions/function_sa_audit_thresholds.arcadia",
"bytes": 297,
"sha256": "e5a04325d52183956dca814dd90f4e56c96c6b7db0f4f202f203ecb49c3e0f4f",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/sa/functions/function_sa_audit_thresholds.arcadia"
},
{
"path": "fixtures/release1/sa/functions/function_sa_restore_work.arcadia",
"bytes": 2576,
"sha256": "fddeb67308051325041fee641fe758ddf43345b7c47b66d433616ad07fdccdd6",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/sa/functions/function_sa_restore_work.arcadia"
},
{
"path": "fixtures/release1/sa/model.arcadia",
"bytes": 661,
"sha256": "d431509251acb859fbb98733b6d18add952495e10a78703fbe8f31e40bc083c4",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/sa/model.arcadia"
},
{
"path": "fixtures/release1/sa/participants.arcadia",
"bytes": 4012,
"sha256": "780d2eb08b217b67b55febb3d34846f727b8ee9018df6c5741748647e36b2ff8",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/sa/participants.arcadia"
},
{
"path": "fixtures/release1/sa/types.arcadia",
"bytes": 1227,
"sha256": "101fc0fbd99f1101514aa7b6da4f8e535aae0bb94c9e2b9e7e6c151135b28660",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/sa/types.arcadia"
},
{
"path": "fixtures/release1/traceability.arcadia",
"bytes": 29506,
"sha256": "48a96f543456c9b5a5798fc795594e4119147fe45f11a6f109f141b7f514560f",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/traceability.arcadia"
},
{
"path": "fixtures/release1/transition-before.json",
"bytes": 35801,
"sha256": "2253e6434f741687e22327c37d520ed15c043bc36025498650bc2366bb6a874d",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/transition-before.json"
},
{
"path": "fixtures/release1/transition-request.json",
"bytes": 4276,
"sha256": "43b9a22e5f95ad3bc0ebd2478ead0e14406854abc989ae94ded9367b013d812a",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/transition-request.json"
},
{
"path": "fixtures/release1/views/diagram_oa_allocation_view.arcadia",
"bytes": 2176,
"sha256": "dfc0eb61e0e2aa5bda45524571fbfa3494f44ce19696f3e15e07438074a07bc7",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/views/diagram_oa_allocation_view.arcadia"
},
{
"path": "fixtures/release1/views/diagram_sa_allocation_view.arcadia",
"bytes": 2173,
"sha256": "b78b43a26a82efb8fbd5374b09c329fa341f57b29f635d397b9ef8aede71d389",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/views/diagram_sa_allocation_view.arcadia"
},
{
"path": "fixtures/release1/views/diagram_sa_capability_view.arcadia",
"bytes": 1620,
"sha256": "75e8dc9fb30f25d6f8fd3c6b595593ab4f98958a25798f961e336e0fac557649",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/views/diagram_sa_capability_view.arcadia"
},
{
"path": "fixtures/release1/views/diagram_sa_service_view.arcadia",
"bytes": 2209,
"sha256": "b08c84f3ea633e7c78dfdad3272f75415f6256cf3614b6d99bfd4f0269076c9b",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/views/diagram_sa_service_view.arcadia"
},
{
"path": "fixtures/release1/views/diagram_sa_state_view.arcadia",
"bytes": 1931,
"sha256": "5f42f4c605e57b817d8400ed21f2b14bfc4e1592aebe941ff113767504c2b869",
"original": ".local/text-repair-save-native-20260911/fixtures/release1/views/diagram_sa_state_view.arcadia"
},
{
"path": "fixtures/valid/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"original": ".local/text-repair-save-native-20260911/fixtures/valid/links.arcadia"
},
{
"path": "fixtures/valid/project.arcadia",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"original": ".local/text-repair-save-native-20260911/fixtures/valid/project.arcadia"
},
{
"path": "fixtures/valid/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"original": ".local/text-repair-save-native-20260911/fixtures/valid/救援/assess.arcadia"
},
{
"path": "fixtures/valid/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919",
"original": ".local/text-repair-save-native-20260911/fixtures/valid/救援/confirm.arcadia"
},
{
"path": "helper.py",
"bytes": 15136,
"sha256": "dc783418b68855ebba7c45fd5fee473f92e1b63b08454aec80120aaa045a395e",
"original": ".local/text-repair-save-native-20260911/helper.py"
},
{
"path": "preparation-README.md",
"bytes": 6252,
"sha256": "3f7e55c5d67b5f316f61f94b7f9bf1c68775b1d7656daf518d4af38e57dab708",
"original": ".local/text-repair-save-native-20260911/README.md"
},
{
"path": "README.md",
"bytes": 1956,
"sha256": "7fb02bde5bc0a464e8b4659a7451a866eda1fe9f45957e58cf542bae09d6220c"
},
{
"path": "trial/admission.json",
"bytes": 2361,
"sha256": "f75e79380fc6d45448c55ae7696e918b0403bf0d3e383edbddc2a41e449c1efc",
"original": ".local/text-repair-save-native-20260911/trial/admission.json"
},
{
"path": "trial/binary-after-close.json",
"bytes": 394,
"sha256": "2b7d1fc6217063bbcd44eee7d774e7d19fe3d9f8cfb8ed7a7d135fe595b45534",
"original": ".local/text-repair-save-native-20260911/trial/binary-after-close.json"
},
{
"path": "trial/binary-before.json",
"bytes": 182,
"sha256": "2c317e1af71965c9ec8fb0541b8af0792069440da55af943706cd181e3a06dd0",
"original": ".local/text-repair-save-native-20260911/trial/binary-before.json"
},
{
"path": "trial/checkpoints/duplicate-after-apply-before-save/snapshot.json",
"bytes": 720,
"sha256": "ecae4639320a193d1aa19cbd24bd5a36dad77e649f44c67e43ceb5ac13dbb208",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/duplicate-after-apply-before-save/snapshot.json"
},
{
"path": "trial/checkpoints/duplicate-after-apply-before-save/sources/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/duplicate-after-apply-before-save/sources/links.arcadia"
},
{
"path": "trial/checkpoints/duplicate-after-apply-before-save/sources/project.arcadia",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/duplicate-after-apply-before-save/sources/project.arcadia"
},
{
"path": "trial/checkpoints/duplicate-after-apply-before-save/sources/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/duplicate-after-apply-before-save/sources/救援/assess.arcadia"
},
{
"path": "trial/checkpoints/duplicate-after-apply-before-save/sources/救援/confirm.arcadia",
"bytes": 186,
"sha256": "ba3e222bdc7dfa94e4f1b16df091447835da6b5bea8a72701e12e077e77319a6",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/duplicate-after-apply-before-save/sources/救援/confirm.arcadia"
},
{
"path": "trial/checkpoints/duplicate-final-saved/oracle.json",
"bytes": 1364,
"sha256": "2363b932e2f827ebba764bb2cc9562151122360d188a3a236800b3e0d8e3c6a9",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/duplicate-final-saved/oracle.json"
},
{
"path": "trial/checkpoints/duplicate-final-saved/oracle.stderr.log",
"bytes": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/duplicate-final-saved/oracle.stderr.log"
},
{
"path": "trial/checkpoints/duplicate-final-saved/oracle.stdout.log",
"bytes": 86,
"sha256": "5ac622cfcc05242dca7c1368aba77293d42ab9ce5e56df7b2aedd2287d66d5e7",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/duplicate-final-saved/oracle.stdout.log"
},
{
"path": "trial/checkpoints/duplicate-final-saved/snapshot.json",
"bytes": 708,
"sha256": "706fce991a90267671ba031a3f837e8bfade907390d1864ca2e496ce590647a4",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/duplicate-final-saved/snapshot.json"
},
{
"path": "trial/checkpoints/duplicate-final-saved/sources/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/duplicate-final-saved/sources/links.arcadia"
},
{
"path": "trial/checkpoints/duplicate-final-saved/sources/project.arcadia",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/duplicate-final-saved/sources/project.arcadia"
},
{
"path": "trial/checkpoints/duplicate-final-saved/sources/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/duplicate-final-saved/sources/救援/assess.arcadia"
},
{
"path": "trial/checkpoints/duplicate-final-saved/sources/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/duplicate-final-saved/sources/救援/confirm.arcadia"
},
{
"path": "trial/checkpoints/missing-after-apply-before-save/snapshot.json",
"bytes": 724,
"sha256": "ceab583e0cb00023b2780a707e587ec4da924299146902179f84abc0c9600e67",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/missing-after-apply-before-save/snapshot.json"
},
{
"path": "trial/checkpoints/missing-after-apply-before-save/sources/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/missing-after-apply-before-save/sources/links.arcadia"
},
{
"path": "trial/checkpoints/missing-after-apply-before-save/sources/project.arcadia",
"bytes": 320,
"sha256": "573357995f0a68fef39aa3eef3125e2271242d1ce01607c129624399b77e682e",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/missing-after-apply-before-save/sources/project.arcadia"
},
{
"path": "trial/checkpoints/missing-after-apply-before-save/sources/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/missing-after-apply-before-save/sources/救援/assess.arcadia"
},
{
"path": "trial/checkpoints/missing-after-apply-before-save/sources/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/missing-after-apply-before-save/sources/救援/confirm.arcadia"
},
{
"path": "trial/checkpoints/missing-final-saved/oracle.json",
"bytes": 1368,
"sha256": "4de9ebf80205ca4ea33871040417e03681bbae0771eb2a9d306e8d4a6a4a5d31",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/missing-final-saved/oracle.json"
},
{
"path": "trial/checkpoints/missing-final-saved/oracle.stderr.log",
"bytes": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/missing-final-saved/oracle.stderr.log"
},
{
"path": "trial/checkpoints/missing-final-saved/oracle.stdout.log",
"bytes": 86,
"sha256": "5ac622cfcc05242dca7c1368aba77293d42ab9ce5e56df7b2aedd2287d66d5e7",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/missing-final-saved/oracle.stdout.log"
},
{
"path": "trial/checkpoints/missing-final-saved/snapshot.json",
"bytes": 712,
"sha256": "4dc5db77fe671b5f2919adf42d1f0d84da5efea20a459c9b6d27a55b4a126349",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/missing-final-saved/snapshot.json"
},
{
"path": "trial/checkpoints/missing-final-saved/sources/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/missing-final-saved/sources/links.arcadia"
},
{
"path": "trial/checkpoints/missing-final-saved/sources/project.arcadia",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/missing-final-saved/sources/project.arcadia"
},
{
"path": "trial/checkpoints/missing-final-saved/sources/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/missing-final-saved/sources/救援/assess.arcadia"
},
{
"path": "trial/checkpoints/missing-final-saved/sources/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/missing-final-saved/sources/救援/confirm.arcadia"
},
{
"path": "trial/checkpoints/recovery-after-rollback-before-save/snapshot.json",
"bytes": 721,
"sha256": "7484c4ec2eda264e0196bfe85eb0b9846a38f19b69158d513dc0210094904f69",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-after-rollback-before-save/snapshot.json"
},
{
"path": "trial/checkpoints/recovery-after-rollback-before-save/sources/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-after-rollback-before-save/sources/links.arcadia"
},
{
"path": "trial/checkpoints/recovery-after-rollback-before-save/sources/project.arcadia",
"bytes": 290,
"sha256": "6e9abf4ecf24175b9f04a8db11fe182146581059628eb8769e869597401f262e",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-after-rollback-before-save/sources/project.arcadia"
},
{
"path": "trial/checkpoints/recovery-after-rollback-before-save/sources/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-after-rollback-before-save/sources/救援/assess.arcadia"
},
{
"path": "trial/checkpoints/recovery-after-rollback-before-save/sources/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-after-rollback-before-save/sources/救援/confirm.arcadia"
},
{
"path": "trial/checkpoints/recovery-final-saved/oracle.json",
"bytes": 1398,
"sha256": "963c1bca595e90d60217274d5fbc4e97638719c06772a3de4d9bd86279533783",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-final-saved/oracle.json"
},
{
"path": "trial/checkpoints/recovery-final-saved/oracle.stderr.log",
"bytes": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-final-saved/oracle.stderr.log"
},
{
"path": "trial/checkpoints/recovery-final-saved/oracle.stdout.log",
"bytes": 86,
"sha256": "5ac622cfcc05242dca7c1368aba77293d42ab9ce5e56df7b2aedd2287d66d5e7",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-final-saved/oracle.stdout.log"
},
{
"path": "trial/checkpoints/recovery-final-saved/snapshot.json",
"bytes": 706,
"sha256": "8351d03c03847bed08dd714a94588fe69c88099cb26a4a8ffc92688b75bcad1f",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-final-saved/snapshot.json"
},
{
"path": "trial/checkpoints/recovery-final-saved/sources/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-final-saved/sources/links.arcadia"
},
{
"path": "trial/checkpoints/recovery-final-saved/sources/project.arcadia",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-final-saved/sources/project.arcadia"
},
{
"path": "trial/checkpoints/recovery-final-saved/sources/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-final-saved/sources/救援/assess.arcadia"
},
{
"path": "trial/checkpoints/recovery-final-saved/sources/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-final-saved/sources/救援/confirm.arcadia"
},
{
"path": "trial/checkpoints/recovery-open-journal/snapshot.json",
"bytes": 1446,
"sha256": "a7b7ac6ffd4e71ebe7fd6917930be53fd050611551e8038af3fd35aace61d922",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-open-journal/snapshot.json"
},
{
"path": "trial/checkpoints/recovery-open-journal/sources/.arcadia-save-project.arcadia.journal/0.after",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-open-journal/sources/.arcadia-save-project.arcadia.journal/0.after"
},
{
"path": "trial/checkpoints/recovery-open-journal/sources/.arcadia-save-project.arcadia.journal/0.before",
"bytes": 290,
"sha256": "6e9abf4ecf24175b9f04a8db11fe182146581059628eb8769e869597401f262e",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-open-journal/sources/.arcadia-save-project.arcadia.journal/0.before"
},
{
"path": "trial/checkpoints/recovery-open-journal/sources/.arcadia-save-project.arcadia.journal/journal.json",
"bytes": 104,
"sha256": "08e19098159f9a539f33754ef8d8bbb5e653744baa0aa9784403e019498d4c42",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-open-journal/sources/.arcadia-save-project.arcadia.journal/journal.json"
},
{
"path": "trial/checkpoints/recovery-open-journal/sources/links.arcadia",
"bytes": 211,
"sha256": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-open-journal/sources/links.arcadia"
},
{
"path": "trial/checkpoints/recovery-open-journal/sources/project.arcadia",
"bytes": 277,
"sha256": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-open-journal/sources/project.arcadia"
},
{
"path": "trial/checkpoints/recovery-open-journal/sources/救援/assess.arcadia",
"bytes": 192,
"sha256": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-open-journal/sources/救援/assess.arcadia"
},
{
"path": "trial/checkpoints/recovery-open-journal/sources/救援/confirm.arcadia",
"bytes": 92,
"sha256": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919",
"original": ".local/text-repair-save-native-20260911/trial/checkpoints/recovery-open-journal/sources/救援/confirm.arcadia"
},
{
"path": "trial/launch.json",
"bytes": 2044,
"sha256": "3b567e93d7982b1a5a88f3119cb752aa93f43c0412c33f4f7d593e45295a727f",
"original": ".local/text-repair-save-native-20260911/trial/launch.json"
},
{
"path": "trial/screenshots/01-launch-0.jpg",
"bytes": 98106,
"sha256": "8d1f6bc97af2d1ee216d7503482c703aa9014310b21a22dd8212b4c142af55aa",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/01-launch-0.jpg"
},
{
"path": "trial/screenshots/01-launch.json",
"bytes": 525,
"sha256": "db1e18994dbad6909612b79c79216ab6c320df998a881d8e14721381cd141c9e",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/01-launch.json"
},
{
"path": "trial/screenshots/02-valid-clean-0.jpg",
"bytes": 92308,
"sha256": "9510ce5aa81599f28ea60bb6d9e68b164231dda48c1832587fec1a47667169ee",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/02-valid-clean-0.jpg"
},
{
"path": "trial/screenshots/02-valid-clean.json",
"bytes": 535,
"sha256": "83c534909aff299f8b4ad43fc32f62d903e93d9c281b72ac9ae9bb7becbedd07",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/02-valid-clean.json"
},
{
"path": "trial/screenshots/03-missing-open-unsaved-0.jpg",
"bytes": 105988,
"sha256": "2ebecc16d2476f62c2b7c8de3d51bcfdb2582afe8a62e605a725316074deab9a",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/03-missing-open-unsaved-0.jpg"
},
{
"path": "trial/screenshots/03-missing-open-unsaved.json",
"bytes": 558,
"sha256": "98466f94f5730c5b82dcb46563c51e372abf0661caab795640be11e659d1b7cd",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/03-missing-open-unsaved.json"
},
{
"path": "trial/screenshots/04-missing-draft-repaired-0.jpg",
"bytes": 95265,
"sha256": "b980bbcc0c888568cc6481603244ab1fbda831c70375a3b5d216c450e755a513",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/04-missing-draft-repaired-0.jpg"
},
{
"path": "trial/screenshots/04-missing-draft-repaired.json",
"bytes": 564,
"sha256": "dae9ad3aaf193a0e534010543b797d181b7c20bf559e15d8183c1b89247e6887",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/04-missing-draft-repaired.json"
},
{
"path": "trial/screenshots/05-missing-applied-unsaved-0.jpg",
"bytes": 109414,
"sha256": "01585f17872e616d249e3b4b27ec5a537deab4a6211ce784ab24e60f6b226628",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/05-missing-applied-unsaved-0.jpg"
},
{
"path": "trial/screenshots/05-missing-applied-unsaved.json",
"bytes": 566,
"sha256": "2a6c3ce1c9d16312fd7bf8c854ed55640103bc506894e2e093a30d0a7eff7e5e",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/05-missing-applied-unsaved.json"
},
{
"path": "trial/screenshots/06-missing-close-warning-0.jpg",
"bytes": 94940,
"sha256": "1a9dec53e4f9788a362a756e2194a219276d9fce2bec6b2bf12cf8e2c5bbef87",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/06-missing-close-warning-0.jpg"
},
{
"path": "trial/screenshots/06-missing-close-warning.json",
"bytes": 562,
"sha256": "022b6a876355e10b44fc845f8804a6f9e5b3e0f2838e243a72814a32201005ed",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/06-missing-close-warning.json"
},
{
"path": "trial/screenshots/07-missing-close-cancel-retained-0.jpg",
"bytes": 109378,
"sha256": "8e747d03928beee1f9faa843a83d57983d187951346a9a1506ac242ee8ddcf3c",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/07-missing-close-cancel-retained-0.jpg"
},
{
"path": "trial/screenshots/07-missing-close-cancel-retained.json",
"bytes": 578,
"sha256": "e087c2a5814d15dceb893c8024a3b3e08ee0917ce8f7a308cb6a36e71c01e522",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/07-missing-close-cancel-retained.json"
},
{
"path": "trial/screenshots/08-missing-save-clean-0.jpg",
"bytes": 108509,
"sha256": "41a06b12ef86af7523fd358590f5b6549cb9adf8c41755c5a8270b8af6c1d9ba",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/08-missing-save-clean-0.jpg"
},
{
"path": "trial/screenshots/08-missing-save-clean.json",
"bytes": 554,
"sha256": "c768a5b99dff60c8c9ebb60c0f525b7229fe999b9b1d7841facfd9c6ebf6e6b3",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/08-missing-save-clean.json"
},
{
"path": "trial/screenshots/09-duplicate-open-unsaved-0.jpg",
"bytes": 95252,
"sha256": "9a87a03ad2dee3f43e2acb31a1dcde395becef3c8f978433bcfcfbc71a7fd557",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/09-duplicate-open-unsaved-0.jpg"
},
{
"path": "trial/screenshots/09-duplicate-open-unsaved.json",
"bytes": 562,
"sha256": "97e23b27beb7bd204c757cca61333681d2ba589825076de7be1dfc117daa6682",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/09-duplicate-open-unsaved.json"
},
{
"path": "trial/screenshots/10-duplicate-draft-repaired-0.jpg",
"bytes": 88663,
"sha256": "1b0a974b05a4c85f5de1b5b9e95094d3b3c1c5616ecff0766e7169d81396f02f",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/10-duplicate-draft-repaired-0.jpg"
},
{
"path": "trial/screenshots/10-duplicate-draft-repaired.json",
"bytes": 568,
"sha256": "adfcdf5d618fab0d986eaac5e7d6bd0f9585fb0ccbb0eeb6b46a4f294fa23d9f",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/10-duplicate-draft-repaired.json"
},
{
"path": "trial/screenshots/11-duplicate-applied-unsaved-0.jpg",
"bytes": 102903,
"sha256": "b3d17ed76a16dc855ca95e8e283eb0111de2be5398fcf02cd4336ca5f414d61c",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/11-duplicate-applied-unsaved-0.jpg"
},
{
"path": "trial/screenshots/11-duplicate-applied-unsaved.json",
"bytes": 570,
"sha256": "444fa705198bd3e1748d6d5484f9d995a7e7d0fe34bd69cfecf4b3e10ed12c60",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/11-duplicate-applied-unsaved.json"
},
{
"path": "trial/screenshots/12-duplicate-close-warning-0.jpg",
"bytes": 88560,
"sha256": "9317ca25f5d435c159078dbfc98e36267b43d1083e3c9a6c2d38cc719259e25c",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/12-duplicate-close-warning-0.jpg"
},
{
"path": "trial/screenshots/12-duplicate-close-warning.json",
"bytes": 566,
"sha256": "aa72a337b80f18ef2fc0866974cbec783f6e195821fa7eacc7b72c9f441d2f5a",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/12-duplicate-close-warning.json"
},
{
"path": "trial/screenshots/13-duplicate-close-cancel-retained-0.jpg",
"bytes": 102838,
"sha256": "195dc2813ef7149aedc1257c4c8855ca6e0efd01c602c5125f76b3d505b5f59f",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/13-duplicate-close-cancel-retained-0.jpg"
},
{
"path": "trial/screenshots/13-duplicate-close-cancel-retained.json",
"bytes": 582,
"sha256": "564c40b4bef60b9aacc1d08c1b966a0ae9d5808e82796c000d4d61b0417628b0",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/13-duplicate-close-cancel-retained.json"
},
{
"path": "trial/screenshots/14-duplicate-save-clean-0.jpg",
"bytes": 101477,
"sha256": "24c974e3b1c856f1c934d2d45d00bf015c6a04b90ef334206c2299d079aeefd8",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/14-duplicate-save-clean-0.jpg"
},
{
"path": "trial/screenshots/14-duplicate-save-clean.json",
"bytes": 558,
"sha256": "c4d6e41fae579accf66a75c094d3b63e7127dec63407e6c44c392aef58db6f8c",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/14-duplicate-save-clean.json"
},
{
"path": "trial/screenshots/15-recovery-open-journal-0.jpg",
"bytes": 107952,
"sha256": "d8e8876d40a850ea32ba737f9c47b66d097edbf22f90fb582ad4d1d909e73e41",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/15-recovery-open-journal-0.jpg"
},
{
"path": "trial/screenshots/15-recovery-open-journal.json",
"bytes": 560,
"sha256": "430bf13fa81682a57b145be952c2b7bc50457ad45c83f7c9d0646aced779e4ae",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/15-recovery-open-journal.json"
},
{
"path": "trial/screenshots/16-recovery-applied-before-rollback-0.jpg",
"bytes": 106619,
"sha256": "46705dc1982c76ac3acae57ec942b1c500ad0e26fd7281b46cd547cc89180158",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/16-recovery-applied-before-rollback-0.jpg"
},
{
"path": "trial/screenshots/16-recovery-applied-before-rollback.json",
"bytes": 582,
"sha256": "85d94f75cd4b3c5a9db83135e83f9e97d524c0d1dfac951869c312f6c9978029",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/16-recovery-applied-before-rollback.json"
},
{
"path": "trial/screenshots/17-recovery-rollback-retained-unsaved-0.jpg",
"bytes": 112006,
"sha256": "ece8db936fe1988ad2b9317a089f7fd5f0a003ae8fa7dffe81d8c81cfaad14aa",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/17-recovery-rollback-retained-unsaved-0.jpg"
},
{
"path": "trial/screenshots/17-recovery-rollback-retained-unsaved.json",
"bytes": 588,
"sha256": "4dbbff55837296a7c805867ec4d7f51693731b72bd485410d04de9a04189ba92",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/17-recovery-rollback-retained-unsaved.json"
},
{
"path": "trial/screenshots/18-recovery-close-warning-0.jpg",
"bytes": 96969,
"sha256": "a7099e91e5e2533369acb54b6c408af7df8f362530a6f7a911644c0262632f02",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/18-recovery-close-warning-0.jpg"
},
{
"path": "trial/screenshots/18-recovery-close-warning.json",
"bytes": 564,
"sha256": "479fbd9495f587393e490acce4cbc9a8639153644bad76572410bd8adf276aa2",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/18-recovery-close-warning.json"
},
{
"path": "trial/screenshots/19-recovery-close-cancel-retained-0.jpg",
"bytes": 111806,
"sha256": "31978d3377959b20d9f659e632af58b5a12c090e2be0886307232997d24d231a",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/19-recovery-close-cancel-retained-0.jpg"
},
{
"path": "trial/screenshots/19-recovery-close-cancel-retained.json",
"bytes": 580,
"sha256": "36437e199ff8e59cc35db1f2a530e1bdd0361c85595adcee62d8028421d3a2b1",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/19-recovery-close-cancel-retained.json"
},
{
"path": "trial/screenshots/20-recovery-save-clean-0.jpg",
"bytes": 108733,
"sha256": "3078e0cf554be48a20cc61978ff30fdb44e590a80022f87813b0a59843edb8ce",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/20-recovery-save-clean-0.jpg"
},
{
"path": "trial/screenshots/20-recovery-save-clean.json",
"bytes": 556,
"sha256": "3e1d80cb7c03b0ef4b900669f0a6e0ad0961069388a8698d06c324c0d8e72832",
"original": ".local/text-repair-save-native-20260911/trial/screenshots/20-recovery-save-clean.json"
},
{
"path": "trial/source-before.json",
"bytes": 5971,
"sha256": "9f6a4304855c9d7871c774727dbea28c49d8bb5f6c10d6814ec9fd852ad61ac5",
"original": ".local/text-repair-save-native-20260911/trial/source-before.json"
},
{
"path": "trial/stderr.log",
"bytes": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"original": ".local/text-repair-save-native-20260911/trial/stderr.log"
},
{
"path": "trial/stdout.log",
"bytes": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"original": ".local/text-repair-save-native-20260911/trial/stdout.log"
},
{
"path": "verify_archive.py",
"bytes": 3646,
"sha256": "2c0b8aeaae220d2af077a8dc76e25c223fe7923132ad69009c329d74c077f566"
}
]
}
@@ -0,0 +1,41 @@
# Repair/save native-v4 preparation — no launch performed
Owner: Codex-9e8r6t /root/release_audit. Root operates the GUI and owns acceptance. `helper.py` is an adaptation of the reviewed native_v3 helper, with fail-closed gate/source admission and separate snapshot versus saved-oracle actions. No helper action, application, oracle, compiler or recovery operation was run during preparation. Only fixture copies/static checks and Python AST parsing were performed. Existing v3 data and packaging adapters were untouched.
The new source commit is `33c6d83e9ba9a5b1310b1b627d7c40affcbcf15c`. Its 500 raw inputs must match `.local/text-repair-save-20260911/inputs1.json` and ZIP SHA256 `213fdb39ea7c3601b4baac674c3ab3ecc863ac44db1b092d922d3e24f26887b7`. Future launch requires all five exact successful gate commands/results, their stdout/stderr hashes, complete.json and the actual 755/0/1 full-suite log. The manifest's captured precommit HEAD remains eeeaa126; the launch commit is the committed byte-equivalent correction above.
The GUI hash is read from successful `gui-build-result.json`, never copied from old v3. The helper uses root's preserved `.local/text-repair-save-20260911/gui-repair.exe`, verifies its size/hash against the actual binary record and copies it exclusively to trial/bin. Current receipt identifies B183EF31…B168848, 113,206,272 bytes, but this abbreviation is documentation only; executable admission uses the full actual receipt. F456 DLL and oracle967 hashes remain explicitly pinned.
## Paths and future commands
Base preparation directory already exists. **trial/** does not: launch refuses to overwrite it. Trial models, private profile/Desktop/APPDATA/TEMP, bin and checkpoints are created only on an explicitly authorized launch. The child environment has Windows-only PATH plus standard SystemRoot/SystemDrive/ProgramData/ALLUSERSPROFILE/PUBLIC values; no arbitrary parent credential/proxy environment is inherited. Python stdout/stderr are configured UTF-8 to avoid the earlier cp1252 print failure.
Use `C:/Users/User/.cache/codex-runtimes/codex-primary-runtime/dependencies/python/python.exe` from repository cwd. Examples below are **not executed**:
```text
python .local/text-repair-save-native-20260911/helper.py launch --source-commit 33c6d83e9ba9a5b1310b1b627d7c40affcbcf15c
python .local/text-repair-save-native-20260911/helper.py snapshot --model missing-include --label missing-before-apply
python .local/text-repair-save-native-20260911/helper.py snapshot --model missing-include --label missing-after-apply-before-save
python .local/text-repair-save-native-20260911/helper.py check --model missing-include --label missing-final-saved --after-visible-save
python .local/text-repair-save-native-20260911/helper.py closed --observed-absent
```
Replace `python` with that full bundled executable. Available models: valid, release1, ambiguous, missing-include, recovery. A unique lowercase/hyphen label is required for every snapshot/check. Snapshot creates an exact disk copy and hash/journal receipt only, with no oracle or accepted-model claim. Check additionally requires root's explicit confirmation that a successful Save was observed, then invokes the pinned complete `same` oracle; valid/repaired ambiguity/repaired missing cases compare with exact valid four-file baseline, engineering with its release1 baseline, recovery with expected AFTER. Oracle stdout/stderr/status are retained even on failure. It refuses remaining save-journal files in a final acceptance checkpoint.
`closed --observed-absent` is allowed only after root independently observes the relevant process/window absent. It records binary readback, not its own process observation or exit code. The helper never closes or kills an application.
## Frozen fixtures and optional recovery sequence
`fixtures/` has 64 files / 300,070 bytes. `fixture-manifest.json` SHA256 is `7bccf622c8e2ff42f9e71ac8e5d08ea27b3493c9ebc689ce5f7fbac9aa63f851`. The four ordinary model groups are byte-exact copies from the original pinned fixture manifest `edd4157f…ecc1ed`: valid (four files), ambiguous (four), missing include (four), release1 (37 total including 30 Arcadia). There are no profile/executable copies in the prepared fixtures.
Recovery adds three small directories:
* `recovery-expected-after`: exact valid four-file baseline; project title `Navigation — 救援`.
* `recovery-expected-before`: only the entry project-title string changes to `Before interrupted save — 救援`; IDs, alias, includes, descriptions and the other three files are byte-identical.
* `recovery`: disk initially equals AFTER, plus `.arcadia-save-project.arcadia.journal/{journal.json,0.before,0.after}`. The v1 journal has exactly one entry with path project.arcadia, before=true and write=true. The stage files are exact BEFORE/AFTER. This mirrors the accepted v1 contract in source_files.rs and repair_save_state_tests.rs; no core recovery was run in preparation.
Entry BEFORE SHA256: `6e9abf4ecf24175b9f04a8db11fe182146581059628eb8769e869597401f262e`. AFTER SHA256: `79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414`.
Optional native evaluator: first open the valid AFTER project; then open trial/recovery/project.arcadia. Inspect the interrupted-save banner and snapshot the disk/journal. Explicitly Apply the displayed AFTER source as in the headless regression, then invoke actual Recover. Recovery should remove the journal and restore BEFORE on disk while retaining the accepted AFTER graph/source. Snapshot immediately: this is **not saved acceptance**. Verify visible Unsaved changes and the close/cancel guard without discarding; explicitly Save the retained AFTER model. Only then run `check --model recovery --label recovery-final-saved --after-visible-save`, whose oracle expects exact AFTER. Do not call the helper to perform Recover or fabricate the post-Recover state.
No native first-save deletion fixture is included; the headless tests cover it. The helper does not validate arbitrary alternate GUI builds or later source edits: any changed freeze needs a separately reviewed new helper/trial. Old navigation packaging adapters remain historical and must not be executed for this repaired candidate.
@@ -0,0 +1,8 @@
{
"atUtc": "2026-09-11T21:04:09.115973+00:00",
"originalsMatchArchive": true,
"originalFilesCopied": 161,
"manifestSha256": "3a32afc0d93dafdead2066a7d1fddaf5fedddf99cf4a9b481cd7691007b6f9d9",
"excludedDuplicateFiles": 53,
"observedProcessExitCode": null
}
@@ -0,0 +1,53 @@
{
"atUtc": "2026-09-11T20:52:45.624917+00:00",
"sourceCommit": "33c6d83e9ba9a5b1310b1b627d7c40affcbcf15c",
"inputArchiveSha256": "213fdb39ea7c3601b4baac674c3ab3ecc863ac44db1b092d922d3e24f26887b7",
"gateReceipts": {
"desktop-tests": "e6873ad9ac0bd3451785608618c7dbc11aceb05858fb4eee21aff472c14ef9c5",
"desktop-clippy": "b3ea09aa7097400077f13e809c44e908469c37e844c47b73ef25813c484279b9",
"scoped-fmt": "9906fb9bde7e0f6a9037ea0b2ccb61f4b9c61c7741c69a52ce995850259ac020",
"diff-check": "cec5b925f98e43f9c8d29e0ef99b3b0d817f7433f4d5464acda974b8bd516a81",
"gui-build": "044588599aad6a8b879288050fb2eda204854cf3048c3deef164367eac22bbdf"
},
"completeReceiptSha256": "20034a0ccfd935fbcac0218ff0f1e370899e5f8a32b6dde35aebb62a7d0b98c8",
"fixtureManifestSha256": "7bccf622c8e2ff42f9e71ac8e5d08ea27b3493c9ebc689ce5f7fbac9aa63f851",
"originalFixtureManifestSha256": "edd4157fc31823f4494dee91862728b87f12ef51c49b8d1fd86a954bc9ecc1ed",
"binary": {
"path": "C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\target-gnullvm\\debug\\arcadia-studio.exe",
"bytes": 113206272,
"sha256": "b183ef31f16b3986538b3f2aba8435eab45978635c47f99ca01be6e72b168848",
"artifact": {
"reason": "compiler-artifact",
"package_id": "path+file:///C:/Users/User/Documents/Git/ARCADIA-Studio/crates/oa-desktop#0.2.0",
"manifest_path": "C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\crates\\oa-desktop\\Cargo.toml",
"target": {
"kind": [
"bin"
],
"crate_types": [
"bin"
],
"name": "arcadia-studio",
"src_path": "C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\crates\\oa-desktop\\src\\main.rs",
"edition": "2024",
"doc": true,
"doctest": false,
"test": true
},
"profile": {
"opt_level": "0",
"debuginfo": 0,
"debug_assertions": true,
"overflow_checks": true,
"test": false
},
"features": [],
"filenames": [
"C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\target-gnullvm\\debug\\arcadia-studio.exe"
],
"executable": "C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\target-gnullvm\\debug\\arcadia-studio.exe",
"fresh": false
}
},
"scope": "Gate/fixture admission only, not native acceptance."
}
@@ -0,0 +1,10 @@
{
"atUtc": "2026-09-11T20:59:59.044480+00:00",
"files": {
"arcadia-studio.exe": "b183ef31f16b3986538b3f2aba8435eab45978635c47f99ca01be6e72b168848",
"libunwind.dll": "f45604a12e8bcd839fd86f667c1be1cc7c4f9da2b3c69ff381ac708f0e1ae7d4"
},
"unchanged": true,
"absenceObservedByCaller": true,
"scope": "Binary readback only, not a process/exit-code observation by this helper."
}
@@ -0,0 +1,4 @@
{
"arcadia-studio.exe": "b183ef31f16b3986538b3f2aba8435eab45978635c47f99ca01be6e72b168848",
"libunwind.dll": "f45604a12e8bcd839fd86f667c1be1cc7c4f9da2b3c69ff381ac708f0e1ae7d4"
}
@@ -0,0 +1,16 @@
{
"atUtc": "2026-09-11T20:57:26.123783+00:00",
"label": "duplicate-after-apply-before-save",
"model": "ambiguous",
"files": {
"links.arcadia": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"project.arcadia": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"救援/assess.arcadia": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"救援/confirm.arcadia": "ba3e222bdc7dfa94e4f1b16df091447835da6b5bea8a72701e12e077e77319a6"
},
"arcadiaFiles": 4,
"journalFiles": {},
"pendingJournalExists": false,
"binaryFilesUnchanged": true,
"scope": "On-disk snapshot only; no accepted graph, Apply, Save or recovery success inferred."
}
@@ -0,0 +1,4 @@
interaction handoff "Assessment handoff" id "9e8f0000-0000-4000-8000-000000000004" {
description "救援 @assess is prose"; source @assess; target @confirm;
// Another comment @assess is excluded.
}
@@ -0,0 +1,7 @@
arcadia 7;
project navigation_trial "Navigation — 救援" id "9e8f0000-0000-4000-8000-000000000001" {
description "Prose @assess must not be a lexical use.";
include "救援/assess.arcadia";
include "救援/confirm.arcadia";
include "links.arcadia";
}
@@ -0,0 +1,4 @@
// Comment @assess must not be a lexical use.
oa_activity assess "Assess 救援 request" id "9e8f0000-0000-4000-8000-000000000002" {
description "Keep @assess as prose, not a use.";
}
@@ -0,0 +1,2 @@
oa_activity confirm "Confirm 救援 response" id "9e8f0000-0000-4000-8000-000000000003" {}
oa_activity assess "Duplicate draft assessment" id "9e8f0000-0000-4000-8000-000000000005" {}
@@ -0,0 +1,22 @@
{
"atUtc": "2026-09-11T20:57:52.527850+00:00",
"command": [
"C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\staged-source-oracle-20260911\\staged-source-authoring-contract.exe",
"same",
"C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\text-repair-save-native-20260911\\fixtures\\valid\\project.arcadia",
"C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\text-repair-save-native-20260911\\trial\\checkpoints\\duplicate-final-saved\\sources\\project.arcadia"
],
"exitCode": 0,
"oracleSha256": "967d9ba3c6fb3a7efb410833903ec94556ca2d48a67d5072c8bb160f40a00f9c",
"afterVisibleSaveConfirmedByCaller": true,
"model": "ambiguous",
"expected": "C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\text-repair-save-native-20260911\\fixtures\\valid",
"files": {
"links.arcadia": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"project.arcadia": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"救援/assess.arcadia": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"救援/confirm.arcadia": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
},
"binaryFilesUnchanged": true,
"scope": "Actual saved oracle result; complete Project/identity/reachable and physical Arcadia equality only if exitCode is zero."
}
@@ -0,0 +1 @@
PASS exact model/identity/4 reachable sources; 4 exact disk files (0 proven retained)
@@ -0,0 +1,16 @@
{
"atUtc": "2026-09-11T20:57:52.358626+00:00",
"label": "duplicate-final-saved",
"model": "ambiguous",
"files": {
"links.arcadia": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"project.arcadia": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"救援/assess.arcadia": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"救援/confirm.arcadia": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
},
"arcadiaFiles": 4,
"journalFiles": {},
"pendingJournalExists": false,
"binaryFilesUnchanged": true,
"scope": "On-disk snapshot only; no accepted graph, Apply, Save or recovery success inferred."
}
@@ -0,0 +1,4 @@
interaction handoff "Assessment handoff" id "9e8f0000-0000-4000-8000-000000000004" {
description "救援 @assess is prose"; source @assess; target @confirm;
// Another comment @assess is excluded.
}
@@ -0,0 +1,7 @@
arcadia 7;
project navigation_trial "Navigation — 救援" id "9e8f0000-0000-4000-8000-000000000001" {
description "Prose @assess must not be a lexical use.";
include "救援/assess.arcadia";
include "救援/confirm.arcadia";
include "links.arcadia";
}
@@ -0,0 +1,4 @@
// Comment @assess must not be a lexical use.
oa_activity assess "Assess 救援 request" id "9e8f0000-0000-4000-8000-000000000002" {
description "Keep @assess as prose, not a use.";
}
@@ -0,0 +1 @@
oa_activity confirm "Confirm 救援 response" id "9e8f0000-0000-4000-8000-000000000003" {}
@@ -0,0 +1,16 @@
{
"atUtc": "2026-09-11T20:55:26.325080+00:00",
"label": "missing-after-apply-before-save",
"model": "missing-include",
"files": {
"links.arcadia": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"project.arcadia": "573357995f0a68fef39aa3eef3125e2271242d1ce01607c129624399b77e682e",
"救援/assess.arcadia": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"救援/confirm.arcadia": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
},
"arcadiaFiles": 4,
"journalFiles": {},
"pendingJournalExists": false,
"binaryFilesUnchanged": true,
"scope": "On-disk snapshot only; no accepted graph, Apply, Save or recovery success inferred."
}
@@ -0,0 +1,4 @@
interaction handoff "Assessment handoff" id "9e8f0000-0000-4000-8000-000000000004" {
description "救援 @assess is prose"; source @assess; target @confirm;
// Another comment @assess is excluded.
}
@@ -0,0 +1,8 @@
arcadia 7;
project navigation_trial "Navigation — 救援" id "9e8f0000-0000-4000-8000-000000000001" {
description "Prose @assess must not be a lexical use.";
include "救援/assess.arcadia";
include "救援/confirm.arcadia";
include "links.arcadia";
include "missing/not-loaded.arcadia";
}
@@ -0,0 +1,4 @@
// Comment @assess must not be a lexical use.
oa_activity assess "Assess 救援 request" id "9e8f0000-0000-4000-8000-000000000002" {
description "Keep @assess as prose, not a use.";
}
@@ -0,0 +1 @@
oa_activity confirm "Confirm 救援 response" id "9e8f0000-0000-4000-8000-000000000003" {}
@@ -0,0 +1,22 @@
{
"atUtc": "2026-09-11T20:55:51.960147+00:00",
"command": [
"C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\staged-source-oracle-20260911\\staged-source-authoring-contract.exe",
"same",
"C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\text-repair-save-native-20260911\\fixtures\\valid\\project.arcadia",
"C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\text-repair-save-native-20260911\\trial\\checkpoints\\missing-final-saved\\sources\\project.arcadia"
],
"exitCode": 0,
"oracleSha256": "967d9ba3c6fb3a7efb410833903ec94556ca2d48a67d5072c8bb160f40a00f9c",
"afterVisibleSaveConfirmedByCaller": true,
"model": "missing-include",
"expected": "C:\\Users\\User\\Documents\\Git\\ARCADIA-Studio\\.local\\text-repair-save-native-20260911\\fixtures\\valid",
"files": {
"links.arcadia": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"project.arcadia": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"救援/assess.arcadia": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"救援/confirm.arcadia": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
},
"binaryFilesUnchanged": true,
"scope": "Actual saved oracle result; complete Project/identity/reachable and physical Arcadia equality only if exitCode is zero."
}
@@ -0,0 +1 @@
PASS exact model/identity/4 reachable sources; 4 exact disk files (0 proven retained)
@@ -0,0 +1,16 @@
{
"atUtc": "2026-09-11T20:55:51.723485+00:00",
"label": "missing-final-saved",
"model": "missing-include",
"files": {
"links.arcadia": "d3229ecf6300804103eb7f85bd5891c022f6f6c194dbdbbdcb54e9550338dc3b",
"project.arcadia": "79e26836c048a35aaf98b21ff006ae8ac931160abd9913b9e67b542303215414",
"救援/assess.arcadia": "d99593537e67b2dfd293623f467ffbd46af4ea259dffae55d1fe9995c86e6992",
"救援/confirm.arcadia": "591b32db3b1282825750d002d9293cfc450d55252506623302ce36c949fe9919"
},
"arcadiaFiles": 4,
"journalFiles": {},
"pendingJournalExists": false,
"binaryFilesUnchanged": true,
"scope": "On-disk snapshot only; no accepted graph, Apply, Save or recovery success inferred."
}
@@ -0,0 +1,4 @@
interaction handoff "Assessment handoff" id "9e8f0000-0000-4000-8000-000000000004" {
description "救援 @assess is prose"; source @assess; target @confirm;
// Another comment @assess is excluded.
}

Some files were not shown because too many files have changed in this diff Show More