Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
3774b84
feat(chat): select history documents and edit search scope
macros0 Oct 21, 2026
6aa9f80
fix(chat): unify source selection and answers from history
macros0 Oct 22, 2026
ba8cd2a
fix(chat): ignore stale timeline resize callbacks
macros0 Oct 22, 2026
f613f12
fix(deps): update Next.js to patched 16.4.2
macros0 Oct 22, 2026
94d8869
feat(chat): add versioned answer scenarios
macros0 Oct 22, 2026
abf6203
feat: prepare independent frontend replicas and secure tooling
macros0 Oct 31, 2026
dea6bd8
feat: add immutable local artifact storage foundation
macros0 Oct 31, 2026
43864fc
feat: add shared artifact adapters and remediate Python dependencies
macros0 Oct 31, 2026
9c8bb8b
feat: persist atomic artifact uploads and replay receipts behind prev…
macros0 Oct 31, 2026
e17b049
feat: add artifact leases, checkpoint bindings and guarded orphan GC
macros0 Oct 31, 2026
1e7c8d3
feat: seal and hydrate portable generation publications
macros0 Oct 31, 2026
4cbafb2
feat: persist portable staging checkpoints
macros0 Oct 31, 2026
1162c3b
feat: persist source caches and portable file consumers
macros0 Oct 31, 2026
5c0bed4
feat: discover orphan artifacts and schedule safe garbage collection
macros0 Oct 31, 2026
0f120a2
feat: migrate artifact storage with verified cutover
macros0 Oct 31, 2026
3aacc7a
feat: add PostgreSQL work ownership and recovery
macros0 Oct 31, 2026
7cde4af
feat: fence document execution and publication
macros0 Oct 31, 2026
53e156b
feat: separate API and background runtime roles
macros0 Nov 1, 2026
e39bc2f
feat: add transactional replica coordination and model budget
macros0 Nov 1, 2026
878008d
feat: coordinate chat ownership and cancellation across replicas
macros0 Nov 1, 2026
3f36538
feat: refresh replica caches and authorize with database time
macros0 Nov 1, 2026
bcd60fb
Coordinate replica audit dispatch through owned PostgreSQL sessions
macros0 Nov 1, 2026
07eb6fd
feat: coordinate state across backend replicas
macros0 Nov 1, 2026
211355b
feat: add bound API and worker deployment foundation
macros0 Nov 1, 2026
e563bd3
feat: package basic storage and fresh replica bootstrap
macros0 Nov 1, 2026
817405b
test: verify managed storage TLS and CA replacement
macros0 Nov 1, 2026
21f5a6d
test: exercise replica runtime and idle pod replacement
macros0 Nov 1, 2026
e3fe24e
feat: fence replica writers across maintenance epochs
macros0 Nov 1, 2026
b570457
feat: verify encrypted replica backup archives
macros0 Nov 1, 2026
b6f2296
feat: rehearse independent managed replica recovery
macros0 Nov 1, 2026
e78f7d7
test: exercise active publication and model capacity faults
macros0 Nov 1, 2026
40b7972
feat: add audited provider recovery and runtime updates
macros0 Nov 1, 2026
a3b0ffb
feat: coordinate held replica image rollouts
macros0 Nov 1, 2026
c704f11
test: recover active worker loss with physical provider proof
macros0 Nov 1, 2026
5de9f87
test: verify PostgreSQL partition and stale worker return
macros0 Nov 1, 2026
f962d7d
test: measure replica load and application resources
macros0 Nov 1, 2026
b14e8b5
feat: separate replica runtime and operator credentials
macros0 Nov 1, 2026
24b5a41
fix: add replica maintenance audit translations
macros0 Nov 1, 2026
f36b521
test: require current replica head in fresh migrations
macros0 Nov 1, 2026
5f59f86
fix: bind replica backups to the selected live runtime
macros0 Nov 1, 2026
36579d2
feat: verify coordinated replica CA rotation
macros0 Nov 1, 2026
aff77e1
test: verify bounded native S3 storage exhaustion
macros0 Nov 1, 2026
4b80844
fix: verify pinned diagnostic prefix bytes before publication
macros0 Nov 1, 2026
1026c8d
fix: preserve historical schema and glossary CI contracts
macros0 Nov 1, 2026
dc3534a
test: preserve migration and batched read contracts with replica fences
macros0 Nov 1, 2026
0768dd9
feat: verify scoped replica image upgrades with independent backup
macros0 Nov 2, 2026
e8911dc
feat: monitor authenticated replica backup age and attempt failures
macros0 Nov 2, 2026
457d703
feat: prepare scoped replica fault recovery and resumable restart
macros0 Nov 2, 2026
56cbe85
feat: execute staged replica runtime acceptance in one bound run
macros0 Nov 2, 2026
ff0bf50
fix: bind runtime identity in idle acceptance probe
macros0 Nov 2, 2026
cfb8db2
fix: verify replica corpus with document-specific search queries
macros0 Nov 2, 2026
6213263
fix: align staged acceptance with automatic partition confirmation
macros0 Nov 2, 2026
e3c7025
fix: validate both partition report operation identifiers
macros0 Nov 2, 2026
83e3323
fix: stream bounded complete replica corpus snapshots
macros0 Nov 2, 2026
b81328e
fix: preserve valid replica capacity observations across RPC handoff
macros0 Nov 2, 2026
c189d1a
test: record complete managed S3 replica runtime acceptance
macros0 Nov 2, 2026
4b4cbb7
feat: separate scoped restore settings from operator SQL credentials
macros0 Nov 2, 2026
46a047f
test: record current independent-copy recovery and baseline CI
macros0 Nov 2, 2026
5f462e3
feat: adopt migrated replica schema under owned maintenance
macros0 Nov 2, 2026
6d32ca7
feat: expose held schema adoption through offline upgrade CLI
macros0 Nov 2, 2026
87e24be
feat: preserve predecessor backup fences through schema recovery
macros0 Nov 2, 2026
33e0ede
docs: record verified live predecessor fixture
macros0 Nov 2, 2026
cd7e0cb
feat: export fenced predecessor providers to independent backup
macros0 Nov 2, 2026
45403fc
feat: restore fenced predecessor providers into fresh held storage
macros0 Nov 2, 2026
4fd5556
test: verify source-off predecessor schema-changing recovery
macros0 Nov 2, 2026
c8bdf83
test: verify parser and frontend builds and record profile gates
macros0 Nov 2, 2026
5d575eb
feat: bind qualification policy to complete profile evidence
macros0 Nov 2, 2026
a785560
test: verify separate protected training key recovery
macros0 Nov 2, 2026
1c52d26
feat: deliver durable authenticated local backup alerts
macros0 Nov 2, 2026
788a99b
feat: verify trusted replica evidence through offline runner
macros0 Nov 2, 2026
1a74604
test: verify Linux backup alerts and trusted evidence contracts
macros0 Nov 2, 2026
ace6a6c
feat: adopt nonempty compact corpus into held replica runtime
macros0 Nov 2, 2026
d41fa3f
feat: hand off reviewed legacy queues with held replica adoption
macros0 Nov 2, 2026
5f5c43d
feat: migrate retained diagnostic history and frozen bundle inputs
macros0 Nov 3, 2026
e8aec58
docs: record full Linux CI and verified compact runtime image
macros0 Nov 3, 2026
0b25fc9
docs: preserve Windows CI failure and causal environment proof
macros0 Nov 3, 2026
3b1d176
fix(storage): retain stopped recorder counters during migration
macros0 Nov 3, 2026
a95d589
fix(storage): preserve frontend UTC instants during journal migration
macros0 Nov 3, 2026
b5a9775
fix(storage): scope readiness probes to installation prefix
macros0 Nov 3, 2026
0db9850
fix: harden replica admission scratch and backup stop guards
macros0 Nov 3, 2026
12433e8
fix: scope original scratch for direct processing admission
macros0 Nov 3, 2026
ccfcf9e
fix: preserve reduced legacy original settings contract
macros0 Nov 3, 2026
5dc91fb
docs: record verified review fixes and NFS training bootstrap
macros0 Nov 3, 2026
c24113e
docs: record bounded RWX app faults and physical recovery
macros0 Nov 3, 2026
84f29df
docs: record authenticated independent RWX backup
macros0 Nov 3, 2026
9db24bc
docs: record independent RWX source to S3 recovery
macros0 Nov 3, 2026
cf74f8a
feat(recovery): bind selected RWX restore to physical NFS target
macros0 Nov 3, 2026
f88da57
docs(replicas): record verified independent RWX target recovery
macros0 Nov 3, 2026
40dfd87
docs(replicas): record remote Synology write and user quota boundary
macros0 Nov 3, 2026
98e1e5f
docs(replicas): verify Synology user quota and two-pod CSI contract
macros0 Nov 3, 2026
96931d1
fix(replicas): probe writable artifact directories for filesystem rea…
macros0 Nov 3, 2026
2af1a40
docs(replicas): verify Synology mixed runtime and quota recovery
macros0 Nov 3, 2026
381d603
docs(replicas): verify independent Synology corpus backup
macros0 Nov 3, 2026
5a088b4
docs: verify independent Synology to S3 recovery
macros0 Nov 4, 2026
38f0fc2
docs: prepare bounded Synology outage drill
macros0 Nov 4, 2026
489420a
docs: verify bounded Synology NFS outage recovery
macros0 Nov 4, 2026
5529958
docs: verify active-worker recovery through Synology outage
macros0 Nov 4, 2026
ec09a60
docs: prepare isolated two-node VM103 platform admission
macros0 Nov 4, 2026
ccc2678
fix(storage): bound dead PostgreSQL client detection
macros0 Nov 4, 2026
c52d9bc
docs: record two-node NAS worker recovery rehearsal
macros0 Nov 4, 2026
ddd7a89
docs: preserve cross-platform evidence hash
macros0 Nov 4, 2026
65d6ee2
fix: retry typed transient artifact failures without replacing public…
macros0 Nov 4, 2026
d4acbf9
docs: record bounded S3 application ENOSPC recovery and closed lab
macros0 Nov 4, 2026
2d31435
docs: verify all-external runtime and source-off recovery
macros0 Nov 4, 2026
4df844e
fix: isolate frontend-split networking and verify live topology
macros0 Nov 4, 2026
bb6a934
test(replicas): journal one-shot frontend acceptance stages
macros0 Nov 4, 2026
faa50e0
test(replicas): add one-shot native frontend HTTP probes
macros0 Nov 4, 2026
e42007a
test(replicas): integrate owned native frontend acceptance
macros0 Nov 4, 2026
121693b
docs(replicas): record closed common frontend acceptance
macros0 Nov 4, 2026
3d8a80a
docs(replicas): reconcile seven-profile evidence inventory
macros0 Nov 4, 2026
a3af1ac
test(replicas): add bounded OIDC wire actions and admit lab gateway
macros0 Nov 4, 2026
ba49549
test(replicas): add bounded gateway TLS business transport
macros0 Nov 4, 2026
e8b96b1
test(replicas): add guarded native OIDC lifecycle
macros0 Nov 5, 2026
e5e7b39
test(replicas): integrate native OIDC completion proof
macros0 Nov 5, 2026
85ff81e
fix(replicas): use supported kubectl JSON patch arguments
macros0 Nov 5, 2026
5d46ce8
fix(replicas): validate named ListenerSet status
macros0 Nov 5, 2026
fa12827
fix(replicas): admit explicitly empty EndpointSlices
macros0 Nov 5, 2026
fdfae89
test(replicas): retain frontend acceptance case identities
macros0 Nov 5, 2026
a256266
docs(replicas): record verified native OIDC acceptance
macros0 Nov 5, 2026
0729719
test(replicas): guard selected provider fault evidence
macros0 Nov 5, 2026
1822ce2
test(replicas): add durable native provider outage runner
macros0 Nov 5, 2026
a8c09b3
fix(replicas): check numeric export job identifiers
macros0 Nov 5, 2026
ec11654
fix(replicas): verify stale SQL token before provider recovery
macros0 Nov 5, 2026
bc35fac
fix(replicas): verify canonical PG recovery report facts
macros0 Nov 5, 2026
d542738
test(replicas): gate active work before provider outage
macros0 Nov 5, 2026
46174d2
test(replicas): bound live guard overhead and verify logout
macros0 Nov 5, 2026
2fbd6cd
test(replicas): recover quarantined model calls with physical proof
macros0 Nov 5, 2026
6b41f85
test(replicas): join actual provider fault recovery evidence
macros0 Nov 5, 2026
bbced15
feat(storage): prove selected Synology NFS4 target relocation
macros0 Nov 5, 2026
ae8bffb
docs(replicas): close provider matrix CI and capacity returns
macros0 Nov 5, 2026
f1b38e8
fix: preserve accepted diagnostic inputs during offline migration
macros0 Nov 5, 2026
a7d2a17
docs: close selected replica lab acceptance and preserve evidence bytes
macros0 Nov 5, 2026
feafef2
docs: pin LF for remaining profile evidence receipts
macros0 Nov 5, 2026
d362266
Merge GitHub main with completed application and Kubernetes rollout
macros0 Nov 6, 2026
708684d
fix: align work input schema and document scoped static analysis find…
macros0 Nov 6, 2026
48cfc16
fix(ci): preserve runner UID in native tests and use tmpfs scratch
macros0 Nov 6, 2026
8acec51
fix(ci): reclaim passed tmpfs test directories and fail fast
macros0 Nov 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -422,3 +422,6 @@ ATTACHMENT_MAX_DEPTH=6
AUDIT_DB_ENABLED=true
AUDIT_STDOUT_MODE=disabled
AUDIT_STDOUT_FORMAT=native

# Named answer instructions (requires individual authentication)
CHAT_SCENARIOS_ENABLED=true
37 changes: 37 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,40 @@ tests/artifacts/diagnostics/integration-20261001/*.json -text
tests/artifacts/diagnostics/node-memory-integration-20261001/*.json -text

tests/artifacts/diagnostics/merged-release-20261001/**/*.json -text

# Generated PDF guides contain binary streams and must not be normalized as text.
*.pdf binary

# Keep this hashed rehearsal receipt byte-identical on Windows and Linux.
docs/superpowers/reports/2026-11-04-replica-crossnode-vm103.json text eol=lf
docs/superpowers/reports/2026-11-04-replica-s3-application-full.json text eol=lf
docs/superpowers/reports/2026-11-04-replica-all-external-runtime-recovery.json text eol=lf
docs/superpowers/reports/2026-11-04-replica-frontend-split.json text eol=lf

# Preserve the exact published bytes of selected acceptance reports.
docs/superpowers/reports/2026-11-02-replica-backup-key-recovery.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-02-replica-current-artifact-ci.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-02-replica-predecessor-schema-recovery.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-03-replica-compact-independent-restore.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-03-replica-rwx-application.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-03-replica-rwx-source-s3-restore.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-03-replica-rwx-target-restore.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-04-replica-synology-application-outage.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-04-replica-synology-mixed-runtime.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-04-replica-synology-source-s3-restore.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-05-frontend-native-acceptance.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-05-frontend-oidc-native-acceptance.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-05-replica-final-backend-ci.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-05-replica-provider-matrix-closure.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-05-replica-provider-matrix.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-05-replica-s4-diagnostic-regression.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-05-replica-synology-target-restore.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-06-replica-evidence-byte-custody.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-06-replica-final-completion-audit.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-06-replica-s4-final-backend-ci.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-06-replica-s4-rwx-native-closure.json -text whitespace=cr-at-eol
docs/superpowers/reports/2026-11-06-replica-synology-target-closure.json -text whitespace=cr-at-eol
deploy/kubernetes/replicas/support-matrix.json text eol=lf
docs/superpowers/reports/2026-11-05-replica-gateway-platform.json text eol=lf
docs/superpowers/reports/2026-11-05-frontend-oidc-http-ci.json text eol=lf
docs/superpowers/reports/2026-11-02-replica-local-backup-alerts.json text eol=lf
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ jobs:
# (SQLite во временном каталоге, Qdrant/LLM замоканы).
# Порог — чуть ниже текущего значения: гейт ловит крупный непокрытый
# кусок, а не колеблется на единицах строк.
run: python -m pytest -q --cov=app --cov-report=term-missing --cov-fail-under=85
# Match lab CI: passing test directories are reclaimed before tmpfs fills.
# A green run still executes the complete suite and the same coverage gate.
run: |
df -h /dev/shm
python -m pytest -q --maxfail=1 --basetemp=/dev/shm/okf-backend-tests -o tmp_path_retention_policy=failed --cov=app --cov-report=term-missing --cov-fail-under=85

diagnostics-windows:
name: diagnostics (Windows locks and offline CLI)
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
docker build -f backend/Dockerfile --build-arg OKF_BUILD_REVISION="$GITHUB_SHA" -t okf-backend:kube-smoke .
docker build -f frontend/Dockerfile --build-arg OKF_BUILD_REVISION="$GITHUB_SHA" -t okf-frontend:kube-smoke frontend
docker build -f backend/test_scripts/model_stub/Dockerfile -t okf-model-stub:kube-smoke backend/test_scripts/model_stub
- name: Replica evidence and notification contracts without provider access
run: |
cd backend
python -m pytest tests/test_replica_evidence.py tests/test_replica_evidence_runner.py tests/test_replica_acceptance_report.py tests/test_replica_acceptance_safety.py tests/test_replica_backup_alert_protocol.py tests/test_replica_backup_alert_receiver.py tests/test_replica_backup_alerts.py tests/test_replica_backup_alerts_cli.py tests/test_replica_backup_health.py -q
- name: Isolated install and persistent restart smoke
run: |
kind create cluster --name okf-kube --image kindest/node:v1.37.0 --config deploy/kubernetes/lab/kind.yaml --wait 120s
Expand Down
Loading
Loading