SpecLink

Documentation
Source

Turn one or more marked summary blocks into a regression run and closure snapshot.

Parse and ingest simulation evidence

Name the test

Run simulation with +SPECLINK_TESTNAME=<test_id> or call set_current_test explicitly so the emitted evidence can be matched to a configured Test.

Parse the transcript

python manage.py parse_speclink_log --project axi --run-id nightly_001 \
  path/to/test.log --output evidence.json

tools/speclink_parse_log.py provides the same parsing boundary outside Django. The parser accepts multiple summary blocks and wraps them in a schema 1.0 evidence report with parser version, project slug, and run ID.

Summary framing

=== SPECLINK_SUMMARY_BEGIN ===
{ ... JSON summary ... }
=== SPECLINK_SUMMARY_END ===

Required JSON fields

LevelRequired fields
Test summary schema_version, project, test, status, requirements.
Requirement id, expected, status, checks.
Check id, expected, observed, result, hit_count, fail_count, messages.