Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
991ebb4
fix(learning): implement real HNSW in ExperienceReplay for O(log n) s…
proffesor-for-testing Jan 23, 2026
1576004
fix(security): resolve all vulnerabilities from security audit #202
proffesor-for-testing Jan 23, 2026
389e7e5
fix(security): resolve CodeQL alerts #69, #70, #71, #74
proffesor-for-testing Jan 23, 2026
818868b
Merge main into working-on-main-v3 (lodash security update)
proffesor-for-testing Jan 23, 2026
d025e30
chore: bump version to v3.2.3
proffesor-for-testing Jan 23, 2026
b49b48e
Merge branch 'main' into working-on-main-v3
proffesor-for-testing Jan 23, 2026
8f6c43f
docs: add troubleshooting section for npm upgrade issues
proffesor-for-testing Jan 23, 2026
6c9740f
feat(learning): implement Phase 4 Self-Learning Features with brutal …
proffesor-for-testing Jan 23, 2026
6b1d15f
feat(accessibility): add EN 301 549 EU compliance mapping
proffesor-for-testing Jan 24, 2026
6f5c99a
fix(visual-accessibility): register workflow actions with orchestrator
proffesor-for-testing Jan 24, 2026
87f316e
fix(mcp): resolve ESM/CommonJS interop issue with hnswlib-node
proffesor-for-testing Jan 24, 2026
7302f85
fix(ux): fresh install shows 'idle' status instead of alarming warnings
proffesor-for-testing Jan 24, 2026
7c75a25
feat(coherence): implement ADR-052 Coherence-Gated Quality Engineering
proffesor-for-testing Jan 24, 2026
5dabce2
docs: add DevPod OOM fix to CHANGELOG for v3.3.0
proffesor-for-testing Jan 24, 2026
3eb793c
fix(build): add missing claude-flow adapter files
proffesor-for-testing Jan 24, 2026
a369816
Merge main into working-on-main-v3
proffesor-for-testing Jan 24, 2026
7241a28
cloud-sync-plan
proffesor-for-testing Jan 24, 2026
94760d1
fix(ci): add coherence.yml workflow with proper permissions
proffesor-for-testing Jan 24, 2026
32820ad
fix(ci): add job outputs and update vitest config for v4
proffesor-for-testing Jan 24, 2026
4a6ab73
fix(test): update mincut test to expect 'idle' for empty graph
proffesor-for-testing Jan 24, 2026
877e059
fix(security): resolve CodeQL incomplete-sanitization alerts
proffesor-for-testing Jan 24, 2026
0dc4002
fix(test): add timeout to browser-swarm-coordinator afterEach hook
proffesor-for-testing Jan 24, 2026
2ac0128
fix(security): escape backslashes in shell arguments (CodeQL #117)
proffesor-for-testing Jan 24, 2026
73ef222
fix(security): resolve CodeQL incomplete-sanitization alerts #116-121
proffesor-for-testing Jan 24, 2026
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
90 changes: 90 additions & 0 deletions .claude/agents/v3/qe-accessibility-auditor.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ Working:
- Extended aria-describedby descriptions for screen readers
- Copy-paste ready code fixes for all violations
- Comprehensive HTML/Markdown report generation
- **EN 301 549 V3.2.1 EU compliance mapping** (harmonized European standard)
- **EU Accessibility Act (Directive 2019/882) validation**
- **WCAG-to-EN 301 549 clause mapping** (all 50+ web clauses)
- **EAA product category validation** (e-commerce, banking, transport, etc.)
- **Certification-ready EU compliance reports**

Partial:
- Screen reader testing (NVDA, VoiceOver, JAWS)
Expand Down Expand Up @@ -92,6 +97,21 @@ Use up to 6 concurrent auditors for large sites.
- Spatial relationships and all visible text
- **Context-Aware ARIA**: Intelligent label generation based on element semantics and user flow
- **Developer-Ready Output**: Copy-paste code snippets for every violation found
- **EN 301 549 Compliance**: Full mapping to European ICT accessibility standard V3.2.1:
- Chapter 9 Web content (50+ clauses mapped to WCAG)
- Automated, manual, and hybrid test method classification
- Clause-by-clause compliance reporting
- Remediation prioritization by test method
- **EU Accessibility Act Validation**: Directive 2019/882 compliance checking:
- Product category validation (e-commerce, banking, transport, e-books, etc.)
- Requirements mapping to EN 301 549 clauses
- Exemption tracking (micro-enterprise, disproportionate burden)
- Annex I functional requirements validation
- **EU Certification Reports**: Generate certification-ready compliance documentation:
- Overall compliance status (compliant/partially-compliant/non-compliant)
- Failed/passed/partial clause breakdown
- Prioritized remediation recommendations with deadlines
- Next review date scheduling
</capabilities>

<memory_namespace>
Expand Down Expand Up @@ -326,6 +346,76 @@ Remediation Code:
Remediation Effort: 15 minutes (copy/paste generated files)
Learning: Stored pattern "automotive-video-captions" with 0.91 confidence
```

Example 4: EU compliance audit (EN 301 549 + EU Accessibility Act)
```
Input: Validate EU compliance for e-commerce platform
- URL: https://shop.example.eu
- Standard: EN 301 549 V3.2.1
- Include: EU Accessibility Act (Directive 2019/882)
- Product Category: e-commerce

Output: EU Compliance Report
- URL: https://shop.example.eu
- Standard: EN 301 549 V3.2.1 + EAA

Overall Status: PARTIALLY COMPLIANT
Compliance Score: 78%
Certification Ready: NO

EN 301 549 Results:
- Total Clauses Evaluated: 47
- Passed: 35 (74%)
- Partial: 8 (17%)
- Failed: 4 (9%)

Failed Clauses:
1. 9.1.1.1 Non-text content (WCAG 1.1.1)
- 12 images missing alt text
- Test method: automated
- Priority: HIGH

2. 9.1.4.3 Contrast (minimum) (WCAG 1.4.3)
- 8 elements below 4.5:1 ratio
- Test method: automated
- Priority: HIGH

3. 9.2.4.7 Focus visible (WCAG 2.4.7)
- Custom buttons hide focus indicator
- Test method: hybrid
- Priority: MEDIUM

4. 9.3.3.2 Labels or instructions (WCAG 3.3.2)
- Checkout form missing field labels
- Test method: hybrid
- Priority: HIGH

EU Accessibility Act (EAA) Results:
- Product Category: e-commerce
- Applicable Requirements: 6
- Failed Requirements: 2

Failed EAA Requirements:
1. EAA-I.1 Perceivable information
- Linked to EN 301 549: 9.1.1.1, 9.1.2.2
- Status: NOT MET

2. EAA-I.2 Operable user interface
- Linked to EN 301 549: 9.2.4.7
- Status: PARTIALLY MET

Top Recommendations:
| Priority | Clause | Remediation | Effort | Deadline |
|----------|--------|-------------|--------|----------|
| HIGH | 9.1.1.1 | Add alt text to all images | Minor | 30 days |
| HIGH | 9.1.4.3 | Fix contrast ratios | Minor | 30 days |
| HIGH | 9.3.3.2 | Add form labels | Trivial | 30 days |
| MEDIUM | 9.2.4.7 | Restore :focus-visible | Trivial | - |

Next Review Date: 2027-01-24 (annual)

Learning: Stored pattern "eu-e-commerce-compliance" with 0.89 confidence
```
</examples>

<skills_available>
Expand Down
128 changes: 128 additions & 0 deletions .github/workflows/coherence.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Coherence-Gated Quality Engineering CI
# ADR-052: Mathematical verification of belief coherence
#
# This workflow verifies that all QE operations maintain mathematical coherence
# using Prime Radiant WASM engines (with JS fallback for CI environments).

name: Coherence Verification

on:
push:
branches: [main]
paths:
- 'v3/src/**'
- 'v3/tests/**'
- '.github/workflows/coherence.yml'
pull_request:
branches: [main]
paths:
- 'v3/src/**'
- 'v3/tests/**'

# Minimal permissions following principle of least privilege
permissions:
contents: read
actions: read

jobs:
coherence-check:
name: Coherence Verification
runs-on: ubuntu-latest

permissions:
contents: read

# Export outputs for dependent jobs
outputs:
is_coherent: ${{ steps.coherence.outputs.is_coherent }}
energy: ${{ steps.coherence.outputs.energy }}
used_fallback: ${{ steps.coherence.outputs.used_fallback }}
badge: ${{ steps.coherence.outputs.badge }}
badge_color: ${{ steps.coherence.outputs.badge_color }}

defaults:
run:
working-directory: v3

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

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: v3/package-lock.json

- name: Install dependencies
run: npm ci

- name: Build project
run: npm run build

- name: Run coherence check
id: coherence
run: |
node scripts/coherence-check.js > coherence-result.json 2>&1 || true

# Extract results
IS_COHERENT=$(jq -r '.isCoherent // false' coherence-result.json 2>/dev/null || echo "false")
ENERGY=$(jq -r '.energy // "N/A"' coherence-result.json 2>/dev/null || echo "N/A")
USED_FALLBACK=$(jq -r '.usedFallback // false' coherence-result.json 2>/dev/null || echo "true")

echo "is_coherent=$IS_COHERENT" >> $GITHUB_OUTPUT
echo "energy=$ENERGY" >> $GITHUB_OUTPUT
echo "used_fallback=$USED_FALLBACK" >> $GITHUB_OUTPUT

# Determine badge
if [ "$IS_COHERENT" = "true" ]; then
if [ "$USED_FALLBACK" = "true" ]; then
echo "badge=fallback" >> $GITHUB_OUTPUT
echo "badge_color=yellow" >> $GITHUB_OUTPUT
else
echo "badge=verified" >> $GITHUB_OUTPUT
echo "badge_color=brightgreen" >> $GITHUB_OUTPUT
fi
else
echo "badge=violation" >> $GITHUB_OUTPUT
echo "badge_color=red" >> $GITHUB_OUTPUT
fi

- name: Run coherence tests
run: npm run test:safe -- tests/integrations/coherence/ tests/learning/coherence-integration.test.ts --reporter=verbose
continue-on-error: true

coherence-status:
name: Coherence Status
runs-on: ubuntu-latest
needs: coherence-check

permissions:
contents: read

steps:
- name: Check coherence result
run: |
echo "Coherence Check Results:"
echo "========================"
echo "Is Coherent: ${{ needs.coherence-check.outputs.is_coherent }}"
echo "Energy: ${{ needs.coherence-check.outputs.energy }}"
echo "Used Fallback: ${{ needs.coherence-check.outputs.used_fallback }}"
echo "Badge: ${{ needs.coherence-check.outputs.badge }} (${{ needs.coherence-check.outputs.badge_color }})"

# Determine overall status
if [ "${{ needs.coherence-check.outputs.is_coherent }}" = "true" ]; then
echo ""
echo "Coherence verification PASSED"
exit 0
elif [ "${{ needs.coherence-check.outputs.used_fallback }}" = "true" ]; then
echo ""
echo "Coherence check used fallback mode (WASM unavailable)"
echo "This is acceptable for CI but full WASM verification is recommended"
exit 0
else
echo ""
echo "::error::Coherence verification FAILED"
exit 1
fi
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ coordination/orchestration/*
*.sqlite
*.sqlite-journal
*.sqlite-wal
claude-flow
# Claude Flow runtime (but not source adapters)
/claude-flow
!v3/src/adapters/claude-flow/
.agentic-qe/memory/
.agentic-qe/data/learning/state.json
.agentic-qe/data/improvement/state.json
Expand Down Expand Up @@ -164,7 +166,6 @@ coordination/orchestration/*
*.sqlite
*.sqlite-journal
*.sqlite-wal
claude-flow
# Removed Windows wrapper files per user request
hive-mind-prompt-*.txt
tests/tmp/*
Expand All @@ -184,4 +185,5 @@ v3/agentdb.*
.agentic-qe/.cve-cache
.agentic-qe/*-scans/
v3/.agentic-qe/
*.db-shm
*.db-shm
v3/.test-tmp/*
Loading
Loading