fix(tests): reconcile platform contract expectations #841
No reviewers
Labels
No labels
W6d-automerge-calibration
agent/claude-code
agent/codex
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
automerge-candidate
class/security-sensitive
cutover-gate
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
domain:agents
domain:ci
domain:docs
domain:forgejo
domain:infra
domain:memory
domain:runtime
domain:signal
domain:ux
flow/architecture
flow/blocked
flow/deployed
flow/done
flow/implementation
flow/intake
flow/maintained
flow/observed
flow/ready
flow/refining
flow/retired
flow/review
iterating
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
kind/adr
kind/bug
kind/chore
kind/feature
kind/infra
kind/ops
kind/refactor
kind/research
large-impact
merge/auto
merge/manual
merge/manual-dependency-conflict
merge/manual-failing-tests
merge/manual-merge-conflict
merge/manual-missing-review
merge/manual-operator-preference
merge/manual-red-zone
merge/manual-security-sensitive
merge/manual-unclear-scope
merge/manual-unknown
meta
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
needs-operator-decision
needs-triage
not-ready
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
operator-emotional
owner-attention
phase/02
phase/03
priority:p0
priority:p1
priority:p2
priority:p3
proposed
ready-for-agent
ready-for-operator
recovery
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
risk/exposure
risk/process
risk/product
risk/runtime
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
size/large
size/medium
size/small
size/tiny
size/unknown
source/adr
source/agent-generated
source/manual
source/operator-chat
source/voice-note
status:blocked
status:codex-ready
status:merged:pending-evidence
status:needs-evidence
status:operator-needed
status:parked
tier/full
tier/lite
tier/stacked
tier:0-platform-substrate
tier:1-iskra-value-layer
tier:2-tools-products-modules
type:bug
type:chore
type:docs
type:feat
type:policy
type:research
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/platform!841
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/810-contract-expectations"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Canary status: missing — fire canary 3+3 manually before merge
Canary Context Pack
Product story
Contract tests should defend current platform intent, not stale paths or stale ADR numbers. This keeps future agents from mistrusting correct repo state because old expectations fail.
What changed
compose/apps/compose.yamllegacy-import runtime paths.0026-wloczykij-gold-vault-and-iskra-promotion-boundary.mdafter renumbering.Why it changed
Issue #810 identified two stale test expectations from the Antigravity/Gemini audit.
Files touched
tests/test_deploy_control_cutoff_contract.pytests/test_iskra_things_sync_contract.pyRelevant context
compose/apps/compose.yamldecisions/0026-wloczykij-gold-vault-and-iskra-promotion-boundary.mdRuntime evidence
None. Test-only reconciliation; no runtime mutation.
Known constraints
This PR does not change compose paths or ADR content. It only updates tests to match the current canonical sources.
Explicit out-of-scope
Requested decision
Approve merge if CI matches local focused verification.
Merge blockers
Spec sources read
compose/apps/compose.yamltests/test_deploy_control_cutoff_contract.pytests/test_iskra_things_sync_contract.pydecisions/0026-wloczykij-gold-vault-and-iskra-promotion-boundary.mdVerification
python3 -m pytest tests/test_deploy_control_cutoff_contract.py tests/test_iskra_things_sync_contract.py— 47 passed.Closes #810
Patchwarden PR sanity
Operator signal: 🛑 STOP - reviewer finding(s) must be addressed or explicitly accepted.
Automerge signal: ❌ NOT READY - no unattended merge or APPROVED review should be published.
Verdict: 🛑 STOP - a model reviewer reported actionable findings.
Next step: Address the reviewer finding(s), or leave a human decision explaining why the risk is accepted.
84199288e979db551c1b72065ceac749a0339c8fb07advisory_findingsfindingsmissingglm-5.2:cloud,deepseek-v4-pro:cloud,kimi-k2.7-code:cloudWhat I checked
2cleannot_reported3Approval Handoff
not_ready_reviewer_findingsSignal Board
cleannot reportedfindingsnot_ready_reviewer_findingsineligibleautomation firsttests/test_deploy_control_cutoff_contract.py,tests/test_iskra_things_sync_contract.py🧭 Merge authority: branch protection and automerge controller remain authoritative.
Required Fixes
No deterministic blockers.
Reviewer Details
Model reviewer lanes
global-glm/glm-5.2:cloudStatus:
okVerdict:
OKmediumTest expectations now hardcode user-specific runtime path 'pdurlej-platform'tests/test_deploy_control_cutoff_contract.py: default for PLATFORM_RUNTIME_INTEGRATIONS_DATA_DIR and PLATFORM_RUNTIME_ENV_DIR changed from '/opt/vps-home-platform-infra/...' to '/opt/pdurlej-platform/runtime/legacy-import/...'. Embedding alowADR renumbering from 0023 to 0026 may orphan the original ADR filetests/test_iskra_things_sync_contract.py: ADR_0023 renamed to ADR_0026 pointing at 'decisions/0026-wloczykij-gold-vault-and-iskra-promotion-boundary.md'. Diff does not show deletion or redirect of the 0023 file.global-deepseek/deepseek-v4-pro:cloudokOKredteam/kimi-k2.7-code:cloudStatus:
okVerdict:
NOT_OKhighContract test does not enforce absence of whole legacy root mounttests/test_deploy_control_cutoff_contract.py function test_deploy_control_no_longer_mounts_whole_legacy_root only asserts presence of the two updated subdir volume strings (${PLATFORM_RUNTIME_INTEGRATIONS_DATA_DIR:-/opt/pdurlej-platform/runPolicy notes
Operator approval relayed from live Codex merge-fest scope: platform PR queue only.
Operator approval relayed from live Codex merge-fest scope: platform PR queue only.