Sync VCC Plus 3.7.1 build 67 source
Refresh reviewed MCP output export, four-drive owned playtests, bounded BASIC readiness, and pinned CMOC 0.1.101 source/patches. Preserve independent source-edition identity, empty libraries, notices and privacy boundaries. Validated 74 export/privacy checks, pinned dependency sources, and an independent unsigned universal Release build. A subsequent documentation-only correction removes an excluded qualification link; all build inputs remain identical.
This commit is contained in:
1 parent
4abc194001
commit
5534005799
54 files changed
+2950
-435
No files matched your search
@@ -89,7 +89,7 @@ final class MCPCallContextAccessTests: XCTestCase {
|
||||
|
||||
func testRealCGrantOwnsFrozenSevenArgumentContextAndRejectsStaleAuthority() async throws {
|
||||
_ = NSApplication.shared
|
||||
let localToolchainBundle = resources.appendingPathComponent("ToolchainBundle")
|
||||
let localToolchainBundle = vccQualificationToolchain(resources.appendingPathComponent("ToolchainBundle"))
|
||||
let roms = resources.appendingPathComponent("ROMs")
|
||||
try XCTSkipUnless(["cmoc", "make", "perl", "writecocofile"].allSatisfy {
|
||||
FileManager.default.isExecutableFile(atPath: localToolchainBundle.appendingPathComponent("bin/" + $0).path)
|
||||
@@ -156,7 +156,7 @@ final class MCPCallContextAccessTests: XCTestCase {
|
||||
do {
|
||||
try await host.exportCallContextRegression(model, at: grantFile, helperURL: worker, roms: roms)
|
||||
let grant = try readGrant(grantFile)
|
||||
XCTAssertEqual(grant["toolset"] as? Int, 12)
|
||||
XCTAssertEqual(grant["toolset"] as? Int, 13)
|
||||
XCTAssertEqual(grant["playtestVideo"] as? Bool, true)
|
||||
XCTAssertEqual(grant["playtestCallContext"] as? Bool, true)
|
||||
let capabilities = try await result("get_capabilities", grant: grant)
|
||||
@@ -333,7 +333,7 @@ final class MCPCallContextAccessTests: XCTestCase {
|
||||
let machine = MachineModel(diskStore: .init(url: root.appendingPathComponent("disks.json")), displayDefaults: defaults,
|
||||
inputStore: .init(url: root.appendingPathComponent("input.json")), restoreMediaOnLaunch: false)
|
||||
defer { machine.shutdown() }
|
||||
let model = CMOCDevelopmentModel(machine: machine, toolchain: resources.appendingPathComponent("ToolchainBundle"),
|
||||
let model = CMOCDevelopmentModel(machine: machine, toolchain: vccQualificationToolchain(resources.appendingPathComponent("ToolchainBundle")),
|
||||
defaults: defaults, buildRoot: root.appendingPathComponent("Builds"), recoveryRoot: root.appendingPathComponent("Recovery"))
|
||||
let project = try CMOCProject.create(at: root.appendingPathComponent("Project"))
|
||||
try model.adopt(project)
|
||||
@@ -408,7 +408,7 @@ final class MCPCallContextAccessTests: XCTestCase {
|
||||
|
||||
func testPublicMediaGrantBindsArtifactsRetainsEveryDiskAndResumesOnBothProcessors() async throws {
|
||||
_ = NSApplication.shared
|
||||
let toolchain = resources.appendingPathComponent("ToolchainBundle")
|
||||
let toolchain = vccQualificationToolchain(resources.appendingPathComponent("ToolchainBundle"))
|
||||
let roms = resources.appendingPathComponent("ROMs")
|
||||
try XCTSkipUnless(["cmoc", "make", "perl", "writecocofile"].allSatisfy {
|
||||
FileManager.default.isExecutableFile(atPath: toolchain.appendingPathComponent("bin/" + $0).path)
|
||||
@@ -469,11 +469,16 @@ final class MCPCallContextAccessTests: XCTestCase {
|
||||
do {
|
||||
try await host.exportCallContextRegression(model, at: grantFile, helperURL: worker, roms: roms)
|
||||
let grant = try readGrant(grantFile)
|
||||
XCTAssertEqual(grant["toolset"] as? Int, 12)
|
||||
XCTAssertEqual(grant["toolset"] as? Int, 13)
|
||||
XCTAssertEqual(grant["playtestVideo"] as? Bool, true)
|
||||
XCTAssertEqual(grant["playtestMedia"] as? Bool, true)
|
||||
XCTAssertEqual(grant["playtestMultiDrive"] as? Bool, true)
|
||||
XCTAssertEqual(grant["buildExport"] as? Bool, false)
|
||||
let capabilities = try await result("get_capabilities", grant: grant)
|
||||
XCTAssertEqual(capabilities["playtest_media_exchange"] as? Bool, true)
|
||||
XCTAssertEqual(capabilities["playtest_media_drives"] as? [Int], [0, 1, 2, 3])
|
||||
XCTAssertEqual(capabilities["playtest_media_version"] as? Int, 2)
|
||||
XCTAssertEqual(capabilities["playtest_media_write_protection"] as? Bool, true)
|
||||
XCTAssertEqual((capabilities["tools"] as? [String])?.count, 35)
|
||||
let scope: [String: Any] = ["project_id": try XCTUnwrap(capabilities["project_id"] as? String),
|
||||
"revision": try XCTUnwrap(capabilities["revision"] as? Int)]
|
||||
|
||||
Reference in new issue
Block a user