Repository navigation
PASAY-M005: V1 Closeout #43
Copy link
Copy link
Closed as not planned
Description
PASAY-M005 — V1 Closeout
Baseline
- Base branch:
milestone/4-lease-moveout-closure - Accepted merge SHA:
872c43b27b0364407de849260aa18f08403f262b - PR PASAY-BACKEND-FINAL-CLOSEOUT-001: savepoint 事务边界 + Backend Freeze Candidate #42 backend final closeout: merged
- Execution model: one serial Milestone, up to 3 internal subagents in parallel
- Deadline: complete today
Outcome
Deliver a coherent V1 closeout, not a sequence of unrelated bug-fix tasks. Integrate CI expansion, Mini App-facing backend APIs, complete regression evidence, migration verification, and final handoff.
Workstreams
A — CI Expansion + Float Gate
- Expand backend gate to at least 250 meaningful tests.
- Ensure bot coverage spans at least 15 files where applicable.
- Verify
envelope.ts↔envelope.pyschema compatibility. - Add a fail-closed Float/money safety gate for production financial paths.
- Preserve existing required checks; no test deletion, skip, xfail, or weakening.
B — Mini App API
- Implement
GET /operations/god-viewfor Owner command-center aggregation. - Add
limit/offsetpagination to all in-scope list endpoints. - Default limit = 50; validate negative/oversized/out-of-range inputs safely.
- Add API error localization using
Accept-Languageand role context. - Required languages: Owner Chinese; Secretary English; deterministic fallback.
- Keep Mini App as operational dashboard/God View; do not add an AI chat button.
C — Regression + Handoff Evidence
- Run and reconcile M001–M004 targeted regression gates.
- Add M005 targeted coverage for new contracts.
- Verify Alembic single head.
- Verify the final 3 migrations upgrade → downgrade → upgrade.
- Produce dependency-residue inventory for Redis/Kafka/Celery/Temporal/Queue2/Bot2.
- Produce final V1 capability matrix, exact test counts, migration evidence, known debt, and Owner-only decisions.
Mandatory acceptance gates
pasay-gatecompletes all four stages successfully.- Float/money grep gate fails closed on prohibited production float usage.
- All 22 routers have explicit cross-organization endpoint coverage or a documented non-org rationale.
- God View aggregation is organization-scoped and contract-tested.
- Pagination defaults to 50 and handles invalid/out-of-range inputs safely.
- M001–M004 targeted suites pass 100%; no deletion/skip/xfail/weakening.
- Alembic has one head; final 3 migrations pass upgrade/downgrade/upgrade.
- No new Redis, Kafka, Celery, Temporal, Queue2, or Bot2 dependency.
- Final PR body includes capability matrix, exact tests, migrations, known debt, and Owner-only decisions.
Scope discipline
- This issue is the only M005 task authority.
- Do not reopen PR PASAY-BACKEND-FINAL-CLOSEOUT-001: savepoint 事务边界 + Backend Freeze Candidate #42 or chase its CodeRabbit Minor/Nitpick backlog.
- Fix only blockers found while implementing or validating M005.
- Do not split delivery into serial micro bug tasks.
- Subagents may work in parallel only inside this Milestone with disjoint ownership.
- One final integration branch and one final PR.
- No merge or deploy without Owner approval.
- Complete handoff and STOP.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
ci(backend-freeze-gate,m004-alembic): root-cause DOOR-15 and make fin…
feat(api,scripts): Paginated[Binding] for property-channel + 22-vs-23…
test(m005,float-safety): real blacklist float injection proof + suite…
ci(backend-freeze-gate): harden DOOR-15 on CI runner
ci(backend-freeze-gate): debug DOOR-15 collect logs + robust tail par…