Repository navigation
v4.1.3 - SAP-009 v1.1.0: Bidirectional Translation Layer
·
297 commits
to main
since this release
Release v4.1.3 - SAP-009 v1.1.0: Bidirectional Translation Layer
This release enhances SAP-009 (agent-awareness) with a bidirectional translation layer enabling natural language to formal action translation for agent-human collaboration.
Added
Bidirectional Translation Layer (SAP-009 v1.1.0)
Core Documentation Enhancements:
- SAP-009 protocol-spec.md Section 6 (~400 lines) - Technical contracts
- IntentMatch contract (confidence thresholds, parameter extraction)
- GlossaryEntry contract (fuzzy matching, related terms)
- Suggestion contract (reactive/proactive modes)
- UserPreferences contract (100+ configuration options)
- Progressive formalization stages (casual → semi-formal → formal → executable)
- Quality gates and anti-patterns
- SAP-009 awareness-guide.md Section 7 (~70 lines) - Integration patterns
- 3-layer progressive discovery workflow (AGENTS.md → domain AGENTS.md → INTENT_PATTERNS.yaml)
- Generic agent integration via subprocess invocation
- Token budgeting (15-35k total)
- "Nearest File Wins" pattern
Domain AGENTS.md Files Created (1,100+ total lines):
docs/skilled-awareness/inbox/AGENTS.md(150 lines) - SAP-001 inbox protocol patternsdocs/skilled-awareness/testing-framework/AGENTS.md(180 lines) - SAP-004 testing patternsdocs/skilled-awareness/agent-awareness/AGENTS.md(240 lines) - SAP-009 awareness patternsdocs/skilled-awareness/development-lifecycle/AGENTS.md(290 lines) - SAP-012 workflow patternsdocs/skilled-awareness/metrics-framework/AGENTS.md(240 lines) - SAP-013 metrics patterns
Each file includes:
- User signal patterns (conversational input → formal actions)
- Domain quick reference guides
- Integration with bidirectional translation layer
- Common tasks and workflows
Foundation Tool Enhancements:
- scripts/suggest-next.py - Inbox protocol integration
- New methods:
get_ecosystem_status(),get_coordination_requests(),get_blockers() - Enhanced workflow suggestions prioritize by: blockers → pending triage → accepted P1/P2
- Parses ECOSYSTEM_STATUS.yaml for rich context
- Fixed datetime timezone comparison bug
- Tested in reactive/proactive modes
- New methods:
Changed
- SAP-009 version: 1.0.0 → 1.1.0 (MINOR enhancement, backward compatible)
- SAP-009 awareness-guide.md: Fixed incorrect SAP ID (was SAP-011, corrected to SAP-009)
- Foundation tools lint clean: Fixed 7 lint errors (unused imports, f-string prefixes)
Quality Gates
- Foundation tools executable: ✅ (intent-router.py, chora-search.py, suggest-next.py)
- Lint clean (ruff): ✅ (0 errors in foundation tools)
- Documentation links: ✅ (0 broken links in new AGENTS.md files)
Documentation Impact
Total Lines Added: ~1,570 lines
- SAP-009 enhancements: 470 lines (protocol-spec + awareness-guide)
- Domain AGENTS.md files: 1,100 lines (5 files)
- suggest-next.py enhancements: ~70 lines (3 new methods)
Files Modified: 13 files
- 2 SAP-009 core files enhanced
- 5 domain AGENTS.md files created
- 1 foundation tool enhanced (suggest-next.py)
- 4 governance files updated (CHANGELOG, ledger, Index, catalog)
Coordination: COORD-2025-004 (coord-2025-004-bidirectional)
Installation
The bidirectional translation layer is now available in SAP-009 (agent-awareness). To use:
# Foundation tools are located in scripts/
python scripts/intent-router.py "show inbox"
python scripts/chora-search.py "Coordination Request"
python scripts/suggest-next.py --mode reactiveSee the README for full installation instructions.
License
This project is licensed under the MIT License.
Full Changelog
See CHANGELOG.md for complete version history.
🤖 Generated with Claude Code