Repository navigation
Context Resolution
github-actions[bot] edited this page Oct 13, 2026
·
2 revisions
Canonical source:
docs/14-ai-native-development/how-context-resolution-works.md— this page is rendered from it on every publish; edit the source.
npm run knowledge:context -- --task="<task>" [--service=x] [--event=y] [--route=/z] [--files=a,b] [--max-tokens=6000]- The task is tokenized and classified into a task pack (
tools/knowledge/classify-task.mjs). - Workspaces, events, permissions, env vars, routes, rules and skills are ranked by lexical/structural overlap with the task terms (deterministic — no external AI).
- A compact bundle is written to
.ai/local/current-context.{json,md}(gitignored).
The output links to files; it never inlines them. Read .ai/local/current-context.md,
then open the cited sources. ADR: adr-057.
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