fix(contracts): align live target classification with admitted facts

Share exact live target variants across open and session responses, preserving historical Evidence and snapshot admission. Consolidate equivalent ELF metadata aliases at their owner.
This commit is contained in:
morluto committed 2026-10-27 06:53:47 +08:00
1 parent fc7f042c8c
commit ace4dbf36e
10 files changed
+377 -116

No files matched your search

+4 -11
View File
@@ -110,15 +110,6 @@ export interface MipsGnuAttributes {
readonly msa: number | null;
}
/**
* ELF class and flags retain the width and ABI declarations used by this lane.
* ISA extensions in `.riscv.attributes` are not inspected by this header parser.
*/
export type RiscvElfMetadata = ElfFamilyMetadata;
/** Raw PowerPC declarations; family identity does not select a processor variant. */
export type PowerPcElfMetadata = ElfFamilyMetadata;
/** Byte range of the selected slice inside its universal Mach-O container. */
export interface UniversalMachOSlice {
readonly offset: number;
@@ -167,7 +158,8 @@ export type BinaryTarget =
readonly format: "elf";
readonly architecture: "riscv";
readonly availableArchitectures: readonly "riscv"[];
readonly riscv: RiscvElfMetadata;
/** ISA extensions in `.riscv.attributes` are not inspected by the header parser. */
readonly riscv: ElfFamilyMetadata;
readonly executableRole?: never;
readonly managed?: never;
})
@@ -176,7 +168,8 @@ export type BinaryTarget =
readonly format: "elf";
readonly architecture: "powerpc";
readonly availableArchitectures: readonly "powerpc"[];
readonly powerpc: PowerPcElfMetadata;
/** Family identity does not select a processor variant. */
readonly powerpc: ElfFamilyMetadata;
readonly executableRole?: never;
readonly managed?: never;
})