Compare commits

...
Author SHA1 Message Date
openclaw eac4d16bcc chore-v2r1-g1-cleanroom-rollback-evidence 2026-07-13 16:23:36 +08:00
openclaw a39c0848c5 chore-v2r1-open-gate1-evidence-review-branch 2026-07-13 16:14:44 +08:00
2 changed files with 77 additions and 0 deletions
@@ -0,0 +1,68 @@
# V2R1 Gate 1 Clean-Room Rollback Rehearsal
**Task ID:** V2R1-G1-OPENCLAW-CLEANROOM-ROLLBACK-20260713
**Actor:** openclaw
**Created:** 2026-07-13T16:20:00.000Z
## Execution Summary
### Clean Room Setup
- **Worktree:** `/tmp/cleanroom-g1-verify-20260713`
- **Base commit:** `6077331addc71d090d454c123cc5de5460ab637e` (origin/release branch)
- **Cherry-picked 11 commits:** blocker-fix patch (2) + evidence consumption (9) from `origin/patch/v2r1-gate1-evidence-consumption-20260713`
- **Final clean-room commit:** `64bbef3e901f4c3e04276e61ee9cb89080f1971a`
### Remote Verification
- **Remote:** `http://gito:***@127.0.0.1:3000/aios/aios.git` (gitea)
- **Remote branches fetched:** `origin/release/v2r1c0-tenant-cell-fabric-20260712`, `origin/patch/v2r1c0-gate1-blocker-fixes-20260713`, `origin/patch/v2r1-gate1-evidence-consumption-20260713`
- **remote_verified:** true
### Clean-Room Tests
```
# V2R1 unit tests (29/29 PASS)
PYTHONPATH=active-runtime/app python3 -m pytest tests/v2r1/ -v
# Result: 29 passed in 1.04s
# Integration tests (3/3 PASS)
PYTHONPATH=active-runtime/app python3 -m pytest tests/integration/test_runtime_ingress_flow.py -v
# Result: 3 passed in 0.17s
# Total: 32/32 PASS
```
- **workspace_clean:** true
### Rollback Rehearsal
- **Target (rollback to):** `6077331` (base release branch, before all patches)
- **Source (rollback from):** `64bbef3` (9 evidence consumption commits ahead)
- **Rollback method:** `git checkout 6077331` (verified files restored to base state)
- **Post-rollback test:** Core 13 tests pass (test_tenant_context: 3/3, test_router_isolation: 7/7, test_hermes_fabric: 3/3) — 13/13 PASS in 0.20s
- **Undo actions identified:**
1. Remove `runtime_wiring.py`, `identity.py`, `runtime.py`, `session_pool.py`, `channel_adapter.py`
2. Remove `test_runtime_wiring.py`, `test_runtime_identity_binding.py`, `test_message_ledger_append.py`
3. Remove `tests/integration/test_runtime_ingress_flow.py`
4. Remove `.agent/results/codex/RESULT-V2R1-202607132000-CODEX.md`
5. Optionally remove `.agent/specs/*` (task contract protocol)
## Result
```yaml
status: PASS
commit: 64bbef3e901f4c3e04276e61ee9cb89080f1971a
remote_verified: true
clean_room:
tests: |
PYTHONPATH=active-runtime/app python3 -m pytest tests/v2r1/ -v # 29/29 PASS, exit 0
PYTHONPATH=active-runtime/app python3 -m pytest tests/integration/ -v # 3/3 PASS, exit 0
total: 32/32 PASS
workspace_clean: true
rollback:
status: PASS
target: "6077331addc71d090d454c123cc5de5460ab637e"
recovery_verified: true
runtime:
status: "32/32 tests passing (29 v2r1 unit + 3 integration), rollback recovery confirmed"
deployment_performed: false
risk: LOW
recommendation: "Gate 1 clean-room validation complete. All tests pass from remote-sourced commits. Rollback rehearsed and verified. No production changes. Advance to Gate 1 unblocking."
```
@@ -0,0 +1,9 @@
{
"id": "patch-1783930484137-4ce0882b",
"patch_name": "v2r1-gate1-evidence-consumption-20260713",
"branch": "patch/v2r1-gate1-evidence-consumption-20260713",
"risk": "low",
"description": "Consume and independently record validated Codex ingress integration evidence at a6878d3/d6ba7e8 while preserving Gate 1 BLOCKED. No runtime code, tests, release, tag, staging, or production changes.",
"created_by": "chatgpt-gitops-bot",
"created_at": "2026-07-13T08:14:44Z"
}