Repository navigation
Knowledge Ranking Algorithm
github-actions[bot] edited this page Oct 13, 2026
·
2 revisions
Canonical source:
docs/14-ai-native-development/knowledge-ranking-algorithm.md— this page is rendered from it on every publish; edit the source.
Deterministic lexical/structural retrieval:
- Task terms: lowercased tokens of length > 2, de-duplicated.
- Score: count of task terms found in a candidate's text (name, models, patterns, doc body).
-
Boosts: explicit
--service/--event/--routepin the result; the matching task pack adds a boost to its dimension. -
Ties: broken by stable
cmp(code-unit order) for reproducibility.
No external AI provider is required. Optional semantic retrieval may be added behind a feature flag later, but deterministic retrieval stays canonical.
ClawAI Wiki · source-controlled under wiki/ · generated/mirrored from the current repository knowledge layer.
ClawAI Wiki
Product
- Product-Vision
- Flagship-Features
- Business-Overview
- Requirements-Register
- Drift-Log
- Runtime-Managed-Connector-Providers
- Threads
- ADR-Index
Architecture
- System-at-a-Glance
- Architecture-Map
- System-Architecture
- Message-Flow
- End-to-End-Data-Flow
- Routing-Engine
- Event-Bus
- Security-Architecture
Platform
- Backend-Services
- Frontend-Architecture
- Shared-Packages
- Database-Reference
- API-Reference
- Provider-Catalog
- Memory-and-Context-Architecture
- File-Support-Architecture
- Research-and-Web-Crawling
Runtime & Ops
- Docker-Guide
- Nginx-Reference
- CI-CD-Pipeline
- Logging-and-Observability
- Operational-Runbooks
- Troubleshooting
Quality
Engineering OS
- AI-Native-Engineering-OS
- Generated-Manifests
- Rules-Catalog
- Skills-Catalog
- Context-Layer
- Engineering-Memory
- Tooling-and-Automation
- Scripts-and-Operations
- ESLint-and-Architecture-Enforcement
- Extended-Work-Skills
Agents
Reference