test: require defensive direct candidate accessors #151

Closed
nsaspy wants to merge 2 commits from rage-hackpert/direct-candidate-defensive-access-11 into master
Owner

Bug-first Hackpert slice for #29/#27.

make-expert-direct-candidate copies constructor inputs, but the generated accessors still expose the stored mutable operation/run strings and payload/provenance trees. This RED-first regression mutates values returned by those accessors and requires the normalized candidate to remain unchanged.

The intended fix is confined to the Hackpert direct-candidate boundary. It will not add provider execution, canonical mutation, persistence/database authority, a second scheduler, or StarIntel product work.

Bug-first Hackpert slice for #29/#27. `make-expert-direct-candidate` copies constructor inputs, but the generated accessors still expose the stored mutable operation/run strings and payload/provenance trees. This RED-first regression mutates values returned by those accessors and requires the normalized candidate to remain unchanged. The intended fix is confined to the Hackpert direct-candidate boundary. It will not add provider execution, canonical mutation, persistence/database authority, a second scheduler, or StarIntel product work.
fix: return defensive direct candidate snapshots
Some checks failed
agent-pr-serialization / one-open-pr-per-agent-lane (pull_request_target) Failing after 1s
agent-framework-boundary / keep-agent-framework-out-of-product-tree (pull_request) Successful in 18s
core / common-lisp-core (pull_request) Failing after 51s
monorepo / hygiene (pull_request) Successful in 2m33s
37dbcb78da
nsaspy closed this pull request 2026-09-05 07:56:32 +00:00
Author
Owner

Agent PR serialization closed this PR because #172 is the newer open rage-hackpert/ lane PR. One open PR per configured agent lane is allowed.

Agent PR serialization closed this PR because #172 is the newer open `rage-hackpert/` lane PR. One open PR per configured agent lane is allowed.
Some checks failed
agent-pr-serialization / one-open-pr-per-agent-lane (pull_request_target) Failing after 1s
agent-framework-boundary / keep-agent-framework-out-of-product-tree (pull_request) Successful in 18s
core / common-lisp-core (pull_request) Failing after 51s
monorepo / hygiene (pull_request) Successful in 2m33s

Pull request closed

Sign in to join this conversation.
No description provided.