Add exact runtime conformance lookup and agent-visible language limits

Add authorized exact-contract lookup, revision-fenced views, generated typed package/browser descriptors, and lifecycle-safe React discovery. Preserve closed generic contracts without competing-conformance policies or new authority grants. Document supported workarounds and privacy boundaries for agent feedback. Publish matching protocol/SDK exports and update scaffold/starter pins; leave the deployed template unchanged.
This commit is contained in:
Timothy J. Aveni
2026-09-17 12:04:06 -07:00
parent 59735c5e38
commit e3501772c5
10 changed files with 378 additions and 55 deletions
+4 -2
View File
@@ -127,7 +127,7 @@ export const genericImplementationType = (
.filter((op) => op.mode === "call" && op.scope !== "class")
.map((op) => ({ ...op, name: `${member.displayName}.${op.displayName}` })),
);
return object([
const methods: [string, string][] = [
["objectId", `QxObjectRef<${target({ kind: "application", application: requirement.application }, scope)}>`],
["live", object(operations.map((op) => [op.name, `(${params(op.inputType, local)})=>Promise<QxLiveValue>`]))],
...operations.map(
@@ -137,7 +137,8 @@ export const genericImplementationType = (
string,
],
),
]);
];
return object([...methods, ["contract", `QxInterfaceContract<${object(methods)}>`]]);
}
}
};
@@ -146,6 +147,7 @@ export const genericImplementationType = (
.join(",");
const receiver = definition.receiverRequirement;
const context = object([
["conform", "QxConformer"],
...(definition.kind === "function"
? []
: [