@sublang/slc 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cligent-agent.d.ts.map +1 -1
- package/dist/cligent-agent.js +22 -1
- package/dist/cligent-agent.js.map +1 -1
- package/dist/reviewing-agent.d.ts.map +1 -1
- package/dist/reviewing-agent.js +13 -12
- package/dist/reviewing-agent.js.map +1 -1
- package/dist/verify-coverage.d.ts.map +1 -1
- package/dist/verify-coverage.js +27 -7
- package/dist/verify-coverage.js.map +1 -1
- package/dist/verify.d.ts.map +1 -1
- package/dist/verify.js +221 -73
- package/dist/verify.js.map +1 -1
- package/package.json +3 -3
package/dist/verify.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify.d.ts","sourceRoot":"","sources":["../src/verify.ts"],"names":[],"mappings":"AA8BA,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,sBAAsB,CAAC;AAE9B,kFAAkF;AAClF,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,iFAAiF;IACjF,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACxC,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4EAA4E;IAC5E,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,0EAA0E;AAC1E,MAAM,WAAW,YAAY;IAC3B,O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KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1D,GAAG,OAAO,CAAC,MAAM,CAAC,CAmBlB;AAKD,cAAc,sBAAsB,CAAC"}
|
package/dist/verify.js
CHANGED
|
@@ -1690,6 +1690,29 @@ export function placeholdersIn(prompt) {
|
|
|
1690
1690
|
return seen;
|
|
1691
1691
|
}
|
|
1692
1692
|
const sentinelFor = (field) => `«${field}»`;
|
|
1693
|
+
// Accessor presence is retained as unavailable data, never promoted to a probe.
|
|
1694
|
+
const unavailablePromptFields = new WeakMap();
|
|
1695
|
+
function promptDataRecord(value) {
|
|
1696
|
+
if (typeof value !== 'object' || value === null || nodeTypes.isProxy(value))
|
|
1697
|
+
return undefined;
|
|
1698
|
+
const descriptors = Object.getOwnPropertyDescriptors(value);
|
|
1699
|
+
const copied = {};
|
|
1700
|
+
const unavailable = new Set(unavailablePromptFields.get(value));
|
|
1701
|
+
for (const [key, descriptor] of Object.entries(descriptors)) {
|
|
1702
|
+
if (!descriptor.enumerable)
|
|
1703
|
+
continue;
|
|
1704
|
+
if (!('value' in descriptor))
|
|
1705
|
+
unavailable.add(key);
|
|
1706
|
+
Object.defineProperty(copied, key, {
|
|
1707
|
+
value: 'value' in descriptor ? descriptor.value : undefined,
|
|
1708
|
+
enumerable: true,
|
|
1709
|
+
configurable: true,
|
|
1710
|
+
writable: true,
|
|
1711
|
+
});
|
|
1712
|
+
}
|
|
1713
|
+
unavailablePromptFields.set(copied, unavailable);
|
|
1714
|
+
return copied;
|
|
1715
|
+
}
|
|
1693
1716
|
/**
|
|
1694
1717
|
* Traces which context fields an `invoke.input` thunk reads, via a recording
|
|
1695
1718
|
* proxy context; reads collected up to a throw are kept.
|
|
@@ -1698,11 +1721,14 @@ export function probeContextReads(inputFn,
|
|
|
1698
1721
|
/** The machine's initial context, so a typed field does not truncate the trace. */
|
|
1699
1722
|
initial = {}) {
|
|
1700
1723
|
const reads = new Set();
|
|
1701
|
-
const context = new Proxy(
|
|
1724
|
+
const context = new Proxy(promptDataRecord(initial) ?? {}, {
|
|
1702
1725
|
get(target, prop) {
|
|
1703
1726
|
if (typeof prop === 'string')
|
|
1704
1727
|
reads.add(prop);
|
|
1705
|
-
|
|
1728
|
+
const descriptor = Object.getOwnPropertyDescriptor(target, prop);
|
|
1729
|
+
return descriptor && 'value' in descriptor
|
|
1730
|
+
? descriptor.value
|
|
1731
|
+
: undefined;
|
|
1706
1732
|
},
|
|
1707
1733
|
has() {
|
|
1708
1734
|
return true;
|
|
@@ -1754,7 +1780,7 @@ function initialMachineContext(config) {
|
|
|
1754
1780
|
if (declared === undefined)
|
|
1755
1781
|
return {};
|
|
1756
1782
|
if (typeof declared === 'object' && declared !== null) {
|
|
1757
|
-
return
|
|
1783
|
+
return promptDataRecord(declared);
|
|
1758
1784
|
}
|
|
1759
1785
|
if (typeof declared !== 'function')
|
|
1760
1786
|
return undefined;
|
|
@@ -1766,7 +1792,7 @@ function initialMachineContext(config) {
|
|
|
1766
1792
|
event: { type: 'xstate.init' },
|
|
1767
1793
|
});
|
|
1768
1794
|
return typeof resolved === 'object' && resolved !== null
|
|
1769
|
-
?
|
|
1795
|
+
? promptDataRecord(resolved)
|
|
1770
1796
|
: undefined;
|
|
1771
1797
|
}
|
|
1772
1798
|
catch {
|
|
@@ -1786,7 +1812,7 @@ includeBossFields = false) {
|
|
|
1786
1812
|
if (initial === undefined) {
|
|
1787
1813
|
return includeBossFields ? sentinelContext(reads) : ordinaryContext(reads);
|
|
1788
1814
|
}
|
|
1789
|
-
const context =
|
|
1815
|
+
const context = promptDataRecord(initial) ?? {};
|
|
1790
1816
|
if (!includeBossFields) {
|
|
1791
1817
|
for (const field of BOSS_CONTEXT_FIELDS) {
|
|
1792
1818
|
if (isKeyedBossRecord(context[field]))
|
|
@@ -1798,6 +1824,8 @@ includeBossFields = false) {
|
|
|
1798
1824
|
for (const field of reads) {
|
|
1799
1825
|
if (!includeBossFields && BOSS_CONTEXT_FIELDS.includes(field))
|
|
1800
1826
|
continue;
|
|
1827
|
+
if (unavailablePromptFields.get(context)?.has(field))
|
|
1828
|
+
continue;
|
|
1801
1829
|
const current = context[field];
|
|
1802
1830
|
if (current === undefined || typeof current === 'string') {
|
|
1803
1831
|
context[field] = sentinelFor(field);
|
|
@@ -1826,22 +1854,21 @@ function placeholderField(token) {
|
|
|
1826
1854
|
.join('');
|
|
1827
1855
|
}
|
|
1828
1856
|
/**
|
|
1829
|
-
* Overlays
|
|
1830
|
-
*
|
|
1831
|
-
* derives through a typed value still evidences substitution (verification-5).
|
|
1857
|
+
* Overlays string-valued placeholder inputs only; typed values keep their
|
|
1858
|
+
* original shapes and accessor-derived values provide no evidence.
|
|
1832
1859
|
* Returns the probed input and the sentinel field names it carries.
|
|
1833
1860
|
*/
|
|
1834
1861
|
function withPlaceholderValues(state, input) {
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
const probed = { ...record };
|
|
1862
|
+
const probed = promptDataRecord(input);
|
|
1863
|
+
if (probed === undefined)
|
|
1864
|
+
return { input: undefined, fields: [] };
|
|
1839
1865
|
const fields = [];
|
|
1840
1866
|
for (const token of placeholdersIn(state.prompt)) {
|
|
1841
1867
|
const field = placeholderField(token);
|
|
1842
1868
|
if (field === '' || CONTRACT_INPUT_FIELDS.includes(field))
|
|
1843
1869
|
continue;
|
|
1844
|
-
if (
|
|
1870
|
+
if (unavailablePromptFields.get(probed)?.has(field) ||
|
|
1871
|
+
typeof probed[field] !== 'string')
|
|
1845
1872
|
continue;
|
|
1846
1873
|
probed[field] = sentinelFor(field);
|
|
1847
1874
|
if (!fields.includes(field))
|
|
@@ -1859,12 +1886,29 @@ function declaredLocalRoles(config) {
|
|
|
1859
1886
|
return [...roles].sort();
|
|
1860
1887
|
}
|
|
1861
1888
|
function carriesSentinel(value, sentinel) {
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1889
|
+
let visits = 0;
|
|
1890
|
+
const seen = new Set();
|
|
1891
|
+
const visit = (current, depth) => {
|
|
1892
|
+
if (++visits > 128 || depth > 32)
|
|
1893
|
+
return false;
|
|
1894
|
+
if (typeof current === 'string')
|
|
1895
|
+
return current.includes(sentinel);
|
|
1896
|
+
if (typeof current !== 'object' ||
|
|
1897
|
+
current === null ||
|
|
1898
|
+
nodeTypes.isProxy(current) ||
|
|
1899
|
+
seen.has(current))
|
|
1900
|
+
return false;
|
|
1901
|
+
const prototype = Object.getPrototypeOf(current);
|
|
1902
|
+
if (Array.isArray(current)
|
|
1903
|
+
? prototype !== Array.prototype
|
|
1904
|
+
: prototype !== Object.prototype && prototype !== null)
|
|
1905
|
+
return false;
|
|
1906
|
+
seen.add(current);
|
|
1907
|
+
return Object.entries(Object.getOwnPropertyDescriptors(current)).some(([key, descriptor]) => descriptor.enumerable &&
|
|
1908
|
+
'value' in descriptor &&
|
|
1909
|
+
(key.includes(sentinel) || visit(descriptor.value, depth + 1)));
|
|
1910
|
+
};
|
|
1911
|
+
return visit(value, 0);
|
|
1868
1912
|
}
|
|
1869
1913
|
/**
|
|
1870
1914
|
* Derives every captain state's prompt contract from the machine config
|
|
@@ -1881,9 +1925,9 @@ export function capturePromptContract(config) {
|
|
|
1881
1925
|
const reads = probeContextReads(inputFn, initial);
|
|
1882
1926
|
const wires = {};
|
|
1883
1927
|
try {
|
|
1884
|
-
const input = inputFn({
|
|
1928
|
+
const input = promptDataRecord(inputFn({
|
|
1885
1929
|
context: ordinaryTurnContext(reads, initial, true),
|
|
1886
|
-
});
|
|
1930
|
+
}));
|
|
1887
1931
|
if (typeof input === 'object' && input !== null) {
|
|
1888
1932
|
for (const [key, value] of Object.entries(input)) {
|
|
1889
1933
|
const carried = reads.filter((field) => carriesSentinel(value, sentinelFor(field)));
|
|
@@ -1907,6 +1951,63 @@ export function capturePromptContract(config) {
|
|
|
1907
1951
|
}
|
|
1908
1952
|
return rows;
|
|
1909
1953
|
}
|
|
1954
|
+
/** Finite JSON evidence from real input values, never from coerced sentinels. */
|
|
1955
|
+
function promptJsonEvidence(input) {
|
|
1956
|
+
const empty = { input, forms: [], unchanged: () => true };
|
|
1957
|
+
if (typeof input !== 'object' || input === null || nodeTypes.isProxy(input))
|
|
1958
|
+
return empty;
|
|
1959
|
+
const descriptors = Object.getOwnPropertyDescriptors(input);
|
|
1960
|
+
const records = new Map([
|
|
1961
|
+
[input, descriptors],
|
|
1962
|
+
]);
|
|
1963
|
+
const fields = new Set();
|
|
1964
|
+
const forms = new Set();
|
|
1965
|
+
for (const [key, descriptor] of Object.entries(descriptors)
|
|
1966
|
+
.filter(([key]) => !CONTRACT_INPUT_FIELDS.includes(key))
|
|
1967
|
+
.slice(0, 128)) {
|
|
1968
|
+
if (!descriptor.enumerable || !('value' in descriptor))
|
|
1969
|
+
continue;
|
|
1970
|
+
const value = descriptor.value;
|
|
1971
|
+
if (value === null ||
|
|
1972
|
+
typeof value === 'boolean' ||
|
|
1973
|
+
(typeof value === 'number' && Number.isFinite(value))) {
|
|
1974
|
+
forms.add(JSON.stringify(value));
|
|
1975
|
+
}
|
|
1976
|
+
else if (typeof value === 'object') {
|
|
1977
|
+
const field = JSON.stringify([key]);
|
|
1978
|
+
// An unsupported unused field supplies no evidence; it cannot prevent
|
|
1979
|
+
// a different, supported value from being checked.
|
|
1980
|
+
if (literalJsonGraph(input, new Set([field]), new Map([[input, descriptors]])) !== undefined)
|
|
1981
|
+
fields.add(field);
|
|
1982
|
+
}
|
|
1983
|
+
}
|
|
1984
|
+
const graph = literalJsonGraph(input, fields, records);
|
|
1985
|
+
const copied = Object.create(Object.getPrototypeOf(input));
|
|
1986
|
+
const copiedDescriptors = { ...descriptors };
|
|
1987
|
+
if (graph !== undefined) {
|
|
1988
|
+
for (const [field, value] of graph.values) {
|
|
1989
|
+
const key = JSON.parse(field)[0];
|
|
1990
|
+
forms.add(value.text);
|
|
1991
|
+
copiedDescriptors[key] = { ...descriptors[key], value: value.value };
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
Object.defineProperties(copied, copiedDescriptors);
|
|
1995
|
+
// Watch the detached values passed to the composer as well as their source.
|
|
1996
|
+
const copiedRecords = new Map([
|
|
1997
|
+
[copied, Object.getOwnPropertyDescriptors(copied)],
|
|
1998
|
+
]);
|
|
1999
|
+
const copiedGraph = graph === undefined
|
|
2000
|
+
? undefined
|
|
2001
|
+
: literalJsonGraph(copied, fields, copiedRecords);
|
|
2002
|
+
return {
|
|
2003
|
+
input: copied,
|
|
2004
|
+
forms: [...forms],
|
|
2005
|
+
unchanged: () => literalRecordsUnchanged(records) &&
|
|
2006
|
+
(graph === undefined || literalJsonUnchanged(graph.facts)) &&
|
|
2007
|
+
literalRecordsUnchanged(copiedRecords) &&
|
|
2008
|
+
(copiedGraph === undefined || literalJsonUnchanged(copiedGraph.facts)),
|
|
2009
|
+
};
|
|
2010
|
+
}
|
|
1910
2011
|
/**
|
|
1911
2012
|
* Derives, per captain state, which of its prompt's placeholder tokens the
|
|
1912
2013
|
* linked composer substitutes when the wired context is present — pinned into
|
|
@@ -1926,15 +2027,16 @@ export function deriveSubstitutions(config, compose, actor) {
|
|
|
1926
2027
|
try {
|
|
1927
2028
|
const reads = probeContextReads(inputFn, initial);
|
|
1928
2029
|
const probed = withPlaceholderValues(state, inputFn({ context: ordinaryTurnContext(reads, initial) }));
|
|
1929
|
-
const
|
|
1930
|
-
|
|
2030
|
+
const evidence = promptJsonEvidence(probed.input);
|
|
2031
|
+
const composed = composeForState(compose, state, evidence.input, roles);
|
|
2032
|
+
if (typeof composed !== 'string' || !evidence.unchanged()) {
|
|
1931
2033
|
out[state.stateId] = [];
|
|
1932
2034
|
continue;
|
|
1933
2035
|
}
|
|
1934
2036
|
const promptReads = promptSentinelFields(state, reads, probed.fields, roles);
|
|
1935
2037
|
// The whole body fixes each token's position. A separate quoted line
|
|
1936
2038
|
// with the same literal shape cannot supply evidence for an absent value.
|
|
1937
|
-
const body = matchPromptBody(state.prompt, composed, promptReads);
|
|
2039
|
+
const body = matchPromptBody(state.prompt, composed, promptReads, undefined, evidence.forms);
|
|
1938
2040
|
if (body !== null) {
|
|
1939
2041
|
out[state.stateId] = body.substitutions;
|
|
1940
2042
|
continue;
|
|
@@ -1943,8 +2045,7 @@ export function deriveSubstitutions(config, compose, actor) {
|
|
|
1943
2045
|
// line does not hide valid substitutions. Body validation still fails it.
|
|
1944
2046
|
const evidenced = new Set();
|
|
1945
2047
|
for (const line of state.prompt.split('\n')) {
|
|
1946
|
-
for (const token of matchPromptBody(line, composed, promptReads)
|
|
1947
|
-
?.substitutions ?? []) {
|
|
2048
|
+
for (const token of matchPromptBody(line, composed, promptReads, undefined, evidence.forms)?.substitutions ?? []) {
|
|
1948
2049
|
evidenced.add(token);
|
|
1949
2050
|
}
|
|
1950
2051
|
}
|
|
@@ -2077,20 +2178,24 @@ export function checkPromptComposition(opts) {
|
|
|
2077
2178
|
for (const resuming of modes) {
|
|
2078
2179
|
let ordinary;
|
|
2079
2180
|
let input;
|
|
2181
|
+
let evidence;
|
|
2080
2182
|
try {
|
|
2081
2183
|
const probed = withPlaceholderValues(state, inputFn({ context: ordinaryTurnContext(reads, initial) }));
|
|
2082
|
-
|
|
2184
|
+
evidence = promptJsonEvidence(probed.input);
|
|
2185
|
+
input = evidence.input;
|
|
2083
2186
|
promptReads = promptSentinelFields(state, reads, probed.fields, roles);
|
|
2084
|
-
ordinary = composeForState(opts.compose, state,
|
|
2187
|
+
ordinary = composeForState(opts.compose, state, input, roles, resuming);
|
|
2085
2188
|
if (typeof ordinary !== 'string') {
|
|
2086
2189
|
throw new Error(`${composerName} returned a non-string value`);
|
|
2087
2190
|
}
|
|
2191
|
+
if (!evidence.unchanged())
|
|
2192
|
+
throw new Error(`${composerName} changed observed input data`);
|
|
2088
2193
|
}
|
|
2089
2194
|
catch (error) {
|
|
2090
2195
|
pushUnique(findings, `${state.stateId}: ${composerName} threw on an ordinary turn: ${messageOf(error)}`);
|
|
2091
2196
|
continue;
|
|
2092
2197
|
}
|
|
2093
|
-
pushUnique(findings, ...bodyFindings(state, ordinary, substituted, promptReads, 'ordinary'), ...literalPromptRelayFindings(state, ordinary, input, substituted, promptReads, opts.compose, roles, relayFindingKeys, resuming));
|
|
2198
|
+
pushUnique(findings, ...bodyFindings(state, ordinary, substituted, promptReads, 'ordinary', evidence.forms), ...literalPromptRelayFindings(state, ordinary, input, substituted, promptReads, opts.compose, roles, relayFindingKeys, resuming, evidence.forms));
|
|
2094
2199
|
pushUnique(findings, ...promptControlFindings(state, ordinary));
|
|
2095
2200
|
// A self-hosted playbook's domain body may legitimately quote the
|
|
2096
2201
|
// adjudicator contract or the continuation texts (it instructs a compiler
|
|
@@ -2126,14 +2231,18 @@ export function checkPromptComposition(opts) {
|
|
|
2126
2231
|
const reply = sentinelFor('bossReply');
|
|
2127
2232
|
let continuation;
|
|
2128
2233
|
let input;
|
|
2234
|
+
let evidence;
|
|
2129
2235
|
try {
|
|
2130
2236
|
const probed = probeContinuationInput(state, inputFn, initial, artifactSchema, usesKeyedBossQuestionContext(opts.config));
|
|
2131
|
-
|
|
2237
|
+
evidence = promptJsonEvidence(probed.input);
|
|
2238
|
+
input = evidence.input;
|
|
2132
2239
|
promptReads = promptSentinelFields(state, reads, probed.fields, roles);
|
|
2133
2240
|
continuation = composeForState(opts.compose, state, input, roles, resuming);
|
|
2134
2241
|
if (typeof continuation !== 'string') {
|
|
2135
2242
|
throw new Error(`${composerName} returned a non-string value`);
|
|
2136
2243
|
}
|
|
2244
|
+
if (!evidence.unchanged())
|
|
2245
|
+
throw new Error(`${composerName} changed observed input data`);
|
|
2137
2246
|
}
|
|
2138
2247
|
catch (error) {
|
|
2139
2248
|
pushUnique(findings, `${state.stateId}: ${composerName} threw on a continuation turn: ${messageOf(error)}`);
|
|
@@ -2144,7 +2253,7 @@ export function checkPromptComposition(opts) {
|
|
|
2144
2253
|
pushUnique(findings, inputFinding);
|
|
2145
2254
|
continue;
|
|
2146
2255
|
}
|
|
2147
|
-
pushUnique(findings, ...continuationPrefixFindings(state, continuation, substituted, promptReads, artifactSchema, resuming, question, reply), ...bodyFindings(state, continuation, substituted, promptReads, 'continuation'), ...promptControlFindings(state, continuation), ...literalPromptRelayFindings(state, continuation, input, substituted, promptReads, opts.compose, roles, relayFindingKeys, resuming));
|
|
2256
|
+
pushUnique(findings, ...continuationPrefixFindings(state, continuation, substituted, promptReads, artifactSchema, resuming, question, reply, evidence.forms), ...bodyFindings(state, continuation, substituted, promptReads, 'continuation', evidence.forms), ...promptControlFindings(state, continuation), ...literalPromptRelayFindings(state, continuation, input, substituted, promptReads, opts.compose, roles, relayFindingKeys, resuming, evidence.forms));
|
|
2148
2257
|
}
|
|
2149
2258
|
}
|
|
2150
2259
|
return findings;
|
|
@@ -2185,7 +2294,7 @@ function composeForState(compose, state, input, declaredRoles, resuming) {
|
|
|
2185
2294
|
: compose(input, promptIdentity, resuming)
|
|
2186
2295
|
: compose(input);
|
|
2187
2296
|
}
|
|
2188
|
-
function continuationPrefixFindings(state, composed, substituted, reads, artifactSchema, resuming, question, reply) {
|
|
2297
|
+
function continuationPrefixFindings(state, composed, substituted, reads, artifactSchema, resuming, question, reply, jsonForms = []) {
|
|
2189
2298
|
const fullProfiles = [
|
|
2190
2299
|
{ preamble: CONTINUATION_PREAMBLE, questionLabel: BOSS_QUESTION_LABEL },
|
|
2191
2300
|
...(artifactSchema === 3
|
|
@@ -2222,7 +2331,7 @@ function continuationPrefixFindings(state, composed, substituted, reads, artifac
|
|
|
2222
2331
|
: []),
|
|
2223
2332
|
[BOSS_REPLY_LABEL, replyBlock],
|
|
2224
2333
|
];
|
|
2225
|
-
const bodyStart = bodyIndex(state, composed, substituted, reads);
|
|
2334
|
+
const bodyStart = bodyIndex(state, composed, substituted, reads, jsonForms);
|
|
2226
2335
|
for (const [label, value] of blocks) {
|
|
2227
2336
|
// Authored domain text can itself quote the framework contract; a real
|
|
2228
2337
|
// continuation must add its own sentinel-bearing blocks before that body.
|
|
@@ -2276,17 +2385,16 @@ function occurrences(hay, needle) {
|
|
|
2276
2385
|
/**
|
|
2277
2386
|
* Finds the prompt body as one exact, line-bounded block inside a composed
|
|
2278
2387
|
* prompt. In derivation mode, a placeholder may remain literal or be replaced
|
|
2279
|
-
* by
|
|
2280
|
-
*
|
|
2281
|
-
*
|
|
2388
|
+
* by an exact scalar probe form or captured typed JSON value. Repeated tokens
|
|
2389
|
+
* share one value. All line starts share one finite candidate-visit budget;
|
|
2390
|
+
* exhausted search remains unproved, never wildcard acceptance.
|
|
2282
2391
|
*/
|
|
2283
|
-
function matchPromptBody(prompt, composed, reads, expectedSubstitutions) {
|
|
2392
|
+
function matchPromptBody(prompt, composed, reads, expectedSubstitutions, jsonForms = []) {
|
|
2284
2393
|
const placeholderMatches = [...prompt.matchAll(PLACEHOLDER)];
|
|
2285
2394
|
const sentinels = reads.map(sentinelFor);
|
|
2286
|
-
const sentinelForms = sentinels
|
|
2287
|
-
sentinel,
|
|
2288
|
-
|
|
2289
|
-
]);
|
|
2395
|
+
const sentinelForms = sentinels
|
|
2396
|
+
.flatMap((sentinel) => [sentinel, JSON.stringify(sentinel)])
|
|
2397
|
+
.concat(jsonForms);
|
|
2290
2398
|
// Decompose the prompt into literal segments separated by placeholders, then
|
|
2291
2399
|
// scan the composed text segment by segment. A monolithic escaped regex over
|
|
2292
2400
|
// a meta-scale prompt exceeds the engine's pattern-size limit, so matching
|
|
@@ -2300,31 +2408,71 @@ function matchPromptBody(prompt, composed, reads, expectedSubstitutions) {
|
|
|
2300
2408
|
offset = match.index + match[0].length;
|
|
2301
2409
|
}
|
|
2302
2410
|
segments.push(prompt.slice(offset));
|
|
2411
|
+
let visits = 0;
|
|
2303
2412
|
const tryFrom = (start) => {
|
|
2304
|
-
if (!composed.startsWith(segments[0], start))
|
|
2413
|
+
if (++visits > 30_000 || !composed.startsWith(segments[0], start))
|
|
2305
2414
|
return null;
|
|
2306
|
-
|
|
2415
|
+
const beginning = start + segments[0].length;
|
|
2416
|
+
if (tokens.length === 0)
|
|
2417
|
+
return beginning === composed.length || composed[beginning] === '\n'
|
|
2418
|
+
? { end: beginning, values: [] }
|
|
2419
|
+
: null;
|
|
2420
|
+
const assigned = new Map();
|
|
2307
2421
|
const values = [];
|
|
2308
|
-
|
|
2422
|
+
const frame = (gap, pos) => {
|
|
2309
2423
|
const token = tokens[gap];
|
|
2310
|
-
const
|
|
2424
|
+
const forms = expectedSubstitutions === undefined
|
|
2311
2425
|
? [token, ...sentinelForms]
|
|
2312
2426
|
: expectedSubstitutions.includes(token)
|
|
2313
2427
|
? sentinelForms
|
|
2314
2428
|
: [token];
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2429
|
+
return {
|
|
2430
|
+
gap,
|
|
2431
|
+
pos,
|
|
2432
|
+
next: 0,
|
|
2433
|
+
candidates: [
|
|
2434
|
+
...new Set(assigned.has(token) ? [assigned.get(token)] : forms),
|
|
2435
|
+
],
|
|
2436
|
+
chosen: false,
|
|
2437
|
+
assignedHere: false,
|
|
2438
|
+
};
|
|
2439
|
+
};
|
|
2440
|
+
const stack = [frame(0, beginning)];
|
|
2441
|
+
while (stack.length > 0 && visits < 30_000) {
|
|
2442
|
+
const current = stack.at(-1);
|
|
2443
|
+
const token = tokens[current.gap];
|
|
2444
|
+
if (current.chosen) {
|
|
2445
|
+
if (current.assignedHere)
|
|
2446
|
+
assigned.delete(token);
|
|
2447
|
+
values.length = current.gap;
|
|
2448
|
+
current.chosen = false;
|
|
2449
|
+
}
|
|
2450
|
+
if (current.next === current.candidates.length) {
|
|
2451
|
+
stack.pop();
|
|
2452
|
+
continue;
|
|
2453
|
+
}
|
|
2454
|
+
visits++;
|
|
2455
|
+
const candidate = current.candidates[current.next++];
|
|
2456
|
+
const next = segments[current.gap + 1];
|
|
2457
|
+
if (!composed.startsWith(candidate, current.pos) ||
|
|
2458
|
+
!composed.startsWith(next, current.pos + candidate.length))
|
|
2459
|
+
continue;
|
|
2460
|
+
current.assignedHere = !assigned.has(token);
|
|
2461
|
+
if (current.assignedHere)
|
|
2462
|
+
assigned.set(token, candidate);
|
|
2463
|
+
current.chosen = true;
|
|
2464
|
+
values[current.gap] = candidate;
|
|
2465
|
+
const pos = current.pos + candidate.length + next.length;
|
|
2466
|
+
if (current.gap + 1 === tokens.length) {
|
|
2467
|
+
if (pos === composed.length || composed[pos] === '\n')
|
|
2468
|
+
return { end: pos, values: [...values] };
|
|
2469
|
+
}
|
|
2470
|
+
else
|
|
2471
|
+
stack.push(frame(current.gap + 1, pos));
|
|
2472
|
+
}
|
|
2473
|
+
return null;
|
|
2326
2474
|
};
|
|
2327
|
-
for (let start = 0; start <= composed.length; start++) {
|
|
2475
|
+
for (let start = 0; start <= composed.length && visits < 30_000; start++) {
|
|
2328
2476
|
if (start !== 0 && composed[start - 1] !== '\n')
|
|
2329
2477
|
continue;
|
|
2330
2478
|
const attempt = tryFrom(start);
|
|
@@ -2359,10 +2507,10 @@ function matchPromptBody(prompt, composed, reads, expectedSubstitutions) {
|
|
|
2359
2507
|
return null;
|
|
2360
2508
|
}
|
|
2361
2509
|
/** Probe observed string relays without inventing context fields or input shapes. */
|
|
2362
|
-
function literalPromptRelayFindings(state, composed, input, substituted, reads, compose, roles, findingKeys, resuming) {
|
|
2510
|
+
function literalPromptRelayFindings(state, composed, input, substituted, reads, compose, roles, findingKeys, resuming, jsonForms = []) {
|
|
2363
2511
|
if (typeof input !== 'object' || input === null)
|
|
2364
2512
|
return [];
|
|
2365
|
-
const match = matchPromptBody(state.prompt, composed, reads, substituted);
|
|
2513
|
+
const match = matchPromptBody(state.prompt, composed, reads, substituted, jsonForms);
|
|
2366
2514
|
if (match === null)
|
|
2367
2515
|
return []; // Existing body diagnostics own this case.
|
|
2368
2516
|
const tokens = [...state.prompt.matchAll(PLACEHOLDER)];
|
|
@@ -2426,8 +2574,9 @@ function literalPromptRelayFindings(state, composed, input, substituted, reads,
|
|
|
2426
2574
|
const key = `${state.stateId}:${label}`;
|
|
2427
2575
|
const prefix = `${state.stateId}: prompt composition does not preserve ${label} text`;
|
|
2428
2576
|
try {
|
|
2429
|
-
const
|
|
2430
|
-
|
|
2577
|
+
const evidence = promptJsonEvidence(probed);
|
|
2578
|
+
const actual = composeForState(compose, state, evidence.input, roles, resuming);
|
|
2579
|
+
if (actual === expected && evidence.unchanged())
|
|
2431
2580
|
continue;
|
|
2432
2581
|
pushRelayFinding(findings, findingKeys, key, `${prefix}; probe preserves literal text and LF/CRLF separators/quote markers; ${firstDifferenceDiagnostic(expected, actual)}`);
|
|
2433
2582
|
}
|
|
@@ -2590,7 +2739,7 @@ function literalPlaybookTextFinding(prompt, binding, initial, unproved) {
|
|
|
2590
2739
|
const matched = matchPromptBody(prompt, text, [...fields]);
|
|
2591
2740
|
if (matched === null || matched.index !== 0 || matched.end !== text.length) {
|
|
2592
2741
|
unproved?.();
|
|
2593
|
-
return '
|
|
2742
|
+
return 'could not prove the complete expanded GEARS child-input composition; check literal text, relay substitution/quoting/omission, and canonical compact JSON for structured relays';
|
|
2594
2743
|
}
|
|
2595
2744
|
const tokens = [...prompt.matchAll(PLACEHOLDER)].map((match) => match[0]);
|
|
2596
2745
|
const mapping = new Map();
|
|
@@ -3094,7 +3243,7 @@ export class ReachedLiteralChildChecks {
|
|
|
3094
3243
|
], fixed);
|
|
3095
3244
|
if (matched === undefined) {
|
|
3096
3245
|
work.failure =
|
|
3097
|
-
'
|
|
3246
|
+
'could not prove the complete expanded GEARS child-input composition; check literal text, relay substitution/quoting/omission, and canonical compact JSON for structured relays';
|
|
3098
3247
|
return;
|
|
3099
3248
|
}
|
|
3100
3249
|
for (const [token, text] of matched) {
|
|
@@ -3132,7 +3281,7 @@ export class ReachedLiteralChildChecks {
|
|
|
3132
3281
|
const matched = reachedTemplateMatch(item.prompt, text, [marker, ...payloads], fixed);
|
|
3133
3282
|
if (matched === undefined) {
|
|
3134
3283
|
work.failure =
|
|
3135
|
-
'
|
|
3284
|
+
'could not prove the complete expanded GEARS child-input composition; check literal text, relay substitution/quoting/omission, and canonical compact JSON for structured relays';
|
|
3136
3285
|
return;
|
|
3137
3286
|
}
|
|
3138
3287
|
for (const [token, value] of matched) {
|
|
@@ -3188,10 +3337,7 @@ export class ReachedLiteralChildChecks {
|
|
|
3188
3337
|
const expected = render({});
|
|
3189
3338
|
if (expected === undefined || reached.text !== expected) {
|
|
3190
3339
|
work.failure =
|
|
3191
|
-
'
|
|
3192
|
-
(expected === undefined
|
|
3193
|
-
? ''
|
|
3194
|
-
: ` (${firstDifferenceDiagnostic(expected, reached.text)})`);
|
|
3340
|
+
'could not prove the complete expanded GEARS child-input composition; check literal text, relay substitution/quoting/omission, and canonical compact JSON for structured relays';
|
|
3195
3341
|
return;
|
|
3196
3342
|
}
|
|
3197
3343
|
const verifyPayload = (values, empty) => {
|
|
@@ -3289,8 +3435,9 @@ export class ReachedLiteralChildChecks {
|
|
|
3289
3435
|
}
|
|
3290
3436
|
}
|
|
3291
3437
|
/** Findings when a composed prompt does not preserve the domain body (verification-5). */
|
|
3292
|
-
function bodyFindings(state, composed, substituted, reads, turn) {
|
|
3293
|
-
if (matchPromptBody(state.prompt, composed, reads, substituted) !==
|
|
3438
|
+
function bodyFindings(state, composed, substituted, reads, turn, jsonForms = []) {
|
|
3439
|
+
if (matchPromptBody(state.prompt, composed, reads, substituted, jsonForms) !==
|
|
3440
|
+
null) {
|
|
3294
3441
|
return [];
|
|
3295
3442
|
}
|
|
3296
3443
|
// Preserve the established line-specific diagnostic where possible, while
|
|
@@ -3299,7 +3446,7 @@ function bodyFindings(state, composed, substituted, reads, turn) {
|
|
|
3299
3446
|
for (const line of state.prompt.split('\n')) {
|
|
3300
3447
|
if (line.trim() === '')
|
|
3301
3448
|
continue;
|
|
3302
|
-
if (matchPromptBody(line, composed, reads, substituted) === null) {
|
|
3449
|
+
if (matchPromptBody(line, composed, reads, substituted, jsonForms) === null) {
|
|
3303
3450
|
return [
|
|
3304
3451
|
`${state.stateId}: a ${turn} turn does not preserve the body line "${line}"`,
|
|
3305
3452
|
];
|
|
@@ -3310,8 +3457,9 @@ function bodyFindings(state, composed, substituted, reads, turn) {
|
|
|
3310
3457
|
];
|
|
3311
3458
|
}
|
|
3312
3459
|
/** The index of the body's first preserved line in a composed prompt, or -1. */
|
|
3313
|
-
function bodyIndex(state, composed, substituted, reads) {
|
|
3314
|
-
return (matchPromptBody(state.prompt, composed, reads, substituted
|
|
3460
|
+
function bodyIndex(state, composed, substituted, reads, jsonForms = []) {
|
|
3461
|
+
return (matchPromptBody(state.prompt, composed, reads, substituted, jsonForms)
|
|
3462
|
+
?.index ?? -1);
|
|
3315
3463
|
}
|
|
3316
3464
|
// Local copy: this module is copied verbatim beside the artifact (verification-12),
|
|
3317
3465
|
// so it may not import a sibling module.
|