Guided workshop: DCP Flow, versions and Docker with Rewi
Educational example based on Rewi that distinguishes Discovery, Foundation, applicable versions, container compatibility, Quality Gates, and evidence-based release. It does not mandate a universal stack.
Educational example based on Rewi that distinguishes Discovery, Foundation, applicable versions, container compatibility, Quality Gates, and evidence-based release. It does not mandate a universal stack.
This educational workshop adapts a real Rewi case to practice DCP Flow decisions and controls. Public explanations do not authorize server operations, infrastructure changes, or automatic reuse of the case technology. Editorial source reviewed: institutional Handbook, October 28, 2026.
From the problem to a solution mode
A business needs to record operations and inspect their status. Before selecting Laravel, an agent or a container, define the outcome and examine the five Solution Discovery routes: ADOPT, CONFIGURE, INTEGRATE, EXTEND, or BUILD. Rewi illustrates a contextual BUILD decision, not a universal technology template.
- State the problem and a verifiable Golden Flow.
- Evaluate existing alternatives before coding.
- Record the decision, constraints, and human owner.
Foundation and context-aware versions
Choose a Blueprint fitting the product and a reproducible runtime. Review the current new-project baseline in the canonical repository during Foundation; pin exact versions in the project. An editorial site can use Astro, while a transactional application may need Laravel. Rewi's observed versions do not mandate upgrades to stable existing applications.
- New projects: current baseline for components actually used.
- Existing projects: separately justified upgrades.
- Build-time Node does not imply Node on static hosting.
Docker: reproducible does not mean identical
Docker and Compose describe services, images, variables, networks, and persistence. Hosts may run different engine versions and still be compatible when the contracts are verified. Reading declared configuration does not prove that a database or service is running.
- Validate effective Compose configuration before deployment.
- Separate environments, secrets, data, and volumes.
- Never use destructive operations as mere inspection commands.
Quality Gates, release, and learning
A passing build proves compilation within its scope, not a production release. Govern work through a working branch, PR, dev integration, human approval, traceable artifact, destination smoke, and operational evidence. Promote lessons into DCP Flow only when they are supported and reusable.
- PASS, FAIL, and NOT RUN mean different things.
- Deployment and release are distinct decisions.
- Case evidence never replaces Standards or Project Truth.
Compatibility example: declared versus running versions
A Compose manifest expresses intended deployment; inspecting a running container establishes what is actually executing. The Rewi teaching case compares versions, environment profiles, healthchecks, networks, and volumes before claiming compatibility. A database engine upgrade requires verified backups and a tested recovery strategy.
- A new-project baseline does not automatically upgrade production.
- Compare effective manifests with observed runtime.
- Prepare rollback or recovery before migrations.
Shared reverse proxy and application boundaries
A reverse proxy may serve multiple domains and simplify TLS, but it does not merge security boundaries. Each application retains separate networks, credentials, persistence, and permissions. HTTP 200 from a healthcheck does not prove interfaces, assets, authorization, or business flows operate correctly.
- Keep environments and credentials isolated on shared infrastructure.
- Do not run global prune or down -v as a diagnostic.
- Verify assets and Golden Flows beyond healthchecks.
An evidence-based acceptance exercise
For a small improvement, the team records the outcome, uses a focused branch, runs proportional local checks, and presents a diff. A GitHub Quality Gate validates the proposed commit; integration, deployment, and release each require their own evidence and authority. Record lessons without turning Rewi-specific details into universal rules.
- Distinguish build PASS, integration PASS, and verified production.
- Declare NOT RUN and known debt without calling them PASS.
- Promote patterns to Standards only after proving general applicability.
Contextual glossary+
Process of investigating real alternatives and proportionally evaluating ADOPT → CONFIGURE → INTEGRATE → EXTEND → BUILD before a material decision.
State in which the technical and governance foundation is sufficient to start a functional vertical without rediscovering or rebuilding project foundations.
Checkpoint where evidence determines whether work may progress.
Point where a material decision requires human acceptance or authorization.
