Repository navigation
Conversation
This was referenced May 29, 2026
…_extractor (Research-0757) Audits both files for the test-internal static-access issue and C11 atomic bridge that blocked Wave 7 retries. Finds that feature_extractor.c is a straightforward .c→.cpp rename (no test includes it directly) while feature_collector.c requires extracting 6 static fns into a feature_collector_internal.h first. Recommends Option A (internal-header pattern) as the prerequisite step before the collector rename. Effort estimate: 5–7 h total, low risk, zero golden-data exposure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
lusoris
force-pushed
the
worktree-agent-a7d552465a7da581b
branch
from
May 29, 2026 12:07
a211616 to
bed5b33
Compare
lusoris
marked this pull request as ready for review
May 31, 2026 13:51
Contributor
Author
|
Superseded by master merge marathon 2026-05-31. |
Contributor
Author
|
Closing stale 05-29 vintage branch (contained conflict markers). Recreating from clean rebase onto current master. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
core/src/feature/feature_collector.candfeature_extractor.cfor C++23 conversion feasibility, re-evaluating the Wave 7 blockers now thatcpp_std=c++23is global.test_feature_collector.chard-includesfeature_collector.cand calls 6 static functions directly (aggregate_vector_{init,append,destroy},feature_vector_{init,append,destroy}). This blocks a direct.c→.cpprename.feature_extractor.chas no test that includes it directly — straightforward rename candidate.feature_extractor.care already bridged by the MSVC/gcc guard infeature_extractor.h; no ABI concern on Linux gcc/clang.Recommended path
.c→.cpprename, addextern "C"guards tofeature_extractor.h, mechanical cast fixups. 2–3 h.feature_collector_internal.h, rewritetest_feature_collector.cto include the internal header instead of the.cfile, then rename. 2.5–3 h.Total effort: 5–7 h. Risk: LOW. No golden-data exposure (no score computation in either file).
Deliverables checklist (ADR-0108)
docs/research/research-0757-feature-collector-extractor-cpp23-feasibility.mdTest plan
test_feature_collector.cfeature_extractor.corfeature_collector.cdirectly🤖 Generated with Claude Code