feat(native): add inspection primitives, dispatch traces and approved UI observation (#500)
* fix(hopper): normalize string-backed addresses and update verification * feat(native): add inspection primitives, dispatch traces and approved UI observation * test: prioritize real artifact E2E and captured golden regressions * fix(process): queue observed output before reactive rendering actions * test: prune redundant cases and strengthen boundary assertions * fix(cli): route native value tracing through shared workflows * test: replace synthetic success with real workflows and captured data * fix(catalog): separate portable metadata from native host availability
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import Foundation
|
||||
|
||||
final class ReaArchiveRecord: NSObject, NSCoding {
|
||||
var link: ReaArchiveRecord?
|
||||
override init() { super.init() }
|
||||
required init?(coder: NSCoder) { super.init() }
|
||||
func encode(with coder: NSCoder) {
|
||||
coder.encode(link, forKey: "cycle")
|
||||
coder.encode(Data([0, 1, 2, 255]), forKey: "payload")
|
||||
coder.encodeConditionalObject(nil, forKey: "conditional")
|
||||
}
|
||||
}
|
||||
let record = ReaArchiveRecord()
|
||||
record.link = record
|
||||
let data = try NSKeyedArchiver.archivedData(withRootObject: [record, record] as NSArray, requiringSecureCoding: false)
|
||||
try data.write(to: URL(fileURLWithPath: CommandLine.arguments[1]))
|
||||
Reference in New Issue
Block a user