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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Production Environment Configuration

# Relay Configuration
RELAY_1=wss://relay.damus.io
RELAY_2=wss://nos.lol
RELAY_3=wss://nostr.wine
RELAY_4=wss://relay.snort.social
RELAY_5=wss://nostr.band

# Feature Flags
ENABLE_ANALYTICS=true
ENABLE_ERROR_REPORTING=true
ENABLE_DEBUG_MODE=false

# Performance
ENABLE_VIRTUAL_SCROLLING=true
ENABLE_SERVICE_WORKER=true
ENABLE_INDEXEDDB_CACHE=true

# Security
ENABLE_CSP=true
ENABLE_HTTPS_ONLY=true

# Optional: Analytics
PLAUSIBLE_DOMAIN=vbstack.app
233 changes: 233 additions & 0 deletions .github/AGENT_TASK_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
# Agent Task Template

Use this template when working on assigned tasks.

---

## Task Information

**Task ID:** [e.g., SETUP-001]
**Task Title:** [e.g., Initialize Dioxus project]
**Assigned To:** [programming/architect/qa]
**Phase:** [e.g., Phase 0]
**Priority:** [P0/P1/P2/P3]
**Status:** [Not Started/In Progress/Blocked/Completed]

---

## Task Description

[Detailed description from WORKFLOW.md]

---

## Acceptance Criteria

- [ ] Criterion 1
- [ ] Criterion 2
- [ ] Criterion 3

---

## Dependencies

**Depends On:**
- [List of tasks that must be completed first]

**Blocks:**
- [List of tasks waiting for this one]

---

## Implementation Plan

### Step 1: [Action]
- Details
- Commands to run
- Expected output

### Step 2: [Action]
- Details
- Commands to run
- Expected output

### Step 3: [Action]
- Details
- Commands to run
- Expected output

---

## Files Changed

**Created:**
- [List of new files]

**Modified:**
- [List of modified files]

**Deleted:**
- [List of deleted files]

---

## Testing

### Test Plan
- [ ] Test case 1
- [ ] Test case 2
- [ ] Test case 3

### Test Results
```
[Test output]
```

---

## Verification

### Manual Verification
- [ ] Builds successfully: `dx build`
- [ ] Tests pass: `cargo test`
- [ ] Lints pass: `cargo clippy`
- [ ] Formats correctly: `cargo fmt --check`
- [ ] Runs successfully: `dx serve`

### Automated Checks
- [ ] CI/CD pipeline passes
- [ ] All acceptance criteria met

---

## Documentation

**Updated Documentation:**
- [ ] Code comments/doc comments
- [ ] README updates
- [ ] API documentation
- [ ] User guide updates

**New Documentation:**
- [ ] [List any new docs created]

---

## Blockers

**Current Blockers:**
- [None / List of blockers]

**Blocker Resolution:**
- [How blockers were resolved or escalated]

---

## Questions & Decisions

**Questions:**
1. [Question for PM or Product Manager]
2. [Question for other agents]

**Decisions Made:**
1. [Decision 1 and rationale]
2. [Decision 2 and rationale]

---

## Time Tracking

**Estimated Time:** [Hours]
**Actual Time:** [Hours]
**Variance:** [+/- Hours]

---

## Notes

[Any additional notes, learnings, or observations]

---

## Completion Checklist

Before marking task as complete:

- [ ] All acceptance criteria met
- [ ] Code compiles without errors
- [ ] Tests written and passing
- [ ] Code reviewed (for major tasks)
- [ ] Documentation updated
- [ ] No new warnings introduced
- [ ] Changes committed to git
- [ ] WORKFLOW.md updated
- [ ] PM Agent notified

---

## Report to PM Agent

**Status:** Completed ✅ / Blocked ⚠️ / In Progress 🔄

**Summary:**
[Brief summary of what was accomplished]

**Deliverables:**
- [List of deliverables]

**Next Suggested Task:**
[What task should be assigned next based on dependencies]

**Handoff Notes:**
[Any information the next agent/task should know]

---

## Example Usage

### For Programming Agent

```markdown
## Task Information
**Task ID:** SETUP-001
**Task Title:** Initialize Dioxus project
**Assigned To:** programming
**Phase:** Phase 0
**Priority:** P0
**Status:** Completed

## Implementation Plan

### Step 1: Install Dioxus CLI
```bash
cargo install dioxus-cli
dx --version
```

### Step 2: Create project
```bash
dx new vbstack --template=fullstack
cd vbstack
```

### Step 3: Verify setup
```bash
dx serve
# Navigate to http://localhost:8080
```

## Verification
- [x] Builds successfully
- [x] Runs successfully
- [x] Hot reload works

## Report to PM Agent
**Status:** Completed ✅
**Summary:** Successfully initialized Dioxus fullstack project
**Next Suggested Task:** SETUP-002 (Configure Cargo.toml)
```

---

**Template Version:** 1.0
**Last Updated:** 2025-11-17
55 changes: 55 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: CI

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

env:
CARGO_TERM_COLOR: always

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --all-features

check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo check --all-features

fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all -- --check

clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo clippy --all-features -- -D warnings

build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --release --all-features
Loading
Loading