|
| 1 | +# Implementation Plan: IRIS DevTester Agentic Skills Integration |
| 2 | + |
| 3 | +**Branch**: `033-devtester-skills` | **Date**: 2025-01-02 | **Spec**: specs/033-devtester-skills/spec.md |
| 4 | +**Input**: Feature specification from `/specs/033-devtester-skills/spec.md` |
| 5 | + |
| 6 | +## Summary |
| 7 | + |
| 8 | +Integrate `iris-devtester`'s agentic skills (slash commands) into the `iris-pgwire` testing workflow to automate container management, connection handling, and test data fixtures. This will replace manual `docker-compose` management with automated container lifecycle handling within `pytest` and provide auto-remediation for common IRIS/Docker issues. |
| 9 | + |
| 10 | +## Technical Context |
| 11 | + |
| 12 | +**Language/Version**: Python 3.11+ |
| 13 | +**Primary Dependencies**: `iris-devtester`, `intersystems-irispython`, `psycopg[binary]` |
| 14 | +**Storage**: InterSystems IRIS (managed via Docker) |
| 15 | +**Testing**: `pytest` |
| 16 | +**Target Platform**: Docker-enabled environments |
| 17 | +**Project Type**: Python Library |
| 18 | +**Performance Goals**: Container startup/health check < 60s; troubleshooting < 5s |
| 19 | +**Constraints**: Must match constitutional principles; no manual container setup required for tests |
| 20 | +**Scale/Scope**: 14 Functional Requirements covering dependency, container, connection, data management, and troubleshooting |
| 21 | + |
| 22 | +## Constitution Check |
| 23 | + |
| 24 | +*GATE: Must pass before Phase 0 research. Re-check after Phase 1 design.* |
| 25 | + |
| 26 | +| Principle | Status | Justification | |
| 27 | +|-----------|--------|---------------| |
| 28 | +| I. Protocol Fidelity | ✅ PASS | Improves testing of PostgreSQL compatibility without changing protocol implementation. | |
| 29 | +| II. Test-First Development | ✅ PASS | Feature specifically enhances the testing infrastructure and reliability. | |
| 30 | +| III. Phased Implementation | ✅ PASS | Follows standard feature implementation lifecycle. | |
| 31 | +| IV. IRIS Integration | ✅ PASS | Leverages native IRIS integration patterns via `iris-devtester`. | |
| 32 | +| V. Production Readiness | ✅ PASS | Ensures test reliability and reduces setup time for new developers/CI. | |
| 33 | + |
| 34 | +## Project Structure |
| 35 | + |
| 36 | +### Documentation (this feature) |
| 37 | + |
| 38 | +```text |
| 39 | +specs/033-devtester-skills/ |
| 40 | +├── plan.md # This file |
| 41 | +├── research.md # Phase 0 output |
| 42 | +├── quickstart.md # Phase 1 output |
| 43 | +├── contracts/ # Phase 1 output |
| 44 | +└── tasks.md # Phase 2 output (generated by /speckit.tasks) |
| 45 | +``` |
| 46 | + |
| 47 | +### Source Code (repository root) |
| 48 | + |
| 49 | +```text |
| 50 | +src/iris_pgwire/ |
| 51 | +├── tests/ |
| 52 | +│ ├── conftest.py # Update to use iris-devtester container management |
| 53 | +│ ├── test_devtester_integration.py # New tests for devtester skills |
| 54 | +
|
| 55 | +tests/ |
| 56 | +├── unit/ |
| 57 | +├── integration/ |
| 58 | +├── conftest.py # Update to leverage new devtester skills |
| 59 | +``` |
| 60 | + |
| 61 | +**Structure Decision**: Single project structure (Option 1). We will update existing `conftest.py` files to use `iris-devtester` and add integration tests for the new skills. |
| 62 | + |
| 63 | +## Complexity Tracking |
| 64 | + |
| 65 | +> **No violations detected.** |
0 commit comments