Skip to content

[TS PBT] Accept original entry relation guidance in campaign files - #682

Open
CaelmBleidd wants to merge 1 commit into
caelmbleidd/pbt-bounded-observation-guidancefrom
caelmbleidd/pbt-file-entry-relations
Open

CaelmBleidd wants to merge 1 commit into
caelmbleidd/pbt-bounded-observation-guidancefrom
caelmbleidd/pbt-file-entry-relations

Conversation

@CaelmBleidd

Copy link
Copy Markdown
Member

Expose optional entry-argument relation guidance on the public campaign-file request. The request can select declared assertion operands tied to the original predicate input vector. The CLI validates their source metadata and rejects unsupported point kinds, invalid input indices, ambiguous point IDs, undeclared operands, and mismatched observation requests before running a campaign.

The file format uses the existing typed campaign and cannot authorize compiler-owned local capture. Empirical relations continue to use the existing refutation and replay lifecycle, with time reserved for the unrestricted original search.

All four file CLI tests passed with the pinned frontend bundled. The installed CLI accepted a valid JSON request and confirmed the sampled relation refutation in Node. It rejected an invalid operand with exit 2 and no artifact. A request using the unchanged VS Code Position property confirmed one empirical refutation with exact binding, then reported the unrestricted original search deadline.

assertEquals(0, exit)
assertEquals("", errors.toString())
val trace = assertNotNull(artifact.result.relationGuidance)
assertTrue(trace.attempts.any { it.confirmation?.status == WitnessReplayStatus.CONFIRMED_HYPOTHESIS_REFUTATION })
assertEquals(0, exit)
assertEquals("", errors.toString())
val trace = assertNotNull(artifact.result.relationGuidance)
assertTrue(trace.attempts.any { it.confirmation?.status == WitnessReplayStatus.CONFIRMED_HYPOTHESIS_REFUTATION })
assertEquals(0, exit)
assertEquals("", errors.toString())
val trace = assertNotNull(artifact.result.relationGuidance)
assertTrue(trace.attempts.any { it.confirmation?.status == WitnessReplayStatus.CONFIRMED_HYPOTHESIS_REFUTATION })
assertEquals(0, exit)
assertEquals("", errors.toString())
val trace = assertNotNull(artifact.result.relationGuidance)
assertTrue(trace.attempts.any { it.confirmation?.status == WitnessReplayStatus.CONFIRMED_HYPOTHESIS_REFUTATION })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants