Skip to content

[RFC / Architecture] Extract Wiki and docs into a standalone PHP package, CLI, skill and automation #367

Open
0 of 2 issues completed

Description

@coisa

Objective and current scope

Prove that documentation generation and site assembly can run outside the DevTools production runtime without changing the consumer. The first draft PR is an isolated comparison harness in DevTools; clock is read-only source. Compare API HTML, RST guides and Wiki Markdown, and verify assembly with external reports. Do not publish Pages/Wiki, change consumer workflows/lock files or release anything. The standalone engine, CLI/versioned PHAR, workflow, assets, skill and guides are tracked in documentation#1, after independent review of this proof. The proof and the package are independent of a Testing release. #367 remains open for DevTools compatibility and incremental adoption after this proof, not as a second implementation of the package. Scope decision.

Fixed references and reproducibility

  • Use clock@a739cbff8bc8eff6e61d612c2f9d4c40263819a8 on both sides. It uses DevTools dev-main and has no lock at that SHA. Freeze the resolved dependency graph in a disposable workspace, with no writes to the consumer checkout. The new lock does not reconstruct historical CI. If historical bytes cannot be verified, label the evidence comparison against legacy frozen for this proof, not a reproduction of historical CI.
  • Legacy generation references: docs runtime/template resolution at DevTools 105e9f5f533f8ebdc902071d1627cbf880d33a0a; Wiki generation stage, whose workflow and runtime are distinct (runtime d5a3b7eec9896f9ea50974ff09b23c32887acbc0). Do not run dev-tools reports: it invokes tests and metrics instead of only consuming supplied reports. Do not reuse the hosted Composer setup, which supplies a GitHub token; use local generation without credentials.
  • The proof manifest separates what was resolved (lock/versions, PHP/Composer/extensions, fixed source/revisions) from what actually ran. For each side and separately for HTML and Wiki record the effective executable/renderer path, actual bytes SHA-256 and source/package revision, plus the effective template/config revision or explicit not applicable. Resolve paths before recording; if a renderer or template resolves outside the frozen environment, reject comparability. Record the exact source, harness base/head, frozen inputs and commands so QA can rerun in a clean clone.

Verifiable acceptance

  • Generate baseline and candidate in clean output directories, from the same source SHA and inputs. Compare API pages/anchors, RST guide rendering, Wiki Home/API pages, internal links and hashes of Dash/logo and other scoped assets. Keep the external template/brand ownership. Require non-empty Home.md for clock; in a no-API control require explicit skip, with guide-only HTML supported. List any volatile differences excluded from comparison and why. Do not overwrite manual Wiki content or modify live publishing behavior.
  • Assemble the site separately with the same inert static coverage/metrics fixtures. Verify producer, source repo/SHA and SHA-256 (or per-file manifest) against separately supplied expected identity before copying. Reject unsafe paths, symlinks and executable report payloads; verify landing-page links and final bytes at report routes. Missing, corrupted or wrong-source reports fail when requested; unrequested reports may be omitted.
  • Record attempted invocations and fail if tests, metrics or publishers are invoked. Prove guard failures independently from output comparison. Run in a clean, unprivileged workspace without GitHub/publishing credentials. Report comparison and negative controls on exact base/head; QA and review are independent.

Dependencies and first step

After the operator clears claim/code/push and ownership is confirmed, Software Engineer uses t_709d8da2 to prepare the isolated draft; QA t_e8d8d186 and review t_2aba1848 verify the candidate on the exact head. Only then proceed to the package in documentation#1. #238 governs immutable refs for later adoption and #384 owns DevTools composition; never activate an unpublished version. Later compatibility/pilot cohorts must refresh the consumer inventory, preserve custom/manual content and document rollback before any migration. Actual publishers, previews, release and activation require separate gates.

Historical RFC and evidence

The 2026-10-14 inventory examined 40 repositories and identified 14 immediate migration targets, including DevTools: 12 shared Wiki callers and two custom publishers; ten native Pages wrappers, two legacy wrappers, the DevTools producer and one custom HTML/report consumer. These are historical, not current rollout counts. The original RFC considered a packaged Docker runtime and publication as part of a larger proposal; the current proof excludes those, and the standalone package uses a versioned PHAR. Moving YAML alone would retain the DevTools dependency, splitting HTML and Wiki would duplicate discovery, and moving the engine into phpdoc-bootstrap-template would mix tooling with visual ownership. Prior body revisions and the deep dives retain the original evidence: runtime and ownership, library/CLI/skill/release, publisher trust, consumer inventory, validation and rollback. Effective consumer settings for Pages/Wiki and secret grants were not verified by the old inventory.

Sub-issues

Sub-issues

0 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    documentation
    enhancement
    on Oct 14, 2026
  2. added theissue type on Oct 14, 2026
  3. coisa commented on Oct 14, 2026

    @coisa
    ContributorAuthor

    Deep dive: current code, dependencies and ownership

    Evidence

    The source baseline is DevTools main c637e7f9d8ae6059b8655996e56f6d17f874792c.

    Source Responsibility observed Extraction decision
    DocsCommand 280 lines, six constructor dependencies; resolves source/template/cache/output and renders phpDocumentor configuration Move discovery/configuration/generation into standalone PHP services
    WikiCommand 301 lines, six constructor dependencies; Markdown renderer, capability detection and DevTools-relative runtime paths Move normal Markdown generation; retain legacy initialization only in a compatibility adapter if needed
    ReportsCommand 234 lines, three constructor dependencies; orchestrates documentation, test coverage and metrics Keep quality generation with its existing owner; delegate documentation
    composer.json Composer plugin, PHP ^8.3, 42 direct require entries including platform constraints Independent library must not import this entire runtime
    phpDocumentor configuration Project title, autoload source directories, guides, output/cache and template configuration Package renderer resources with stable runtime-relative paths
    Native reports workflow Separate phpDocumentor install, native Pages deployment, coverage/metrics and published asset checks Preserve combined report site and trusted publisher
    Legacy reports workflow gh-pages, PR previews and cleanup Explicit compatibility policy, not an accidental URL change
    Direct Wiki workflow Generated artifact, isolated writer, freshness and namespace checks Carry forward these guarantees; do not restore submodules

    The HTML template defaults to vendor/fast-forward/phpdoc-bootstrap-template. Native reports require an installed template >=2.1.0, while the Composer manifest allows ^2.0. The new released runtime must reconcile this discrepancy instead of inheriting an implicit workflow-only minimum.

    The current Wiki workflow bridges Markdown template assets into an isolated runtime. Extracting the renderer and its resources together should eliminate the DevTools-relative path workaround.

    Minimal PHP design

    Separate only responsibilities that have a concrete reason to change:

    1. Project input/capability discovery: Composer autoload configuration, API directories, guides and explicit overrides.
    2. Renderer preparation and execution: phpDocumentor HTML and Wiki Markdown, using structured process arguments.
    3. Generated-output validation and site assembly.
    4. Publication adapters with explicit source identity and owned paths.
    5. Thin console commands and GitHub adapters.

    Keep CLI orchestration readable. Do not create an interface for every class or introduce a new plugin/service-container layer merely to perform extraction. Unit-test transformations; integration-test renderers and publisher boundaries.

    RST guides are part of the current pipeline. phpDocumentor's hand-written documentation guide describes combined guide/API generation. Markdown support must be demonstrated with the selected renderer version and fixtures; this RFC is not a Sphinx migration.

    Dependency direction

    dev-tools -> documentation -> renderer/template is acceptable. documentation -> dev-tools is not.

    The main branch of github-actions is presently a scaffold. Its pending PR 2, at 28da75de2b349d4c01809994d1661062f7daf0dd, has a production requirement on fast-forward/dev-tools ^1.24. Depending on that runtime while DevTools delegates to Documentation would create:

    documentation -> github-actions -> dev-tools -> documentation

    Use small in-package adapters initially. Consider generic helper reuse only once that package has an independent, released dependency direction.

    Visual ownership stays with phpdoc-bootstrap-template and the .github brand source. Do not copy the design system into a second documentation repository.

  4. coisa commented on Oct 14, 2026

    @coisa
    ContributorAuthor

    Deep dive: library, CLI, skill and release surfaces

    Follow the complete Changelog model

    The inspected Changelog package is an independent library with a CLI, Docker runtime, Docker-backed operation actions, reusable workflows and a portable skill. Its setup-docker helper is composite; that does not mean every operation action is composite.

    Documentation should provide the same product surfaces with a single implementation. Names below are proposed contracts, not existing commands:

    Surface Proposed responsibility
    Composer library Discovery, configuration, rendering, validation and site assembly
    ff-documentation build html Generate API HTML and supported guides
    ff-documentation build wiki Generate managed Wiki Markdown without publishing
    ff-documentation validate Check generated files, assets, links and ownership constraints
    ff-documentation publish wiki Publish validated Markdown with explicit repository/source identity
    Site publication adapter Assemble supplied report artifacts; native Pages upload/deploy stays in its supported GitHub workflow
    Docker CLI Same commands and services with a pinned renderer/template runtime
    Actions Build, validate and Wiki publishing adapters invoking that CLI
    Reusable workflows Dependency setup, trusted orchestration, artifacts, concurrency and deployment
    CLI skill Agent-facing procedure for the released command surface

    Avoid a monolithic command that generates and publishes by default. Local generation must not need GitHub credentials. Keep native Pages deployment in GitHub's supported actions rather than implementing a second Pages transport solely for CLI symmetry.

    CLI contract

    Support explicit project/source, guides, target, cache, template and repository/source-SHA options; retain useful current defaults through compatibility mapping. Reject missing explicitly requested inputs. Define API-only, guides-only and empty-project outcomes, including a machine-readable skipped reason for valid empty projects. Guides-only HTML must remain supported; Wiki without an API skips rather than acquiring a new guide-rendering feature.

    Use non-interactive execution, stderr diagnostics and optional JSON results. Specify stable exit semantics before consumers rely on them. Report paths and source identity, but never credentials or complete environment dumps. Resolve package assets from the installed runtime, not consumer vendor assumptions.

    Changelog currently requires PHP ^8.5; DevTools and its consumers include PHP 8.3. Prefer an initial PHP 8.3-compatible local CLI if the extracted dependency graph supports it, with a separately pinned container runtime. Confirm this with Composer/platform fixtures. A newer tool runtime must not silently change a consumer's application minimum.

    Portable CLI skill

    Proposed canonical package: .github/skills/documentation/SKILL.md plus license and only necessary references. Mirror Changelog's single real source and deliberate host adapters where useful; do not invent a second procedure per host.

    The skill must:

    • inspect repository instructions and existing state;
    • verify the installed CLI version, list and relevant --help before selecting commands;
    • choose HTML/Wiki generation, validate output and explain API/guide/empty cases;
    • preserve docs/_static/mascot-banner.png, template/brand ownership and manual Wiki content;
    • troubleshoot renderer/platform/path errors through the CLI rather than alternative Python/Node scripts;
    • distinguish local build, validation, artifact upload, Wiki write and Pages deployment;
    • require existing task authority for installation or publication, without repeatedly asking when already authorized;
    • reference an actual compatible release, not commands that only exist on an unmerged branch.

    Installing a skill installs instructions, not PHP, Composer, Docker or the CLI. No automatic global installation or host-link modification. Packaging tests must retain canonical skill resources and verify example commands against the released CLI. Format validation and copy/discovery checks do not prove native activation in Codex/Claude/Copilot; report that separately.

    Coherent release

    Use a tested Composer release and a Docker image carrying the same implementation and locked renderer/template versions. Pin deployments to a verified image digest (GitHub registry documentation).

    Workflow, action, image and skill compatibility must be documented for the same release. Prefer release-relative in-repository adapters where supported; verify every externally fetched helper ref. Do not use mutable main or an unmerged branch as the product's release contract.

    Test Composer installation, Git archive contents, container invocation and packaged skill discovery in disposable directories. Add optional PHAR distribution only if a demonstrated consumer need justifies it; the first release need not solve the separate DevTools shim RFC.

  5. coisa commented on Oct 14, 2026

    @coisa
    ContributorAuthor

    Deep dive: publication trust, ownership and lifecycle

    Build and publish are different operations

    The recent direct Wiki migration established no-submodule publishing, source freshness and preservation of manual content. Extraction must retain that behavior.

    Build jobs may read consumer code and execute its dependency/autoload behavior, so they must not hold Wiki or Pages write credentials. Install consumer dependencies with plugins and scripts disabled where the build permits it; Composer documents this boundary in its untrusted-package guidance. Approved tool dependencies are installed independently. This reduces exposure but does not make arbitrary project execution trusted.

    Writers consume only validated artifacts and must not run PHP, scripts, templates or hooks from the consumer checkout. Artifact metadata should identify the repository, source commit, triggering run and expected output; validate these against the trusted GitHub run, not just user-editable artifact fields. Store metadata inside temporary artifacts, not additional committed consumer manifests.

    Wiki invariants

    • Publish only an authorized main-branch build; PRs generate artifacts without Wiki writes.
    • Reject a stale source commit immediately before publication, including after cloning the Wiki.
    • Serialize publication with the existing supported queue/concurrency semantics.
    • Own only the documented generated namespace: Home, class pages and function pages. Preserve manual pages.
    • Reject path traversal, symlinks, instruction files and non-Markdown payloads.
    • Define the generated-page deletion inventory so obsolete generated pages can be removed without deleting manual material.
    • Detect no-change publication and avoid empty commits.
    • A missing/uninitialized Wiki is an explicit actionable condition, not silent success.
    • Keep the last healthy Wiki intact on validation failure.

    Use the present direct publisher and container's custom writer as the behavior baseline. Copying obsolete pointer/preview helper actions would reintroduce responsibilities the recent migration removed.

    Pages and reports

    One deployment owns each combined site. If documentation, coverage and metrics are produced separately, assemble their validated artifacts before one Pages upload/deploy. Define missing optional-report behavior instead of uploading a second site that erases existing sections.

    Keep read-only build and Pages writer jobs separate. Callers must grant the required Pages/environment permissions explicitly; reusable workflows cannot elevate permissions granted by callers.

    Preserve published URLs, API anchors, guide navigation, Dash/logo files and asset hash checks. Native publication checks must inspect the deployed site, not merely the uploaded artifact.

    Framework, enum and DevTools currently have legacy gh-pages preview/cleanup behavior. Decide an explicit compatibility profile: artifact-only for untrusted/fork PRs; optionally publish reviewed same-repository previews through a trusted writer. Never execute a PR checkout with secrets via a privileged trigger. Retaining or deprecating /previews/pr-N/ routes is a separate visible decision.

    Version reachability

    GitHub recommends commit SHA refs for reusable workflow stability (official reuse guide). The recently merged Wiki rollout also demonstrated that a pre-merge branch SHA can cease to be a valid workflow entrypoint after squash/deletion even when a file API still retrieves its blob.

    Publish the final protected-main/release revision first. Verify workflow resolution in a real consumer, then pin migration PRs. Check again after merge. Changing DevTools main cannot update consumers already pinned to the old direct Wiki SHA.

    Operational checks not yet performed by this RFC

    Implementation must inspect each consumer's effective Pages environment, Wiki availability and secret grants. The source inventory does not prove these settings. Tokens remain scoped to publication; no new organization-wide credential or broad secrets: inherit is required by default.

  6. coisa commented on Oct 14, 2026

    @coisa
    ContributorAuthor

    Deep dive: exact consumer inventory and migration obligations

    Snapshot date: 2026-10-14. All 40 organization repositories were examined. Fourteen already consume both DevTools Wiki and documentation/report generation; twenty repositories are empty.

    Immediate migration targets

    Each link pins the audited committed workflow directory. Recheck main and workflow configuration when opening implementation PRs.

    Consumer Audited main SHA Wiki path HTML/report path
    framework 70518e88a47f542cf09d92b92d2d57a0a132a496 Shared direct Legacy reports + previews
    enum 9a76b880969d07a1745f944db277965050a9e6a1 Shared direct Legacy reports + previews
    http-factory 47b0a3316cab2d8ec2179c97d7a4d819fb41202d Shared direct Native reports
    http-client 02115eddb561af1964ef3c7a4091ddec47e55d93 Shared direct Native reports
    http-message 92102251a76a72d50f65c697fb66aa3eaf62f580 Shared direct Native reports
    defer 85199244197ae18a02672a9bc02ca66462e87713 Shared direct Native reports
    clock 2f4fe229981906ecfd548b341ac1b97f5c2dda1a Shared direct Native reports
    fork ab978d0bf68e7f89084afe5afbaa631b71e74ad1 Shared direct Native reports
    iterators 05ae9bbe9d7a6f6a16a30b90feec27b9e161a0e8 Shared direct Native reports
    event-dispatcher e8c2b2607a60395469594c9a0d164e0dab2f0964 Shared direct Native reports
    http df162266c50f1ea8e374be578765fe1ffb8a840f Shared direct Native reports
    dev-tools c637e7f9d8ae6059b8655996e56f6d17f874792c Local direct producer Legacy producer + native entrypoint
    config d6a6fa4a64d9a4316c03596ef77b265b7d29f46b Custom single-job direct Custom native Pages
    container 68ed6305e1aac233e1781b4887abf6b44c55e127 Custom isolated writer Native reports

    Current refs: eleven external shared Wiki callers pin dev-tools/.github/workflows/wiki-direct.yml@c637e7f9d8ae6059b8655996e56f6d17f874792c; DevTools calls it locally. Config checks out Wiki helpers at f09a1d97c595ad2da58b0154fab1e697353d3234; container at d5a3b7eec9896f9ea50974ff09b23c32887acbc0. Both custom paths still run DevTools commands.

    Ten native report wrappers use reports-native.yml@main. Framework/enum use reports.yml@main. Config's custom reports still use DevTools helpers at main and verify root, coverage and metrics routes.

    What every migration PR must inspect

    Update the committed Wiki/reports caller and any nested report invocation in tests workflows. Also inspect DevTools-synchronized workflow resources: a later sync must not restore old defaults. Keep test/quality execution with its existing owner.

    Preserve URLs, branch/event filters, PHP/platform settings, permissions, environment configuration, Wiki namespace/manual content, preview policy and deployed Dash/logo checks. Preserve existing README asset references. Do not add consumer asset READMEs or generation manifests.

    For each consumer, record the old caller refs, new released refs, build comparison and post-merge publishing result. Immutable old pins require explicit changes; a compatibility edit to DevTools main is not sufficient.

    Existing repositories outside immediate migration

    • composer-installers: code exists, no current docs/Wiki workflow; future opt-in.
    • changelog: independent CLI/actions/workflows/skill; coverage CI is not an API/Wiki publisher. Architecture reference and optional future consumer.
    • phpdoc-bootstrap-template: visual/template producer with generation/packaging fixtures; keep its ownership.
    • github-actions and agents: main contains scaffolding, not existing docs/Wiki publishers.
    • .github: brand HTML Pages workflow; keep independent rather than forcing phpDocumentor onto it.

    The twenty empty repositories need future defaults, not migration PRs now: memoize, cache, logger, console, template-renderer, feature-toggle, promises, http-middleware, scheduler, http-content-negotiation, http-healthcheck, dockerfiles, http-cache, http-apcu, http-phpinfo, application, http-error-handler, runtime, php-fast-forward, http-server.

    These counts describe committed source at the snapshot, not effective remote deployment settings.

  7. coisa commented on Oct 14, 2026

    @coisa
    ContributorAuthor

    Deep dive: phased action plan, validation and rollback

    Phase A — settle scope and compatibility

    Accept the documentation repository/package boundary, CLI name, PHP compatibility, preview policy and DevTools deprecation window. Coordinate Wiki/docs ownership with issue 240, .github issue 2/PR 3 and the pending github-actions runtime. Do not move all organization automation into this RFC.

    Deliverable: a small command/input/output contract and an ownership map. No speculative generic platform.

    Phase B — independent runtime

    Extract capability/configuration and HTML/Wiki generation into PHP, add thin CLI commands, package renderer resources and use Composer for dependencies. Establish a locked Docker runtime. Do not depend on DevTools or the pending github-actions package while it requires DevTools.

    Keep reusable behavior shared between CLI and automation. Bash is limited to runner setup/transport where needed; avoid Python/Node helper chains. Any repository maintenance validator needed for skill adapters should also be PHP.

    Deliverable: local CLI + Composer/archive/container fixtures, with generation and validation usable without GitHub credentials.

    Phase C — skill and GitHub adapters

    Ship one licensed portable CLI skill against the real command surface; validate examples, resource packaging, discovery and host-adapter representation. Native host activation remains a separate check.

    Implement read-only build actions and reusable Wiki/docs workflows. Isolate publishers and temporary artifact metadata; preserve current freshness and ownership protections. Update future synchronized defaults and documented compatibility aliases.

    Deliverable: version-coherent CLI, skill, actions and workflows with explicit credentials/permissions.

    Phase D — comparison and pilots

    First generate in disposable outputs without publishing, comparing the old and new implementations from the same consumer commit and dependency state. Compare meaningful routes/content/assets rather than unstable timestamps.

    Suggested pilots:

    • clock: small shared direct Wiki/native docs consumer.
    • container: existing isolated custom Wiki writer + native Pages and report sections.
    • enum or framework: legacy previews/cleanup; choose a guide-bearing fixture in addition if needed.
    • config: custom link normalization and report validation.

    Do not enable two writers for the same Wiki/site during pilots.

    Deliverable: comparison evidence and a released revision proven reachable by real workflow callers.

    Phase E — release and migration cohorts

    Publish the package/runtime/actions/workflows/skill release before updating consumers to its final commit/digest. Validate startup, generation and publication after merge, not only inside PRs.

    Then open coordinated migration PRs for all fourteen targets. Migrate the native shared group after pilots; handle config and legacy previews separately. Change DevTools compatibility and packaged synchronization defaults in the same release sequence so subsequent syncs cannot regress consumers.

    Deliverable per consumer: old/new refs, preserved behavior, post-merge Wiki/Pages result and rollback instructions.

    Phase F — retire compatibility

    Keep existing useful aliases (docs, reports:docs, reports:phpdoc, phpDocumentor, Wiki/report entrypoints where supported) delegating during the agreed window. Remove legacy pointer helpers and compatibility only after verified adoption and a versioned deprecation decision. Keep original tags/refs reachable.

    Required test matrix

    Concern Required scenarios
    Project capabilities API only; guides-only HTML with Wiki skipped; API + guides; valid empty project; explicitly missing source
    Dependencies/runtime Supported host PHP; container runtime; locked install; no consumer lock; no production DevTools dependency
    Rendering Namespaced classes/functions; current RST guides; Markdown only if supported by selected integration; consumer autoload and package resource paths
    Site continuity Root/API anchors/guides; coverage/metrics coexistence; Dash/logo hash checks; relative asset links
    Packaging Composer distribution; Git archive; Docker invocation; template/Markdown resources; canonical skill files
    Skill Actual help/version and commands; local generation; errors; authority boundaries; adapter discovery vs native activation
    Wiki Manual pages retained; stale build rejected; invalid paths/symlinks rejected; generated deletions bounded; missing Wiki; no-op push
    GitHub Main publication; same-repo PR; fork PR artifact-only; concurrency; caller permissions; final released SHA resolves
    Compatibility Old aliases/options; synchronized defaults; custom callers; legacy preview URLs/cleanup

    Measure tool/dependency footprint and cold/warm build duration only if used to justify improvement; no performance claim is established by this investigation.

    Rollback

    For each pilot/cohort, keep the previous caller ref and restore it in a small revert PR if behavior fails. Disable the new writer before restoring the old one; never leave two deployments racing. A workflow revert restores execution, not already changed remote content: retain the prior Wiki commit and Pages artifact/commit as appropriate so approved content recovery is possible.

    Do not delete previous generated/manual content or old release refs during extraction. Defer irreversible compatibility cleanup until the migration evidence supports it.

    Completion evidence

    The implementation is complete only when all fourteen consumer call sites and synchronized defaults are accounted for, final release refs resolve, the deployed Wiki/Pages surfaces pass checks, and the CLI skill matches the released runtime. This RFC publication itself performs none of those migrations.

  8. coisa commented on Oct 21, 2026

    @coisa
    ContributorAuthor

    Alignment with domain extraction plan (2026-10-21)

    #240 now tracks the responsibility-based architecture; this RFC remains the canonical documentation proposal, not a duplicate/new issue. #384 retains DevTools bootstrap/update composition. #195 maps skills-first distribution through existing LLM Skills; docs-writer/readme-maintainer can become composition skills, while sphinx-docs/package-readme procedures belong with documentation after reconciling names with the actual phpDocumentor/RST renderer.

    Retain all original manual Wiki content, source freshness, no-submodule, single Pages publisher, asset/preview/rollback gates. Testing #380 owns coverage/JUnit generation; MetricsCommand is an external producer pending #14 ownership evaluation, not documentation logic. Code/PHPDoc formatting belongs to #379. #351 NotebookLM is optional and does not authorize transmission merely through adoption.

    Revalidate against open #376 CPX/portable-skills candidate (not released), and adopt only verified compatible runtime/workflow/skill pins. No mandatory shared github-actions runtime or DevTools dependency. This remains a proposal for maintainer validation before repository creation, implementation or rollout; the historical 14-consumer count must be refreshed at migration time.

  9. coisa commented on Dec 3, 2026

    @coisa
    ContributorAuthor

    Proposta para validação: piloto clock, somente geração

    Separar geração (HTML/API + guias RST, Markdown do Wiki) de montagem do site e de publicação. Para este recorte, a CLI de documentação não carrega o DevTools nem executa PHPUnit/PhpMetrics; o orquestrador fornece diretórios de cobertura e métricas já gerados. Usar as mesmas entradas de relatório nas duas montagens. O template continua externo (phpdoc-bootstrap-template). Manter os chamadores e publicadores atuais intocados; não criar repositório/serviço para a prova sem validação do mantenedor.

    Baseline verificável: clock@a739cbff8bc8eff6e61d612c2f9d4c40263819a8; Wiki wrapper v1.26.0 resolve para 1e2be55575b533b9dc5739d8517dcb2bb4d72a98, mas a geração do Wiki instala/executa o runtime separado em d5a3b7eec9896f9ea50974ff09b23c32887acbc0. Reports @main foi observado em 105e9f5f533f8ebdc902071d1627cbf880d33a0a; congelar esse SHA e registrar também as versões efetivamente resolvidas de PHP, Composer, PHPDoc, template e dependências (manifesto/lock da prova, não do consumidor). Referência de workflow isolada não fixa o grafo Composer. O Reports atual já instala separadamente o PHAR assinado do phpDocumentor via phpdocumentor/shim; reaproveitar o renderer no primeiro recorte, sem adicionar Phive (#197).

    Aceite: ambos os lados geram em diretórios vazios com o mesmo SHA de fonte e insumos congelados; comparar páginas/âncoras da API, guias RST, links internos, Home.md/páginas de API do Wiki, rotas de cobertura e métricas e hashes de Dash/logo. Desconsiderar apenas diferenças voláteis explicadas. Insumo solicitado ausente ou de outro SHA deve falhar explicitamente; nenhum teste ou cálculo de métricas é disparado pelo candidato. Rodar sem segredo, permissão de escrita, push ou deploy. A reversão nesta etapa é descartar os artefatos locais, sem alterar o consumidor. O candidato ainda não foi implementado; esta proposta não é evidência de paridade.

  10. coisa commented on Dec 3, 2026

    @coisa
    ContributorAuthor

    Delivery split: clock proof vs. standalone package

    The canonical implementation issue for the package is php-fast-forward/documentation#1 (linked child). This RFC stays open for the independent clock generation/assembly comparison and subsequent DevTools compatibility/rollout, not as a second package implementation. First draft: isolated proof in DevTools, clock as read-only pinned source, with docs and only the Wiki generation step as references. dev-tools reports is excluded because its coverage/metrics paths are generation destinations and it invokes those engines. Compare the same frozen static report inputs; validate producer, source SHA and digest, verify actual routes/bytes, distinguish non-empty Home.md from explicit no-API skip, and fail on attempted test/metrics/publication calls. Package follows independent review of that proof; it does not wait for Testing. Versioned PHAR supersedes the earlier mandatory Docker runtime proposal, without changing application PHP requirements. No publisher, active consumer workflow, release or merge is part of the proof.

  11. coisa commented on Dec 3, 2026

    @coisa
    ContributorAuthor

    Execution repository correction for the proof

    The implementation Issue for the comparison harness is now the linked child php-fast-forward/clock#21. Its code and draft PR belong to php-fast-forward/clock, in an isolated tooling/fixture location, not DevTools. This supersedes the earlier DevTools-harness wording; this parent remains the architecture and DevTools adoption record. php-fast-forward/documentation#1 still owns the separate standalone package and depends on independent review of the clock proof, not Testing. No consumer workflow, publishing, claims or code changes in this refinement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationenhancementgithub-actions

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions