From 4ba673fff992a1412b47716d6062de6a22183fcb Mon Sep 17 00:00:00 2001 From: iceteaSA <171169159+iceteaSA@users.noreply.github.com> Date: Sat, 8 Aug 2026 01:06:11 +0200 Subject: [PATCH] test: register fixture writer capability in subc bridge tests --- .../aft/tests/integration/subc_bridge_test.rs | 8 +++ docs/v0.49-agent-surface-manifest.json | 48 +++++++------- docs/v0.49-legacy-vocabulary-allowlist.json | 64 +++++++++---------- 3 files changed, 64 insertions(+), 56 deletions(-) diff --git a/crates/aft/tests/integration/subc_bridge_test.rs b/crates/aft/tests/integration/subc_bridge_test.rs index 916d5501..805137f2 100644 --- a/crates/aft/tests/integration/subc_bridge_test.rs +++ b/crates/aft/tests/integration/subc_bridge_test.rs @@ -189,6 +189,14 @@ impl SubcBridgeTestRoots { let push_burst_root = tempfile::tempdir().expect("push burst root tempdir"); let slow_root = tempfile::tempdir().expect("slow root tempdir"); let callgraph_root = tempfile::tempdir().expect("callgraph root tempdir"); + let canonical_callgraph_root = std::fs::canonicalize(callgraph_root.path()) + .unwrap_or_else(|_| callgraph_root.path().to_path_buf()); + // Register the fixture's writer capability before transport timing begins. + aft::root_cache::configure_artifact_access( + &canonical_callgraph_root, + &aft::search_index::artifact_cache_key(&canonical_callgraph_root), + false, + ); let callgraph_src = callgraph_root.path().join("src"); std::fs::create_dir_all(&callgraph_src).expect("callgraph src dir"); let callgraph_file = callgraph_src.join("lib.rs"); diff --git a/docs/v0.49-agent-surface-manifest.json b/docs/v0.49-agent-surface-manifest.json index 1f30ca19..61f2328d 100644 --- a/docs/v0.49-agent-surface-manifest.json +++ b/docs/v0.49-agent-surface-manifest.json @@ -3,7 +3,7 @@ "artifact_id": "ART-V049-S5-AGENT-SURFACE-MANIFEST-001", "artifact_version": "0.49.0", "manifest_id": "MAN-V049-S5-AGENT-SURFACE-001", - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "source_inventory": "docs/v0.49-agent-surface-sources.json", "hash_rule": "Hash exact UTF-8 file bytes from the source commit; do not normalize newlines, reserialize JSON, or apply test-only normalization.", "artifacts": [ @@ -17,7 +17,7 @@ "REG-V049-OC-REC", "REG-V049-OC-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 45394, "sha256": "c561a9a3f7604a2aedc57882c84d609a706c4959474a915c671bc16e177e8bea" @@ -32,7 +32,7 @@ "REG-V049-OC-REC", "REG-V049-OC-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 17922, "sha256": "2d41d04ad7e0cb97d0b1064ab584e7daa8f1db5f7a8cb4d73732c0db1696e9df" @@ -45,7 +45,7 @@ "profiles": [ "REG-V049-OC-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 7944, "sha256": "673c050c76f1ae592440c4574d07708b26a98ba0af5f2bace81c690be289f676" @@ -60,7 +60,7 @@ "REG-V049-OC-REC", "REG-V049-OC-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 8228, "sha256": "83185ecfad76ac049bddb97a82b9c0265976067107f2cd5e13d69b6acc7352ca" @@ -74,7 +74,7 @@ "REG-V049-OC-REC", "REG-V049-OC-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 6092, "sha256": "4dc0ba1675a425dcfe9fa08fb49bda9d3fedaa7044a25f9b6ac333ee79c3b46e" @@ -87,7 +87,7 @@ "profiles": [ "REG-V049-OC-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 7766, "sha256": "1db4595041262d7e0a977154c2e1eca67b2d7fd1509428322aba6b7b58164f0e" @@ -102,7 +102,7 @@ "REG-V049-OC-REC", "REG-V049-OC-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 12504, "sha256": "213ef9b09bcc8854e00a4a3240791223ed0d338a33ee9667368075ab1b486954" @@ -117,7 +117,7 @@ "REG-V049-PI-REC", "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 40749, "sha256": "3ad552ac8156f101d2314ba004ea9e5cb6725f11abe13c5f361b34d3cb24dfef" @@ -132,7 +132,7 @@ "REG-V049-PI-REC", "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 21652, "sha256": "719b244afe0ac41e167db6ce1714f89fea6daa5d6cab79113b184b41bb1edaeb" @@ -145,7 +145,7 @@ "profiles": [ "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 8789, "sha256": "7f8764e69b85378cb820c3963116ab65296fc45310d2555d096ff5fdee87cee2" @@ -160,7 +160,7 @@ "REG-V049-PI-REC", "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 9499, "sha256": "8261d91d898f1423ddb591d8c30d0285492c19f841d0f3721c05d2f0842ff5c2" @@ -174,7 +174,7 @@ "REG-V049-PI-REC", "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 8182, "sha256": "b26a8f7761f99dfdd46b9f1b96115377d6102f0cbd4ecb3b4c1f2599c7a743fb" @@ -187,7 +187,7 @@ "profiles": [ "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 8760, "sha256": "47f557a3b8ead3a9c863e99218b6016959de85a4c8be48a2e2e5b65e4742c836" @@ -200,7 +200,7 @@ "profiles": [ "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 9967, "sha256": "416d5dcf384248e0727d9a04e23556d14b98a51dfd57a9ae2c350ebaf285a51a" @@ -215,7 +215,7 @@ "REG-V049-PI-REC", "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 11887, "sha256": "5c67943dc898c2a4235c033c5947faa30d64c05de7dc75dee3f2e842dcf89b4a" @@ -233,7 +233,7 @@ "REG-V049-PI-REC", "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 44313, "sha256": "b604c6f80c2527582b457a4d8538bd9c4cc8987a6fac449a60e21e8780faa131" @@ -248,7 +248,7 @@ "REG-V049-PI-REC", "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 7494, "sha256": "9b4bffd31c6c9224d379a7e01521892825563266697acf3f9826b6bd3371788b" @@ -259,7 +259,7 @@ "kind": "generated subc manifest schema", "owner": "subc-schema-generation", "profiles": [], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 42099, "sha256": "561b2677b11de8c7005aa299b5b57b96e36dc0d74a6d46b2e8eff326fb7d8d4d" @@ -277,7 +277,7 @@ "REG-V049-PI-REC", "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 5193, "sha256": "f6dd35f338014a2adbae1814d8cc8fc7adf05abdde9209d7b28c432ea620eaa9" @@ -295,10 +295,10 @@ "REG-V049-PI-REC", "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 214468, - "sha256": "423a4a161382077c415de8bcaa2188872c1c1d7682469d22f8f8602b3b3a35a4" + "sha256": "11c76e7e52552b18a77eaac1bb6e291f4004a52571645af5bd68dfa691e28177" }, { "id": "ART-V049-S5-AUDIT-IMPLEMENTATION-001", @@ -313,7 +313,7 @@ "REG-V049-PI-REC", "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 23451, "sha256": "c72cc1c1bc82575057552d62900174e57a31e50abf6e6d38b1c25679bcaaa872" @@ -331,7 +331,7 @@ "REG-V049-PI-REC", "REG-V049-PI-ALL" ], - "source_commit": "be76cf8be8ce9099bd494ffd61917a8126903c3c", + "source_commit": "3ac5c3b8523ed1295d9ce786cf4d07744ced5830", "encoding": "UTF-8", "byte_length": 244926, "sha256": "92543b422bb7fa93b163603e8f35f2986caa249158730b266f12780bac8d7740" diff --git a/docs/v0.49-legacy-vocabulary-allowlist.json b/docs/v0.49-legacy-vocabulary-allowlist.json index a3b87bf6..077633b7 100644 --- a/docs/v0.49-legacy-vocabulary-allowlist.json +++ b/docs/v0.49-legacy-vocabulary-allowlist.json @@ -1226,8 +1226,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 5957, column 18", - "line": 5957, + "location": "line 5965, column 18", + "line": 5965, "column": 18, "token": "filePath", "class": "internal-compatibility", @@ -1235,8 +1235,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 6004, column 18", - "line": 6004, + "location": "line 6012, column 18", + "line": 6012, "column": 18, "token": "filePath", "class": "internal-compatibility", @@ -1244,8 +1244,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 6023, column 18", - "line": 6023, + "location": "line 6031, column 18", + "line": 6031, "column": 18, "token": "filePath", "class": "internal-compatibility", @@ -1253,8 +1253,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 6059, column 18", - "line": 6059, + "location": "line 6067, column 18", + "line": 6067, "column": 18, "token": "filePath", "class": "internal-compatibility", @@ -1262,8 +1262,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 6133, column 18", - "line": 6133, + "location": "line 6141, column 18", + "line": 6141, "column": 18, "token": "filePath", "class": "internal-compatibility", @@ -1271,8 +1271,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 6151, column 18", - "line": 6151, + "location": "line 6159, column 18", + "line": 6159, "column": 18, "token": "filePath", "class": "internal-compatibility", @@ -1280,8 +1280,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 6302, column 18", - "line": 6302, + "location": "line 6310, column 18", + "line": 6310, "column": 18, "token": "filePath", "class": "internal-compatibility", @@ -1289,8 +1289,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 6316, column 18", - "line": 6316, + "location": "line 6324, column 18", + "line": 6324, "column": 18, "token": "filePath", "class": "internal-compatibility", @@ -1298,8 +1298,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 6407, column 18", - "line": 6407, + "location": "line 6415, column 18", + "line": 6415, "column": 18, "token": "filePath", "class": "internal-compatibility", @@ -1307,8 +1307,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 7061, column 18", - "line": 7061, + "location": "line 7069, column 18", + "line": 7069, "column": 18, "token": "filePath", "class": "internal-compatibility", @@ -1316,8 +1316,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 7074, column 14", - "line": 7074, + "location": "line 7082, column 14", + "line": 7082, "column": 14, "token": "filePath", "class": "internal-compatibility", @@ -1325,8 +1325,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 7141, column 18", - "line": 7141, + "location": "line 7149, column 18", + "line": 7149, "column": 18, "token": "filePath", "class": "internal-compatibility", @@ -1334,8 +1334,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 7150, column 14", - "line": 7150, + "location": "line 7158, column 14", + "line": 7158, "column": 14, "token": "filePath", "class": "internal-compatibility", @@ -1343,8 +1343,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 7162, column 14", - "line": 7162, + "location": "line 7170, column 14", + "line": 7170, "column": 14, "token": "filePath", "class": "internal-compatibility", @@ -1352,8 +1352,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 9078, column 25", - "line": 9078, + "location": "line 9086, column 25", + "line": 9086, "column": 25, "token": "filePath", "class": "internal-compatibility", @@ -1361,8 +1361,8 @@ }, { "path": "crates/aft/tests/integration/subc_bridge_test.rs", - "location": "line 9112, column 18", - "line": 9112, + "location": "line 9120, column 18", + "line": 9120, "column": 18, "token": "filePath", "class": "internal-compatibility",