Database: enforce visual evidence operation/run write scope #145

Open
nsaspy wants to merge 2 commits from rage-db/142-visual-scope-order into master
Owner

Implements the remaining database-owned acceptance gap in #142.

RED-first head ae84b06d257e2e2e8172eb7e67b4983074b5dbe5 adds deterministic multi-record ordering coverage and requires persist-visual-evidence-record to reject caller-declared cross-operation and cross-run writes through typed validation errors.

No provider/browser/Hackpert behavior is included. This stays inside canonical visual evidence persistence and preserves Tek9 authority.

Expected RED: current persistence API does not yet accept/validate the scoped-write keywords.

Implements the remaining database-owned acceptance gap in #142. RED-first head `ae84b06d257e2e2e8172eb7e67b4983074b5dbe5` adds deterministic multi-record ordering coverage and requires `persist-visual-evidence-record` to reject caller-declared cross-operation and cross-run writes through typed validation errors. No provider/browser/Hackpert behavior is included. This stays inside canonical visual evidence persistence and preserves Tek9 authority. Expected RED: current persistence API does not yet accept/validate the scoped-write keywords.
fix(database): validate visual evidence write scope
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 20s
core / common-lisp-core (pull_request) Failing after 1m6s
monorepo / hygiene (pull_request) Successful in 8m29s
1e4144c084
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 20s
core / common-lisp-core (pull_request) Failing after 1m6s
monorepo / hygiene (pull_request) Successful in 8m29s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin rage-db/142-visual-scope-order:rage-db/142-visual-scope-order
git switch rage-db/142-visual-scope-order

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 rage-db/142-visual-scope-order
git switch rage-db/142-visual-scope-order
git rebase master
git switch master
git merge --ff-only rage-db/142-visual-scope-order
git switch rage-db/142-visual-scope-order
git rebase master
git switch master
git merge --no-ff rage-db/142-visual-scope-order
git switch master
git merge --squash rage-db/142-visual-scope-order
git switch master
git merge --ff-only rage-db/142-visual-scope-order
git switch master
git merge rage-db/142-visual-scope-order
git push origin master
Sign in to join this conversation.
No description provided.