Skip to content

Static text assertions in test/unit/scripts/query-controller-capability-seam.test.ts #331

Description

@flyingrobots

Migrated from Method backlog

GitHub Issues are now the live work tracker. Repository docs remain Method evidence.

Field Value
Source backlog docs/method/backlog/bad-code/SPEC_static-text-test-sludge-query-controller-capability-seam.md
Archived source docs/archive/backlog/github-issue-migration-2026-06-01/docs/method/backlog/bad-code/SPEC_static-text-test-sludge-query-controller-capability-seam.md
Original lane bad-code
Original id SPEC_static-text-test-sludge-query-controller-capability-seam
Original legend SPEC
Original feature testing-quality
Original release home v17.0.0

Original backlog card

Static text assertions in test/unit/scripts/query-controller-capability-seam.test.ts

Effort: S

This file reads query controller source and asserts it avoids direct
WarpRuntime imports, detached helper calls, and cast corridors.

Replace it with behavior tests using fake query/read capabilities that
fail on runtime-class access. Static import rules belong in policy
tooling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions