Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
2608c79
feat(compute): VRAM budget types with CPU f64 fallback
seonghobae Aug 13, 2026
cbb0610
test(compute): require executable OOM retry plans
seonghobae Aug 14, 2026
3756821
fix(compute): emit executable OOM retry plans
seonghobae Aug 14, 2026
2a02408
ci(compute): verify executable OOM recovery plans
seonghobae Aug 14, 2026
016c6d7
ci(compute): activate PR 51 repair through registered workflow
seonghobae Aug 14, 2026
72f5302
ci(compute): preserve protected-main shared files during repair
seonghobae Aug 14, 2026
c197ed8
merge(main): reconcile compute-backend VRAM contracts
seonghobae Aug 14, 2026
5cfc349
fix(compute): register compute backend workspace package
seonghobae Aug 15, 2026
a28a52c
ci: expose exact missing compute coverage lines
seonghobae Aug 15, 2026
fc2abd5
test(compute): cover OOM retry peak overflow
seonghobae Aug 15, 2026
8f34bfd
ci: close PR 51 retry overflow coverage
seonghobae Aug 15, 2026
1029eba
fix(compute): emit executable OOM retry plans
github-actions[bot] Aug 15, 2026
b153334
Merge remote-tracking branch 'origin/main' into HEAD
seonghobae Aug 19, 2026
4d18290
fix(compute): close review gaps in OOM recovery
seonghobae Aug 19, 2026
8404b72
test(compute): prove streamed plans ignore corpus cardinality
seonghobae Aug 19, 2026
67aea63
fix(ci): remove obsolete PR 51 repair job
seonghobae Aug 19, 2026
0111a1a
fix(compute): harden parity and workload policy contracts
seonghobae Aug 20, 2026
0ac8055
test(compute): document cpu fallback batch semantics
seonghobae Aug 20, 2026
240979b
fix(compute): reject overflowing parity gaps
seonghobae Aug 20, 2026
e8a0ee3
Merge current main into compute backend gate
seonghobae Aug 21, 2026
1801501
ci(docs): run validation when pull requests open
seonghobae Aug 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/docs-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@ name: Documentation Quality

on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.
paths:
- "**/*.md"
- "**/*.json"
- ".github/workflows/**"
- "scripts/validate_documentation.py"
- "crates/compute_backend/**"
push:
branches:
- main
Expand Down
1 change: 1 addition & 0 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ boundaries above remain the target modular MSA architecture.
| `tepp_simulation` | known-truth temporal/event data generation |
| `validation_core` | RMSE, bias, coverage, graph, and Monte Carlo metrics |
| `tepp_api` | versioned DTO, schema, and export contracts |
| `compute_backend` | VRAM-budgeted streamed planning, executable OOM retry plans, and a compensated CPU `f64` reference |

No crate exposes placeholder production behavior in Task 1. This prevents an
empty façade from becoming a de facto public API before its invariants and tests
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ All notable changes to TEPP are documented here. The format follows Keep a Chang

### Added

- `compute_backend` ADR 0006 first slice: VRAM profiles and reserve-aware micro-batching, executable successive OOM retry plans, CPU fallback, compensated `f64` reference arithmetic with scale-aware parity tolerance, grouped adaptation policies, and fail-closed estimand-preserving memory policies.
- `tepp_api` naruon live loopback HTTP/1.1 listener: `serve_one` installs a read/write deadline, requires a loopback `Host`, refuses `Transfer-Encoding` and NIM/proxy credential headers, parses `knowledge_cutoff` as RFC 3339 and refuses a future cutoff, keys analysis-run idempotency by tenant plus key, and proves both analysis-run and export POSTs over a real `TcpStream`. Not a production TLS/`$PORT` service (ADR 0011).
- `tepp_api` adaptive orchestration router (ADR 0010): versioned `direct`/`verify`/`committee`/`conductor`/`abstain` selection from CPU `f64` risk, ambiguity, evidence, and token-budget inputs; recorded stages, recursion, decomposition, access lists, and role-specific reasoning effort; fail-closed document-controlled policy/access/credentials; LLM plans remain proposals under deterministic statistical authority; comparable-budget ablation requires a direct baseline; credential-free contextual-orchestrator binding. Live NIM HTTP remains accepted-target.
- `tepp_api` purpose-bound provider-payload minimization: time-bounded `PurposeGrant` evaluation, fail-closed expired/not-yet-valid/inverted/cross-tenant/impossible-calendar denial, semantic UTC calendar validation, refusal to copy identity mappings into model-provider payloads or ordinary logs, preservation of opaque analytical identifiers and membership roles (no blanket PII mask), a separately authorized scientific re-identification path, and an internally bound FIPS 180-4 SHA-256 audit digest appended through `ReidentificationAuditSink` before disclosure.
Expand Down Expand Up @@ -75,6 +76,9 @@ All notable changes to TEPP are documented here. The format follows Keep a Chang

### Changed

- Removed the completed one-shot PR #51 repair job from `docs-quality.yml`; the
workflow no longer invokes deleted repair scripts or requests write authority
after the executable compute implementation is already present.
- Clarified ADR 0001 so it owns Rust-first numerical/reference-backend authority while ADR 0011 owns cross-service MSA/service authority.
- Clarified ADR 0006 so it owns GPU/VRAM and model-credential boundaries; ADR 0010 now owns LLM orchestration policy and ADR 0015 owns autonomous repository-write/review/merge authority.
- Expanded ADR 0002–0005 and 0009–0011 with explicit implementation maturity, alternatives, failure/recovery, compatibility/migration, verification, and rollback/supersession boundaries where they were previously implicit.
Expand Down
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ members = [
"crates/tepp_simulation",
"crates/validation_core",
"crates/tepp_api",
"crates/compute_backend",
]
default-members = [
"crates/evidence_core",
Expand All @@ -23,6 +24,7 @@ default-members = [
"crates/tepp_simulation",
"crates/validation_core",
"crates/tepp_api",
"crates/compute_backend",
]

[workspace.package]
Expand Down
1 change: 1 addition & 0 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ TEPP's approved PRD v0.4 and implementation plan are the primary product baselin
| Hourly NIM product-development operations | [`docs/operations/HOURLY_NIM_PRODUCT_DEVELOPMENT.md`](docs/operations/HOURLY_NIM_PRODUCT_DEVELOPMENT.md) |
| Actions workflow fleet audit | [`docs/operations/ACTIONS_WORKFLOW_FLEET.md`](docs/operations/ACTIONS_WORKFLOW_FLEET.md) |
| Actions fleet research doctoring | [`docs/research/actions-workflow-fleet.md`](docs/research/actions-workflow-fleet.md) |
| VRAM budget / GPU fallback doctoring | [`docs/research/vram-budget-types.md`](docs/research/vram-budget-types.md) |
| Retention/deletion/legal-hold doctoring | [`docs/research/retention-deletion-legal-hold.md`](docs/research/retention-deletion-legal-hold.md) |
| Provider-payload minimization doctoring | [`docs/research/provider-payload-minimization.md`](docs/research/provider-payload-minimization.md) |
| Adaptive orchestration router doctoring | [`docs/research/adaptive-orchestration-router.md`](docs/research/adaptive-orchestration-router.md) |
Expand Down
19 changes: 19 additions & 0 deletions crates/compute_backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[package]
name = "compute_backend"
description = "VRAM-budgeted GPU planning with a CPU f64 reference and fail-closed OOM fallback."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
homepage.workspace = true
readme.workspace = true
keywords.workspace = true
categories.workspace = true
publish = false

[dependencies]

[lints]
workspace = true
Loading
Loading