forked from mtusi2026/mtusi2026lab7
144 lines
37 KiB
Markdown
144 lines
37 KiB
Markdown
# Independent bounded review: ВП7 native OpenBao acceptance
|
||
|
||
**SCOPED_OPENBAO_NATIVE_ACCEPTANCE_PASS; CLI_PORTABILITY_FOLLOWUP_PENDING.** B1/B2, native expiry/rotation и оставшаяся Agent recovery закрыты exact source/receipt readback. Финальный recovery+bounded HTTP39107 завершился author-observed wholeexit0, postguards/stop0/owned0; прежние wholeFAIL сохранены. Переносимый ordinary CLI accept имеет отдельный новый source followup, final docs/archive ещё не проверены. Текущий verdict и точные compound boundaries приведены в финальном разделе; прежние pending labels ниже являются историей. Рецензент не запускал live services, operational entrypoints, HTTP/UI, downloads или credential readers.
|
||
|
||
Пользователь отдельно разрешил до85МБ **только на omarchy для OpenBao**; это разрешение не распространяется на СИИ/другие модели. Download/native этап идут параллельно этому read-only review и не блокируются им. Исторические ca313 ZIP и source/docs/archive reviews665/524/1c789 сохраняют прежнюю область доказательств.
|
||
|
||
Прочитаны current root CLAUDE/WORK, original lab7 README, SECURITY-CASES и относящиеся к Bao/accept/rotation части RUN, затем actual entrypoints/consumers. Проверка ограничена обязательными Bao/renewal/expiry/seal/role/rotation oracles. Source119/backend112/Grafana39 не переаудитировались. Initial22 public source/config/docs bytes сохранены в `/tmp/vp7-openbao-native-review-GFgfKP/INITIAL-READONLY-SOURCE.json`; это снимок движущейся implementation перед native followup, не final source freeze.
|
||
|
||
Основные reviewed initial hashes:
|
||
|
||
```text
|
||
11ff082e65cd5a150b35b5cd717a9234471cdaed30d7c942af4496458b38d3a8 student-tests/extended.ts
|
||
68dc74842eb67e7df4878418c1e08a7ca501481e9624270f712ec59201e6a832 scripts/acceptance-session.ts
|
||
e377f30565263e1a0aaf22a0ba13661e28bdd5b6100caecc03e22267577c241d scripts/rotation.ts
|
||
0f44f8f4c2edacc33fbfe7a547041be1c124412f24eb426df2038d1f1c94bad5 student-tests/bao-policy.ts
|
||
```
|
||
|
||
Actual call chain: `lab.ts accept` → `acceptanceSession` → native ordinary `start` → public smoke/security → PostgreSQL transport/full matrix → `auditBao` → worker privileges → public persistence/failover → `extendedAcceptance`. Последний вызывает certificate lifetime, telemetry scope, worker compromise/rotation, artifacts/hardening, token expiry и sealed lifecycle. Проверка actual outer native caller/teardown и полного terminal outcome ожидается отдельно; отсутствие finally в этой library function само по себе не приписано ещё не прочитанному author runner.
|
||
|
||
| Original required outcome | Actual source consumer / oracle | Initial read-only conclusion |
|
||
| --- | --- | --- |
|
||
| Non-dev persistent Bao и bootstrap trust | server.hcl file storage, init3shares/threshold2, encrypted operator init response до unseal/configure | Source path существует; runtime/config identity ещё не проверена рецензентом |
|
||
| Scoped service roles, own allow/foreign/admin deny | auditBao cert login/api+worker, exact role policy, parseKV own, other path403, policy-write403, same-CA forbidden login400/403 | Конкретные native status/content assertions; native results pending |
|
||
| Renewal и revoke | native renew-self positive lease duration; revoke-self, затем own read403 | Policies явно дают self lookup/renew/revoke без default policy; native pending |
|
||
| Actual Agent material/renewal | per-role cert auto-auth, no token sink, KV-only templates0600, timestamp внутри successful secret block,5s render | Native Agent provider должен быть доказан отдельно от прежнего operator heartbeat |
|
||
| Token expiry | initial own read, unrenewed API token TTL≤60, later403, fresh same-role auth/read positive | Положительные controls отделены от expired denial; native pending |
|
||
| Seal, bounded stale shutdown и recovery | sealedLifecycle seal→process states/public503→unseal/wait→real upload | Confirmed initial oracle gap B1 ниже |
|
||
| Both actual replica failures | public failover hook связывает real alias→owned service/container и проверяет stopped | Initial coordinator binding gap B2 ниже |
|
||
| Track1 revoke/rotate/recover | three queued uploads, old token/leaf denial, permitted-prefix stale S3 credential rejection, KV CAS/new leaf/Agent render, same SHA+original bytes recovery | Source последовательность прочитана; native results pending |
|
||
|
||
**B1 — source-confirmed seal false-positive branch, OPEN pending fix.** Initial `student-tests/extended.ts` после `/sys/seal` принимает для всех api1/api2/worker любое `!Running` **или** увеличение RestartCount, затем public503. Причина остановки и fixed `secret_freshness_failed` event не проверяются. Следовательно, unrelated crashes/stops/restarts после seal удовлетворяют этому predicate и могут быть выданы за доказательство bounded stale-secret shutdown. Existing cached `freshness-runtime.ts` уже проверяет fixed cause event плюс process exit/restart, но не является consumer этого native seal сценария. Root получил exact hash/call-chain; нужен targeted actual seal oracle, а не новый посторонний fault scenario. Operational function с optional fake arguments не запускалась.
|
||
|
||
**B2 — source-confirmed failover stale-receipt false-positive branch, OPEN pending binding.** Initial `scripts/acceptance-session.ts` завершает both-replica requirement только по наличию стабильных `failover-api1.json`/`api2.json`. Hook пишет эти пути без operation ID; coordinator не связывает contents/alias/container с текущим run. Один свежий успешный stop в повторном/частично resumed запуске и старые два файла позволяют early break/PASS. Это не опровергает результат первого совершенно пустого run; это конкретный loophole повторной приёмки. Root получил finding до native кейса. Доказательство текущих двух replicas должно исходить из фактически полученных свежих outcomes, не fileexist.
|
||
|
||
Прочитанная rotation последовательность не маскирует stale S3 secret revoked TLS: новый worker leaf устанавливается до old-secret permitted-prefix write; old TLS handshake отдельно проверяется fresh broker connection после CRL reload/drain. Root access нужен только оператору для revoke/KV CAS. Scope privilege assertions отличают permission denied от timeout, а recovery сравнивает IDs/SHA и реальные исходные bytes трёх synthetic uploads. Эти source наблюдения ещё не являются доказательством native rotation.
|
||
|
||
Ни успешный public check, ни config parse, ни агрегированный session PASS заранее не объявляются whole grade4/5. Dependency/image scan triage, полный leak/telemetry scope, HTTP login DoS и остальные original gates должны иметь собственное evidence либо оставаться явно открытыми. Чтение `auditArtifacts` установило его фактический ограниченный scope: выбранные generated services secrets/source files/3 app logs/effective app hardening; это не автоматическое доказательство всех возможных Bao tokens/images/telemetry leaks. Новых optional сценариев рецензент не назначает.
|
||
|
||
На initial этапе выполнены только public file reads/hashes и сохранение собственного snapshot. Файлы lab7 не правились. Дальнейшие разрешённые code/evidence readbacks перечислены ниже; operator credentials, raw protected responses и живой стенд не читаются/не трогаются.
|
||
|
||
## Granular bootstrap/policy followup
|
||
|
||
Независимо сверены exact новые public receipts:
|
||
|
||
```text
|
||
baec994118cd050e5405c45d6a695468454aacbb05db9c5726979c3c045072ed evidence/security/openbao-policy.json
|
||
12432240dc2ce6b3aad074ef3d843906f42d98e9a27405b0443fa1ca45b53df6 evidence/openbao/audit-configuration-f067.json
|
||
eb57f9d2135cb48ea49d3673ed451263fc3f9b130b30c6abe0ba67a9133dd561 evidence/openbao/bootstrap-f067e92a-cda6-499a-bde7-1aac49ccf373.json
|
||
```
|
||
|
||
Role proof сообщает API/worker lease60, own200/foreign403/policy-write403, native renew и revoked-new-request denial; same-CA forbidden identity400. Это author native observation с independent safe readback, не мой запуск. Persistent storage уже **pebbledb**, а не initial source `file`: root проверил поддержку native2.7.2 и разрешил минимальную замену. Изменённые implementation/config imports пока WIP; их final exact delta ещё ожидается. Прежний file source сохраняет historical initial hash, не выдаётся за реально принятый backend.
|
||
|
||
Root разрешил read-only ровно code file `.local/research/native-bao-bootstrap.ts`, SHA256 `db6130dbe44bd68ebf547e01da9b853180c98e235e8410ae729179f75126dc42`. Hash проверен перед чтением; он не исполнялся. Соседние keys/env/envelopes/private data не читались. Actual code проверяет own idle stand и112 lease, exclusively claims nonsecret receipt, начинает `try` до native Bao `up`; `finally` останавливает только own `openbao` и пишет stop_exit. COMPLETE ставится только после HTTPS init/unseal/seal-status, native audit guard, role/renew/revoke consumer и lease postguard. Это проверяет конкретный bootstrap outer caller, не отсутствие/наличие cleanup в общем ещё не предоставленном full runner.
|
||
|
||
Native bootstrap-f067 имеет statePASS/stageCOMPLETE/stop_exit0/source09fe112; wholeexit0 root отдельно подтвердил как author terminal outcome. `initialized_before:true`: этот успешный command доказывает reuse/unseal уже инициализированного Bao, а не сам по себе успешный fresh init. Первичные failed/bootstrap этапы не переименовываются. Full native app/Agent/expiry/seal/rotation acceptance из этого PASS не следует.
|
||
|
||
Audit summary связан с тем же wrapper SHA и bootstrap SHA. Прочитанный actual guard делает GET `/v1/sys/audit`, требует `response.data.data['file/'].type==='file'` и options.log_raw==='false' **до** policy phase. Raw successful response не retained; summary честно не выдаётся за его сохранённые bytes. Audit path `/bao/data/audit.log` и mode0600 помечены **declared config**, а не независимо измеренными native filesystem permissions. API audit creation выключена после native API400; declarative HCL требует собственного final source binding, который ещё ожидается.
|
||
|
||
B1/B2 остаются pending до exact исправленного actual consumer и соответствующих native outcomes. Работа не закрыта: полные whole exit/owned stop, Agent provider/renewal, expiry/seal/recovery и revoke/rotate/same-data recovery ещё не приняты этим отчётом.
|
||
|
||
## Frozen source followup f238; native continuation still pending
|
||
|
||
**SOURCE_ORACLE_FIXES_READ_BACK; NATIVE_REMAINDER_NOT_COMPLETE.** This section supersedes the initial B1/B2 source-open labels above, while preserving the original findings and granular bootstrap provenance. It does not convert either failed full command into PASS.
|
||
|
||
Reviewed manifest `evidence/openbao/review-replica-delta-e7bbcb62-6b84-4d23-b674-a88058eb30f4.json`, SHA256 `f2380e9179a1eacf10ca77627e4a737d6480be1ebabf880ed083f085e723768a`: every listed 26 source files, seven evidence files and four unchanged guards matched raw SHA before the independent copy. Explicitly authorized private **code only** outer `.local/research/native-security-remainder.ts` matched SHA256 `5fe7b18b48a5fb6b2ae0b551eb7ba99aa3f5d3cd5d63e868f7a21ea803bc58b7`. Independent immutable copy and raw manifest are in `/tmp/vp7-openbao-native-review-GFgfKP/delta-e7bbcb62/`. No neighboring private data was read and no operational entrypoint was imported or executed.
|
||
|
||
The earlier 7fcef manifest is retained historical evidence, not a silently advanced baseline: its CLAUDE no longer matched when copying was attempted. Root explicitly released it and supplied f238, with20 prior source files unchanged and six changed/new source entries. Historical old hook87257 is not claimed independently byte-read here; the docker-cp/tmpfs failure attribution comes from the owner's native failure and root readback.
|
||
|
||
B1 source closure: actual `extended.ts sealedLifecycle` now invokes `createSealedShutdown` (helper SHA0b3beaf30cfe561097ad64c5b858de442cfed40526a9e251dbdba7c38e228386). It establishes running owned immutable process IDs and finite/nonnegative/fresh file timestamps immediately before sealing. Production ports read timestamped Docker logs since seal and accept only fixed `secret_freshness_failed` events within the post-seal observed interval, together with the same container's exit or restart. Cause alone, unrelated restart, old/future event, replacement and stale/malformed baseline fail closed. Actual caller requires public503, unseals in finally, waits for renewed fresh material and processes a new attachment. Native seal/recovery remains pending; this is source-oracle closure, not a measured shutdown result.
|
||
|
||
B2 source closure: current `acceptanceRemainder` generates operation/attempt IDs, snapshots current replicas, passes IDs to the public hook and reads the unique receipt contents. `createFailoverReader` binds operation/attempt/service/alias/container and actual stopped state; only two distinct current services satisfy the Set. `stopOne` uses exclusive receipt creation and stops the exact ownership-verified immutable container. Old stable receipts cannot satisfy this caller. Replica snapshot SHAce33f22f0080d03d4adf06e0907a5b41774f7528b0ab51eaafcefa2ee84fb48a uses `docker exec <verified-id> /bin/cat /tmp/messenger-instance-id`, then verifies same ID, project, service, running state and start time. The production hooks call this required-port factory. Owner RED retained two failures/four controls; GREEN six tests/eight assertions. Independent isolated execution of these existing pure factories, not operational entrypoints, passed37tests/49assertions across sealed-shutdown, failover-proof, replica-snapshot and git-tracking-proof on Bun1.4.4. Exact command: `bun test student-tests/sealed-shutdown.test.ts student-tests/failover-proof.test.ts student-tests/replica-snapshot.test.ts student-tests/git-tracking-proof.test.ts`, workdir the independent f238 copy, exit0.
|
||
|
||
Portable Git proof source closure: actual canonical producer runs the original private-file query, records HEAD, exact operational source entryset/raw hashes, then repeats query/HEAD/snapshot. Native reader requires pinned proof bytes, exact query/empty successful result and identical current source generation. Production outer checks it before credentials and after acceptance; `auditArtifacts` also consumes it. Missing .git on native source is not misrepresented as an empty query. Proof scope expressly excludes mutable evidence/private runtime and nonoperational documents. The f238 checks receipt reports author native116TS, standard137tests/354assertions and format0; separate replica6/8 are not automatically counted in that standard suite. These author results are distinct from my37/49 isolated rerun.
|
||
|
||
Current server HCL SHA b5c17ff0d5d649b59d594f2e468bb587a10cecf89b9593278555cc63fe464fe1 now binds persistent PebbleDB, declarative file audit with log_raw=false/mode0600, TLS listener and request/time bounds. Init consumer preserves encrypted material before unseal; checked-cache branch verifies existing source112/09fe, pinned image and three binary hashes instead of implicitly building or pulling. Four prior guards remain byte-identical. This is a bounded delta readback, not a new backend/security audit.
|
||
|
||
Actual cleanup ownership is established from both supplied runners. `scripts/native-security.ts` owns the existing lifecycle helper before acceptance, claims a unique receipt, preserves prior evidence, and closes with own Compose profile stop plus current owned-container count. The authorized remainder outer pins four exact raw ancestor artifacts (failed outer/session, successful persistence and process snapshots) **before credentials**; requires ancestor stage PUBLIC_FAILOVER_0, runs only start→acceptanceRemainder and performs the same finally teardown, pre/post source/image/binary/Git guards. Its success state requires no primary failure, postguards, stop_exit0 and owned0. Thus lack of finally in acceptance library is not treated as runtime leak. No readback of the private operator material was performed.
|
||
|
||
Owner-native outcomes, not reviewer runtime: parent reports full session34156 wholeexit1 at PUBLIC_FAILOVER_0 with stop0; passed persistence is retained and must not be replayed. Remainder session96169 wholeexit1, stop0 and owned0 after two current-operation failovers and certificate-lifetime phase passed. Worker-compromise halted when the real revoked TLS code ERR_SSL_SSLV3_ALERT_CERTIFICATE_REVOKED was absent from the transport oracle allowlist; parent traced the actual method/caller and assigned the bounded fix. This does not prove completed S3 replacement, queued-data recovery, expiry or seal. f238 is now historical-before-that-transport-delta. Corresponding exact additive source/receipts and whole terminal outcome are still awaited. Full security, whole telemetry and grade remain false; existing source/archive historical scopes remain unchanged.
|
||
|
||
|
||
## Дельты rotation и sealed-only, текущий частичный результат
|
||
|
||
Exact manifest46874c4eef8410be72521b59b9d3e76ed781de1b883e8e96f915c228ff205696 сохранён в собственной копии delta-11ca257d:29source,9evidence,4guards и разрешённый только для чтения outer0eae0e3ab878d97f15f8b05d0117ab1cf39fcdde22a88240a0a4ad2c009d5698 совпали по rawSHA. Изменены только7declaredsource,22 прежних unchanged. Transport oracle теперь принимает конкретный измеренный ERR_SSL_SSLV3_ALERT_CERTIFICATE_REVOKED; timeout и application success остаются отказом проверки. Owner RED1fail/1control → GREEN2tests/4expect сохранён. Общий finishWorkerRotation используется и штатным сценарием, и continuation; encrypted checkpoint сохраняет pending/peer/token до будущих revocation. Continuation до credentials связывает d2partial/b583/audit810f/currentleaf, проверяет ровно те же3queued job IDs; после recovery проверяет неизменные IDs/SHA и native SigV4/mTLS S3 bytes. Старый actor API не восстанавливается и не заявлен проверенным. Standard selector теперь включает replica6; авторский CI116TS/144tests364expect/fmt0 не смешивается с прежним137/354.
|
||
|
||
Native65111 wholeexit1/stop0/owned0: по сообщению root same3jobs/bytes, artifact audit и expiry TTL60→403/fresh auth200 прошли. Failed command дошёл до recovery после seal, затем Compose увидел ещё unhealthy Bao. Точный retained partial4041ed4e01b40dc0358354e798ebed415fe38fe38b2f40447a87b6f8e21139ee независимо прочитан: auditedseal,3fixedcause и последующие die сохранены, но originalnumericbaseline утрачен; public503 был только source-attribution. Это PARTIAL, а не полная B1 приёмка. Root разрешил ровно один sealed-only повтор, без rotation/token/smoke.
|
||
|
||
Новый exact manifest108a4d354e28a4b812f99be13f773a253f9b2e3753dc2bdb3e4d9e7fd1cda913 сохранён в собственной delta-0b5b6fa3:31source/11evidence/4guards+authorizedouterc5a8153fa6ad3fe9583d091a3d4a7826e7f874ea878771684936185b40bfe687 совпали по rawSHA. Его8delta/23unchanged проверены относительно предыдущей копии. Required retainBaseline вызывается доseal; write failure запрещаетseal, latency записи требует повторной freshness проверки. Production caller пишет baseline, cause иpublic503 в operation-bound wx receipts доfinally recovery. Послеunseal bounded health wait10s/250ms проверяет закреплённый owned running container; затем запускаются dependants. Outer вызывает только start+sealedLifecycle, сpre/post112/image/binaries/Git guards иfinally ownstop/ownedcount. Мой isolated run `bun test student-tests/sealed-shutdown.test.ts student-tests/health-convergence.test.ts` в собственной delta-0b5b6fa3:21PASS/34expect/exit0; operational imports и services не исполнялись. Owner118TS/153tests379expect/fmt0 — отдельные native source checks.
|
||
|
||
Native26458 wholeexit1/stop0/owned0 сохранил полную B1 causal часть operation0e2ec040-cea8-4be2-89c6-45bb98490f8c. Exact raw receipts независимо прочитаны и хешированы:
|
||
|
||
```text
|
||
0465810b7c9c09fdc5989e4c5b97e4d0412acbcba05e7b118f5df1b4785de00d sealed-baseline-0e2ec040-cea8-4be2-89c6-45bb98490f8c.json
|
||
16a573c1ad4ef7eac37d6ec893ead060bff6ba9352f64a4749b614a8206ce82e sealed-cause-0e2ec040-cea8-4be2-89c6-45bb98490f8c.json
|
||
a7fb0625b718b485f4ee1343342b23f98e17c08e1e991b1dacd20ee28fb57d8d sealed-public-0e2ec040-cea8-4be2-89c6-45bb98490f8c.json
|
||
6f6521022472746384bdd14c18be1a68d0bafee2d485f9f880c0f1aa01140afd sealed-recovery-health-0e2ec040-cea8-4be2-89c6-45bb98490f8c.json
|
||
```
|
||
|
||
Все четыре находятся в evidence/security. Baseline: same3IDs/runningtrue/restarts0, исходный age4.798/3.798/3.798s. Cause receipt содержит identical parsed baseline/freshness, sealedAt послеstarted, fixedcause послеseal иsameID restarts1/2/2; observation120.767/122.233/125.932s укладывается в configured190s. Это измерение observation, не утверждение остановки строго≤120s. Public503 связан с той жеoperation/sealedAt. Native health convergence536ms/3reads прошёл. **B1 native baseline+cause+exit/restart+503 принят**; whole26458 остаётся FAILED: следующий guard SEALED_RECOVERY_NOT_FRESH обнаружил worker timestamp доseal при уже обновлённых API. Новыйseal не требуется. Нужна только bounded all3freshness/recovery-upload дельта и её exact native wholeexit/stop.
|
||
|
||
## Финальное scoped closure по native39107
|
||
|
||
**SCOPED_OPENBAO_NATIVE_ACCEPTANCE_PASS. Открытых подтверждённых findings в назначенном scope нет.** Закрыты B1/B2 и оставшаяся native Agent recovery; финальное продолжение проверило также обязательный bounded HTTP429/Retry-After сценарий. Это составной результат нескольких exact операций с сохранёнными parent hashes, а не переименование прежнего wholeFAIL в wholePASS. Старые разделы выше являются историей выявления и исправления; текущий verdict находится здесь и в начале отчёта.
|
||
|
||
Финальный freeze [review-final-recovery-http-ccf7e657-56c9-43a1-a50d-07a8bcf75cf0.json](../vp/lab7/evidence/openbao/review-final-recovery-http-ccf7e657-56c9-43a1-a50d-07a8bcf75cf0.json), rawSHA `cf7479294adb3f03435068ddb95d5488d9be5761d2cbfbc5b6105e09b3f718b4`:34source,16evidence,4guards и отдельно разрешённый outer code `.local/research/native-security-final-recovery-http.ts`, SHA `72bade69f852ffdd123cce8abe383922c82f61c9b91855c15de512432ad7182b`, полностью сверены по membership/rawSHA и сохранены в собственной immutable копии `/tmp/vp7-openbao-native-review-GFgfKP/delta-ccf7e657/`. Проверены только9declareddelta относительно108a4,25 прежних source unchanged. Backend112/09fe и четыре guards сохраняют исходные leases; повторного широкого backend/auth/Grafana audit не было.
|
||
|
||
Actual producer/consumer: production `sealedLifecycle` после native unseal ждёт закреплённый owned healthy Bao, перезапускает три Agent и через required-port convergence poll требует ровно три bounded ISO timestamps, все после seal, finite/nonfuture/age≤120000ms; poll budget120000ms/500ms. Следующая проверка снова читает свежие значения перед recovery upload. Controlled restart сбрасывает измеренный native retry backoff; он не имитирует successful render. Сохранённый safe proof `worker-agent-recovery-errors-0e2ec040.json`, SHA54f053de497a28916f665e07536740debe10c593422bbf7eac0463e75e820d90, сообщает17sealed errors, backoff до77.97s и ноль measured revoked/permission errors; это объясняет предыдущий worker stale, а не заменяет текущий successful render.
|
||
|
||
Финальный outer до credentials сверяет пять exact0e2 parent artifacts и native112/Git/image/binaries. Он вызывает только обычный start, controlled Agent restart/all3freshness, реальный recovery upload и bounded shared HTTP login case. Новый seal, rotation, token expiry, failover или полный public smoke не вызываются. Как и в предыдущих outer, lifecycle ownership установлен до side effects, отдельный receipt claimed через wx, прежние evidence сохранены, primary failure не заменяется cleanup diagnostic, finally останавливает только own Compose project и проверяет owned0. Финальный PASS требует no primary failure, postguards и successful teardown.
|
||
|
||
HTTP oracle соответствует реальному consumer: отдельно прочитаны существующие `Auth.Login` → repository `AllowLogin` → SHA256 firstUint16BE%4096 → atomic login_limits SQL и migration, создающая4096 buckets. Runtime выбирает разные неактивные main/control buckets, выполняет20main requests парами (max2inflight), требует10actor-correct201 и10JSON rate_limited429 с Retry-After1..60 и обоими expected replica aliases. Затем выполняет2other-account201 controls, повторно проверяет replica snapshot и native DB counters10/2. Ответы ограничены65КБ и5s/request; credentials и bodies private, identity checkpoint encrypted. Это функциональная shared-limit проверка22запросами, не full-service DoS и не capacity benchmark.
|
||
|
||
На собственной immutable копии выполнен только required-port pure run `bun test student-tests/health-convergence.test.ts student-tests/shared-login-case.test.ts`:23PASS/34expect/exit0 наBun1.4.4. Он проверяет actual factories, stale worker/invalid/future/oversize timestamps, deadline/error preservation, max2inflight, неверные actor/alias/status/body/Retry-After, expired window и отрицательные controls. Operational runtime entrypoints не импортировались/не запускались. Авторские native source checks121TS/169tests403expect/fmt0 из16evidence прочитаны отдельно; мои предыдущие37/49 и21/34 — targeted overlapping наборы, их нельзя складывать как новые независимые full suites.
|
||
|
||
### Exact финальные native artifacts
|
||
|
||
Все четыре rawSHA независимо пересчитаны и содержимое прочитано:
|
||
|
||
```text
|
||
68af885ede4aaa8a2c592de99067b59f19f6efd1cd538887a78ffb04b8170efc evidence/openbao/native-final-recovery-http-210df47b-593c-4fcf-b4f5-ecf0496eccb5.json
|
||
6de31e3a434c5be750d2cad8f27e58feb6b9310bd712a60393562910a2a48fa4 evidence/openbao/agent-recovery-210df47b-593c-4fcf-b4f5-ecf0496eccb5.json
|
||
14ec7623221ccb719f9423149221c5a6e03a576f39a054930d5108094900ffe1 evidence/openbao/recovery-upload-210df47b-593c-4fcf-b4f5-ecf0496eccb5.json
|
||
31ce0abd53b08a0d93fed75d02b09eac72dbbe945c39848196bf5aea913e60a5 evidence/security/shared-login-210df47b-593c-4fcf-b4f5-ecf0496eccb5.json
|
||
```
|
||
|
||
[Final outer receipt](../vp/lab7/evidence/openbao/native-final-recovery-http-210df47b-593c-4fcf-b4f5-ecf0496eccb5.json) связывает operation210df с inner sameoperation, current Git9a629/source896fde, backend112/09fe и pinned image10ba7. State `PASS_NATIVE_REMAINING_RECOVERY_AND_HTTP`, stageCOMPLETE, postguards=true, stop_exit0, stop12.021s, remaining_owned_containers0, primary_details_private=false. Whole CLI session39107/scope `run-p1675541-i31051882.scope`/invocation `fd3c277284a746acae3c523ba82a3808` exit0 передан root как **author-observed terminal completion**, не выведен мною из receipt state и не назван собственным runtime. Отдельные future control-plane projections могут привязать это terminal observation без изменения старых receipts.
|
||
|
||
[Agent recovery](../vp/lab7/evidence/openbao/agent-recovery-210df47b-593c-4fcf-b4f5-ecf0496eccb5.json) содержит exact raw parent map0e2, native timestamps api1/worker=1794829869000, api2=1794829870000 — все после исходного seal1794829097985. Actual freshness guard успешно завершился за0ms/1read после controlled restart; это не означает отсутствие предшествующей startup/restart latency. [Recovery upload](../vp/lab7/evidence/openbao/recovery-upload-210df47b-593c-4fcf-b4f5-ecf0496eccb5.json) связывает тот же parent, реальное вложение7ae0ef95-41c8-4900-b06a-e22bc3beefc6, native Bao Agent provider и равенство скачанных bytes fixtureSHA99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75. Таким образом, оставшаяся recovery часть B1 закрыта без повторного seal.
|
||
|
||
[Shared login](../vp/lab7/evidence/security/shared-login-210df47b-593c-4fcf-b4f5-ecf0496eccb5.json) содержит22actual observations: main20 с10accepted/10denied за1376ms, затем2controls201; каждая429 имеет Retry-After60, оба expected aliases получают denial. Native buckets855/3200 имеют attempts10/2, max_inflight2, request_budget22, full_service_dos_measured=false. Runtime source дополнительно проверил JSON errorCode и accepted actor ID; receipt не содержит credential-bearing bodies. [Inner session](../vp/lab7/evidence/security/final-recovery-session-210df47b-593c-4fcf-b4f5-ecf0496eccb5.json), SHA839a74f9f55ffd149ea586065b7d6da6963dee458128c9a30fef3c718db0a001, связывает sameoperation/parents/login path.
|
||
|
||
### Составной acceptance и сохранённые ограничения
|
||
|
||
- Bootstrap/policy f067: HTTPS native2.7.2/PebbleDB, scoped own200/foreign/admin403, lease60, renew/revoke. initialized_before=true доказывает reuse/unseal; этот успешный run сам по себе не является fresh-first-init proof. Audit path/mode declared, native GET device/log_raw guard отдельно.
|
||
- Failed34156: public security/persistence были выполнены до failure PUBLIC_FAILOVER_0. Wholeexit1/stop0 сохраняется. Failed96169: оба operation-bound replica failover и certificate lifetime выполнены до transport oracle failure; wholeexit1/stop0/owned0 сохраняется. Current receipt history pins failover hashes b6138f… (api1) и639771… (api2); оба exact receipts независимо прочитаны, имеют однуoperatione639 и разные attempts/services/current containers, before_running=true/running=false/volumes_removed=false. B2 закрыт source+native outcomes, а не fileexists.
|
||
- Failed65111: recovery тех же3original queued jobs, artifacts и token expiry выполнены до sealed recovery race. [Rotation recovery](../vp/lab7/evidence/openbao/rotation-recovery-885c8009-d46d-4296-80b7-086e85b58dfe.json), SHA43ffb2da058c210e39135565d1bf6c2e842c6bf4b10d2564c9fd98e2b7b947ae, независимо прочитан: exact3attachment/jobIDs изd2partial стали ready/completed, S3HTTP200/111817bytes/fixtureSHA99ea, no repeated revoke/new rotation uploads. Original actor API token не сохранён; recovery доказана DB IDs/checksums+native SigV4/mTLS S3 bytes, а не восстановленным peer API доступом. Worker proof SHA2d847a150e02c9b3606ed808ca19a998bf6d43461842f1943322a059991674fe и token expiry SHA858ab43f5238a01cce1c2496eb317cf03b49b311570be56c49d1f479fbeb0f6e совпали с raw hashes final history. Token proof имеет initial200, TTL60, expired403 и freshsame-role200. Old-token denial продолжения атрибутирован предшествующему native audit/error и пройденному source guard; потерянный token не назван повторно проверенным.
|
||
- Failed26458: original baseline/cause/public5030e2 полностью сохранены и приняты; recovery guard worker stale завершил wholeexit1/stop0/owned0. Последний39107 закрыл только remaining recovery+bounded HTTP и wholeexit0/stop0/owned0. Ни один failed whole result не переписан в PASS.
|
||
|
||
Все native результаты — observations автора t67 с independent safe artifact/source readback. Собственный reviewer runtime ограничен чистыми required-port tests. Приватные keys/env/envelopes/credentials и raw secret-bearing response/log data не читались; разрешённые `.local/research` файлы были только code, сверенный по exactSHA.
|
||
|
||
Подтверждённых незакрытых дефектов в назначенном Bao/renew/expiry/seal/role/rotation/HTTP acceptance scope нет. Полный security/telemetry/grade остаётсяfalse согласно actual final outer; functional429 не доказывает full DoS, выбранный artifact secret scan не доказывает отсутствие всех возможных утечек, source scans имеют отдельный review. Canonical Dockerfile build, final composite/control-plane documentation и новый canonical ZIP/independent archive readback — отдельные этапы владельца, не результат этого native review. Исторический ca313 и reviews665/524/1c789 не изменялись и не выдаются за новый Bao-complete archive. Модели СИИ и их большие загрузки остаются вне данного разрешения.
|
||
|
||
**Отдельный новый CLI portability followup, вне завершённого native39107.** Root установил, и exactcf747 `lab.ts accept` независимо перечитан: ordinary CLI передаёт в acceptanceSession толькоpassword/runtimeMode, поэтому default GitSource=`native-git` не использует уже существующий pinned canonical proof в ZIP без.git. Проверенные native outer явно передают canonical-proof и этим дефектом не затронуты. Root назначил минимальный parser/early reader и pure tests; до его targeted readback обычный переносимый CLI accept не объявляется готовым. Это известный open delivery/source followup, а не причина повторять nativecases или менять их source generation задним числом.
|