mirror of
https://github.com/kharonsec/br-acc
synced 2026-04-25 17:15:02 +02:00
1.7 KiB
1.7 KiB
Bootstrap All
bootstrap-all is the heavy reproducibility path for the public repository.
Commands
# interactive reset prompt (default)
make bootstrap-all
# noninteractive reset for automation
make bootstrap-all-noninteractive
# print latest summary report
make bootstrap-all-report
What It Does
- Starts Docker services for Neo4j, API, and frontend.
- Waits for Neo4j and API health.
- Prompts whether to reset the local graph (
yes/no) unless noninteractive flags are set. - Loads source contract from
config/bootstrap_all_contract.yml. - Attempts all implemented pipelines in contract order.
- Continues on errors and classifies outcomes per source.
- Writes machine/human summaries under
audit-results/bootstrap-all/<UTC_STAMP>/and copies latest toaudit-results/bootstrap-all/latest/.
Prerequisites
- Docker + Docker Compose available locally.
.envpresent (start from.env.example).- Adequate machine resources for long-running ingestion.
- Optional credentials when required by specific sources (for example
GOOGLE_APPLICATION_CREDENTIALS).
Status Model
Per-source terminal status is one of:
loadedblocked_externalblocked_credentialsfailed_downloadfailed_pipelineskipped
Exit Policy
Run exits with non-zero code only when one or more core sources fail.
Core sources are defined in config/bootstrap_all_contract.yml.
Report Interpretation
summary.json includes:
run_id,started_at_utc,ended_at_utcfull_historical,db_reset_used- per-source statuses, durations, and remediation hints
- aggregate counts and core failure list
summary.md is a compact human-readable table for sharing with community reviewers.