| version | date | title | project | authors | |||
|---|---|---|---|---|---|---|---|
2.0 |
2025-12-01 |
The Human–AI Collaboration Pact |
JWebMP / Typescript Client Library |
|
This pact aligns humans and AI on how we evolve the JWebMP Typescript Client Library. The goal is intentional collaboration — documenting first, then implementing — while keeping continuity across PACT ↔ RULES ↔ GUIDES ↔ IMPLEMENTATION.
- Continuity: carry context across runs; forward-only changes (no backports).
- Finesse: precise, traceable docs that mirror the code we see on disk.
- Non-Transactional Flow: collaborate iteratively, not Q&A.
- Closing Loops: every artifact links back to its source and forward to its dependents.
| Layer | Description | Artifact |
|---|---|---|
| Pact | Collaboration culture and constraints | PACT.md |
| Rules | Conventions and stack selections | RULES.md |
| Guides | How to apply rules in this repo | GUIDES.md |
| Implementation | Current state and deltas | IMPLEMENTATION.md |
- Language: clear, narrative-technical; no invented architecture.
- Reflection: surface unknowns; prefer questions over assumptions.
- Tone: friendly and direct; avoid boilerplate AI phrasing.
- Iteration: small, reviewable changes; document before code.
- Transparency: declare constraints (Java 25, CRTP, Log4j2) and stage gates.
- Tool literacy: Maven + Java 25 + JWebMP/GuicedEE, Angular 20 TS generation.
- Traceability: diagram + doc + code alignment, stored in version control.
- Diagramming: Mermaid-first, linked from
docs/architecture/.
- Honor RULES.md sections (behavioral, technical, modularity, forward-only) from
rules/RULES.md. - Respect selected stacks: Java 25 LTS, Maven, Angular 20 (TypeScript), GuicedEE Client, JWebMP Core/Client, CRTP fluent style, Lombok with
@Log4j2, JSpecify. - Logging defaults to Log4j2; Lombok logging uses
@Log4j2only. - No project docs live inside the
rules/submodule; host docs stay at repo root ordocs/. - Stage gates: blanket approval granted for this run; STOPs are auto-approved but still recorded.
- Document the existing annotation-driven Angular TS generation pipeline clearly.
- Keep glossary/topic precedence explicit for AI usage.
- Close loops across PACT ↔ GLOSSARY ↔ RULES ↔ GUIDES ↔ IMPLEMENTATION ↔ diagrams.
- Rules Repository submodule:
rules/ - RULES:
RULES.md - GUIDES:
GUIDES.md - IMPLEMENTATION:
IMPLEMENTATION.md - Architecture index:
docs/architecture/README.md