Legacy AnswerSet binding migration
Inspect and safely retire previously configured deterministic preflight bindings.
The LakeShark customer console no longer exposes the legacy deterministic-rule editor or its preflight binding management. The current Executions area supports new HTTP ExecutionSets and separate AnswerSet action connections. Existing legacy rule bindings remain enforced by the backend when preflight is enabled. This page is retained for administrators migrating older integrations, not for new customers to configure rules.
Why inspecting actual bindings matters
Each AnswerSet binding pins an immutable, approved and certified version. It does not automatically follow the policy’s active version. Therefore, checking only whether an ExecutionSet is currently active is insufficient. An older pinned version may still affect answers even when no version is marked active.
When preflight is enabled, a bound policy can allow a request, return a deterministic response, deny it with HTTP 403, or escalate it with HTTP 409. If a pinned policy is missing or invalid, the request fails closed instead of silently falling back to AI.
To inspect the deployment-level flags, use the authorized endpoint:
curl --fail-with-body \
'https://lakeshark.dev/api/answers/v1/execution-sets/runtime-status' \
-H "Authorization: Bearer $LAKESHARK_ACCESS_TOKEN"
Read an existing AnswerSet binding
With a workspace-scoped management token containing executions.read, request:
curl --fail-with-body \
"https://lakeshark.dev/api/answers/v1/execution-sets/bindings/answer-sets/$ANSWER_SET_ID" \
-H "Authorization: Bearer $LAKESHARK_ACCESS_TOKEN"
A null binding means this AnswerSet has no pinned legacy policy. Otherwise, preserve the returned name, version, and binding time as part of the change record.
To list all bindings to a named policy in the current workspace, use GET /v1/execution-sets/{name}/bindings. This requires both executions.read and answers.read. The list endpoint is tenant-scoped, not an organization-wide inventory across multiple workspaces.
Retire a binding safely
- Record the AnswerSet ID, policy name, pinned version and existing observed outcomes.
- Confirm the AnswerSet’s approved Knowledge, configured provider fallback, output restrictions and GovernanceSets produce the intended results without the legacy policy.
- Obtain the appropriate operational authorization and schedule a controlled change. No UI-only hide operation affects backend enforcement.
- Remove the binding using the authorized API. Both
executions.writeandanswers.writeare required. - Test exact Knowledge reuse, unknown-question fallback, restrictions, provider-call counts and important negative cases.
- Confirm that
GET /v1/execution-sets/bindings/answer-sets/{id}now returns a null binding and retain evidence of the change.
After approval, the unbind request is:
curl --fail-with-body -X DELETE \
"https://lakeshark.dev/api/answers/v1/execution-sets/bindings/answer-sets/$ANSWER_SET_ID" \
-H "Authorization: Bearer $LAKESHARK_ACCESS_TOKEN"
Do not run the DELETE command until you’ve validated the change. Unbinding may remove a denial, escalation or deterministic response that previously protected the application.
Security and migration boundary
Keep the API and existing executions.* permissions until all affected workspaces are inventoried and migrated. Do not silently revoke grants on a routine workspace role edit. Hiding the customer editor does not reduce backend authority, remove stored data, or satisfy access-control retirement requirements.
For the current AnswerSets-first experience, use AnswerSets and GovernanceSets. The legacy API endpoint reference remains available for approved maintenance.