ADR-018: PET App Technical Architecture


spec_id: ADR-018 title: PET App Technical Architecture bounded_context: shared status: Accepted version: 1.1.0 date_created: 2025-12-21 last_updated: 2026-01-03 supersedes: null related_adrs: [] related_prds:


Context

The Prompt Engineer Training (PET) app requires a robust, scalable architecture to support:

Decision

We will adopt the following architectural strategies:

1. Nx Modular Monolith with Hexagonal Architecture

We will build a single monorepo using Nx to manage boundaries.

Project Structure:

2. Multi-Lingual by Default

The system must support native-language prompts out of the box.

3. Modular “Pipeline” Judge

(Unchanged from initial concept)

4. Hybrid Lesson Content (Template + Context)

(Refined)

5. Enterprise Interoperability via Standards

Rationale

Constraints

Quality Attributes

Bounded Contexts Impacted

Consequences

Positive

Negative

Additional Notes