SKF Knowledge Overview

April 8, 2026 · View on GitHub

Principle

Agent-level knowledge files capture cross-cutting principles and patterns that Ferris applies across multiple workflows. They are distinct from workflow references/ and assets/ files, which contain step-specific operational artifacts. Knowledge is loaded just-in-time when a workflow step directs — never preloaded into context.

Rationale

The SKF module has 14 workflows containing operational references/ and assets/ files within each skill directory. References contain rules, patterns, and protocols for decision-making; assets contain templates, schemas, and output formats. Both are tightly coupled to individual steps. But several principles — zero hallucination, confidence tiers, provenance — cut across multiple workflows and need a single authoritative source rather than fragmented repetition.

Without a knowledge folder:

  • Cross-cutting principles get duplicated across workflow steps
  • Updates to foundational rules require changes in multiple locations
  • Ferris has no centralized reference for judgment calls that span workflows

With knowledge files:

  • Each principle has one canonical definition
  • Workflow steps reference knowledge files instead of re-stating rules
  • Ferris loads only the knowledge relevant to the current task

Knowledge Map

FilePurposeKey Workflows
zero-hallucination.mdEvery claim traces to source; uncitable content excludedAN, BS, CS, QS, SS, US, AS, TS, RA
confidence-tiers.mdT1/T1-low/T2/T3 trust model and citation formatsAN, BS, CS, QS, SS, US, AS, TS, EX, RA, VS
progressive-capability.mdQuick/Forge/Forge+/Deep tier philosophy and behavior adaptationSF, AN, BS, CS, QS, SS, US, AS, TS, EX, VS, RA
agentskills-spec.mdagentskills.io output format principles and complianceCS, QS, SS, US, TS, EX
skill-lifecycle.mdEnd-to-end pipeline — workflow connections, artifact flow, decision rules for workflow selection, pipeline invocation syntax and aliasesAll 14
provenance-tracking.mdProvenance-map.json entries and file_entries, evidence reports, claim traceabilityCS, QS, SS, US, AS, TS
manual-section-integrity.md[MANUAL] marker preservation and merge algorithmCS, US, AS, TS, EX
qmd-registry.mdProgressive QMD collection registry and collection gate principleSF, BS, CS, US, AS
ccc-bridge.mdccc_bridge interface, indexing lifecycle, Forge+ discovery-before-extractionSF, AN, CS, SS, US, AS
tool-resolution.mdBridge-to-tool and subprocess-to-tool mapping per IDE environmentCS, QS, SS, US, AS, AN, BS, RA
architecture-verification.mdPre-code verification pipeline, integration verdicts, iteration loopVS, RA, SS
doc-fetcher.mdT3 external documentation fetching, quarantine rules, tool-agnosticCS, QS
split-body-strategy.mdSelective vs full split-body, detection pattern, agent accuracyCS, QS, US, TS, EX
version-paths.mdVersion-aware storage layout, path templates, export manifest v2, migrationCS, QS, SS, US, AS, TS, EX, VS, RA
overview.mdKnowledge map and JiT loading protocol (this file)All (entry point)

JiT Loading Protocol

  1. Ferris receives a task or workflow activation
  2. Consult skf-knowledge-index.csv to identify relevant knowledge fragments by tags or description. The tier column classifies fragments as core (always relevant when the domain applies) or extended (load only when the specific scenario is active — e.g., doc-fetcher.md only when doc_urls are present in the brief)
  3. Load only the files needed for the current task — never bulk-load all knowledge
  4. Apply knowledge principles during workflow execution alongside step-specific references/ and assets/ files

Knowledge vs. Data

AspectKnowledge Files (knowledge/)References (references/)Assets (assets/)
ScopeCross-cutting, multi-workflowSingle workflow, single stepSingle workflow, single step
ContentPrinciples, patterns, judgment rulesRules, patterns, protocols, heuristicsTemplates, schemas, output formats
LoadingJiT via index lookupJiT via step instructionJiT via step instruction
ExamplesZero hallucination, confidence tiersscoring-rules.md, extraction-patterns.mdskill-brief-schema.md, skill-template.md
StabilityRarely changesChanges with workflow evolutionChanges with workflow evolution

Source: synthesized from module.yaml, README.md, and workflow README