Hackpert: expose loop strategy transition inspection #158

Open
nsaspy wants to merge 6 commits from hackmode-rage-hackpert/29-loop-transition-inspection into master
Owner

Slice

#29 / #27 Hackpert-owned operator inspection: expose one bounded, side-effect-free transition record for symbolic/direct loop decisions so LISH/UI consumers can explain symbolic -> direct -> symbolic without inferring it from mutable controller state.

RED contract

The regression requires operation/run scope, decision kind/reason, previous/next reasoning strategy, and previous/next non-progress counts. It also requires defensive string copies and fail-closed rejection when the before/after scope or decision/next-state strategy disagree.

This draft intentionally wires the regression before implementation.

Boundary

Inspection only. No provider execution, canonical mutation, persistence/database internals, model executor, second scheduler, raw Prolog execution, or StarIntel product work.

## Slice #29 / #27 Hackpert-owned operator inspection: expose one bounded, side-effect-free transition record for symbolic/direct loop decisions so LISH/UI consumers can explain `symbolic -> direct -> symbolic` without inferring it from mutable controller state. ## RED contract The regression requires operation/run scope, decision kind/reason, previous/next reasoning strategy, and previous/next non-progress counts. It also requires defensive string copies and fail-closed rejection when the before/after scope or decision/next-state strategy disagree. This draft intentionally wires the regression before implementation. ## Boundary Inspection only. No provider execution, canonical mutation, persistence/database internals, model executor, second scheduler, raw Prolog execution, or StarIntel product work.
tests: use repository-native condition checks
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 4s
core / common-lisp-core (pull_request) Failing after 33s
monorepo / hygiene (pull_request) Successful in 5m48s
93c1a3d060
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 4s
core / common-lisp-core (pull_request) Failing after 33s
monorepo / hygiene (pull_request) Successful in 5m48s
This pull request has changes conflicting with the target branch.
  • source/hackmode-core/expert/transition-inspection.lisp
  • source/hackmode-core/hackmode-tests.asd
  • source/hackmode-core/hackmode.asd
  • source/hackmode-core/tests/expert-transition-inspection.lisp
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin hackmode-rage-hackpert/29-loop-transition-inspection:hackmode-rage-hackpert/29-loop-transition-inspection
git switch hackmode-rage-hackpert/29-loop-transition-inspection

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff hackmode-rage-hackpert/29-loop-transition-inspection
git switch hackmode-rage-hackpert/29-loop-transition-inspection
git rebase master
git switch master
git merge --ff-only hackmode-rage-hackpert/29-loop-transition-inspection
git switch hackmode-rage-hackpert/29-loop-transition-inspection
git rebase master
git switch master
git merge --no-ff hackmode-rage-hackpert/29-loop-transition-inspection
git switch master
git merge --squash hackmode-rage-hackpert/29-loop-transition-inspection
git switch master
git merge --ff-only hackmode-rage-hackpert/29-loop-transition-inspection
git switch master
git merge hackmode-rage-hackpert/29-loop-transition-inspection
git push origin master
Sign in to join this conversation.
No description provided.