Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
41 changes: 41 additions & 0 deletions .agent/workflows/organization.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
description: Collaborative Product Lifecycle Workflow (PM -> Architect -> Engineer -> QA)
---

# Collaborative Product Lifecycle Workflow

This workflow ensures top-notch quality through a strictly modular and documented lifecycle. Every feature must progress through these sequential stages.

## 1. Product Management (PM) Phase
**Objective**: Define SMART Product Requirements.
- Create a standalone Feature PRD (e.g., `PRD-XXX-FeatureName.md`) in `brain/prds/`.
- **SMART Goals**: Ensure the requirement is Achievable, Realistic, Measurable, and Doable.
- **Constraints**: No implementation details; focus on "What" and "Why".
- **Handoff**: PM calls for Architect Review.

## 2. Architecture Phase
**Objective**: Design the "How".
- Update `architecture_review.md` or create a feature-specific architecture doc.
- Define API contracts, database schema changes, and system diagrams (Mermaid).
- **Guardrail**: No code writing. Architecture must be reviewed against the PRD.
- **Handoff**: Architect signals Engineer to begin implementation.

## 3. Engineering Phase
**Objective**: Build the Tech.
- Implement the feature following the approved architecture.
- Write code that is clean, modular (KMP standard), and documented.
- **Unit Testing**: Engineer MUST write unit tests as part of the implementation.
- **Handoff**: Engineer provides a `walkthrough.md` or technical summary for QA.

## 4. QA & Verification Phase
**Objective**: Quality Assurance.
- QA reviews the PRD, Architecture, and Code.
- Execute automated tests and perform manual verification.
- Document results in `qa_test_report.md`.
- **Guardrail**: Only QA can mark a feature as "Verified" in `task.md`.

## Organization Guardrails
- **Zero Assumption Policy**: Every decision must be referenced in a document.
- **Context Integrity**: Every artifact MUST be updated before moving to the next stage.
- **Fail Fast**: If a requirement is found to be unrealistic during Architecture or Engineering, it must be sent back to PM for revision.
- **Minimalistic First**: Prioritize core utility over complex features to ensure speed-to-market.
45 changes: 45 additions & 0 deletions .github/workflows/android_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Android Release

on:
push:
branches: [ release/* ]
workflow_dispatch:

jobs:
build_and_publish:
name: Build & Publish Release AAB
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Decode Keystore
env:
ENCODED_KEYSTORE: ${{ secrets.KEYSTORE_BASE64 }}
run: |
mkdir -p keystore
echo $ENCODED_KEYSTORE | base64 -d > keystore/key.jks

- name: Build Release Bundle
env:
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
run: ./gradlew :composeApp:bundleRelease

- name: Upload to Google Play (Internal Testing)
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.PLAY_CONSOLE_JSON }}
packageName: com.impend.shared # Double check this is the android applicationId
releaseFiles: composeApp/build/outputs/bundle/release/composeApp-release.aab
track: internal
status: draft
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Build Shared Module (Android & iOS)
run: ./gradlew :shared:build

- name: Run Tests
run: ./gradlew :shared:allTests
Binary file added .gradle/7.4.2/checksums/checksums.lock
Binary file not shown.
Binary file added .gradle/7.4.2/fileChanges/last-build.bin
Binary file not shown.
Binary file added .gradle/7.4.2/fileHashes/fileHashes.lock
Binary file not shown.
Empty file added .gradle/7.4.2/gc.properties
Empty file.
Binary file added .gradle/8.11.1/checksums/checksums.lock
Binary file not shown.
Binary file added .gradle/8.11.1/checksums/md5-checksums.bin
Binary file not shown.
Binary file added .gradle/8.11.1/checksums/sha1-checksums.bin
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .gradle/8.11.1/fileChanges/last-build.bin
Binary file not shown.
Binary file added .gradle/8.11.1/fileHashes/fileHashes.bin
Binary file not shown.
Binary file added .gradle/8.11.1/fileHashes/fileHashes.lock
Binary file not shown.
Binary file added .gradle/8.11.1/fileHashes/resourceHashesCache.bin
Binary file not shown.
Empty file added .gradle/8.11.1/gc.properties
Empty file.
Binary file added .gradle/8.5/checksums/checksums.lock
Binary file not shown.
Binary file added .gradle/8.5/fileChanges/last-build.bin
Binary file not shown.
Binary file added .gradle/8.5/fileHashes/fileHashes.lock
Binary file not shown.
Empty file added .gradle/8.5/gc.properties
Empty file.
Binary file added .gradle/9.0.0/checksums/checksums.lock
Binary file not shown.
Binary file added .gradle/9.0.0/checksums/md5-checksums.bin
Binary file not shown.
Binary file added .gradle/9.0.0/checksums/sha1-checksums.bin
Binary file not shown.
Binary file added .gradle/9.0.0/fileChanges/last-build.bin
Binary file not shown.
Binary file added .gradle/9.0.0/fileHashes/fileHashes.lock
Binary file not shown.
Empty file added .gradle/9.0.0/gc.properties
Empty file.
Binary file added .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
2 changes: 2 additions & 0 deletions .gradle/buildOutputCleanup/cache.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#Tue Feb 24 17:01:49 IST 2026
gradle.version=8.11.1
Binary file added .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
2 changes: 2 additions & 0 deletions .gradle/config.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#Tue Feb 24 16:30:18 IST 2026
java.home=/Applications/Android Studio.app/Contents/jbr/Contents/Home
Binary file added .gradle/file-system.probe
Binary file not shown.
Empty file added .gradle/vcs-1/gc.properties
Empty file.
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/AndroidProjectSystem.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading