Skip to content

Add BRF record discovery - #72

Merged
ip332 merged 1 commit into
mainfrom
tools/brf-inspect-list-records
Sep 18, 2026
Merged

ip332 merged 1 commit into
mainfrom
tools/brf-inspect-list-records

Conversation

@ip332

@ip332 ip332 commented Sep 18, 2026

Copy link
Copy Markdown
Owner

Users previously needed to know a QBS record ID or canonical identity before using quarry-brf-inspect. This PR adds standalone record discovery:

quarry-brf-inspect --qbs schema.qbs --list-records

Minimal QBS output:

1 benchmark.workload.Workload
2 benchmark.workload.shared.Child

Reflective QBS output:

1 benchmark.workload.Workload (Workload)
2 benchmark.workload.shared.Child (Child)

The numeric value can be copied to --record-id; the canonical identity can be copied to --record-name. Reflective QBS additionally shows the optional display name. Minimal QBS is sufficient for discovery. All records in the QBS image are listed in validated record-table order; QBS has no root-record concept.

The public quarry_qbs_record_identity(...) API returns the mandatory canonical identity as a non-owning string view, so the CLI does not decode private QBS layout.

No QBS or BRF format changes occurred. Compatibility epochs and formats remain unchanged.

@ip332
ip332 merged commit 215b4b6 into main Sep 18, 2026
5 checks passed
@ip332
ip332 deleted the tools/brf-inspect-list-records branch September 18, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant