docs: Update PRD and progress for US-003 completion

This commit is contained in:
Alexander Myasoedov
2026-01-28 18:29:44 +02:00
parent f8e3f6f4a5
commit 29decc5c4e
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
"Add unit tests for chain composition and execution"
],
"priority": 3,
"passes": false
"passes": true
},
{
"id": "US-004",
+16
View File
@@ -52,3 +52,19 @@
- Use yaml.safe_load for parsing YAML files
- Template variables can use {var} or {{ var }} style
---
## 2026-01-28 - US-003
- Implemented Composable Fuzzing Chain System
- Files created:
- agentic_security/fuzz_chain/__init__.py
- agentic_security/fuzz_chain/chain.py (FuzzNode, FuzzChain, FuzzRunnable)
- agentic_security/fuzz_chain/provider.py (LLMProvider protocol)
- tests/unit/fuzz_chain/__init__.py
- tests/unit/fuzz_chain/test_chain.py (22 tests)
- **Learnings for future iterations:**
- FuzzyAI uses reversed() execution order but we use forward order (more intuitive)
- Template variable substitution: use str.replace() not string.Formatter for partial substitution
- Pipe operator (__or__) needs isinstance() checks, not classname comparison for mypy
- Use Any type for LLM provider param to avoid complex Protocol type issues
- Chain passes output to next node via {"input": result} convention
---