Skip to content

docs: feature roadmap, decisions, and versioning law#32

Merged
Jo5ta merged 6 commits into
mainfrom
docs/tracing-roadmap
Jul 11, 2026
Merged

docs: feature roadmap, decisions, and versioning law#32
Jo5ta merged 6 commits into
mainfrom
docs/tracing-roadmap

Conversation

@Jo5ta

@Jo5ta Jo5ta commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Stack 3/7 — based on the cross-endian PR.

Records the feature roadmap with explicit accepted/rejected decisions (spans with carryable ids: accepted; persisted registration index: accepted; export: accepted; fmt format strings: accepted; levels/enablement: rejected — always on), the definition of done requiring every feature to ship integrated into docs, tests, and examples for both writer and decoders, and the versioning law: every merged change bumps at least patch, file layout changes bump minor, old-decoder-breaking changes bump major, kernel support considered for every feature.

Jo5ta added 6 commits July 10, 2026 23:30
Candidate features evaluated against the library's defining properties
(crash-safe files, zero-infrastructure macros, maximal-speed hot path,
post-mortem-first decoding): spans with open-span crash visibility,
runtime trace levels, Perfetto/CTF export, dynamic tracebuffer selection
for static tracepoints (enabled by the discovery section rework), a
registration index to replace linear stack scans, thread names, and
per-thread lock-free ringbuffers. Includes a suggested phasing where
each phase ships independently.

Signed-off-by: Jo5ta <jo5ta@mail.de>
Spans accepted with an explicit carryable span id (plain uint64 passed
as function argument, across threads, and through APIs; decoder
correlates begin/end by id across buffers and processes). The
registration index is accepted as an in-file growable open-addressing
table with crash-consistency requirements spelled out. Export to
Perfetto/CTF accepted. Trace levels and runtime enablement rejected:
tracing is unconditional by design. Smaller candidates rejected.
Dynamic buffer selection and per-thread buffers stay open.

Signed-off-by: Jo5ta <jo5ta@mail.de>
Define what done means for every accepted feature: library API, both
decoders, file specification, unit and integration tests, a golden
fixture, a runnable example, and documentation - delivered together.
Add the concrete integration matrix for spans, export, and the
registration index.

Signed-off-by: Jo5ta <jo5ta@mail.de>
Record the version bump law in AGENTS.md: every merged change set bumps
at least PATCH, any trace file layout change bumps MINOR, changes older
decoders cannot safely skip bump MAJOR. Sharpen the roadmap definition
of done: the kernel tracing module is explicitly evaluated per feature
(implemented or documented why not), both decoders are mandatory, and
features integrate at the right places in the existing structure -
redesigns are their own roadmap items, never a side effect.

Signed-off-by: Jo5ta <jo5ta@mail.de>
Base automatically changed from feat/cross-endian-decoding to main July 11, 2026 09:42
@Jo5ta Jo5ta merged commit 43564fe into main Jul 11, 2026
7 checks passed
@Jo5ta Jo5ta deleted the docs/tracing-roadmap branch July 11, 2026 09:43
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