Skip to content

docs(ddd): restore queue authority and bounded-context ownership - #435

Draft
seonghobae wants to merge 251 commits into
mainfrom
chore/queue-authority-ddd-20260901
Draft

docs(ddd): restore queue authority and bounded-context ownership#435
seonghobae wants to merge 251 commits into
mainfrom
chore/queue-authority-ddd-20260901

Conversation

@seonghobae

@seonghobae seonghobae commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Queue authority and operator baseline

This Draft remains the TEPP delivery/queue-authority vehicle. Protected product evidence remains main@a243f18da4a4ca8a8d068c39922537f1f8ed6ad0 until a normal protected merge advances it. PR=0 is valid only through protected merge or a verified successor that inherits every valid delta/test/fixture/contract/evidence item; simple Close is not queue reduction.

The live organization ruleset 18156473 is active on the default branch. It currently requires one approving review, dismisses stale reviews on push, requires review-thread resolution, requires the central OpenCode/review scheduler/security/Strix/Semgrep/Noema/CodeQL workflows, and rejects deletion/non-fast-forward updates. Administrative bypass exists but is not routine delivery evidence.

The checked-in docs/product-technical-gap-baseline.md is still not code-current: its opening snapshot remains August 2026. Preserve historical snapshot evidence, but refresh the full file before treating it as current authority. docs/TRACEABILITY.md still shows its 2026-08-24 baseline and lacks the direct #491 -> neutral-zero/Wide256 -> #488 module/API/test/evidence -> resource-budget decision trace.

Foundation prerequisite #492

#492 remains 794ba9e6dda9f043aa499920fdf609b81b075d7e, Ready for Review, mergeable, and unmerged on protected main. Rust Foundation 34011189084, Documentation Quality, Security Scan, and SAST Semgrep are terminal GREEN. Historical CodeQL PR 34011189081 remains failure and is not merge evidence.

Canonical owner .github#1929 has already repaired the old dispatcher-actor mismatch. On 2026-09-08 the failed #492 actions/python CodeQL compatibility jobs were rerun on the unchanged TEPP head; attempt-2 jobs 101902297829 and 101902297963 both failed closed because no authenticated terminal exact-head verdict had been published. That clean read-after-dispatch specimen is now recorded at .github#1929. Cross-repository commit-status publication also retains the observed HTTP 403 Resource not accessible by integration failure path. #492 auto-merge is enabled but remains correctly blocked by canonical terminal CodeQL evidence and a qualifying independent approval. TEPP does not fabricate receipts, churn the leaf head, impersonate actors, self-approve, or weaken this control.

Validation Evidence inheritance

#488 remains the owner-correct Validation Evidence landing vehicle, stacked on #492, Draft/open/mergeable. Current exact head is 50e267fe9f45707498c2ee14f7d3aca698e5274f. Production exact admission remains n=4..=16; route order remains neutral_zero_linear -> pairwise_reference -> generic_fallback. Independent direct i128/u128 pair-distance evidence spans every admitted count; [-2^53,0,1,2^53] remains the mixed-sign witness with exact P=2^109+3 and public result bits 0x432a20bd700c2c3e. n>16 remains characterization-only under #491.

Predecessor 7cf41504257c3ff99d532530e5a3a4fa3b7fb0f0 completed authored-line enforcement at 2037/2041 = 99.80%, with exactly monte_carlo.rs:98-99 and report.rs:116-117 uncovered, before the coverage job was later cancelled during branch enforcement. That branch result is unknown and does not transfer. 90b132d2... then exposed a test-only Rust 1.98 cast_precision_loss finding at the maximum-replication-count RMSE support endpoint; current 50e267... repairs the representation with exact pointer-width-specific binary64 support values, without changing production arithmetic or coverage policy.

Current #488 Documentation Quality 34175702972 is terminal GREEN. Rust Foundation 34175702814 has terminal GREEN Rust 1.98 format/Clippy/no-retry nextest/doctest/rustdoc/dependency policy (101904588278), repository/Python contracts (101904588145), and Live PostgreSQL (101904588103). Production line/branch coverage 101904588163 is still executing on the exact head; no current-head coverage or merge-readiness claim is made yet. Fresh #488 review enumeration has no qualifying approval.

The predecessor authored-line classifier took roughly 12m34s for 2,041 authored lines and branch classification was still running at cancellation. Treat that as a checker-operability finding, not a reason to change thresholds, exclusions, denominators, source, or skip policy. Any optimization must preserve exact source-classification semantics.

Owner boundaries and remaining proof

Reusable static/generalized psychometric arithmetic remains a released/versioned fast-mlsirm boundary; immutable v0.9.1 remains the confirmed release. Semantic LLM routing remains an immutable released contextual-orchestrator orchestrator/free boundary. TEPP and contextual-orchestrator currently have no GitHub release, so mutable contextual-orchestrator main cannot become a TEPP production dependency.

Issue #491 still requires exact-head 100% owned-production authored line+branch coverage, causal repair of actual findings, exact denominator/candidate/midpoint/ties-to-even/overflow-refusal preservation, truthful production route telemetry, Rust 1.98.0 --release CPU/allocator/RSS evidence with recorded hardware/build flags, normal #492 landing with canonical CodeQL receipt and qualifying review, direct TRACEABILITY linkage, and code-current operator gap documentation.

Preserve Draft/Proposed state while unresolved and integrate non-force. Do not force push, destructively rebase, self-approve, weaken gates, consume mutable sibling heads, or claim queued/predecessor checks as shipped evidence.

Exact-head contract repair — 2026-09-08

Current head: 352ae6ad382be60a610b3534fdd70e52536d57da.

Exact predecessor jobs exposed three leaf failures: the gap baseline lacked the canonical Closure evidence marker, the required exact-head inventory heading/rows, and the ADR identity test mixed import unittest with from unittest import mock. This head restores the schema-bound priority inventory using live #492/#488 evidence and consistently uses unittest.mock. The two CodeQL compatibility jobs were dispatch-pending control-plane failures, not leaf findings. All predecessor results are non-authoritative; this Draft remains blocked until fresh current-head documentation, Rust, coverage, security, and review evidence is terminal.

Latest exact authority: 8a11257046e72be585f22ddee4f12efcd7fe6b14. The gap inventory intentionally records other live PR heads only; this PR's own head is carried here in PR metadata because embedding it in the same commit would be self-referential.

Canonical ADR authority repair

Latest exact authority: 3130d2c7688dba2e0386b2229a91f09d7c3f9668. The fresh planning run advanced past the gap inventory and exposed duplicate top-level metadata in ADR 0003/0005/0009/0013/0014. This head preserves each ADR's latest, most complete existing status/maturity text and removes only competing duplicate Decision status, Implementation maturity, and Date declarations. No ADR was promoted; each file now has exactly one declaration of each authority field.

Central scheduler contract repair

Latest exact authority: a9b9ceeb6ac61f66091e08a38b3bee94939df39f. Exact predecessor job 101918398404 proved that the leaf contract test still required local cron: "47 * * * *" after protected-main documentation and the workflow had already moved scheduling authority to the central scheduler. This head keeps the leaf workflow as a manual workflow_dispatch entrypoint, requires the organization commercial-entrypoint marker, and fails if a local schedule or cron is reintroduced. No workflow permission, credential, security gate, or production behavior was weakened. All predecessor results are non-authoritative; fresh exact-head checks are required.

Fresh verification on the central-scheduler repair

On a9b9ceeb6ac61f66091e08a38b3bee94939df39f, repository/Python contracts job 101919111201 is GREEN, directly verifying the repaired dispatch contract. Planning/governance 101919068515, Rust format/Clippy/nextest/rustdoc/dependency policy 101919111295, Live PostgreSQL 101919111311, CodeQL Python analysis 101919065964, current-head admission, and queue scan are also GREEN. Production line/branch coverage remains in progress; Semgrep, compatibility CodeQL, Noema, and remaining admission/review jobs are queued. This Draft therefore remains non-mergeable by policy despite being mechanically mergeable and having zero unresolved threads.

@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: bb553d1c-68ed-48b1-9248-11d36567dc62

📥 Commits

Reviewing files that changed from the base of the PR and between c0d61fb and d680976.

📒 Files selected for processing (7)
  • README.md
  • docs/adr/README.md
  • docs/index.md
  • docs/product-technical-gap-baseline.md
  • docs/research/temporal-dependence-models.md
  • scripts/validate_documentation.py
  • tests/quality/test_adr_identity_uniqueness.py
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/product-technical-gap-baseline.md

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

문서 권위를 crate 중심에서 bounded context 중심으로 재구성했습니다. 시간 의존성 계약, ADR 식별자 정규화, 연구 주장 경계, delivery 기준선과 문서 검증 규칙을 갱신했습니다.

Changes

문서 권위 및 아키텍처

Layer / File(s) Summary
전략적 아키텍처와 context 소유권
ARCHITECTURE.md, README.md, docs/index.md, docs/architecture/domain-context-map.md, docs/adr/0011-standalone-modular-msa-boundary.md
플랫폼 문서를 bounded context, 소유권, Analysis Run, 컴퓨트, 영속성, 보안 및 마이그레이션 기준으로 재구성했습니다.
시간 구성과 과학적 소유권
ARCHITECTURE.md, docs/architecture/temporal-dependence-composition.md, docs/research/temporal-dependence-models.md, docs/adr/0026-lineage-pair-criterion-and-project-journey-posterior.md
6-클록 계약, 일반화된 시간 의존성 구성, LSIRM·MLSIRM·DLSJM 규칙, 복구 조건과 새 scientific contract를 문서화했습니다.
Delivery recovery와 제품 기준선
CHANGELOG.md, docs/delivery/pr-queue-authority-2026-09-01.md, docs/product-technical-gap-baseline.md
PR 큐 snapshot, PR 분류, 제품 gap, scientific validation 및 release truth를 갱신했습니다.
문서 맵과 검증기
DOCUMENTATION.md, scripts/validate_documentation.py, tests/quality/*
새 문서를 필수 경로와 canonical link에 등록했습니다. Priority inventory와 ADR identity 검증 및 회귀 테스트를 추가했습니다.
ADR 정규화와 사전 문서 보존
docs/adr/README.md, docs/adr/0022-deterministic-analysis-run-execution.md, docs/adr/0026-lineage-pair-criterion-and-project-journey-posterior.md, docs/adr/archive/*
ADR 번호 충돌을 정규화하고 ADR 0021의 사전 정규화 내용을 archive에 보존했습니다.
연구 주장 경계와 출처 상태
docs/research/strong-invariance-latent-means.md, docs/research/rubin-total-variance.md, docs/research/standards-and-literature.md, CLAUDE.md
문헌 접근 상태와 strong invariance 주장 범위를 갱신했습니다.

Estimated code review effort: 4 (Complex) | ~45 minutes

Merge Risk: 🟡 Moderate · up to d6809

This documentation and validation change establishes architecture, queue, and release guidance, but unresolved documentation inaccuracies and incomplete release evidence could misclassify work or treat an incomplete release as eligible. The PR is not merge-ready until these bounded documentation issues are corrected or explicitly accepted by the appropriate owner.

Suggested reviewers: cursoragent

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed Docstring coverage is 92.31% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 26 functions across 4 files. (5 skipped: 5 …
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 제목은 큐 권한 복구와 경계 컨텍스트 소유권 문서화를 정확히 요약합니다. PR의 주요 변경 내용과 직접 관련되며 간결하고 구체적입니다.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/queue-authority-ddd-20260901

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Re-read GitHub at 2026-09-01T10:19:29Z: 136 open PRs (91 draft, 45
non-draft) on protected main 1bc02f5. #356 is closed without merge.
#441 exact head is 6f48322. #444 is a fold candidate, not a new
bounded context. Queued checks remain non-passing.
@seonghobae
seonghobae marked this pull request as ready for review September 1, 2026 10:21

Copy link
Copy Markdown
Contributor Author

Write path recovered this cycle. Exact head is 336e2dc7e99f3e55790475540d74f9079d7472b1.

Live GitHub re-read at 2026-09-01T10:19:29Z: 136 open PRs (91 draft, 45 non-draft) on protected main 1bc02f580cf48e1d39da239f0e818453437c31c3. Scientifically unsafe #356 is closed without merge. #441 exact head is 6f483224b3a03e8237c6f4f098a8b0e85e0a91f5 and remains a Longitudinal Modeling landing candidate, not merge authority.

Independent human review request is blocked: the only repository collaborator is the author. Copilot review was requested on this head and does not count as independent APPROVE. No self-approval. Queued/pending/skipped/cancelled/stale/predecessor-head checks are non-passing.

Unpaywall and OpenAlex re-read 2026-09-01T10:22Z remain closed
(is_oa false, 0 OA locations). Full texts stay unread. Mean-gate
authority is still Putnick and Bornstein (2016, PMC5145197). Rubin
T_m remains the complete-data combining rule, not Mislevy PVs.
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

Refresh the checked-in operator register after the #488 root-cause rustdoc audit. Preserve protected-main and owner boundaries, distinguish hosted RED from proactive source-audit repair, and keep current exact-head queued checks from being promoted to GREEN.

Signed-off-by: Seongho Bae <me@seonghobae.me>

Copy link
Copy Markdown
Contributor Author

Fresh standards/traceability finding for the existing documentation-authority lane (2026-09-09 UTC+9):

For the #435 docs refresh, preserve AERA/APA/NCME 2014, IEEE 754-2019, and ISO/IEC 60559:2020 as the current published authorities and record the active revisions separately with retrieval dates; do not promote draft/revision work to normative evidence.

The live scientific lineage has also advanced since this Draft's embedded snapshot: #488 is now 32f1e622f0bc8e9275a3f00bc02e873b3aa6a93a on #492@794ba9e6dda9f043aa499920fdf609b81b075d7e; #491 remains characterization-only for n>16. docs/TRACEABILITY.md and docs/product-technical-gap-baseline.md should be refreshed in this existing owner lane rather than by racing #488's source branch. No change to #488 scientific acceptance or arithmetic is implied by this standards doctoring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation priority: high status: draft type: docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant