Go to file
Prashant Shendre 39165008c5 Resolved blank page issue 2026-10-15 16:55:04 +05:30
.github/workflows Docker build CI action updated 2026-10-13 20:50:38 +05:30
process Synthetic data scripts for sales 2026-10-14 16:15:34 +05:30
project_code Resolved blank page issue 2026-10-15 16:55:04 +05:30
project_sdlc Resolved blank page issue 2026-10-15 16:55:04 +05:30
.agents process directory refactored out 2026-10-10 19:12:44 +05:30
.gitignore iter-02 done 2026-10-12 12:02:20 +05:30
AGENTS.md Updated the process 2026-10-13 18:24:19 +05:30
CLAUDE.md Updated the process 2026-10-13 18:24:19 +05:30
GEMINI.md Updated the process 2026-10-13 18:24:19 +05:30
README.md Updated the process 2026-10-13 18:24:19 +05:30
scripts process directory refactored out 2026-10-10 19:12:44 +05:30
tech-profile.yaml Major refactoring - part 2 2026-10-13 15:39:21 +05:30

README.md

Universal Enterprise Platform (up-frappe)

Governed Standard Quality Standard Automated Coverage Agent Skills

Enterprise software platform governed by the AI-Native Unified Process (UP-AI v1.5) and SEI-CMMI Level 3 standards. The project combines domain-driven requirements, architecture risk spikes, iterative construction slices, multi-tier automated test coverage, and deterministic traceability quality gates.


Architecture & Decoupled Framework Model

This repository employs a cleanly decoupled dual-layer architecture, separating the product development instance from the underlying process framework engine:

+-----------------------------------------------------------------------------------+
|                        PROJECT INSTANCE (Product Layer)                           |
|  01_BRD/              <-- Business Requirements & PRDs                            |
|  04_generated_docs/   <-- Governed Stage Artifacts (Traceability, LLDs, QA)       |
|  docs/api/bruno/      <-- Bruno API Collections & Test Fixtures                   |
|  tech-profile.yaml    <-- Declarative Active Stack Configuration (Preset A-E)     |
|  05_implementation_workspace/ <-- Product source, runtime and container assets    |
+-----------------------------------------------------------------------------------+
                                         │
                   Discovered via Root Symlinks:
                   ├── .agents  ---> process/.agents
                   └── scripts  ---> process/scripts
                                         │
                                         ▼
+-----------------------------------------------------------------------------------+
|               PROCESS FRAMEWORK ENGINE (process/ - Git Subtree)                   |
|  AI_Native_Unified_Process_v1.md  <-- Core Process Specification (UP-AI v1.5)     |
|  Skills_GUIDE.md                  <-- Stage-by-Stage Agent Skill Invocation Guide |
|  process_change_register.md       <-- Meta-Governance Ledger (PCR-xxx)            |
|  .agents/skills/                  <-- 19 Canonical AI Agent Skills (up-*)         |
|  scripts/                         <-- Deterministic Gate Validators & Compilers   |
|  templates/ & framework_guides/   <-- Technology Profile Presets & Topology Guides|
|  AGENTS.md, CLAUDE.md, GEMINI.md  <-- Standalone Process Agent Guides & Gateways  |
+-----------------------------------------------------------------------------------+

Why Decouple via git subtree?

  1. Independent Process Evolution: The process framework evolutions (PCR-xxx) are version-controlled in process/ and can be pulled or pushed to a standalone process repository without mixing with project git history.
  2. Clean Product Deliverables: Client deliverables and production releases only package product code and formal artifacts, excluding internal skills and prompt transcripts.
  3. Zero Configuration for AI Agents: AI agent tools (Antigravity, Claude Code, Cursor, Codex) look for .agents/skills/ and scripts/ at the workspace root. Root-level relative symlinks ensure complete native discovery without file duplication.

Active Technology Configuration (tech-profile.yaml)

The project stack and governance tailoring tier are declared in tech-profile.yaml. For ready-to-copy configurations for major stacks (Frappe, Django, Spring Boot, FastAPI, NestJS), see process/templates/tech-profile-presets.md:

  • Architecture: Modular Monolith with Multi-Tenancy (Row-Level Security / Site-based isolation).
  • Backend: Configured per tech-profile.yaml (Frappe / FastAPI / Django / Spring Boot).
  • Testing: Automated test runners dispatched dynamically via scripts/run_tests.sh.
  • API Standards: REST / OpenAPI with versioned Bruno collections in docs/api/bruno/.
  • Governance Tier: Tier 2 (Standard Enterprise) CMMI Level 3.

Developer & AI Agent Quickstart

1. Starting local development dependencies

PostgreSQL, Keycloak, and Valkey can be run as local containers with Docker Compose. See the Compose development guide. This is a development setup, not a production deployment profile.

2. Reading Instructions & Rules

All AI agents follow instructions declared in:

  • AGENTS.md — Root project gateway delegating to process/AGENTS.md for anti-placeholder rules, granular requirement lifecycle states, and session transcript protocols.
  • CLAUDE.md / GEMINI.md — Agent platform gateways.

3. Validating Traceability Quality Gates

Quality gates are enforced deterministically via Python CLI tooling:

# Verify all quality gates (Gate 5.1, Gate 9.1, Gate 14.1)
python3 scripts/verify_traceability_gates.py --all

# Verify a specific iteration's Gate 14.1 with automated test execution hook
python3 scripts/verify_traceability_gates.py --gate 14.1 --iteration iteration-01 --run-tests

Gate 14.1 enforces semantic density:

  • Asserts \ge 20 concrete test cases populated across the 21-sheet Excel QA workbook.
  • Asserts git-versioned .bru requests in docs/api/bruno/ for all declared endpoints.
  • Asserts 4-dimension functional test models (Happy, Boundary, Negative, FSM Invariant).

4. Compiling Manual QA Workbooks

Compile the 21-sheet Excel Manual QA Workbook using the dual-engine generator (supports openpyxl with zero-dependency XML fallback):

python3 scripts/generate_manual_qa_workbook.py --iteration iteration-01

5. Running Automated Tests

Run tests at any scope:

# Run all tests in the project
scripts/run_tests.sh --scope project

# Run tests for a specific iteration
scripts/run_tests.sh --scope iteration --target iteration-01

Process Framework Git Subtree Management

To synchronize the process framework with the upstream framework repository:

# Pull framework updates from upstream process repository
git subtree pull --prefix=process <process-repo-url> main --squash

# Push framework improvements back to upstream process repository
git subtree push --prefix=process <process-repo-url> main

Single Traceability Chain

Every requirement, design artifact, code commit, and test case follows a strictly verifiable ID prefix:

PRD / BRD Feature:  BRD-FR-xxx
        │
        ▼
Use Case:           UC-xxx
        │
        ▼
Functional Req:     FR-xxx  (child of exactly one UC-xxx)
        │
        ├──► System & NFR Req:   SRS-xxx / NFR-xxx
        ├──► Architecture Spec:  HLD-<SERVICE> / LLD-API-xxx / LLD-TBL-xxx
        ├──► Backlog User Story: STORY-xxx
        └──► Multi-Path Tests:   TC-xxx (Unit | API | Contract | E2E | Smoke | Usability)

Repository Layout (3-Directory Top-Level Architecture — PCR-007)

.
├── .agents -> process/.agents             # Root discovery symlink for AI agent platforms
├── scripts -> process/scripts             # Root discovery symlink for automation CLI tools
├── AGENTS.md -> process/AGENTS.md         # Root symlink for authoritative agent guide
├── 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
│   ├── templates/                         # Tech profile templates and stack presets
│   ├── framework_guides/                  # Topology & DevContainer architecture guides
│   ├── AI_Native_Unified_Process_v1.md    # Authoritative Process Specification (v1.5)
│   ├── Skills_GUIDE.md                    # Stage-by-stage skill invocation guide
│   ├── process_change_register.md          # Meta-governance ledger (PCR-xxx)
│   ├── AGENTS.md                          # Authoritative process agent guide
│   ├── CLAUDE.md                          # Claude Code gateway pointer
│   ├── GEMINI.md                          # Gemini gateway pointer
│   └── README.md                          # Process framework documentation
│
├── 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)
│   ├── 02_legacy_analysis/                # Brownfield legacy code/DB mining (empty for greenfield)
│   ├── 03_requirements/                   # Atomic Use Cases (UC-xxx) and functional specs
│   ├── 04_architecture_design/            # Architecture risk spikes, HLD, and LLD contracts
│   ├── 05_iteration_planning/             # Iteration plans, backlogs, surface matrices (Iter 01–07)
│   ├── 06_wireframes/                     # Screen specifications and UI design tokens (DESIGN.md)
│   ├── 07_test_design/                    # Functional test models, 21-sheet QA workbooks, regression suites
│   ├── 08_review_ready_baselines/         # Formal review-ready baselines
│   └── 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
└── README.md                              # Project overview and orientation

Governance & Process Modifications