Поставка принятого Эпика 3 (stories 3.6–3.17) без Story 3.18 #97

Closed
bsodfather wants to merge 0 commits from delivery/epic3-through-3.17 into main
pull from: delivery/epic3-through-3.17
Owner

Восстановление обычной поставки принятой работы Эпика 3 (stories 3.6–3.17). Код был принят TL/QA на доске, но никогда не попадал в Git: последний merged commit main — 1b6db09. Ветка содержит ровно принятый scope, без Story 3.18 (она ещё в работе и не принята).

Принятый scope

  • 3.6 typed static Resource Drafts; 3.7 публикация и точная привязка static Resource Versions; 3.8 MCP discovery/read и отзыв static Resources;
  • 3.9 import/export Resources в API и UI + обслуживание TLS-зависимостей; 3.10 REST-backed Resource templates; 3.11 общий REST read runtime и фундамент MCP revisions/capabilities;
  • 3.12 parameterized Prompt Drafts; 3.13 публикация Prompts и точная привязка версий к Agent; 3.14 MCP prompts; 3.15 import/export Prompts;
  • 3.16 составной Prompt из опубликованных Resources (scan содержимого зависимости + dynamic read через принятый runtime 3.11, admin preview и MCP prompts/get);
  • 3.17 bounded MCP completion по typed опубликованным схемам и исправление admission resources/list для привязанного шаблона.

Источник приёмки: карточки TL/QA на доске crank (3.16 — t_085ebb2f, 3.17 — t_e656b69f, QA t_f63d82c1, t_a66480a3).

Что исключено и почему

  • Story 3.18 (безопасные MCP-сообщения сервера) не принята: её logging-capability, регистрация методов, проекции capability inventory и тесты из этого дерева убраны. Capability inventory описывает logging, logging/setLevel, notifications/message как deferred с владельцем story 3.18.
  • Build-кэши, runtime-БД, реальные credentials и scratch-evidence в Git не попадают.

Проверки на этом дереве (commit 54ce770)

  • validate-capability-inventory.py → valid (50 protocol items, gap=0); validate-capability-baseline.py → passed; python3 -m unittest discover -s tests/unit → 295 OK;
  • cargo fmt --all --check → OK; cargo clippy -p crank-community-mcp -p mcp-server --all-targets --all-features -- -D warnings → OK;
  • cargo test -p crank-community-mcp --lib → 71 passed;
  • cargo test -p mcp-server --test integration -- revision_matrix inventory_projection → 102 passed / 0 failed;
  • cargo test -p mcp-server --test integration -- composition static_resources mcp_completion mcp_prompts → 47 passed / 0 failed / 1 ignored;
  • точечно: list_stays_available_when_a_published_template_is_bound (3.17) → ok; mcp_prompts::composition (3.16) 4/4 ok, включая get_reads_a_dynamic_dependency_through_the_resource_runtime;
  • принятые native-прогоны 3.16/3.17 (1651/0 и 1672/0) переиспользуются для неизменённых путей по validation-policy.

CI/CD в этом PR

  • один event на изменение: feature-ветки гейтятся pull request'ом, push-CI остаётся только на main;
  • story-event прогоняет затронутые пакеты (если меняется общий build-вход, включая Cargo.lock, — весь workspace), полный workspace-suite остаётся feature/release-гейтом на main; cache/sharding не включены до измерения runner/изоляции;
  • release workflow теперь публикует архивы, checksums и SBOM в Gitea Release тега, а не теряет их с runner'ом.

Чего в этом PR нет

Merge в main не выполняется: push в main запускает job deploy (production). Одобренного target/backup/rollback в этой задаче нет, поэтому merge — отдельное решение владельца после зелёных гейтов.

Восстановление обычной поставки принятой работы Эпика 3 (stories 3.6–3.17). Код был принят TL/QA на доске, но никогда не попадал в Git: последний merged commit main — `1b6db09`. Ветка содержит ровно принятый scope, **без Story 3.18** (она ещё в работе и не принята). ## Принятый scope - 3.6 typed static Resource Drafts; 3.7 публикация и точная привязка static Resource Versions; 3.8 MCP discovery/read и отзыв static Resources; - 3.9 import/export Resources в API и UI + обслуживание TLS-зависимостей; 3.10 REST-backed Resource templates; 3.11 общий REST read runtime и фундамент MCP revisions/capabilities; - 3.12 parameterized Prompt Drafts; 3.13 публикация Prompts и точная привязка версий к Agent; 3.14 MCP prompts; 3.15 import/export Prompts; - 3.16 составной Prompt из опубликованных Resources (scan содержимого зависимости + dynamic read через принятый runtime 3.11, admin preview и MCP `prompts/get`); - 3.17 bounded MCP completion по typed опубликованным схемам и исправление admission `resources/list` для привязанного шаблона. Источник приёмки: карточки TL/QA на доске crank (3.16 — `t_085ebb2f`, 3.17 — `t_e656b69f`, QA `t_f63d82c1`, `t_a66480a3`). ## Что исключено и почему - **Story 3.18** (безопасные MCP-сообщения сервера) не принята: её logging-capability, регистрация методов, проекции capability inventory и тесты из этого дерева убраны. Capability inventory описывает `logging`, `logging/setLevel`, `notifications/message` как `deferred` с владельцем story 3.18. - Build-кэши, runtime-БД, реальные credentials и scratch-evidence в Git не попадают. ## Проверки на этом дереве (commit 54ce770) - `validate-capability-inventory.py` → valid (50 protocol items, gap=0); `validate-capability-baseline.py` → passed; `python3 -m unittest discover -s tests/unit` → 295 OK; - `cargo fmt --all --check` → OK; `cargo clippy -p crank-community-mcp -p mcp-server --all-targets --all-features -- -D warnings` → OK; - `cargo test -p crank-community-mcp --lib` → 71 passed; - `cargo test -p mcp-server --test integration -- revision_matrix inventory_projection` → 102 passed / 0 failed; - `cargo test -p mcp-server --test integration -- composition static_resources mcp_completion mcp_prompts` → 47 passed / 0 failed / 1 ignored; - точечно: `list_stays_available_when_a_published_template_is_bound` (3.17) → ok; `mcp_prompts::composition` (3.16) 4/4 ok, включая `get_reads_a_dynamic_dependency_through_the_resource_runtime`; - принятые native-прогоны 3.16/3.17 (1651/0 и 1672/0) переиспользуются для неизменённых путей по validation-policy. ## CI/CD в этом PR - один event на изменение: feature-ветки гейтятся pull request'ом, push-CI остаётся только на `main`; - story-event прогоняет затронутые пакеты (если меняется общий build-вход, включая Cargo.lock, — весь workspace), полный workspace-suite остаётся feature/release-гейтом на `main`; cache/sharding не включены до измерения runner/изоляции; - release workflow теперь публикует архивы, checksums и SBOM в Gitea Release тега, а не теряет их с runner'ом. ## Чего в этом PR нет Merge в `main` не выполняется: push в `main` запускает job `deploy` (production). Одобренного target/backup/rollback в этой задаче нет, поэтому merge — отдельное решение владельца после зелёных гейтов.
bsodfather added 1 commit 2026-10-25 09:08:49 +00:00
feat(epic3): deliver the accepted Epic 3 scope through Story 3.17
CI / Rust Checks (pull_request) Failing after 13m41s
CI / UI Checks (pull_request) Skipped
CI / Frontend E2E (pull_request) Skipped
CI / Community Image Smoke (pull_request) Skipped
CI / Deploy (pull_request) Skipped
Community Release / release (push) Failing after 13m33s
54ce770682
Recovery delivery of the accumulated, TL-accepted Epic 3 work that had never been
committed to Git (stories 3.6-3.17, see the crank board). Story 3.18 is not accepted
yet and is deliberately excluded: its logging surface, its capability registration,
its oracle projections and its tests are not part of this tree.

Accepted scope
- 3.6 typed static Resource Drafts; 3.7 publication and exact binding of static
  Resource Versions; 3.8 MCP discovery/read and revocation of static Resources;
- 3.9 Resource import/export in API and UI plus TLS dependency maintenance;
  3.10 REST-backed Resource templates; 3.11 shared REST read runtime and the MCP
  revision/capability foundation;
- 3.12 parameterised Prompt Drafts with preview; 3.13 Prompt publication and exact
  version binding to Agents; 3.14 MCP prompts; 3.15 Prompt import/export;
- 3.16 composite Prompts with published Resources (dependency content scan plus
  dynamic read through the accepted 3.11 runtime, admin preview and MCP prompts/get);
- 3.17 bounded MCP completion suggestions from typed published schemas and the
  resources/list admission fix for bound template publications.

Accepted evidence being reused (unchanged code paths)
- 3.16 candidate: core 7, admin-api 22, registry 4, mcp-server 4, UI 6; one final
  `just verify` run 1651 passed / 0 failed / 2 ignored.
- 3.17 candidate: full run 1672 passed / 0 failed / 2 ignored, QA targeted reruns and
  a real MCP Inspector 2.12.0 client smoke.

Delivery engineering in this commit
- CI: one event per change (feature branches are gated by their pull request, push
  runs only on main), story events run the changed packages, the full workspace suite
  stays the feature/release gate; no cache/sharding without a measured runner check.
- Release: the packaged archives, checksums and SBOM are now uploaded to the Gitea
  release entry of the tag instead of dying with the runner workspace.

Not included on purpose: Story 3.18 work, build caches, runtime databases, local
credentials and scratch evidence.

Refs: crank kanban t_e39d7263; baseline 1b6db09bd1.
bsodfather added 1 commit 2026-10-25 09:27:56 +00:00
fix(ci): pass the community scope guard and publish release artifacts before registry steps
CI / Rust Checks (pull_request) Canceled after 38m52s
CI / UI Checks (pull_request) Canceled after 0s
Community Release / release (push) Canceled after 38m39s
CI / Frontend E2E (pull_request) Canceled after 0s
CI / Community Image Smoke (pull_request) Canceled after 0s
CI / Deploy (pull_request) Canceled after 0s
9567bbf3aa
- the community scope guard rejected the innocuous English comment 'One timed
  resources/list' in the Story 3.8 discovery diagnostic (its 'one-time-token'
  marker matches any 'one time' phrase). Reword the comment; no behaviour change.
- move the release artifact publication ahead of the registry/OpenBao steps, so a
  credential problem cannot leave the archives, checksums and SBOM unpublished.
bsodfather added 1 commit 2026-10-25 10:18:10 +00:00
ci: validate accepted stories with targeted ATDD and gate feature checks
CI / UI Checks (pull_request) Successful in 10s
CI / Rust Checks (pull_request) Failing after 25m35s
CI / Rust Feature Validation (pull_request) Skipped
CI / Frontend E2E (pull_request) Skipped
CI / Community Image Smoke (pull_request) Skipped
CI / Required Checks (pull_request) Failing after 1s
CI / Deploy (pull_request) Skipped
1baeefe889
bsodfather added 1 commit 2026-10-25 10:32:29 +00:00
ci: run the Story 3.16 composite-prompt ATDD in the story gate
CI / UI Checks (pull_request) Successful in 8s
CI / Rust Checks (pull_request) Canceled after 19m49s
CI / Rust Feature Validation (pull_request) Canceled after 0s
CI / Frontend E2E (pull_request) Canceled after 0s
CI / Community Image Smoke (pull_request) Canceled after 0s
CI / Deploy (pull_request) Canceled after 0s
CI / Required Checks (pull_request) Failing after 1s
e57ab47c05
The recovery branch publishes Story 3.16 together with Story 3.17, so the targeted story gate
must exercise both accepted user outcomes: composite Prompts with published Resources and the
bounded completion/resources-list admission of 3.17.
bsodfather added 1 commit 2026-10-25 10:59:19 +00:00
fix(test): isolate Valkey in the CI job network and bound readiness
CI / UI Checks (pull_request) Successful in 8s
CI / Rust Checks (pull_request) Successful in 6m1s
CI / Rust Feature Validation (pull_request) Skipped
CI / Frontend E2E (pull_request) Skipped
CI / Community Image Smoke (pull_request) Skipped
CI / Required Checks (pull_request) Successful in 1s
CI / Deploy (pull_request) Skipped
Community Release / release (push) Failing after 18m56s
12d8a3d490
bsodfather added 1 commit 2026-10-25 11:37:29 +00:00
fix(release): publish assets to the public HTTPS Gitea origin
CI / UI Checks (pull_request) Successful in 8s
CI / Rust Checks (pull_request) Successful in 6m53s
CI / Rust Feature Validation (pull_request) Skipped
CI / Frontend E2E (pull_request) Skipped
CI / Community Image Smoke (pull_request) Skipped
CI / Required Checks (pull_request) Successful in 1s
CI / Deploy (pull_request) Skipped
Community Release / release (push) Failing after 38m13s
aed83268a0
The release job container sees gitea.server_url as the internal
http://gitea:3000 origin, so scripts/ci-release-assets.py refused to
forward its token (run 865 failed at the publish step after packaging).
Point the publisher at https://git.itexp.me, the origin the repository
already uses for the public URL.
Author
Owner

Поставка recovery-кандидата (DevOps)

Head PR: aed83268a0ae419b6def99375ff... (см. remote: git ls-remote --heads origin delivery/epic3-through-3.17 = aed83268a0ae419b6def99375cf6bb94410da690).
CI на этом SHA: run 867 — CI / Required Checks success, CI / Rust Checks success (6m53s), CI / UI Checks success. Feature/e2e/deploy job'ы skipped (story-уровень, как задумано).

Prerelease: https://git.itexp.me/bsodfather/crank/releases/tag/v0.4.0-rc.4 (tag deref = aed8326)
Проверено скачиванием: 5 ассетов (admin-api+crank-migrate, mcp-server, ui dist, checksums, SPDX SBOM, 29 MB), sha256sum -c — все OK; бинарники — реальные ELF x86-64 и запускаются (выводят типизированные config-диагностики).

Последний коммит aed8326 — только wiring публикации: release-job видел gitea.server_url как внутренний http://gitea:3000, и scripts/ci-release-assets.py отказывался отправлять туда токен. Теперь публикация идёт на https://git.itexp.me. Предыдущий прогон (run 865, v0.4.0-rc.3) упал именно здесь после успешной упаковки — ассетов у rc.3 нет.

Что осталось красным и почему: в run 869 Build and push release images заблокирован security-гейтом сканирования: image scan gate: blocked (3 blocking, 0 excepted) для UI-образа (admin-api и mcp-server прошли: pass, 0 blocking / 1 excepted). Поэтому контейнерные образы v0.4.0-rc.4 в registry не отправлены. Гейт не ослаблялся; это отдельное finding по базовому alpine/nginx-слою и требует правки зависимостей UI-образа, а не повторного прогона.

Не сделано намеренно: merge в main — push в main запускает deploy (production), нужен одобренный target/backup/rollback.

## Поставка recovery-кандидата (DevOps) **Head PR:** `aed83268a0ae419b6def99375ff...` (см. remote: `git ls-remote --heads origin delivery/epic3-through-3.17` = `aed83268a0ae419b6def99375cf6bb94410da690`). **CI на этом SHA:** run 867 — `CI / Required Checks` success, `CI / Rust Checks` success (6m53s), `CI / UI Checks` success. Feature/e2e/deploy job'ы skipped (story-уровень, как задумано). **Prerelease:** https://git.itexp.me/bsodfather/crank/releases/tag/v0.4.0-rc.4 (tag deref = `aed8326`) Проверено скачиванием: 5 ассетов (admin-api+crank-migrate, mcp-server, ui dist, checksums, SPDX SBOM, 29 MB), `sha256sum -c` — все OK; бинарники — реальные ELF x86-64 и запускаются (выводят типизированные config-диагностики). **Последний коммит `aed8326`** — только wiring публикации: release-job видел `gitea.server_url` как внутренний `http://gitea:3000`, и `scripts/ci-release-assets.py` отказывался отправлять туда токен. Теперь публикация идёт на `https://git.itexp.me`. Предыдущий прогон (run 865, `v0.4.0-rc.3`) упал именно здесь после успешной упаковки — ассетов у rc.3 нет. **Что осталось красным и почему:** в run 869 `Build and push release images` заблокирован security-гейтом сканирования: `image scan gate: blocked (3 blocking, 0 excepted)` для **UI-образа** (admin-api и mcp-server прошли: pass, 0 blocking / 1 excepted). Поэтому контейнерные образы `v0.4.0-rc.4` в registry не отправлены. Гейт не ослаблялся; это отдельное finding по базовому alpine/nginx-слою и требует правки зависимостей UI-образа, а не повторного прогона. **Не сделано намеренно:** merge в `main` — push в `main` запускает `deploy` (production), нужен одобренный target/backup/rollback.
Author
Owner

Интеграция выполнена объединяющим PR #105, main 599dc1867b. Head этого PR полностью входит в main. Закрываю заменённую заявку; исходные ветки и теги сохраняются. Production deploy отделён от merge и не запускался.

Интеграция выполнена объединяющим PR #105, main 599dc1867b25fbe607868a324389118669c0befa. Head этого PR полностью входит в main. Закрываю заменённую заявку; исходные ветки и теги сохраняются. Production deploy отделён от merge и не запускался.
bsodfather closed this pull request 2026-10-26 21:37:25 +00:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.