Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 6 additions & 5 deletions specs/001-baseline/code-inventory.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 |
| --- | ---: | ---: |
Expand All @@ -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** |
1 change: 1 addition & 0 deletions specs/001-baseline/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down