From b5a9a43cddc2f6d04aa4d03e25d3b49de6c95d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Franco?= Date: Sun, 22 Nov 2026 12:13:24 +0100 Subject: [PATCH] docs(speckit): refresh code inventory --- specs/001-baseline/code-inventory.md | 11 ++++++----- specs/001-baseline/spec.md | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/specs/001-baseline/code-inventory.md b/specs/001-baseline/code-inventory.md index 95f4fa1..818207e 100644 --- a/specs/001-baseline/code-inventory.md +++ b/specs/001-baseline/code-inventory.md @@ -2,8 +2,8 @@ **Baseline spec**: [`spec.md`](spec.md) **Package**: `nowo-tech/routing-kit-bundle` -**Last audited**: 2026-11-16 (1.17.0) -**Coverage summary**: **89/89** files under `src/` mapped (see [Coverage summary](#coverage-summary)). PHPUnit line coverage target 100% of included `src/` PHP (optional SeoKit bridge files may be excluded from the coverage denominator when SeoKit is not installed). +**Last audited**: 2026-11-22 (1.19.0) +**Coverage summary**: **94/94** files under `src/` mapped (see [Coverage summary](#coverage-summary)). PHPUnit line coverage target 100% of included `src/` PHP (optional SeoKit bridge files may be excluded from the coverage denominator when SeoKit is not installed). Every production file under `src/` maps to one or more baseline `FR-*` requirements. @@ -114,6 +114,7 @@ Every production file under `src/` maps to one or more baseline `FR-*` requireme | `Twig/RoutingKitTwigExtension.php` | Panel Twig globals (1.x; deprecated since 1.9). | FR-08, FR-14 | | `Panel/PanelView.php` | Renders panel pages on the UiKit page contract (template per page, layout, nav, role-gate flag) — spec 004. | FR-08, FR-14 | | `Panel/PanelChrome.php` | Deprecated 1.x class / partial maps and their bridge into `nowo_ui_kit.theme.bundles` — spec 004. | FR-14 | +| `Panel/HeaderActionsPlacement.php` | `web_ui.header_actions` enum (`buttons` default, `page_actions`): header actions as buttons or as items of UiKit's page-actions menu (UiKit 2.21+); stateless (1.19.0). | FR-25 | | `Controller/UrlRedirectPanelController.php` | URL redirects panel (list, new, edit, delete with confirmation). | 002 REQ-REDIR-007 | ## Seo @@ -168,7 +169,7 @@ Every production file under `src/` maps to one or more baseline `FR-*` requireme ## Coverage summary -Audit command: `git ls-files src | wc -l` (2026-10-28). +Audit command: `git ls-files src | wc -l` (2026-11-22). | Category | Files | Mapped | | --- | ---: | ---: | @@ -181,10 +182,10 @@ Audit command: `git ls-files src | wc -l` (2026-10-28). | Events and subscribers | 10 | 10 | | Security | 4 | 4 | | Form | 4 | 4 | -| Service and controller | 9 | 9 | +| Service and controller | 10 | 10 | | Seo | 2 | 2 | | YAML configuration | 3 | 3 | | Twig views | 10 | 10 | | URL redirects (`src/Redirect/`, since 1.6.0) | 12 | 12 | | Translations | 7 | 7 | -| **Total production files (`git ls-files src`)** | **93** | **93** | +| **Total production files (`git ls-files src`)** | **94** | **94** | diff --git a/specs/001-baseline/spec.md b/specs/001-baseline/spec.md index 1159900..4341d2c 100644 --- a/specs/001-baseline/spec.md +++ b/specs/001-baseline/spec.md @@ -36,6 +36,7 @@ Routing Kit Bundle provides **DB-driven (pluggable) locale paths** for Symfony: | FR-22 | Operator URL redirects (opt-in `url_redirects`) per [`002-url-redirects`](../002-url-redirects/spec.md) `REQ-REDIR-001` … `REQ-REDIR-009`. | | FR-23 | Hosts type against `RoutePathManagerInterface`, `PublicPathResolverInterface`, `UrlRedirectMatcherInterface` and `UrlRedirectManagerInterface` (aliased to the defaults, 1.17.0); ports, events and value objects carry no Doctrine / HttpFoundation / Form types (REQ-ARCH-001, [`docs/ARCHITECTURE.md`](../../docs/ARCHITECTURE.md)). | | FR-24 | Concurrency (REQ-RUNTIME-003, [`docs/CONCURRENCY.md`](../../docs/CONCURRENCY.md)): every JSON store lock wait is bounded by `storage.lock_timeout` (`StorageLockTimeoutException`, a `TransientStorageFailure`); on the bundle's admin routes a lock timeout answers 409 (or `conflict_response.status`) + `X-Conflict-Code: CONFLICT_001` + `Retry-After`, or `CONFLICT_002` without `Retry-After` when the request had already written; host routes are never answered. | +| FR-25 | Header actions placement (1.19.0): `web_ui.header_actions` (`HeaderActionsPlacement`: `buttons` default, `page_actions`) places the header actions of the paths and redirects lists (New, Export, Import, Clear cache; New redirect) as a button each or as items of UiKit's square page-actions menu (split header, no filled primary button); the actions keep kind, target, POST + CSRF form, dialog opener and attributes, and a host compact header reads the same `PageHeader::$actions`. Needs UiKit 2.21+ (older keeps the buttons). Stateless. | ## User scenarios