Description
Audit and remove reachability-model state that is constructed on every prover run but is not consumed by any active query.
The current model still builds credential_has_destructive and filesystem_readable constraints even though no repository caller reads them. binary_can_write is only consumed by can_write_to_endpoint(), which also has no repository callers.
Context
Identified while reviewing the call chain rooted at prove() after #2395.
Relevant code:
crates/openshell-prover/src/model.rs
crates/openshell-prover/src/registry.rs
crates/openshell-prover/src/policy.rs
Because can_write_to_endpoint() is public, confirm whether it is a supported external API before removing the method or the state that supports it.
Definition of Done
Description
Audit and remove reachability-model state that is constructed on every prover run but is not consumed by any active query.
The current model still builds
credential_has_destructiveandfilesystem_readableconstraints even though no repository caller reads them.binary_can_writeis only consumed bycan_write_to_endpoint(), which also has no repository callers.Context
Identified while reviewing the call chain rooted at
prove()after #2395.Relevant code:
crates/openshell-prover/src/model.rscrates/openshell-prover/src/registry.rscrates/openshell-prover/src/policy.rsBecause
can_write_to_endpoint()is public, confirm whether it is a supported external API before removing the method or the state that supports it.Definition of Done