diff --git a/process/.agents/skills/up-arch-risk-spike/SKILL.md b/process/.agents/skills/up-arch-risk-spike/SKILL.md index b8d23a7..ded1a9c 100644 --- a/process/.agents/skills/up-arch-risk-spike/SKILL.md +++ b/process/.agents/skills/up-arch-risk-spike/SKILL.md @@ -18,8 +18,8 @@ Retire architecture risk early by proving the hardest parts of the system (data ## Read first - `tech-profile.yaml` (identifies architecture pattern, database model, auth provider, and external sandboxes) -- `04_generated_documentation/03_requirements/use_cases/` (all authored use cases) -- `04_generated_documentation/00_process_control/master_context.md` +- `project_sdlc/03_requirements/use_cases/` (all authored use cases) +- `project_sdlc/00_process_control/master_context.md` - `process/AI_Native_Unified_Process_v1.md` §5 "Stage 6" and "Stage 7" ## Procedure @@ -48,7 +48,7 @@ Produce `architecture_spike_report.md` documenting: ## Output expected -`04_generated_documentation/00_process_control/architecture_risk_register.md`; scoped `04_generated_documentation/04_architecture_design/hld.md` and `lld/LLD-xxx_*.md` covering significant use cases; `architecture_spike_report.md`. +`project_sdlc/00_process_control/architecture_risk_register.md`; scoped `project_sdlc/04_architecture_design/hld.md` and `lld/LLD-xxx_*.md` covering significant use cases; `architecture_spike_report.md`. ## Exit criteria diff --git a/process/.agents/skills/up-brd-extract/SKILL.md b/process/.agents/skills/up-brd-extract/SKILL.md index 23cc22e..4c6870b 100644 --- a/process/.agents/skills/up-brd-extract/SKILL.md +++ b/process/.agents/skills/up-brd-extract/SKILL.md @@ -16,13 +16,13 @@ Extract the authoritative business features from the BRD/PRD and assign each one ## Read first -- `01_BRD/` (full PRD/BRD contents) -- `04_generated_documentation/00_process_control/master_context.md` (from Stage 0) +- `project_sdlc/01_BRD/` (full PRD/BRD contents) +- `project_sdlc/00_process_control/master_context.md` (from Stage 0) - `process/AI_Native_Unified_Process_v1.md` §4 "Stage 1" ## Procedure -Read `01_BRD` in full. Extract every distinct business feature, requirement, and constraint. For each, assign a `BRD-FR-xxx` ID and record: +Read `project_sdlc/01_BRD` in full. Extract every distinct business feature, requirement, and constraint. For each, assign a `BRD-FR-xxx` ID and record: - statement - BRD/PRD section reference - actor(s) involved @@ -32,11 +32,11 @@ Read `01_BRD` in full. Extract every distinct business feature, requirement, and Rules: - Do not reference legacy code or screenshots in this pass — BRD extraction must be independent of legacy anchoring. - Do not resolve conflicts here — only flag them. -- Output as a table in `04_generated_documentation/01_source_inventories/brd_inventory.md`. +- Output as a table in `project_sdlc/01_source_inventories/brd_inventory.md`. ## Output expected -`04_generated_documentation/01_source_inventories/brd_inventory.md` — every BRD feature tagged `BRD-FR-xxx`. +`project_sdlc/01_source_inventories/brd_inventory.md` — every BRD feature tagged `BRD-FR-xxx`. ## Exit criteria (QG-0 equivalent) @@ -44,7 +44,7 @@ Every BRD feature has a `BRD-FR-xxx` ID. None are yet mapped downstream — that ## Sample invocation -> "Run up-brd-extract against the current 01_BRD folder and produce brd_inventory.md." +> "Run up-brd-extract against the current project_sdlc/01_BRD folder and produce brd_inventory.md." ## Related skills diff --git a/process/.agents/skills/up-change-request-impact/SKILL.md b/process/.agents/skills/up-change-request-impact/SKILL.md index 9f2d2eb..429ca6b 100644 --- a/process/.agents/skills/up-change-request-impact/SKILL.md +++ b/process/.agents/skills/up-change-request-impact/SKILL.md @@ -20,8 +20,8 @@ Give every future change — a bug that's really a requirements gap, a new ask f ## Read first -- `04_generated_documentation/00_process_control/change_request_register.md` -- `04_generated_documentation/00_process_control/traceability_graph.md` +- `project_sdlc/00_process_control/change_request_register.md` +- `project_sdlc/00_process_control/traceability_graph.md` - The artifact(s) where the change originates ## Procedure @@ -46,7 +46,7 @@ A change has been proposed: [CR-xxx description]. It touches [UC-xxx / FR-xxx / SRS-xxx / HLD component / other — name the starting point(s) you know about]. -Walk 04_generated_documentation/00_process_control/traceability_graph.md from every starting point +Walk project_sdlc/00_process_control/traceability_graph.md from every starting point given. Report: 1. Every downstream artifact reachable in the chain (FR -> SRS -> HLD -> LLD -> STORY -> TC -> UAT) that would need to change. diff --git a/process/.agents/skills/up-code-generate/SKILL.md b/process/.agents/skills/up-code-generate/SKILL.md index 9f951de..00a9dc6 100644 --- a/process/.agents/skills/up-code-generate/SKILL.md +++ b/process/.agents/skills/up-code-generate/SKILL.md @@ -17,13 +17,13 @@ Implement the current iteration's stories as production-grade code — backend s ## Read first - `tech-profile.yaml` (specifies backend language, framework, ORM, migrations, frontend framework, auth provider, and sandboxes) -- Current iteration's `04_generated_documentation/05_iteration_planning/iterations/iteration-NN/iteration_backlog.md` (STORY-xxx list) +- Current iteration's `project_sdlc/05_iteration_planning/iterations/iteration-NN/iteration_backlog.md` (STORY-xxx list) - Current iteration's `iteration_surface_matrix.md` (required delivery surfaces and owners) - Current iteration's `parallel_work_plan.md` (if parallel lanes are active) -- Owning `04_generated_documentation/04_architecture_design/lld/LLD-0xx_*.md` (API/table/event contracts) +- Owning `project_sdlc/04_architecture_design/lld/LLD-0xx_*.md` (API/table/event contracts) - Owning use case's `functional-reqs.md` (acceptance criteria, validation, audit requirements) -- This iteration's wireframes (`04_generated_documentation/06_wireframes/`) and test cases (`04_generated_documentation/07_test_design/`) -- `04_generated_documentation/06_wireframes/DESIGN.md` or active design system tokens +- This iteration's wireframes (`project_sdlc/06_wireframes/`) and test cases (`project_sdlc/07_test_design/`) +- `project_sdlc/06_wireframes/DESIGN.md` or active design system tokens - `architecture_spike_report.md` (service template conventions) ## Procedure diff --git a/process/.agents/skills/up-context-checkpoint/SKILL.md b/process/.agents/skills/up-context-checkpoint/SKILL.md index 45a3dc2..b3bd186 100644 --- a/process/.agents/skills/up-context-checkpoint/SKILL.md +++ b/process/.agents/skills/up-context-checkpoint/SKILL.md @@ -24,7 +24,7 @@ A checkpoint is not a substitute for governance registers and not a duplicate of ## Read first -- `04_generated_documentation/00_process_control/checkpoints/checkpoint_index.md` (pointer to the latest checkpoint, if any) +- `project_sdlc/00_process_control/checkpoints/checkpoint_index.md` (pointer to the latest checkpoint, if any) - The referenced registers named in that checkpoint (`traceability_graph.md`, `change_request_register.md`, `decision_log.md`, `ambiguity_register.md`, current iteration's `iteration_backlog.md`) ## Procedure @@ -33,7 +33,7 @@ A checkpoint is not a substitute for governance registers and not a duplicate of ``` Write a checkpoint for the current work session to -04_generated_documentation/00_process_control/checkpoints/checkpoint--.md: +project_sdlc/00_process_control/checkpoints/checkpoint--.md: - Checkpoint ID: CKPT- - Date, and which stage/gate/iteration was active @@ -42,14 +42,14 @@ Write a checkpoint for the current work session to - Open items blocking progress (pointers to CR-xxx, AMB-xxx, or DEC-xxx) - The exact next action: which skill to invoke, with what scope/args -Update 04_generated_documentation/00_process_control/checkpoints/checkpoint_index.md to point to +Update project_sdlc/00_process_control/checkpoints/checkpoint_index.md to point to this checkpoint as the latest. ``` ### Resuming a checkpoint ``` -Read 04_generated_documentation/00_process_control/checkpoints/checkpoint_index.md to find the +Read project_sdlc/00_process_control/checkpoints/checkpoint_index.md to find the latest checkpoint, then read that checkpoint file. Before continuing: @@ -60,7 +60,7 @@ Before continuing: ## Output expected -`04_generated_documentation/00_process_control/checkpoints/checkpoint--.md`; updated `checkpoint_index.md`. +`project_sdlc/00_process_control/checkpoints/checkpoint--.md`; updated `checkpoint_index.md`. ## Exit criteria diff --git a/process/.agents/skills/up-hld-lld-generate/SKILL.md b/process/.agents/skills/up-hld-lld-generate/SKILL.md index 9d2784e..ff452ca 100644 --- a/process/.agents/skills/up-hld-lld-generate/SKILL.md +++ b/process/.agents/skills/up-hld-lld-generate/SKILL.md @@ -17,8 +17,8 @@ Complete HLD/LLD for all remaining modules by reusing the pattern already proven ## Read first - `architecture_spike_report.md` (service template and validated patterns) -- `04_generated_documentation/00_process_control/architecture_risk_register.md` (which use cases are NOT architecturally significant) -- `04_generated_documentation/03_requirements/use_cases/` (FR-xxx with derived SRS from Stage 8) +- `project_sdlc/00_process_control/architecture_risk_register.md` (which use cases are NOT architecturally significant) +- `project_sdlc/03_requirements/use_cases/` (FR-xxx with derived SRS from Stage 8) - `process/AI_Native_Unified_Process_v1.md` §5 "Stage 9" ## Procedure @@ -32,7 +32,7 @@ For each remaining service/module: ## Output expected -Completed `04_generated_documentation/04_architecture_design/hld.md`, `lld/LLD-0xx_*.md` (all services), `database_design.md`, `api_design.md`, `integration_design.md`. +Completed `project_sdlc/04_architecture_design/hld.md`, `lld/LLD-0xx_*.md` (all services), `database_design.md`, `api_design.md`, `integration_design.md`. ## Exit criteria diff --git a/process/.agents/skills/up-iteration-plan/SKILL.md b/process/.agents/skills/up-iteration-plan/SKILL.md index cb54cdd..50c6ba9 100644 --- a/process/.agents/skills/up-iteration-plan/SKILL.md +++ b/process/.agents/skills/up-iteration-plan/SKILL.md @@ -17,10 +17,10 @@ Plan one iteration at a time — a vertical slice of related use cases taken end ## Read first -- `04_generated_documentation/00_process_control/architecture_risk_register.md` (grouping/dependency data) -- `04_generated_documentation/00_process_control/traceability_graph.md` (which FRs/use cases are not yet Delivered) +- `project_sdlc/00_process_control/architecture_risk_register.md` (grouping/dependency data) +- `project_sdlc/00_process_control/traceability_graph.md` (which FRs/use cases are not yet Delivered) - Previous iteration's `retrospective.md`, if any (carried-over stories, raised CRs) -- `04_generated_documentation/07_test_design/regression_test_cases.md` (flaky or deprecated-pending-replacement regression debt to carry forward) +- `project_sdlc/07_test_design/regression_test_cases.md` (flaky or deprecated-pending-replacement regression debt to carry forward) - `process/AI_Native_Unified_Process_v1.md` §6 "Stage 10" ## Procedure @@ -50,7 +50,7 @@ Rules: ## Output expected -`04_generated_documentation/05_iteration_planning/iterations/iteration-NN/iteration_backlog.md`, `iteration_plan.md`, `iteration_surface_matrix.md`, and `parallel_work_plan.md` when concurrent lanes are planned. +`project_sdlc/05_iteration_planning/iterations/iteration-NN/iteration_backlog.md`, `iteration_plan.md`, `iteration_surface_matrix.md`, and `parallel_work_plan.md` when concurrent lanes are planned. ## Exit criteria diff --git a/process/.agents/skills/up-legacy-gap-analysis/SKILL.md b/process/.agents/skills/up-legacy-gap-analysis/SKILL.md index 98b3a4d..91f3601 100644 --- a/process/.agents/skills/up-legacy-gap-analysis/SKILL.md +++ b/process/.agents/skills/up-legacy-gap-analysis/SKILL.md @@ -20,9 +20,9 @@ Build a catalogued, indexed understanding of the legacy system (modules, APIs, D ## Read first - `tech-profile.yaml` (identifies legacy source paths under `inception.legacy_sources`) -- `04_generated_documentation/01_source_inventories/brd_inventory.md` -- `02_legacy_source_code/` (the specific module folder(s) in scope) -- `03_old_screenshots/` (if UI screenshots are available) +- `project_sdlc/01_source_inventories/brd_inventory.md` +- `project_sdlc/02_legacy_analysis/legacy_code/` (the specific module folder(s) in scope) +- `project_sdlc/02_legacy_analysis/screenshots/` (if UI screenshots are available) - `process/AI_Native_Unified_Process_v1.md` §4 "Stages 2–4" ## Procedure @@ -33,13 +33,13 @@ Run as three scoped passes — do not combine them into one prompt (token discip 1. Folder & AST inventory: catalogue applications/modules present, purpose, architecture pattern, apparent tech stack. 2. API catalogue: enumerate endpoints per module (method, path, request/response models, auth mechanisms). 3. DB catalogue: reconstruct schema/tables per module from ORM models, SQL scripts, or migration files. -Output: behavioral extraction docs under `04_generated_documentation/02_legacy_analysis/`. +Output: behavioral extraction docs under `project_sdlc/02_legacy_analysis/`. **Stage 3 — Screenshot and UX Mining:** -Build a screen inventory from screenshots or legacy templates alone, independent of code, cross-checking Stage 2's findings. Output under `04_generated_documentation/02_legacy_analysis/`. +Build a screen inventory from screenshots or legacy templates alone, independent of code, cross-checking Stage 2's findings. Output under `project_sdlc/02_legacy_analysis/`. **Stage 4 — BRD vs Legacy Gap Analysis:** -Cross-reference `brd_inventory.md` (BRD-FR-xxx) against legacy analysis findings. For each BRD-FR, note: matched legacy behavior / partial match / no legacy precedent / legacy behavior contradicts BRD. Output under `04_generated_documentation/02_legacy_analysis/`. +Cross-reference `brd_inventory.md` (BRD-FR-xxx) against legacy analysis findings. For each BRD-FR, note: matched legacy behavior / partial match / no legacy precedent / legacy behavior contradicts BRD. Output under `project_sdlc/02_legacy_analysis/`. Rules: - Distinguish confirmed legacy behavior, inferred behavior, proposed modernization, and new requirement. @@ -48,7 +48,7 @@ Rules: ## Output expected -Extraction and gap analysis files under `04_generated_documentation/02_legacy_analysis/`. +Extraction and gap analysis files under `project_sdlc/02_legacy_analysis/`. ## Exit criteria (QG-I, combined with Stage 0/1) diff --git a/process/.agents/skills/up-requirements-elicit/SKILL.md b/process/.agents/skills/up-requirements-elicit/SKILL.md index 36803ab..486b250 100644 --- a/process/.agents/skills/up-requirements-elicit/SKILL.md +++ b/process/.agents/skills/up-requirements-elicit/SKILL.md @@ -27,11 +27,11 @@ This skill operationalizes: ## Read First -- `01_BRD/PRD_Specification.template.md` (authoritative document structure) +- `project_sdlc/01_BRD/PRD_Specification.template.md` (authoritative document structure) - `tech-profile.yaml` (archetype, multi-tenancy model, active tech stack) -- `04_generated_documentation/00_process_control/master_context.md` -- `04_generated_documentation/00_process_control/ambiguity_register.md` -- `04_generated_documentation/00_process_control/assumptions_register.md` +- `project_sdlc/00_process_control/master_context.md` +- `project_sdlc/00_process_control/ambiguity_register.md` +- `project_sdlc/00_process_control/assumptions_register.md` --- @@ -70,14 +70,14 @@ Do NOT overwhelm the stakeholder with a wall of 20 questions. Conduct a focused, #### Interview Governance Rules: 1. **Challenge Ambiguity:** If the user provides a vague answer (e.g., *"It should be fast and secure"*), probe immediately: *"What is the acceptable p95 response time in milliseconds? What authentication standard (OIDC, SAML, API keys) is required?"*. -2. **Log Unknowns:** If a business decision cannot be answered immediately, do NOT guess or invent business logic. Record it as an `AMB-xxx` in `04_generated_documentation/00_process_control/ambiguity_register.md`. -3. **Log Working Assumptions:** If proceeding requires a reasonable default, record it as an `ASM-xxx` in `04_generated_documentation/00_process_control/assumptions_register.md`. +2. **Log Unknowns:** If a business decision cannot be answered immediately, do NOT guess or invent business logic. Record it as an `AMB-xxx` in `project_sdlc/00_process_control/ambiguity_register.md`. +3. **Log Working Assumptions:** If proceeding requires a reasonable default, record it as an `ASM-xxx` in `project_sdlc/00_process_control/assumptions_register.md`. --- ### Phase 2 — BRD/PRD Synthesis & Baseling -Once the elicitation interview yields sufficient clarity across the five dimensions, synthesize the output directly into `01_BRD/PRD_Specification.md` following `01_BRD/PRD_Specification.template.md`. +Once the elicitation interview yields sufficient clarity across the five dimensions, synthesize the output directly into `project_sdlc/01_BRD/PRD_Specification.md` following `project_sdlc/01_BRD/PRD_Specification.template.md`. #### Mandatory PRD Structure: ```markdown @@ -146,17 +146,17 @@ Provide a concise Human Review Brief for the stakeholder: ## Output Expected -1. Baselined requirements document: `01_BRD/PRD_Specification.md`. +1. Baselined requirements document: `project_sdlc/01_BRD/PRD_Specification.md`. 2. Updated registers: - - `04_generated_documentation/00_process_control/ambiguity_register.md` - - `04_generated_documentation/00_process_control/assumptions_register.md` + - `project_sdlc/00_process_control/ambiguity_register.md` + - `project_sdlc/00_process_control/assumptions_register.md` 3. Stakeholder Human Review Brief presented in session. --- ## Exit Criteria -- `01_BRD/PRD_Specification.md` exists and is populated with: +- `project_sdlc/01_BRD/PRD_Specification.md` exists and is populated with: - Clear problem statement and target personas. - At least 3 `BRD-FR-xxx` features with priority and acceptance intent. - Explicit Anti-Scope section. diff --git a/process/.agents/skills/up-srs-derive/SKILL.md b/process/.agents/skills/up-srs-derive/SKILL.md index 0c8e626..f8bc420 100644 --- a/process/.agents/skills/up-srs-derive/SKILL.md +++ b/process/.agents/skills/up-srs-derive/SKILL.md @@ -16,7 +16,7 @@ Derive SRS/NFR requirements from the use-case-owned functional requirements, usi ## Read first -- `04_generated_documentation/03_requirements/use_cases/` (all FR-xxx, with parent_uc) +- `project_sdlc/03_requirements/use_cases/` (all FR-xxx, with parent_uc) - `architecture_spike_report.md` - `process/AI_Native_Unified_Process_v1.md` §5 "Stage 8" @@ -39,7 +39,7 @@ Rules: ## Output expected -`04_generated_documentation/03_requirements/SRS-xxx_*.md` (or scoped per-FR SRS sections within the use case's own folder), each declaring `parent_fr`. +`project_sdlc/03_requirements/SRS-xxx_*.md` (or scoped per-FR SRS sections within the use case's own folder), each declaring `parent_fr`. ## Exit criteria diff --git a/process/.agents/skills/up-test-model-generate/SKILL.md b/process/.agents/skills/up-test-model-generate/SKILL.md index b7fe557..0c19954 100644 --- a/process/.agents/skills/up-test-model-generate/SKILL.md +++ b/process/.agents/skills/up-test-model-generate/SKILL.md @@ -18,10 +18,10 @@ Generate comprehensive multi-path test cases scoped to the current iteration's s ## Read first - `tech-profile.yaml` (identifies test frameworks, coverage thresholds, and sandboxes) -- Current iteration's `04_generated_documentation/05_iteration_planning/iterations/iteration-NN/iteration_backlog.md` (STORY-xxx list) -- `04_generated_documentation/03_requirements/use_cases/uc-xxx_*/functional-reqs.md` (acceptance criteria per FR) -- `04_generated_documentation/07_test_design/regression_test_cases.md` (traceability index of the cumulative regression suite) -- `04_generated_documentation/07_test_design/test_strategy.md` (tagging convention, tool-per-test-type) +- Current iteration's `project_sdlc/05_iteration_planning/iterations/iteration-NN/iteration_backlog.md` (STORY-xxx list) +- `project_sdlc/03_requirements/use_cases/uc-xxx_*/functional-reqs.md` (acceptance criteria per FR) +- `project_sdlc/07_test_design/regression_test_cases.md` (traceability index of the cumulative regression suite) +- `project_sdlc/07_test_design/test_strategy.md` (tagging convention, tool-per-test-type) - Current iteration's `iteration_surface_matrix.md` - Current iteration's `parallel_work_plan.md`, if parallel lanes are planned @@ -30,19 +30,19 @@ Generate comprehensive multi-path test cases scoped to the current iteration's s For every `STORY-xxx` in the current iteration: 1. Derive one or more `TC-xxx` test cases directly from its FR's acceptance criteria. 2. Cover main flow, alternate flows, and exception flows as authored in the owning use case. -3. Add the new `TC-xxx` set to the appropriate `04_generated_documentation/07_test_design/functional_test_cases/TC-0xx_*.md` file. +3. Add the new `TC-xxx` set to the appropriate `project_sdlc/07_test_design/functional_test_cases/TC-0xx_*.md` file. 4. Fold tests that should run on every future build into `regression_test_cases.md` — tag with originating iteration. 5. Update `test_traceability_matrix.md` so each `TC-xxx` traces back to its `STORY-xxx` → `FR-xxx` → `UC-xxx`. **Per-type applicability:** For every `STORY-xxx`, record an explicit decision for Unit, Smoke, and Usability — `Required` (with derived `TC-xxx`) or `N/A` (with stated reason). -**Bruno API collections:** For every API surface touched by the iteration, generate/update a Bruno collection (`.bru`, git-versioned plain text) under `docs/api/bruno//` in the implementation workspace, derived from OpenAPI specs. +**Bruno API collections:** For every API surface touched by the iteration, generate/update a Bruno collection (`.bru`, git-versioned plain text) under `project_code/docs/api/bruno//` in the implementation workspace, derived from OpenAPI specs. **Regression suite index:** Index runnable tests in `regression_test_cases.md` (`TC-xxx | test_level | automation status | physical file path/collection path | tags`). Tag every automated test so `scripts/run_tests.sh` can select it by scope (`--scope project|iteration-NN|uc-xxx|fr-xxx`). **Manual Testing Guide & 21-Sheet Excel Workbook:** For every iteration, Stage 12 MUST produce TWO complementary manual QA deliverables: -1. Markdown walkthrough guide: `04_generated_documentation/07_test_design/manual_qa/iteration-NN/MANUAL_TESTING_GUIDE.md` (preconditions, steps, disposable personas, expected results). -2. 21-sheet, 30-column Excel Manual QA Workbook: `04_generated_documentation/07_test_design/manual_qa/workbooks/IterationNN__Complete_Manual_Testcases.xlsx`, compiled deterministically using `scripts/generate_manual_qa_workbook.py`. The workbook MUST be densely populated with **$\ge 20$ concrete test cases** spanning the 16 test categories. Zero-row or empty template workbooks violate the anti-placeholder rule and fail Gate 14.1 with Critical errors. +1. Markdown walkthrough guide: `project_sdlc/07_test_design/manual_qa/iteration-NN/MANUAL_TESTING_GUIDE.md` (preconditions, steps, disposable personas, expected results). +2. 21-sheet, 30-column Excel Manual QA Workbook: `project_sdlc/07_test_design/manual_qa/workbooks/IterationNN__Complete_Manual_Testcases.xlsx`, compiled deterministically using `scripts/generate_manual_qa_workbook.py`. The workbook MUST be densely populated with **$\ge 20$ concrete test cases** spanning the 16 test categories. Zero-row or empty template workbooks violate the anti-placeholder rule and fail Gate 14.1 with Critical errors. **Test Idempotency & Disposable Personas:** Automated browser (Playwright) and API tests MUST enforce test idempotency — tests MUST NOT mutate shared global records. Use disposable personas or isolated database fixtures. @@ -50,7 +50,7 @@ For every `STORY-xxx` in the current iteration: ## Output expected -Updated `04_generated_documentation/07_test_design/functional_test_cases/TC-0xx_*.md`, `regression_test_cases.md`, `test_traceability_matrix.md`, `iteration_surface_matrix.md`; git-versioned Bruno collections in `docs/api/bruno/`; `MANUAL_TESTING_GUIDE.md` AND densely populated 21-sheet Manual QA Workbook `.xlsx` (≥20 test cases). +Updated `project_sdlc/07_test_design/functional_test_cases/TC-0xx_*.md`, `regression_test_cases.md`, `test_traceability_matrix.md`, `iteration_surface_matrix.md`; git-versioned Bruno collections in `project_code/docs/api/bruno/`; `MANUAL_TESTING_GUIDE.md` AND densely populated 21-sheet Manual QA Workbook `.xlsx` (≥20 test cases). ## Exit criteria diff --git a/process/.agents/skills/up-traceability-gate/SKILL.md b/process/.agents/skills/up-traceability-gate/SKILL.md index 1e9f395..7289dd1 100644 --- a/process/.agents/skills/up-traceability-gate/SKILL.md +++ b/process/.agents/skills/up-traceability-gate/SKILL.md @@ -9,7 +9,7 @@ description: Run the enforced traceability completeness check against the single Make traceability completeness a mandatory, executable checkpoint at every stage boundary touching requirements, architecture, or delivery. Progress is strictly blocked if any story or delivery surface lacks specification or test evidence. -There is exactly **one** traceability graph — `project_sdlc/00_process_control/traceability_graph.md` (or legacy `04_generated_documentation/00_process_control/traceability_graph.md`) — this skill is the only thing that writes to it. Never hand-edit it directly. +There is exactly **one** traceability graph — `project_sdlc/00_process_control/traceability_graph.md` — this skill is the only thing that writes to it. Never hand-edit it directly. ## When to invoke @@ -45,7 +45,7 @@ If the script exits with non-zero (Critical issues detected), STOP and resolve t ### Gate 5.1 — UC ↔ FR Completeness 1. Execute `python3 scripts/verify_traceability_gates.py --gate 5.1`. -2. Inspect every file under `04_generated_documentation/03_requirements/use_cases/`. For each `UC-xxx`, confirm at least one `FR-xxx` declares `parent_uc = UC-xxx`. For every `FR-xxx` found anywhere in the tree, confirm its `parent_uc` resolves to an existing `UC-xxx` file. +2. Inspect every file under `project_sdlc/03_requirements/use_cases/`. For each `UC-xxx`, confirm at least one `FR-xxx` declares `parent_uc = UC-xxx`. For every `FR-xxx` found anywhere in the tree, confirm its `parent_uc` resolves to an existing `UC-xxx` file. Produce a table: `Check-ID | UC or FR | Issue | Severity (Critical/Major/Minor) | Required Action`. @@ -97,7 +97,7 @@ Zero Critical issues for the gate being run. ## Sample invocation -> "Run up-traceability-gate (Gate 5.1) across all use cases authored so far in 04_generated_documentation/03_requirements/use_cases/." +> "Run up-traceability-gate (Gate 5.1) across all use cases authored so far in project_sdlc/03_requirements/use_cases/." > "Run up-traceability-gate (Gate 14.1) for iteration-01." diff --git a/process/.agents/skills/up-uat-handover/SKILL.md b/process/.agents/skills/up-uat-handover/SKILL.md index 1b668c6..8358132 100644 --- a/process/.agents/skills/up-uat-handover/SKILL.md +++ b/process/.agents/skills/up-uat-handover/SKILL.md @@ -16,9 +16,9 @@ Deploy, validate through UAT, hand over to the client, and produce the final bas ## Read first -- `04_generated_documentation/00_process_control/traceability_graph.md` (confirm 100% Delivered-or-Deferred-with-CR for release scope) -- `04_generated_documentation/05_iteration_planning/iterations/` (all completed iterations) -- `04_generated_documentation/07_test_design/regression_test_cases.md` (cumulative suite) +- `project_sdlc/00_process_control/traceability_graph.md` (confirm 100% Delivered-or-Deferred-with-CR for release scope) +- `project_sdlc/05_iteration_planning/iterations/` (all completed iterations) +- `project_sdlc/07_test_design/regression_test_cases.md` (cumulative suite) - `process/AI_Native_Unified_Process_v1.md` §7 "Stages 15–18" ## Procedure @@ -29,7 +29,7 @@ Deploy, validate through UAT, hand over to the client, and produce the final bas **Stage 17 — Client Handover:** prepare the handover package — source code, deployment instructions, API documentation, operational runbooks, open-issues register. -**Stage 18 — Baseline and Sign-off:** produce `04_generated_documentation/08_review_ready_baselines/` (baseline requirements, HLD, LLD, test plans, traceability matrix, open issues register, stakeholder review checklist). Assert the traceability graph shows no orphan or undelivered FR without an approved deferral CR before calling this a baseline. +**Stage 18 — Baseline and Sign-off:** produce `project_sdlc/08_review_ready_baselines/` (baseline requirements, HLD, LLD, test plans, traceability matrix, open issues register, stakeholder review checklist). Assert the traceability graph shows no orphan or undelivered FR without an approved deferral CR before calling this a baseline. Rules: - Do not mark UAT-ready if any Critical `up-traceability-gate` finding is still open. @@ -37,7 +37,7 @@ Rules: ## Output expected -Deployment/CI-CD configuration; UAT release package; client handover package; `04_generated_documentation/08_review_ready_baselines/*`. +Deployment/CI-CD configuration; UAT release package; client handover package; `project_sdlc/08_review_ready_baselines/*`. ## Exit criteria (QG-T) diff --git a/process/.agents/skills/up-use-case-author/SKILL.md b/process/.agents/skills/up-use-case-author/SKILL.md index 1c7c5bd..2c43680 100644 --- a/process/.agents/skills/up-use-case-author/SKILL.md +++ b/process/.agents/skills/up-use-case-author/SKILL.md @@ -17,8 +17,8 @@ Author each use case as the single, atomic, requirements-owning artifact — fun ## Read first -- `04_generated_documentation/01_source_inventories/brd_inventory.md` (BRD-FR-xxx) -- Relevant `04_generated_documentation/02_legacy_analysis/` files (if Brownfield) +- `project_sdlc/01_source_inventories/brd_inventory.md` (BRD-FR-xxx) +- Relevant `project_sdlc/02_legacy_analysis/` files (if Brownfield) - `process/AI_Native_Unified_Process_v1.md` §5 "Stage 5" ## Procedure @@ -38,7 +38,7 @@ For use case `UC-xxx` (``): ## Output expected -`04_generated_documentation/03_requirements/use_cases/uc-xxx_/use-case.md` and `functional-reqs.md`, each carrying front-matter `id`, `version`, `status`. +`project_sdlc/03_requirements/use_cases/uc-xxx_/use-case.md` and `functional-reqs.md`, each carrying front-matter `id`, `version`, `status`. ## Exit criteria @@ -46,7 +46,7 @@ Do not consider a use case done until `up-traceability-gate` (Gate 5.1) passes f ## Sample invocation -> "Run up-use-case-author for UC-001 (User Identity and Role Governance), using brd_inventory.md as input. Embed the FR-xxx children directly under 04_generated_documentation/03_requirements/use_cases/uc-001_user-identity/." +> "Run up-use-case-author for UC-001 (User Identity and Role Governance), using brd_inventory.md as input. Embed the FR-xxx children directly under project_sdlc/03_requirements/use_cases/uc-001_user-identity/." ## Related skills diff --git a/process/.agents/skills/up-wireframe-spec/SKILL.md b/process/.agents/skills/up-wireframe-spec/SKILL.md index 4557ca0..5c410a6 100644 --- a/process/.agents/skills/up-wireframe-spec/SKILL.md +++ b/process/.agents/skills/up-wireframe-spec/SKILL.md @@ -17,10 +17,10 @@ Produce wireframes and field-level screen specifications for the views/screens t ## Read first - `tech-profile.yaml` (identifies frontend framework, UI libraries, design tokens path, and auth provider) -- Current iteration's `04_generated_documentation/05_iteration_planning/iterations/iteration-NN/iteration_backlog.md` -- `04_generated_documentation/03_requirements/use_cases/uc-xxx_*/functional-reqs.md` (referenced screens/fields per FR) -- `04_generated_documentation/06_wireframes/wireframe_index.md` (existing index, if any) -- `04_generated_documentation/06_wireframes/DESIGN.md` (screen-archetype, shared-pattern, and API-binding conventions) +- Current iteration's `project_sdlc/05_iteration_planning/iterations/iteration-NN/iteration_backlog.md` +- `project_sdlc/03_requirements/use_cases/uc-xxx_*/functional-reqs.md` (referenced screens/fields per FR) +- `project_sdlc/06_wireframes/wireframe_index.md` (existing index, if any) +- `project_sdlc/06_wireframes/DESIGN.md` (screen-archetype, shared-pattern, and API-binding conventions) - Current iteration's `iteration_surface_matrix.md` ## Procedure @@ -38,7 +38,7 @@ Rules: ## Output expected -Portal/screen wireframe specs under `04_generated_documentation/06_wireframes/`; updated `wireframe_index.md`; reconciled `iteration_surface_matrix.md`. +Portal/screen wireframe specs under `project_sdlc/06_wireframes/`; updated `wireframe_index.md`; reconciled `iteration_surface_matrix.md`. ## Exit criteria diff --git a/process/Skills_GUIDE.md b/process/Skills_GUIDE.md index 8087b52..335b5ee 100644 --- a/process/Skills_GUIDE.md +++ b/process/Skills_GUIDE.md @@ -96,7 +96,7 @@ python3 scripts/verify_traceability_gates.py --gate 5.1 # Or via agent skill: /up-traceability-gate 5.1 ``` -> "@gatekeeper Run the Gate 5.1 traceability check across everything authored under 04_generated_documentation/03_requirements/use_cases/." +> "@gatekeeper Run the Gate 5.1 traceability check across everything authored under project_sdlc/03_requirements/use_cases/." *If Critical findings exist (e.g., orphan FR or UC with 0 FRs), resolve before proceeding.* diff --git a/process/framework_guides/frappe_app_centric_development_guide.md b/process/framework_guides/frappe_app_centric_development_guide.md index d23e14c..6139136 100644 --- a/process/framework_guides/frappe_app_centric_development_guide.md +++ b/process/framework_guides/frappe_app_centric_development_guide.md @@ -33,8 +33,8 @@ flowchart TD SITES["sites/dev.localhost (MariaDB + Redis)"] subgraph App_Repo["apps/my_custom_app/ (UP-AI Internal Git Repo)"] - UP_HARNESS[".agents/skills/
process/
04_generated_docs/
prompts/ (transcripts)"] - APP_CODE["my_custom_app/
hooks.py, DocTypes, controllers
pyproject.toml, public tests"] + UP_HARNESS[".agents/skills/
process/
project_sdlc/ (transcripts & registers)"] + APP_CODE["project_code/
hooks.py, DocTypes, controllers
pyproject.toml, public tests"] end BENCH --> CORE_APPS @@ -47,7 +47,7 @@ flowchart TD end HOST_DEV -.->|Mounted into| BENCH - APP_CODE -->|git subtree push --prefix=my_custom_app| CLEAN_APP + APP_CODE -->|git subtree push --prefix=project_code| CLEAN_APP ``` --- @@ -65,34 +65,42 @@ Host Development Folder (e.g. ~/projects/my_project/development) │ ├── frappe/ <--- Core framework (read-only dependency) │ └── my_custom_app/ <--- YOUR REPOSITORY (UP-AI Process + App Source) │ ├── .agents/ <--- AI Agent Skills (Symlinked to process/.agents) + │ ├── scripts/ <--- Gate Validators & Test Runner Dispatcher (Symlinked to process/scripts) + │ ├── AGENTS.md <--- Authoritative Agent Guide (Symlinked to process/AGENTS.md) + │ ├── CLAUDE.md <--- Claude Guide (Symlinked to process/CLAUDE.md) + │ ├── GEMINI.md <--- Gemini Guide (Symlinked to process/GEMINI.md) + │ │ │ ├── process/ <--- Process Framework (Managed via git subtree) │ │ ├── AI_Native_Unified_Process_v1.md + │ │ ├── Skills_GUIDE.md │ │ ├── .agents/skills/ │ │ ├── scripts/ │ │ └── templates/tech-profile-presets.md - │ ├── 01_BRD/ <--- Business Requirements Document (PRD) - │ ├── 04_generated_documentation/ <--- CMMI Traceability & Architecture (Internal) + │ │ + │ ├── project_sdlc/ <--- CMMI Traceability & Engineering Records (Internal) │ │ ├── 00_process_control/ <--- Registers (CR, PCR, Ambiguity, Decisions) + │ │ ├── 01_BRD/ <--- Business Requirements Document (PRD) + │ │ ├── 01_source_inventories/ <--- Extracted BRD features (BRD-FR-xxx) + │ │ ├── 02_legacy_analysis/ <--- Legacy code/DB analysis (brownfield) │ │ ├── 03_requirements/ <--- Use Cases (UC-xxx) & FR-xxx │ │ ├── 04_architecture_design/ <--- HLD & DocType LLDs │ │ ├── 05_iteration_planning/ <--- Iteration Plans & Parallel Work Plans - │ │ └── 07_test_design/ <--- Test Models, Bruno API Collections - │ ├── prompts/ <--- Session Transcripts (Internal logs) - │ ├── scripts/ <--- Gate Validators & Test Runner Dispatcher - │ │ ├── verify_traceability_gates.py - │ │ └── run_tests.sh - │ ├── tech-profile.yaml <--- Preset A: Frappe configuration + │ │ ├── 06_wireframes/ <--- Wireframe specs & UI tokens (DESIGN.md) + │ │ ├── 07_test_design/ <--- Test Models, Bruno API Collections + │ │ ├── 08_review_ready_baselines/<--- Acceptance & Handover baselines + │ │ └── prompts/ <--- Auditable Session Transcripts (Internal logs) │ │ - │ ├── my_custom_app/ <--- CLEAN FRAPPE PYTHON PACKAGE (Shipped to Client) - │ │ ├── __init__.py - │ │ ├── hooks.py <--- App entrypoint, event hooks, fixtures - │ │ ├── api.py <--- Whitelisted methods (@frappe.whitelist) - │ │ ├── modules/ <--- Domain modules - │ │ │ └── / - │ │ │ └── doctype/ <--- DocType JSONs & Controllers - │ │ └── www/ <--- Public portal routes - │ ├── frontend/ <--- Optional React/Vue UI (@frappe/ui) - │ └── pyproject.toml <--- Python packaging manifest + │ ├── project_code/ <--- 100% CLEAN CUSTOMER RELEASE CODEBASE + │ │ ├── my_custom_app/ <--- Clean Frappe Python package + │ │ │ ├── __init__.py + │ │ │ ├── hooks.py <--- App entrypoint, event hooks, fixtures + │ │ │ ├── api.py <--- Whitelisted methods (@frappe.whitelist) + │ │ │ └── modules/ <--- DocType JSONs & Controllers + │ │ ├── frontend/ <--- Optional React/Vue UI (@frappe/ui) + │ │ ├── tests/ <--- Automated test suites + │ │ └── pyproject.toml <--- Python packaging manifest + │ │ + │ └── tech-profile.yaml <--- Preset A: Frappe configuration └── sites/ └── dev.localhost/ <--- Active dev site (MariaDB + Redis) ``` @@ -132,7 +140,7 @@ Navigate to the newly created app directory: ```bash cd /workspace/development/frappe-bench/apps/my_custom_app ``` -Overlay the UP-AI framework directories (`.agents/`, `process/`, `04_generated_documentation/`, `scripts/`, `tech-profile.yaml`). +Overlay the UP-AI framework directories (run `bash process/scripts/init-new-project.sh --name "My Custom App" --code "MCA" --archetype greenfield` to scaffold `project_sdlc/`, `project_code/`, and root symlinks). ### Step 5: Configure `tech-profile.yaml` with Preset A Ensure `tech-profile.yaml` at the root of `my_custom_app/` uses **Preset A**: @@ -212,11 +220,10 @@ To publish your Frappe app to a customer or production repository without exposi Internal Development Repo Customer / Production Remote ├── .agents/ (EXCLUDED) ├── process/ (EXCLUDED) -├── 04_generated_docs/ (EXCLUDED) -├── prompts/ (EXCLUDED) +├── project_sdlc/ (EXCLUDED) ├── scripts/ (EXCLUDED) │ -└── my_custom_app/ (INCLUDED) ───► / (Root of Customer Repository) +└── project_code/ (INCLUDED) ───► / (Root of Customer Repository) ├── hooks.py ├── hooks.py ├── pyproject.toml ├── pyproject.toml └── modules/ └── modules/ @@ -231,19 +238,20 @@ Internal Development Repo Customer / Production Remote 2. **Push Only the App Directory with Commit History:** ```bash - git subtree push --prefix=my_custom_app customer-origin main + git subtree push --prefix=project_code customer-origin main + # (Or --prefix=my_custom_app if the app module is structured at app root) ``` 3. **What Git Does:** - * Scans commit history and extracts only commits that modified files inside `my_custom_app/`. - * Rewrites the commit tree so `my_custom_app/` becomes the root (`/`) of the customer repository. + * Scans commit history and extracts only commits that modified files inside `project_code/`. + * Rewrites the commit tree so `project_code/` becomes the root (`/`) of the customer repository. * Preserves commit authors, commit dates, and commit messages. - * Completely filters out all commits and files related to `.agents/`, `process/`, and `04_generated_documentation/`. + * Completely filters out all commits and files related to `.agents/`, `process/`, and `project_sdlc/`. 4. **Tagging a Customer Release:** ```bash # Split the subtree into a clean local branch for formal release tagging: - git subtree split --prefix=my_custom_app -b release-v1.0.0 + git subtree split --prefix=project_code -b release-v1.0.0 git tag -a v1.0.0 release-v1.0.0 -m "Release v1.0.0 - Baselined via UP-AI Stage 17" git push customer-origin v1.0.0 ``` @@ -262,8 +270,7 @@ include = ["my_custom_app/**"] exclude = [ ".agents/**", "process/**", - "04_generated_documentation/**", - "prompts/**", + "project_sdlc/**", "scripts/**", "tech-profile.yaml" ] @@ -275,8 +282,7 @@ Create a `.gitattributes` file at the root of `my_custom_app/`: ```gitattributes .agents export-ignore process export-ignore -04_generated_documentation export-ignore -prompts export-ignore +project_sdlc export-ignore scripts export-ignore tech-profile.yaml export-ignore ``` @@ -292,5 +298,5 @@ Any release tarball or zip generated by GitHub/GitLab will automatically strip a | **Workspace Root** | Open VS Code directly at `/workspace/development/frappe-bench/apps/my_custom_app`. | | **Bench Commands** | Antigravity executes `bench migrate` and `bench run-tests` natively in the DevContainer. | | **Parallel Worktrees** | Create worktrees in `/workspace/development/worktrees/` and reconcile with `up-parallel-work-integrate`. | -| **Customer Delivery** | Push clean app code and commit history using `git subtree push --prefix=my_custom_app customer-origin main`. | +| **Customer Delivery** | Push clean app code and commit history using `git subtree push --prefix=project_code customer-origin main`. | | **Production Wheel** | Python packaging excludes all non-app directories via `pyproject.toml` and `.gitattributes`. | diff --git a/process/process_change_register.md b/process/process_change_register.md index 2aeeeea..672a376 100644 --- a/process/process_change_register.md +++ b/process/process_change_register.md @@ -35,6 +35,8 @@ This guarantees: | `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 | +| `PCR-010` | Process-Adjustment | Process Architect / Engineering Lead | 2026-10-13 | Complete Path Modernization Across Framework Guides, Presets, Templates & Skills | Audited and modernized all remaining legacy path references (`04_generated_documentation/`, `05_implementation_workspace/`, `01_BRD/`, `02_legacy_source_code/`, `00_prompts/`) across `process/framework_guides/` (Frappe App-Centric guide), `process/templates/` (`tech-profile-presets.md`, `tech-profile.template.yaml`), `process/Skills_GUIDE.md`, and all 19 canonical agent skills (`process/.agents/skills/*/SKILL.md`). Replaced legacy paths with canonical root-relative paths under `project_sdlc/` and `project_code/`, ensuring 100% path alignment with the 3-directory top-level architecture. | `process/framework_guides/frappe_app_centric_development_guide.md`, `process/templates/tech-profile-presets.md`, `process/templates/tech-profile.template.yaml`, `process/Skills_GUIDE.md`, `process/.agents/skills/*/SKILL.md`, `process/scripts/generate_manual_qa_workbook.py`, `process/process_change_register.md` | Complete framework path consistency and eradication of legacy directory references | Approved | Closed | + diff --git a/process/scripts/generate_manual_qa_workbook.py b/process/scripts/generate_manual_qa_workbook.py index 5df213a..5fc168c 100755 --- a/process/scripts/generate_manual_qa_workbook.py +++ b/process/scripts/generate_manual_qa_workbook.py @@ -3,7 +3,7 @@ Standardized per UP-AI v1.4 Quality Standard. Compiles a 21-sheet, 30-column Excel workbook under: -04_generated_documentation/07_test_design/manual_qa/workbooks/IterationNN__Complete_Manual_Testcases.xlsx +project_sdlc/07_test_design/manual_qa/workbooks/IterationNN__Complete_Manual_Testcases.xlsx Supports both openpyxl and a zero-dependency pure-Python ZipFile engine, ensuring reliable compilation in any execution environment. Enforces test density (>=20 test cases). diff --git a/process/templates/tech-profile-presets.md b/process/templates/tech-profile-presets.md index 2d7008f..1c654dc 100644 --- a/process/templates/tech-profile-presets.md +++ b/process/templates/tech-profile-presets.md @@ -47,7 +47,7 @@ stack: language: "javascript" state_management: "context_api" ui_library: "frappe_desk" # Frappe Desk UI controls & form views - design_system_tokens: "04_generated_documentation/06_wireframes/DESIGN.md" + design_system_tokens: "project_sdlc/06_wireframes/DESIGN.md" test_framework: "cypress" e2e_framework: "playwright" @@ -65,11 +65,11 @@ stack: sandboxes: - id: "identity_provider" service_name: "Auth & Identity" - mock_adapter_path: "sandbox/identity_mock.py" + mock_adapter_path: "project_code/sandbox/identity_mock.py" mock_mode: "deterministic" - id: "payment_gateway" service_name: "Payment Gateway" - mock_adapter_path: "sandbox/payment_mock.py" + mock_adapter_path: "project_code/sandbox/payment_mock.py" mock_mode: "deterministic" ``` @@ -103,7 +103,7 @@ stack: language: "typescript" state_management: "zustand" ui_library: "tailwind_shadcn" - design_system_tokens: "04_generated_documentation/06_wireframes/DESIGN.md" + design_system_tokens: "project_sdlc/06_wireframes/DESIGN.md" test_framework: "vitest" e2e_framework: "playwright" @@ -149,7 +149,7 @@ stack: language: "typescript" state_management: "zustand" ui_library: "tailwind_shadcn" - design_system_tokens: "04_generated_documentation/06_wireframes/DESIGN.md" + design_system_tokens: "project_sdlc/06_wireframes/DESIGN.md" test_framework: "vitest" e2e_framework: "playwright" @@ -195,7 +195,7 @@ stack: language: "typescript" state_management: "zustand" ui_library: "tailwind_shadcn" - design_system_tokens: "04_generated_documentation/06_wireframes/DESIGN.md" + design_system_tokens: "project_sdlc/06_wireframes/DESIGN.md" test_framework: "vitest" e2e_framework: "playwright" @@ -241,7 +241,7 @@ stack: language: "typescript" state_management: "zustand" ui_library: "tailwind_shadcn" - design_system_tokens: "04_generated_documentation/06_wireframes/DESIGN.md" + design_system_tokens: "project_sdlc/06_wireframes/DESIGN.md" test_framework: "vitest" e2e_framework: "playwright" diff --git a/process/templates/tech-profile.template.yaml b/process/templates/tech-profile.template.yaml index b20b3a5..c66d2b6 100644 --- a/process/templates/tech-profile.template.yaml +++ b/process/templates/tech-profile.template.yaml @@ -1,5 +1,5 @@ # ============================================================================== -# AI-Native Unified Process (UP-AI v1.0) - Declarative Technology Profile Template +# AI-Native Unified Process (UP-AI v1.6) - Declarative Technology Profile Template # ============================================================================== # Copy this template to `/tech-profile.yaml` at the root of your project workspace. # Configure the technology stack, project archetype, test tools, and integration @@ -21,12 +21,12 @@ project: inception: # Source document paths requirements_inputs: - - "01_BRD/PRD_Specification.md" + - "project_sdlc/01_BRD/PRD_Specification.md" # Brownfield-only sources (ignored if archetype is greenfield) legacy_sources: - source_code_dir: "02_legacy_source_code" - database_dump_dir: "02_legacy_source_code/schema" - screenshots_dir: "03_legacy_screen_shots" + source_code_dir: "project_sdlc/02_legacy_analysis/legacy_code" + database_dump_dir: "project_sdlc/02_legacy_analysis/schema" + screenshots_dir: "project_sdlc/02_legacy_analysis/screenshots" # Architecture & Target Technology Stack # (For pre-packaged stack presets like Frappe, Django, Spring Boot, FastAPI, or NestJS, @@ -51,7 +51,7 @@ stack: language: "typescript" state_management: "zustand" # Options: zustand | redux_toolkit | pinia | context_api ui_library: "tailwind_shadcn" # Options: tailwind_shadcn | frappe_desk | mui | ant_design | vanilla_css - design_system_tokens: "04_generated_documentation/06_wireframes/DESIGN.md" + design_system_tokens: "project_sdlc/06_wireframes/DESIGN.md" test_framework: "vitest" e2e_framework: "playwright" @@ -71,15 +71,15 @@ stack: sandboxes: - id: "identity_provider" service_name: "Auth & Identity" - mock_adapter_path: "sandbox/identity_mock.py" + mock_adapter_path: "project_code/sandbox/identity_mock.py" mock_mode: "deterministic" # Options: deterministic | replay | live_proxy - id: "payment_gateway" service_name: "Payment & Settlement" - mock_adapter_path: "sandbox/payment_mock.py" + mock_adapter_path: "project_code/sandbox/payment_mock.py" mock_mode: "deterministic" - id: "messaging_service" service_name: "SMS / Email Notification" - mock_adapter_path: "sandbox/notification_mock.py" + mock_adapter_path: "project_code/sandbox/notification_mock.py" mock_mode: "deterministic" # Governance & Process Tailoring (CMMI Level 3 / UP-AI v1.1) diff --git a/project_sdlc/prompts/20261013T073920Z-session-ci-coverage-fix.md b/project_sdlc/prompts/20261013T073920Z-session-ci-coverage-fix.md index 22ddb21..abdff7c 100644 --- a/project_sdlc/prompts/20261013T073920Z-session-ci-coverage-fix.md +++ b/project_sdlc/prompts/20261013T073920Z-session-ci-coverage-fix.md @@ -177,3 +177,28 @@ - `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. +--- + +### Turn 10: 2026-10-13T13:20:00Z +- **User:** + Noted that files under `process/framework_guides/` and `process/templates/` still contained legacy directory names (`04_generated_documentation/`, `05_implementation_workspace/`, `01_BRD/`, `02_legacy_source_code/`), and requested an audit and update. +- **Agent Analysis & Implementation:** + - **Comprehensive Audit:** Scanned all assets in `process/` for legacy folder conventions. + - **Framework Guides (`process/framework_guides/frappe_app_centric_development_guide.md`):** + - Updated Mermaid architecture diagram: replaced `04_generated_docs/` and `prompts/` with `project_sdlc/` (transcripts & registers) and `APP_CODE` with `project_code/`. + - Updated canonical repository tree: replaced root-level `01_BRD/`, `04_generated_documentation/`, and `prompts/` with unified `project_sdlc/` and `project_code/`. + - Updated Step 4 harness setup to reference `init-new-project.sh`. + - Modernized Pattern 1 Downstream Distribution: updated `git subtree push --prefix=project_code customer-origin main`, filtering out `.agents/`, `process/`, and `project_sdlc/`. + - Updated `pyproject.toml` and `.gitattributes` export-ignore lists to exclude `project_sdlc/**`. + - **Templates (`process/templates/`):** + - `tech-profile-presets.md`: Updated `design_system_tokens` across Presets A–E from `04_generated_documentation/06_wireframes/DESIGN.md` to `project_sdlc/06_wireframes/DESIGN.md`. Updated Preset A mock adapter paths to `project_code/sandbox/`. + - `tech-profile.template.yaml`: Bumped header to UP-AI v1.6. Updated `requirements_inputs` to `project_sdlc/01_BRD/PRD_Specification.md`, legacy sources to `project_sdlc/02_legacy_analysis/`, design tokens to `project_sdlc/06_wireframes/DESIGN.md`, and sandboxes to `project_code/sandbox/`. + - **Skills Catalog & Scripts Modernization (`process/.agents/skills/` & `process/scripts/`):** + - Replaced all legacy paths with `project_sdlc/` across all 19 canonical skills (`up-legacy-gap-analysis`, `up-uat-handover`, `up-traceability-gate`, `up-srs-derive`, `up-context-checkpoint`, `up-requirements-elicit`, `up-brd-extract`, `up-code-generate`, `up-iteration-plan`, `up-arch-risk-spike`, `up-wireframe-spec`, `up-test-model-generate`, `up-hld-lld-generate`, `up-change-request-impact`, `up-use-case-author`). + - Updated `process/Skills_GUIDE.md` and `generate_manual_qa_workbook.py`. + - **Meta-Governance:** Registered `PCR-010` in `process/process_change_register.md`. + - **Verification:** + - `python3 scripts/verify_traceability_gates.py --all`: Quality Gates 5.1, 9.1, and 14.1 all PASSED with 0 issues. + - Verified zero legacy directory references remain across `process/framework_guides/`, `process/templates/`, and `process/.agents/skills/`. + +