Status: Draft
basics is a local-first conformance assessor.
It scans a target repository and evaluates evidence against BASICS rules and tier requirements.
Design principles:
- deterministic checks where possible
- explicit uncertainty when heuristic checks are used
- no hidden network dependency for baseline operation
- machine-readable and human-readable output parity
Purpose:
- fast, strict readiness snapshot
Characteristics:
- small high-signal rule subset
- biased toward blocking findings
- optimized for speed over completeness
Purpose:
- structured conformance evaluation
Characteristics:
- profile-aware rules
- tier-aware mandatory gates
- optional maturity scoring
- run id
- timestamp
- target path
- mode (
dirty-test|assess) - requested tier
- requested profiles
- rule id
- status (
pass|fail|partial|na|error) - severity (
critical|high|medium|low|info) - observed evidence
- rationale
- remediation hint
- summary counts
- blocking findings
- strengths
- confidence statement
- limits statement
Rules are evaluated through typed checks:
- file existence checks
- pattern checks (content inspection)
- command checks (optional execution)
- structured data checks (JSON/YAML validation)
Each rule includes:
- rule id
- applicability (tier/profile)
- evaluator type
- pass condition
- fail condition
- evidence extraction plan
- mandatory controls: pass/fail only
- optional controls: maturity scoring allowed
Assessment fails if:
- any mandatory applicable rule fails
- any rule-evaluation error is marked blocking
Run confidence is computed from:
- evaluator determinism
- evidence completeness
- command execution coverage
Confidence labels:
- high
- medium-high
- medium
- low
basics detect should infer target type:
- cli tool
- app/service repo
- mixed repo
Signals:
- package manifests
- executable entry points
- protocol docs
- conformance artifact folders
- no mutation of target repository unless explicitly requested
- no remote calls required for baseline assessment
- command execution allowlist for scan mode
Recommended output path:
.basics/results/<run-id>/
Files:
report.jsonreport.mdevidence.jsonsummary.txt
Required first pack:
BASICS-TIER-010BASICS-EVID-002BASICS-EVID-004BASICS-EVID-005BASICS-SC-041BASICS-SC-050BASICS-SC-051
This aligns with harsh dirty-test gating used for workpads.