Updated the process
This commit is contained in:
parent
0ca8cd8765
commit
4fab2b5f19
80
AGENTS.md
80
AGENTS.md
|
|
@ -1,80 +0,0 @@
|
||||||
# Repository Agent Guide — UP-AI v1.5 Project Gateway
|
|
||||||
|
|
||||||
## Purpose
|
|
||||||
|
|
||||||
This repository applies the universal AI-Native Unified Process (**UP-AI v1.5 Generic Framework**). The core process specification, automation scripts, and skills are maintained under `process/` (managed via `git subtree`). Keep work use-case-driven, architecture-centric, iterative, traceable, and resumable.
|
|
||||||
|
|
||||||
## Read Efficiently
|
|
||||||
|
|
||||||
Read only what the task requires. Use this source-of-truth order:
|
|
||||||
|
|
||||||
1. `tech-profile.yaml` for active technology stack and tailoring tier.
|
|
||||||
2. `process/AGENTS.md` for authoritative process behavior, anti-placeholder rules, and stage gating.
|
|
||||||
3. `process/AI_Native_Unified_Process_v1.md` for authoritative process, stages, gates, and artifact rules.
|
|
||||||
4. `process/02_Skills_Usage_Guide.md` for stage order and skill invocation.
|
|
||||||
5. `.agents/skills/<skill>/SKILL.md` (symlinked from `process/.agents/skills/`) for canonical skill procedures.
|
|
||||||
6. `project_sdlc/00_process_control/` for current project decisions, assumptions, ambiguities, change requests (`CR-xxx`), traceability, and checkpoints.
|
|
||||||
7. `process/process_change_register.md` for framework-level meta-process changes (`PCR-xxx`).
|
|
||||||
|
|
||||||
**Single Canonical Skills Location:** All AI agent skills are canonical and located under `.agents/skills/<skill_name>/SKILL.md` (symlinked to `process/.agents/skills/`). All AI agent platforms (Antigravity, Claude Code, Cursor, Codex) read directly from `.agents/skills/` without file duplication or synchronization scripts.
|
|
||||||
|
|
||||||
|
|
||||||
## Working Rules
|
|
||||||
|
|
||||||
- Inspect relevant artifacts and current repository state before editing; do not infer current scope from old prompts or stale plans.
|
|
||||||
- Preserve established IDs, metadata, document structure, cross-references, and traceability links.
|
|
||||||
- Follow the strict chronological folder structure under `project_sdlc/` (`00_process_control` through `08_review_ready_baselines`).
|
|
||||||
- Make the smallest complete change. Do not regenerate unaffected documents or silently expand scope.
|
|
||||||
- Do not invent missing business behavior. Record unresolved questions in the ambiguity register and request a decision.
|
|
||||||
- Before changing baselined requirements, architecture, scope, or NFRs, invoke `up-change-request-impact`; perform impact analysis and obtain the required disposition before editing affected artifacts.
|
|
||||||
- Use `up-process-change` for changes to this process, its gates, formats, or skills.
|
|
||||||
- Run the applicable `up-traceability-gate` at Gate 5.1, Gate 9.1, and each iteration's Gate 14.1. Do not treat scope as delivered while critical gate findings remain.
|
|
||||||
- Use `up-context-checkpoint` before a long pause, handoff, context exhaustion, or unresolved human decision. On continuation, verify the latest relevant checkpoint against repository state before relying on it.
|
|
||||||
- Never overwrite or revert unrelated work. Never commit, push, or alter git history unless explicitly requested.
|
|
||||||
- Verify changed code with the narrowest relevant tests first, then broader checks when warranted (`scripts/run_tests.sh --scope <scope>`). Report commands run and any checks not run.
|
|
||||||
- **Strict Anti-Placeholder Rule (No Superficial Completion):** Never treat the mere structural existence of a file or template as fulfillment of its contents. Zero-row QA workbooks, empty sheet templates, stub test suites, mock-only implementations where real logic was scoped, and unimplemented UI surfaces must be flagged as `Incomplete / Pending Construction`, NEVER as `Delivered` or `Gate Passed`. Conflating a shallow pass from a script with genuine engineering completeness is a critical process failure.
|
|
||||||
- **Granular Requirements Lifecycle:** Requirements MUST NOT jump directly from `Baselined` to `Delivered`. Traceability and governance must record intermediate states:
|
|
||||||
- `Baselined` → Requirements & architecture locked.
|
|
||||||
- `In Construction` → Iteration planned, test models authored.
|
|
||||||
- `Implemented (Domain/Schema)` → Backend controllers, DocTypes/schemas, and unit tests passing.
|
|
||||||
- `Delivered (E2E Verified)` → Migrations executed, Bruno API collections verified, UI/portal screens wired, manual QA workbooks densely populated, and all 4 test dimensions (Happy, Boundary, Negative, FSM Invariant) pass automated & manual checks.
|
|
||||||
|
|
||||||
## Session Transcript (Required)
|
|
||||||
|
|
||||||
Every AI-assisted conversation that performs work in this repository MUST maintain one running transcript in `prompts/`. The primary agent owns the file for the entire conversation, including activity delegated to subagents.
|
|
||||||
|
|
||||||
### Start And Naming
|
|
||||||
|
|
||||||
- At the first actionable request, create `prompts/YYYYMMDDTHHMMSSZ-session-<short-slug>.md` using the session start time in UTC.
|
|
||||||
- Use only lowercase ASCII letters, digits, and hyphens in `<short-slug>`.
|
|
||||||
- If the name already exists, append `-02`, `-03`, and so on. Never overwrite a prior transcript.
|
|
||||||
- Reuse that same file for all subsequent turns in the conversation. Do not create a file per turn or per subagent.
|
|
||||||
- Leave existing non-session files in `prompts/` unchanged.
|
|
||||||
|
|
||||||
### Record
|
|
||||||
|
|
||||||
Append entries in chronological order with an ISO 8601 UTC timestamp and speaker or agent label. Record:
|
|
||||||
|
|
||||||
- Each user prompt, preserving its substance and wording after redaction.
|
|
||||||
- Each substantive assistant response, or a faithful concise summary when the response mainly contains generated content already saved in the repository.
|
|
||||||
- Decisions, assumptions, clarifications, blockers, and requested approvals.
|
|
||||||
- A concise action summary listing files created/changed and verification outcomes.
|
|
||||||
- For every subagent: its agent label, delegated prompt, and returned response or faithful result summary.
|
|
||||||
|
|
||||||
### Exclude And Protect
|
|
||||||
|
|
||||||
- Do not record hidden reasoning, chain-of-thought, internal scratch work, raw tool protocol, large command output, dependency logs, generated binaries, or full code diffs.
|
|
||||||
- Prefer a concise summary plus repository path for large generated content. Include small snippets only when needed to understand a decision.
|
|
||||||
- Redact secrets, credentials, access tokens, private keys, session cookies, personal data, and sensitive customer data as `[REDACTED]`. Do not persist a secret merely because it appeared in a prompt or tool result.
|
|
||||||
- Transcript logging complements process checkpoints; it does not replace `up-context-checkpoint` or governance registers.
|
|
||||||
- Update the transcript during the session and ensure the latest user request, response, actions, and subagent results are present before ending or handing off.
|
|
||||||
|
|
||||||
## Completion
|
|
||||||
|
|
||||||
Before reporting completion:
|
|
||||||
|
|
||||||
1. Confirm the requested artifacts or code changes exist and are internally consistent.
|
|
||||||
2. Run applicable tests, validation, and traceability gates.
|
|
||||||
3. Update governance records or checkpoints when the process requires them.
|
|
||||||
4. Update the session transcript without embedding full diffs or sensitive data.
|
|
||||||
5. Summarize changed files, verification, open risks, and any required user decision.
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
Please pickup instructions from AGENTS.md and process/AGENTS.md.
|
|
||||||
All AI agent skills are canonical and located under `.agents/skills/<skill_name>/SKILL.md` (version-controlled in `process/.agents/skills/`).
|
|
||||||
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
Please pickup instructions from AGENTS.md and process/AGENTS.md.
|
|
||||||
All AI agent skills are canonical and located under `.agents/skills/<skill_name>/SKILL.md` (version-controlled in `process/.agents/skills/`).
|
|
||||||
|
|
||||||
57
README.md
57
README.md
|
|
@ -31,12 +31,12 @@ This repository employs a **cleanly decoupled dual-layer architecture**, separat
|
||||||
+-----------------------------------------------------------------------------------+
|
+-----------------------------------------------------------------------------------+
|
||||||
| PROCESS FRAMEWORK ENGINE (process/ - Git Subtree) |
|
| PROCESS FRAMEWORK ENGINE (process/ - Git Subtree) |
|
||||||
| AI_Native_Unified_Process_v1.md <-- Core Process Specification (UP-AI v1.5) |
|
| AI_Native_Unified_Process_v1.md <-- Core Process Specification (UP-AI v1.5) |
|
||||||
| 02_Skills_Usage_Guide.md <-- Stage-by-Stage Agent Skill Invocation Guide |
|
| Skills_GUIDE.md <-- Stage-by-Stage Agent Skill Invocation Guide |
|
||||||
| process_change_register.md <-- Meta-Governance Ledger (PCR-xxx) |
|
| process_change_register.md <-- Meta-Governance Ledger (PCR-xxx) |
|
||||||
| .agents/skills/ <-- 19 Canonical AI Agent Skills (up-*) |
|
| .agents/skills/ <-- 19 Canonical AI Agent Skills (up-*) |
|
||||||
| scripts/ <-- Deterministic Gate Validators & Compilers |
|
| scripts/ <-- Deterministic Gate Validators & Compilers |
|
||||||
| templates/ & framework_guides/ <-- Technology Profile Presets & Topology Guides|
|
| templates/ & framework_guides/ <-- Technology Profile Presets & Topology Guides|
|
||||||
| AGENTS.md & README.md <-- Standalone Process Documentation |
|
| AGENTS.md, CLAUDE.md, GEMINI.md <-- Standalone Process Agent Guides & Gateways |
|
||||||
+-----------------------------------------------------------------------------------+
|
+-----------------------------------------------------------------------------------+
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -138,37 +138,52 @@ Functional Req: FR-xxx (child of exactly one UC-xxx)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Repository Layout
|
## Repository Layout (3-Directory Top-Level Architecture — PCR-007)
|
||||||
|
|
||||||
```
|
```
|
||||||
.
|
.
|
||||||
├── .agents -> process/.agents # Root discovery symlink for AI agent platforms
|
├── .agents -> process/.agents # Root discovery symlink for AI agent platforms
|
||||||
├── scripts -> process/scripts # Root discovery symlink for automation CLI tools
|
├── scripts -> process/scripts # Root discovery symlink for automation CLI tools
|
||||||
├── process/ # Decoupled UP-AI v1.5 Process Framework (git subtree)
|
├── AGENTS.md -> process/AGENTS.md # Root symlink for authoritative agent guide
|
||||||
│ ├── .agents/skills/ # 19 Canonical AI Agent Skills
|
├── CLAUDE.md -> process/CLAUDE.md # Root symlink for Claude Code
|
||||||
|
├── GEMINI.md -> process/GEMINI.md # Root symlink for Gemini / Antigravity
|
||||||
|
│
|
||||||
|
├── process/ # Universal UP-AI v1.5 Process Framework (git subtree)
|
||||||
|
│ ├── .agents/skills/ # 19 Canonical AI Agent Skills (up-*)
|
||||||
│ ├── scripts/ # Quality gate validators, test runners, QA compilers
|
│ ├── scripts/ # Quality gate validators, test runners, QA compilers
|
||||||
│ ├── templates/ # Tech profile templates and stack presets
|
│ ├── templates/ # Tech profile templates and stack presets
|
||||||
│ ├── framework_guides/ # Frappe DevContainers & architecture guides
|
│ ├── framework_guides/ # Topology & DevContainer architecture guides
|
||||||
│ ├── AI_Native_Unified_Process_v1.md # Authoritative Process Specification (v1.5)
|
│ ├── AI_Native_Unified_Process_v1.md # Authoritative Process Specification (v1.5)
|
||||||
│ ├── 02_Skills_Usage_Guide.md # Stage-by-stage skill invocation guide
|
│ ├── Skills_GUIDE.md # Stage-by-stage skill invocation guide
|
||||||
│ ├── process_change_register.md # Meta-governance ledger (PCR-xxx)
|
│ ├── process_change_register.md # Meta-governance ledger (PCR-xxx)
|
||||||
│ ├── AGENTS.md # Authoritative process agent guide
|
│ ├── AGENTS.md # Authoritative process agent guide
|
||||||
│ └── README.md # Framework documentation
|
│ ├── CLAUDE.md # Claude Code gateway pointer
|
||||||
├── 01_BRD/ # Business Requirements Documents & PRDs
|
│ ├── GEMINI.md # Gemini gateway pointer
|
||||||
├── 04_generated_documentation/ # Governed engineering documentation (Stages 00–08)
|
│ └── README.md # Process framework documentation
|
||||||
│ ├── 00_process_control/ # Registers (CR, Ambiguity, Decisions), Checkpoints, Traceability
|
│
|
||||||
|
├── project_sdlc/ # Project Lifecycle Artifacts & Engineering Records
|
||||||
|
│ ├── 00_process_control/ # Governance, registers (CR, Ambiguity, Decisions), checkpoints, traceability
|
||||||
|
│ ├── 01_BRD/ # Business Requirements Documents & PRDs
|
||||||
│ ├── 01_source_inventories/ # Extracted BRD features (BRD-FR-xxx)
|
│ ├── 01_source_inventories/ # Extracted BRD features (BRD-FR-xxx)
|
||||||
|
│ ├── 02_legacy_analysis/ # Brownfield legacy code/DB mining (empty for greenfield)
|
||||||
│ ├── 03_requirements/ # Atomic Use Cases (UC-xxx) and functional specs
|
│ ├── 03_requirements/ # Atomic Use Cases (UC-xxx) and functional specs
|
||||||
│ ├── 04_architecture_design/ # Risk spike, HLD, and DocType LLD contracts
|
│ ├── 04_architecture_design/ # Architecture risk spikes, HLD, and LLD contracts
|
||||||
│ ├── 05_iteration_planning/ # Iteration plans, backlogs, surface matrices
|
│ ├── 05_iteration_planning/ # Iteration plans, backlogs, surface matrices (Iter 01–07)
|
||||||
│ ├── 06_wireframes/ # Screen specifications and UI design tokens
|
│ ├── 06_wireframes/ # Screen specifications and UI design tokens (DESIGN.md)
|
||||||
│ └── 07_test_design/ # Functional test models, manual QA guides and workbooks
|
│ ├── 07_test_design/ # Functional test models, 21-sheet QA workbooks, regression suites
|
||||||
├── docs/api/bruno/ # Versioned Bruno API collections per module
|
│ ├── 08_review_ready_baselines/ # Formal review-ready baselines
|
||||||
├── prompts/ # Session transcripts (auditable, git-versioned)
|
│ └── prompts/ # Auditable, git-versioned AI session transcripts
|
||||||
|
│
|
||||||
|
├── project_code/ # 100% Self-Contained Customer Release Codebase
|
||||||
|
│ ├── backend/ # FastAPI service, domain FSMs, models, alembic migrations
|
||||||
|
│ ├── frontend/ # React + TypeScript + Vite SPA portal
|
||||||
|
│ ├── tests/ # Multi-path unit (197) and live container E2E suites
|
||||||
|
│ ├── sandbox/ # Deterministic external mocks (IdP, payment, fleet, SMS)
|
||||||
|
│ ├── docker/ # Production & development Docker configurations
|
||||||
|
│ ├── docs/ # Customer runbooks & versioned Bruno API collections
|
||||||
|
│ └── compose.yaml # Local orchestration compose
|
||||||
|
│
|
||||||
├── tech-profile.yaml # Active declarative project configuration
|
├── tech-profile.yaml # Active declarative project configuration
|
||||||
├── AGENTS.md # Project agent guide gateway
|
|
||||||
├── CLAUDE.md # Claude Code gateway
|
|
||||||
├── GEMINI.md # Gemini gateway
|
|
||||||
└── README.md # Project overview and orientation
|
└── README.md # Project overview and orientation
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -176,5 +191,5 @@ Functional Req: FR-xxx (child of exactly one UC-xxx)
|
||||||
|
|
||||||
## Governance & Process Modifications
|
## Governance & Process Modifications
|
||||||
|
|
||||||
- **Product Changes:** Functional scope changes, requirement gaps, and defect fixes are governed via `up-change-request-impact` in [`04_generated_documentation/00_process_control/change_request_register.md`](04_generated_documentation/00_process_control/change_request_register.md) (`CR-xxx`).
|
- **Product Changes:** Functional scope changes, requirement gaps, and defect fixes are governed via `up-change-request-impact` in [`project_sdlc/00_process_control/change_request_register.md`](project_sdlc/00_process_control/change_request_register.md) (`CR-xxx`).
|
||||||
- **Process Changes:** Changes to the process framework, gates, skills, or templates are governed via `up-process-change` in [`process/process_change_register.md`](process/process_change_register.md) (`PCR-xxx`).
|
- **Process Changes:** Changes to the process framework, gates, skills, or templates are governed via `up-process-change` in [`process/process_change_register.md`](process/process_change_register.md) (`PCR-xxx`).
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,11 @@ You are acting as a senior business analyst, solution architect, and CMMI Level
|
||||||
|
|
||||||
Context & Scope Setup:
|
Context & Scope Setup:
|
||||||
1. Check for `tech-profile.yaml` at project root. If missing, copy `process/templates/tech-profile.template.yaml` to `tech-profile.yaml` and configure it based on target project parameters using relative paths.
|
1. Check for `tech-profile.yaml` at project root. If missing, copy `process/templates/tech-profile.template.yaml` to `tech-profile.yaml` and configure it based on target project parameters using relative paths.
|
||||||
2. Establish top-level 3-directory structure:
|
2. Establish top-level 3-directory structure and root symlinks:
|
||||||
- Ensure `project_sdlc/` exists.
|
- Ensure `project_sdlc/` exists.
|
||||||
- Ensure `project_code/` exists (initially empty with a `.gitkeep`).
|
- Ensure `project_code/` exists (initially empty with a `.gitkeep`).
|
||||||
- `process/` is the meta-directory already checked out via git subtree.
|
- `process/` is the meta-directory already checked out via git subtree.
|
||||||
|
- Wire root symlinks pointing to canonical process assets (`.agents -> process/.agents`, `scripts -> process/scripts`, `AGENTS.md -> process/AGENTS.md`, `CLAUDE.md -> process/CLAUDE.md`, `GEMINI.md -> process/GEMINI.md`). Transcripts reside directly in `project_sdlc/prompts/`.
|
||||||
3. Identify project archetype:
|
3. Identify project archetype:
|
||||||
- **Greenfield Track:** Focuses on target PRD/BRD, target architecture, and domain modeling. Does not mandate legacy discovery.
|
- **Greenfield Track:** Focuses on target PRD/BRD, target architecture, and domain modeling. Does not mandate legacy discovery.
|
||||||
- **Brownfield Track:** Inventories legacy codebases, database schemas, and screenshots as specified in `tech-profile.yaml`.
|
- **Brownfield Track:** Inventories legacy codebases, database schemas, and screenshots as specified in `tech-profile.yaml`.
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ Read only what the task requires. Use this source-of-truth order:
|
||||||
|
|
||||||
1. `tech-profile.yaml` (at project root) for active technology stack and tailoring tier.
|
1. `tech-profile.yaml` (at project root) for active technology stack and tailoring tier.
|
||||||
2. `process/AI_Native_Unified_Process_v1.md` for authoritative process, stages, gates, and artifact rules.
|
2. `process/AI_Native_Unified_Process_v1.md` for authoritative process, stages, gates, and artifact rules.
|
||||||
3. `process/02_Skills_Usage_Guide.md` for stage order and skill invocation.
|
3. `process/Skills_GUIDE.md` for stage order and skill invocation.
|
||||||
4. `.agents/skills/<skill>/SKILL.md` (physically in `process/.agents/skills/`) for the canonical procedure of an applicable skill.
|
4. `.agents/skills/<skill>/SKILL.md` (physically in `process/.agents/skills/`) for the canonical procedure of an applicable skill.
|
||||||
5. `project_sdlc/00_process_control/` for current project decisions, assumptions, ambiguities, change requests (`CR-xxx`), traceability, and checkpoints.
|
5. `project_sdlc/00_process_control/` for current project decisions, assumptions, ambiguities, change requests (`CR-xxx`), traceability, and checkpoints.
|
||||||
6. `process/process_change_register.md` for process framework modifications (`PCR-xxx`).
|
6. `process/process_change_register.md` for process framework modifications (`PCR-xxx`).
|
||||||
|
|
@ -40,15 +40,15 @@ Read only what the task requires. Use this source-of-truth order:
|
||||||
|
|
||||||
## Session Transcript (Required)
|
## Session Transcript (Required)
|
||||||
|
|
||||||
Every AI-assisted conversation that performs work in this repository MUST maintain one running transcript in `prompts/`. The primary agent owns the file for the entire conversation, including activity delegated to subagents.
|
Every AI-assisted conversation that performs work in this repository MUST maintain one running transcript in `project_sdlc/prompts/`. The primary agent owns the file for the entire conversation, including activity delegated to subagents.
|
||||||
|
|
||||||
### Start And Naming
|
### Start And Naming
|
||||||
|
|
||||||
- At the first actionable request, create `prompts/YYYYMMDDTHHMMSSZ-session-<short-slug>.md` using the session start time in UTC.
|
- At the first actionable request, create `project_sdlc/prompts/YYYYMMDDTHHMMSSZ-session-<short-slug>.md` using the session start time in UTC.
|
||||||
- Use only lowercase ASCII letters, digits, and hyphens in `<short-slug>`.
|
- Use only lowercase ASCII letters, digits, and hyphens in `<short-slug>`.
|
||||||
- If the name already exists, append `-02`, `-03`, and so on. Never overwrite a prior transcript.
|
- If the name already exists, append `-02`, `-03`, and so on. Never overwrite a prior transcript.
|
||||||
- Reuse that same file for all subsequent turns in the conversation. Do not create a file per turn or per subagent.
|
- Reuse that same file for all subsequent turns in the conversation. Do not create a file per turn or per subagent.
|
||||||
- Leave existing non-session files in `prompts/` unchanged.
|
- Leave existing non-session files in `project_sdlc/prompts/` unchanged.
|
||||||
|
|
||||||
### Record
|
### Record
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -203,6 +203,13 @@ project_code/
|
||||||
└── docker-compose.prod.yaml # Production compose
|
└── docker-compose.prod.yaml # Production compose
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Root convenience symlinks connect canonical assets across AI assistant platforms:
|
||||||
|
- `.agents -> process/.agents` (Agent skills canonical directory)
|
||||||
|
- `scripts -> process/scripts` (CLI toolchain)
|
||||||
|
- `AGENTS.md -> process/AGENTS.md` (Authoritative agent guidelines)
|
||||||
|
- `CLAUDE.md -> process/CLAUDE.md` (Claude Code instructions pointer)
|
||||||
|
- `GEMINI.md -> process/GEMINI.md` (Gemini / Antigravity instructions pointer)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# 4. PHASE I — INCEPTION (Stages 0–4)
|
# 4. PHASE I — INCEPTION (Stages 0–4)
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
Please pickup instructions from AGENTS.md (symlinked to process/AGENTS.md) and process/AI_Native_Unified_Process_v1.md.
|
||||||
|
All AI agent skills are canonical and located under `.agents/skills/<skill_name>/SKILL.md` (version-controlled in `process/.agents/skills/`).
|
||||||
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
Please pickup instructions from AGENTS.md (symlinked to process/AGENTS.md) and process/AI_Native_Unified_Process_v1.md.
|
||||||
|
All AI agent skills are canonical and located under `.agents/skills/<skill_name>/SKILL.md` (version-controlled in `process/.agents/skills/`).
|
||||||
|
|
||||||
|
|
@ -146,9 +146,12 @@ AI agents execute specialized roles across the lifecycle:
|
||||||
# Edit tech-profile.yaml with your project name, archetype, and stack choices
|
# Edit tech-profile.yaml with your project name, archetype, and stack choices
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **Bootstrap governance workspace (Stage 0):**
|
3. **Bootstrap governance workspace & 3-directory structure (Stage 0):**
|
||||||
```bash
|
```bash
|
||||||
# In your AI IDE prompt (Cursor / Claude / Antigravity / Gemini):
|
# Option A: Run the CLI initializer script:
|
||||||
|
bash process/scripts/init-new-project.sh --name "My Project" --code "MYP" --archetype greenfield
|
||||||
|
|
||||||
|
# Option B: Or invoke via your AI IDE prompt (Cursor / Claude / Antigravity / Gemini):
|
||||||
/up-project-bootstrap --archetype greenfield
|
/up-project-bootstrap --archetype greenfield
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -196,9 +199,11 @@ process/
|
||||||
├── framework_guides/ # Deep-dive guides for framework topologies
|
├── framework_guides/ # Deep-dive guides for framework topologies
|
||||||
│ └── frappe_app_centric_development_guide.md # DevContainers, Antigravity, & subtree distribution
|
│ └── frappe_app_centric_development_guide.md # DevContainers, Antigravity, & subtree distribution
|
||||||
├── AI_Native_Unified_Process_v1.md # Core UP-AI v1.5 Process Specification
|
├── AI_Native_Unified_Process_v1.md # Core UP-AI v1.5 Process Specification
|
||||||
├── 02_Skills_Usage_Guide.md # Stage-by-stage invocation guide
|
├── Skills_GUIDE.md # Stage-by-stage skill invocation guide
|
||||||
├── process_change_register.md # Meta-governance ledger (PCR-xxx)
|
├── process_change_register.md # Meta-governance ledger (PCR-xxx)
|
||||||
├── AGENTS.md # Authoritative process agent guide
|
├── AGENTS.md # Authoritative process agent guide
|
||||||
|
├── CLAUDE.md # Claude Code instructions pointer
|
||||||
|
├── GEMINI.md # Gemini / Antigravity instructions pointer
|
||||||
└── README.md # Framework orientation & guide
|
└── README.md # Framework orientation & guide
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -206,16 +211,17 @@ process/
|
||||||
|
|
||||||
## Git Subtree Project Integration
|
## Git Subtree Project Integration
|
||||||
|
|
||||||
The process framework lives in `process/` alongside project-specific source code and generated documentation, linked seamlessly to root AI tooling via symlinks:
|
The universal process framework lives in `process/` alongside `project_sdlc/` (internal engineering & governance artifacts) and `project_code/` (customer deliverable code), connected seamlessly to root AI tooling via relative symlinks:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# In the target project repository:
|
# In the target project repository:
|
||||||
# 1. Add process framework via git subtree
|
# 1. Add process framework via git subtree
|
||||||
git subtree add --prefix=process <process-repo-url> main --squash
|
git subtree add --prefix=process <process-repo-url> main --squash
|
||||||
|
|
||||||
# 2. Establish root discovery symlinks for AI IDEs
|
# 2. Initialize project workspace and root symlinks
|
||||||
ln -s process/.agents .agents
|
bash process/scripts/init-new-project.sh --name "My Project" --code "MYP" --archetype greenfield
|
||||||
ln -s process/scripts scripts
|
# (automatically scaffolds project_sdlc/, project_code/, and creates root symlinks:
|
||||||
|
# .agents, scripts, AGENTS.md, CLAUDE.md, GEMINI.md)
|
||||||
|
|
||||||
# 3. Pull future process updates
|
# 3. Pull future process updates
|
||||||
git subtree pull --prefix=process <process-repo-url> main --squash
|
git subtree pull --prefix=process <process-repo-url> main --squash
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,10 @@ This guarantees:
|
||||||
| `PCR-005` | Process-Adjustment | Quality Assurance Architect / Process Lead | 2026-10-10 | Construction & Quality Gate Hardening | Hardened Gate 14.1 and the construction process against Goodhart's Law and superficial AI completion: (1) Deterministic semantic test density validation for Excel QA workbooks asserting total test cases >= 20; (2) Mandatory Bruno API collection check asserting >=1 .bru file per declared API surface; (3) Mandatory Functional Test Model checks asserting all 4 test dimensions (Happy, Boundary/Edge, Negative, FSM Invariant); (4) Automated test execution binding in Gate 14.1; (5) Differentiated requirement lifecycle states ('Baselined' -> 'In Construction' -> 'Implemented (Domain/Schema)' -> 'Delivered (E2E Verified)'); (6) Explicit binding anti-placeholder and anti-superficiality rules in AGENTS.md. | `process/AI_Native_Unified_Process_v1.md`, `process/02_Skills_Usage_Guide.md`, `AGENTS.md`, `scripts/verify_traceability_gates.py`, `scripts/generate_manual_qa_workbook.py`, `.agents/skills/up-traceability-gate/`, `.agents/skills/up-test-model-generate/`, `.agents/skills/up-code-generate/`, `.agents/skills/up-defect-fix/` | UP-AI v1.4 bump; Gate 14.1 semantic density enforcement and anti-superficiality rules | Approved | Closed |
|
| `PCR-005` | Process-Adjustment | Quality Assurance Architect / Process Lead | 2026-10-10 | Construction & Quality Gate Hardening | Hardened Gate 14.1 and the construction process against Goodhart's Law and superficial AI completion: (1) Deterministic semantic test density validation for Excel QA workbooks asserting total test cases >= 20; (2) Mandatory Bruno API collection check asserting >=1 .bru file per declared API surface; (3) Mandatory Functional Test Model checks asserting all 4 test dimensions (Happy, Boundary/Edge, Negative, FSM Invariant); (4) Automated test execution binding in Gate 14.1; (5) Differentiated requirement lifecycle states ('Baselined' -> 'In Construction' -> 'Implemented (Domain/Schema)' -> 'Delivered (E2E Verified)'); (6) Explicit binding anti-placeholder and anti-superficiality rules in AGENTS.md. | `process/AI_Native_Unified_Process_v1.md`, `process/02_Skills_Usage_Guide.md`, `AGENTS.md`, `scripts/verify_traceability_gates.py`, `scripts/generate_manual_qa_workbook.py`, `.agents/skills/up-traceability-gate/`, `.agents/skills/up-test-model-generate/`, `.agents/skills/up-code-generate/`, `.agents/skills/up-defect-fix/` | UP-AI v1.4 bump; Gate 14.1 semantic density enforcement and anti-superficiality rules | Approved | Closed |
|
||||||
| `PCR-006` | Process-Adjustment | Process Architect / AI Engineering Lead | 2026-10-10 | Process-Project Decoupling, Git Subtree Architecture & Relative Path Enforcement | Cleanly decoupled the universal AI-Native Unified Process framework (`process/`) from project instance assets (`04_generated_documentation/`, `01_BRD/`, `docs/`, `tech-profile.yaml`). Consolidated all process specifications, templates, framework guides, skills (`process/.agents/skills/`), and automation scripts (`process/scripts/`) under `process/`. Established root symlinks (`.agents -> process/.agents`, `scripts -> process/scripts`) for seamless discovery by root-level AI agent platforms while enabling clean standalone `git subtree` versioning. Moved `process_change_register.md` into `process/` to isolate meta-governance (`PCR-xxx`) from product governance (`CR-xxx`). Hardened scripts with upward repo root discovery (`find_repo_root()`). Enforced 100% relative path hygiene across all skills, templates, documentation, and agent rules—eliminating legacy `00_prompts/` references and hardcoded machine paths. Split repository documentation into project root `README.md` and framework `process/README.md`. | `process/AI_Native_Unified_Process_v1.md`, `process/02_Skills_Usage_Guide.md`, `process/process_change_register.md`, `process/.agents/skills/*/SKILL.md`, `process/scripts/*`, `AGENTS.md`, `process/AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, `tech-profile.yaml`, `README.md`, `process/README.md` | UP-AI v1.5 bump; independent git subtree versioning of process framework and strict relative path portability | Approved | Closed |
|
| `PCR-006` | Process-Adjustment | Process Architect / AI Engineering Lead | 2026-10-10 | Process-Project Decoupling, Git Subtree Architecture & Relative Path Enforcement | Cleanly decoupled the universal AI-Native Unified Process framework (`process/`) from project instance assets (`04_generated_documentation/`, `01_BRD/`, `docs/`, `tech-profile.yaml`). Consolidated all process specifications, templates, framework guides, skills (`process/.agents/skills/`), and automation scripts (`process/scripts/`) under `process/`. Established root symlinks (`.agents -> process/.agents`, `scripts -> process/scripts`) for seamless discovery by root-level AI agent platforms while enabling clean standalone `git subtree` versioning. Moved `process_change_register.md` into `process/` to isolate meta-governance (`PCR-xxx`) from product governance (`CR-xxx`). Hardened scripts with upward repo root discovery (`find_repo_root()`). Enforced 100% relative path hygiene across all skills, templates, documentation, and agent rules—eliminating legacy `00_prompts/` references and hardcoded machine paths. Split repository documentation into project root `README.md` and framework `process/README.md`. | `process/AI_Native_Unified_Process_v1.md`, `process/02_Skills_Usage_Guide.md`, `process/process_change_register.md`, `process/.agents/skills/*/SKILL.md`, `process/scripts/*`, `AGENTS.md`, `process/AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, `tech-profile.yaml`, `README.md`, `process/README.md` | UP-AI v1.5 bump; independent git subtree versioning of process framework and strict relative path portability | Approved | Closed |
|
||||||
| `PCR-007` | Process-Adjustment | Solution Architect / Process Lead | 2026-10-13 | Top-Level 3-Directory Architecture & Customer Isolation | Established universal 3-tier top-level project layout separating universal process framework (`process/`), internal project engineering artifacts (`project_sdlc/`), and customer-deliverable codebase (`project_code/`). Isolated customer deliverables into `project_code/` with self-contained Bruno API collections (`project_code/docs/api/bruno/`) and operational runbooks, eliminating external symlinks. Updated `up-project-bootstrap` and `init-new-project.sh` to initialize clean scaffolding with empty `project_code/` (.gitkeep). Enforced just-in-time directory auto-creation across all skills and strict 100% root-relative path hygiene. | `process/AI_Native_Unified_Process_v1.md`, `process/scripts/init-new-project.sh`, `process/scripts/verify_traceability_gates.py`, `process/scripts/run_tests.sh`, `process/scripts/generate_manual_qa_workbook.py`, `process/.agents/skills/up-project-bootstrap/SKILL.md`, `process/process_change_register.md` | UP-AI v1.6 bump; clean 3-directory repository structure and leak-free customer delivery isolation | Approved | Closed |
|
| `PCR-007` | Process-Adjustment | Solution Architect / Process Lead | 2026-10-13 | Top-Level 3-Directory Architecture & Customer Isolation | Established universal 3-tier top-level project layout separating universal process framework (`process/`), internal project engineering artifacts (`project_sdlc/`), and customer-deliverable codebase (`project_code/`). Isolated customer deliverables into `project_code/` with self-contained Bruno API collections (`project_code/docs/api/bruno/`) and operational runbooks, eliminating external symlinks. Updated `up-project-bootstrap` and `init-new-project.sh` to initialize clean scaffolding with empty `project_code/` (.gitkeep). Enforced just-in-time directory auto-creation across all skills and strict 100% root-relative path hygiene. | `process/AI_Native_Unified_Process_v1.md`, `process/scripts/init-new-project.sh`, `process/scripts/verify_traceability_gates.py`, `process/scripts/run_tests.sh`, `process/scripts/generate_manual_qa_workbook.py`, `process/.agents/skills/up-project-bootstrap/SKILL.md`, `process/process_change_register.md` | UP-AI v1.6 bump; clean 3-directory repository structure and leak-free customer delivery isolation | Approved | Closed |
|
||||||
|
| `PCR-008` | Process-Adjustment | Process Architect / Framework Lead | 2026-10-13 | Framework Documentation Alignment & Root Agent Symlink Consolidation | Renamed `process/02_Skills_Usage_Guide.md` to `process/Skills_GUIDE.md` for consistent casing and naming convention. Consolidated all agent framework guides (`AGENTS.md`, `CLAUDE.md`, `GEMINI.md`) inside `process/` as the single canonical source of truth, linking root files via relative symlinks to ensure git-subtree synchronization and seamless multi-platform AI assistant discovery. Aligned `process/README.md` and root `README.md` with the 3-directory top-level architecture and updated `init-new-project.sh` to scaffold all agent symlinks automatically. | `process/Skills_GUIDE.md`, `process/AGENTS.md`, `process/CLAUDE.md`, `process/GEMINI.md`, `process/README.md`, `README.md`, `process/scripts/init-new-project.sh`, `process/process_change_register.md` | Documentation hygiene and agent framework single-source-of-truth consolidation | Approved | Closed |
|
||||||
|
| `PCR-009` | Process-Adjustment | Process Architect / Project Governance Lead | 2026-10-13 | Root Layout Hygiene & Transcripts Encapsulation under `project_sdlc/prompts/` | Eliminated root `prompts` convenience symlink in favor of exclusive placement under `project_sdlc/prompts/`. Updated process specification, scaffolding script (`init-new-project.sh`), bootstrap skill (`up-project-bootstrap`), process `AGENTS.md` instructions, and repository documentation to reference `project_sdlc/prompts/` directly via root-relative paths. Preserves a pristine repository root containing only the 3 primary directories (`process/`, `project_sdlc/`, `project_code/`) and essential agent entrypoint symlinks. | `process/AI_Native_Unified_Process_v1.md`, `process/scripts/init-new-project.sh`, `process/.agents/skills/up-project-bootstrap/SKILL.md`, `process/AGENTS.md`, `process/README.md`, `README.md`, `process/process_change_register.md` | Root hygiene and strict project_sdlc encapsulation | Approved | Closed |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,13 @@ mkdir -p "$repo_root/project_sdlc/prompts"
|
||||||
mkdir -p "$repo_root/project_code"
|
mkdir -p "$repo_root/project_code"
|
||||||
touch "$repo_root/project_code/.gitkeep"
|
touch "$repo_root/project_code/.gitkeep"
|
||||||
|
|
||||||
|
# 3. Create root symlinks to process and SDLC assets
|
||||||
|
ln -sf process/.agents "$repo_root/.agents"
|
||||||
|
ln -sf process/scripts "$repo_root/scripts"
|
||||||
|
ln -sf process/AGENTS.md "$repo_root/AGENTS.md"
|
||||||
|
ln -sf process/CLAUDE.md "$repo_root/CLAUDE.md"
|
||||||
|
ln -sf process/GEMINI.md "$repo_root/GEMINI.md"
|
||||||
|
|
||||||
if [[ "$archetype" == "brownfield" ]]; then
|
if [[ "$archetype" == "brownfield" ]]; then
|
||||||
mkdir -p "$repo_root/project_sdlc/02_legacy_analysis"
|
mkdir -p "$repo_root/project_sdlc/02_legacy_analysis"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -121,3 +121,59 @@
|
||||||
- **Verification:**
|
- **Verification:**
|
||||||
- Simulated `env.py` and model imports from `project_code/backend`: successfully imported `Base` and `User`.
|
- Simulated `env.py` and model imports from `project_code/backend`: successfully imported `Base` and `User`.
|
||||||
- Executed unit suite: 197/197 tests passed, 98.4% statement coverage.
|
- Executed unit suite: 197/197 tests passed, 98.4% statement coverage.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Turn 7: 2026-10-13T11:32:00Z
|
||||||
|
- **User:**
|
||||||
|
Inquired regarding root folder refinement:
|
||||||
|
1. Can agent framework files (`AGENTS.md`, `GEMINI.md`, `CLAUDE.md`) reside inside `process/` with only links outside in the main directory?
|
||||||
|
2. Should `tech-profile.yaml` reside inside one of the folders (`process/` or `project_sdlc/`) instead of the root folder, or be left in the main folder?
|
||||||
|
- **Agent Analysis & Implementation:**
|
||||||
|
- **Agent Framework Files:** Created canonical `process/CLAUDE.md` and `process/GEMINI.md` alongside authoritative `process/AGENTS.md`. Converted root `AGENTS.md`, `CLAUDE.md`, and `GEMINI.md` to relative symlinks (`-> process/*`). Updated `process/scripts/init-new-project.sh` and `up-project-bootstrap` to automatically create these symlinks during bootstrap.
|
||||||
|
- **`tech-profile.yaml` Location Analysis:**
|
||||||
|
- Not in `process/`: `process/` is an upstream-shared, generic `git subtree`; embedding project-specific configurations violates subtree portability.
|
||||||
|
- Compared root placement vs `project_sdlc/tech-profile.yaml` (with root symlink). Recommended keeping it as the project root anchor file (analogous to `package.json`/`pom.xml`) or in `project_sdlc/` with a root symlink, explaining the operational trade-offs across CI, tooling, and repository boundaries.
|
||||||
|
- **Verification:** Ran `python3 scripts/verify_traceability_gates.py --all`: all gates passed with 0 findings. All symlinks verified valid.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Turn 8: 2026-10-13T12:05:00Z
|
||||||
|
- **User:**
|
||||||
|
Requested:
|
||||||
|
1. Confirm root `AGENTS.md` is a link to `process/AGENTS.md`.
|
||||||
|
2. Rename `process/02_Skills_Usage_Guide.md` to `Skills_GUIDE.md` and update all references.
|
||||||
|
3. Update `process/README.md` (and root `README.md`) to reflect the latest process refactorings.
|
||||||
|
- **Agent Actions & Execution:**
|
||||||
|
- **Re-linked root `AGENTS.md`:** Ensured root `AGENTS.md -> process/AGENTS.md` relative symlink.
|
||||||
|
- **Skills Guide Renaming:** Renamed `process/02_Skills_Usage_Guide.md` $\rightarrow$ `process/Skills_GUIDE.md`. Updated all active references in `process/AGENTS.md`, `process/README.md`, and root `README.md`.
|
||||||
|
- **README Documentation Modernization:**
|
||||||
|
- Updated `process/README.md` to document the 3-directory architecture (`process/`, `project_sdlc/`, `project_code/`), `Skills_GUIDE.md`, root agent symlinks, and updated project initialization instructions.
|
||||||
|
- Updated root `README.md` to document the 3-directory architecture (PCR-007) and updated internal links (`project_sdlc/00_process_control/...`).
|
||||||
|
- Registered `PCR-008` in `process/process_change_register.md`.
|
||||||
|
- **Verification:**
|
||||||
|
- Quality Gates: All gates (5.1, 9.1, 14.1 across Iterations 01-07) passed with 0 findings.
|
||||||
|
- Unit Tests: 197/197 tests passed, 98.4% statement coverage.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Turn 9: 2026-10-13T12:12:00Z
|
||||||
|
- **User:**
|
||||||
|
Inquired whether the `prompts` directory is logically required in the root folder, where it is referenced, whether it should ideally be in `project_sdlc/`, and whether relative paths should be updated.
|
||||||
|
- **Agent Analysis & Implementation:**
|
||||||
|
- **Logical Requirement:** Confirmed that `prompts/` is **NOT** logically required in the repository root. Session transcripts are auditable, project-specific SDLC artifacts that logically belong exclusively inside `project_sdlc/prompts/`.
|
||||||
|
- **References Audit:**
|
||||||
|
- `process/AGENTS.md` (and symlinked `AGENTS.md`): Already updated to specify `project_sdlc/prompts/YYYYMMDDTHHMMSSZ-session-<short-slug>.md`.
|
||||||
|
- `process/scripts/init-new-project.sh`: Removed `ln -sf project_sdlc/prompts "$repo_root/prompts"`.
|
||||||
|
- `process/.agents/skills/up-project-bootstrap/SKILL.md`: Removed `prompts` from root symlinks setup and documented direct storage in `project_sdlc/prompts/`.
|
||||||
|
- `process/AI_Native_Unified_Process_v1.md`: Removed root `prompts` symlink from Section 3 root convenience symlinks list.
|
||||||
|
- `README.md` and `process/README.md`: Removed root `prompts` symlink from repository layout tree diagrams and initialization comments.
|
||||||
|
- `process/process_change_register.md`: Registered `PCR-009` formalizing the elimination of the root `prompts` symlink and strict encapsulation under `project_sdlc/prompts/`.
|
||||||
|
- **Removal of Root Symlink:**
|
||||||
|
- Executed `rm -f prompts` to delete the root convenience symlink.
|
||||||
|
- Preserved all session transcripts intact in `project_sdlc/prompts/`.
|
||||||
|
- **Verification:**
|
||||||
|
- `python3 scripts/verify_traceability_gates.py --all`: Quality Gates 5.1, 9.1, and 14.1 all PASSED with 0 issues.
|
||||||
|
- `python3 project_code/tests/run_all_tests.py`: 197/197 tests passed, statement coverage 98.4%.
|
||||||
|
- Verified root directory contains only the 3 primary directories (`process/`, `project_sdlc/`, `project_code/`), necessary agent entrypoints, and standard repo metadata files.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue