Skip to content
Closed
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
59 changes: 59 additions & 0 deletions .docsregistry
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"documentation_registry": [
{
"path": "docs/UserBlueprint.md",
"title": "User Blueprint",
"type": "requirements",
"status": "active",
"last_modified": "2025-05-19T00:37:55Z"
},
{
"path": "docs/master_acceptance_test_plan.md",
"description": "Comprehensive high-level end-to-end acceptance tests.",
"type": "test plan",
"timestamp": "2025-05-19T08:20:18Z"
},
{
"path": "docs/PRDMasterPlan.md",
"description": "Detailed Master Project Plan with AI verifiable tasks.",
"type": "project plan",
"timestamp": "2025-05-19T08:20:18Z"
},
{
"path": "docs/architecture/HighLevelArchitecture.md",
"description": "High-Level Architecture document.",
"type": "architecture",
"timestamp": "2025-05-19T08:29:30Z"
},
{
"path": "docs/research/github_template_research_report.md",
"description": "GitHub Template Research Report findings.",
"type": "research report",
"timestamp": "2025-05-19T08:29:30Z"
},
{
"path": "docs/FrameworkScaffoldReport.md",
"description": "Report summarizing framework scaffolding activities.",
"type": "report",
"timestamp": "2025-05-19T08:29:30Z"
},
{
"path": "docs/updates/package_upgrades_20250519.md",
"description": "Details of package upgrades performed on 2025-05-19.",
"type": "update",
"timestamp": "2025-05-19T14:15:51Z"
},
{
"path": "docs/updates/package_upgrades_20250519.md",
"description": "Details of package upgrades performed on 2025-05-19.",
"type": "update",
"timestamp": "2025-05-19T15:03:29Z"
},
{
"path": "docs/updates/refinement-analysis-20250515-190428-doc-update.md",
"description": "Analysis and refinement of project documentation.",
"type": "report",
"timestamp": "2025-05-20T01:00:00Z"
}
]
}
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -281,4 +281,7 @@ dotnet_diagnostic.CA2227.severity = none
dotnet_diagnostic.CA1054.severity = suggestion

# CA1056: Uri properties should not be strings
dotnet_diagnostic.CA1056.severity = suggestion
dotnet_diagnostic.CA1056.severity = suggestion

# CA2326: Do not use TypeNameHandling values other than None
dotnet_diagnostic.CA2326.severity = error
95 changes: 95 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: .NET CI Pipeline

on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop

jobs:
build-and-test:
runs-on: ubuntu-latest

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

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x # Assuming support for multiple .NET versions based on project structure
Copy link

Copilot AI May 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the project has been upgraded to target .NET 9, include 9.0.x in the dotnet-version matrix to ensure CI builds and tests against .NET 9.

Suggested change
8.0.x # Assuming support for multiple .NET versions based on project structure
8.0.x # Assuming support for multiple .NET versions based on project structure
9.0.x

Copilot uses AI. Check for mistakes.

- name: Restore dependencies
run: dotnet restore src/WalletFramework.sln

- name: Build solution
run: dotnet build src/WalletFramework.sln --no-restore

- name: Run Unit Tests
run: dotnet test src/WalletFramework.sln --no-build --verbosity normal --filter "Category=Unit" --collect:"XPlat Code Coverage"

- name: Run Integration Tests
run: dotnet test src/WalletFramework.sln --no-build --verbosity normal --filter "Category=Integration" --collect:"XPlat Code Coverage"

# BDD/E2E tests might require a different setup (e.g., SpecFlow, BrowserStack)
# This step is a placeholder and needs further implementation based on the specific test framework and infrastructure
- name: Run BDD/E2E Tests
run: |
echo "Running BDD/E2E tests..."
# Placeholder for actual BDD/E2E test execution command
# dotnet test src/WalletFramework.BDDE2E.Tests/WalletFramework.BDDE2E.Tests.csproj --no-build --verbosity normal

- name: Run Roslyn Analyzers
run: dotnet build src/WalletFramework.sln /m /p:EnableNETAnalyzers=true /p:AnalysisMode=AllEnabledByDefault

# OWASP ZAP scan requires a running application instance.
# This step is a placeholder and needs setup for running the application and ZAP scan.
- name: Run OWASP ZAP Scan
run: |
echo "Running OWASP ZAP scan..."
zap-cli quickscan -r http://localhost:5000

# OWASP Dependency-Check requires setup and configuration.
# This step is a placeholder and needs setup for Dependency-Check execution.
- name: Run OWASP Dependency-Check
run: |
echo "Running OWASP Dependency-Check..."
dependency-check --scan . --format JUNIT --out .

- name: Upload Test Coverage Report
uses: actions/upload-artifact@v4
with:
name: test-coverage-report
path: |
**/TestResults/*/coverage.cobertura.xml
**/TestResults/*/coverage.json

# Performance benchmarks might require a separate job or specific setup.
# This step is a placeholder for collecting and publishing performance benchmark results.
- name: Upload Performance Benchmark Results
run: |
echo "Collecting and uploading performance benchmark results..."
# Placeholder for collecting benchmark results
# For example, if using BenchmarkDotNet, results might be in BenchmarkDotNet.Artifacts
# find . -name "*-results.json" -print0 | xargs -0 -I {} mv {} .
# uses: actions/upload-artifact@v4
# with:
# name: performance-benchmark-results
# path: |
# *-results.json # Adjust path based on benchmark output

- name: Upload Security Scan Reports
uses: actions/upload-artifact@v4
with:
name: security-scan-reports
path: |
# Adjust paths based on actual output locations of ZAP and Dependency-Check reports
# zap_report.html
# dependency-check-report.xml
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
*.user
*.userosscache
*.sln.docstates
.roomodes
.pheromone
.swarmConfig
CodebaseXray.md
PRDtoAIactionplan.md
*.pdf


# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
Expand Down
35 changes: 35 additions & 0 deletions .memory
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"signals": [
{
"id": "1716219283000",
"timestamp": "2025-05-20T01:00:00Z",
"source_orchestrator": "orchestrator-state-scribe",
"summary": "State Scribe recorded new event in .memory, updated .docsregistry with formal project documents."
},
{
"id": "1716221692000",
"timestamp": "2025-05-20T12:20:00Z",
"source": "orchestrator-state-scribe",
"summary": "Summary: Roo Code diagnosed a missing WalletFramework.Core.Tests in test/WalletFramework.Core.Tests, and provided a five-step resolution: 1. **Diagnosis**: Confirm absence of the .csproj file. 2. **Project‐File Restoration**: Run `dotnet new xunit --name WalletFramework.Core.Tests --force` in test/WalletFramework.Core.Tests. 3. **Reference & Package Setup**: - Add `<ProjectReference Include=\"../../src/WalletFramework.Core/WalletFramework.Core.csproj\" />` - `dotnet add package Moq` - `dotnet add package coverlet.collector` 4. **Solution Integration**: `dotnet sln add test/WalletFramework.Core.Tests/WalletFramework.Core.Tests.csproj`. 5. **Verification**: `dotnet test test/WalletFramework.Core.Tests/WalletFramework.Core.Tests.csproj` should now succeed."
},
{
"id": "1716223092000",
"timestamp": "2025-05-20T13:30:00Z",
"source_orchestrator": "orchestrator-state-scribe",
"summary": "State Scribe updated .memory and .docsregistry files based on PRDMasterPlan.md."
},
{
"id": "1716211856000",
"timestamp": "2025-05-20T13:30:00Z",
"source_orchestrator": "orchestrator-state-scribe",
"handoff_reason_code": "task complete",
"summary": "The scaffolding activities for the Preparation phase have been completed successfully. The test harness was set up, the target framework of the `WalletFramework.Oid4Vc.Tests` project was updated to `net9.0`, and the tests were executed and passed. A Framework Scaffold Report has been created to summarize the scaffolding activities, tools used, and the initial project structure."
},
{
"id": "1716223942000",
"timestamp": "2025-05-20T14:30:00Z",
"source_orchestrator": "orchestrator-state-scribe",
"summary": "Update .memory and .docsregistry files with test execution results for WalletFramework.Oid4Vc feature."
}
]
}
20 changes: 20 additions & 0 deletions .roo/mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}"
},
"disabled": true,
"alwaysAllow": []
}
}
}
68 changes: 0 additions & 68 deletions CodeMaid.config

This file was deleted.

Loading
Loading