Repository navigation
Source Inventory Usage 60 EN
riido-sourceinventory is a maintainer tool that connects 60 stored source definitions and 204 authored component relations to original Go declarations. It does not execute models or candidate functions. Whether a caption accurately describes an implementation belongs to the separate content review.
The five original inputs are four Go source files and results-56b.json, with fixed full-file SHA and byte counts. Five compiled Go files are embedded in the binary and compared with current disk and Git bytes. Sixteen support files include this usage guide, build recipe, tests and content-review protocol. This list does not prove a complete semantic dependency closure.
Build with Go 1.27.1, CGO_ENABLED=0, -trimpath, -buildvcs=false, and -p=1. The actual binary SHA, size, platform and build information enter the plan; private binary/input paths do not. GOMAXPROCS=1 and a Go heap soft limit of 256MiB are settings, not measured memory or speed.
Run these examples from the repository root. Replace <...> with actual experiment values. Keep the same binary and source commit between preparation and execution.
CGO_ENABLED=0 go build -trimpath -buildvcs=false -p=1 -o .cache/riido-sourceinventory-60 ./cmd/riido-sourceinventory
.cache/riido-sourceinventory-60 prepare --source-commit <source-freeze-commit> --out .cache/new-plan-60.jsonprepare checks bytes and Git records for inputs, compiled files and support files without invoking original AST parsing, registry lookup, formatting or inventory. It verifies 26 Git blobs. Review the new plan and record it as execution-plan-60.json in a separate input commit, then use the same binary.
.cache/riido-sourceinventory-60 inventory --input-commit <input-freeze-commit> --out .cache/new-run-60/results.jsoninventory rechecks inputs, plan, binary and 27 Git blobs, then projects only required strings from stored metadata. It does not convert large integers, correctness flags, rankings or training roles into arithmetic or features. It exclusively reserves a new directory and result file before one original rebinding call. Automatic retries are zero. Existing output paths and symlinks are rejected before that call.
Successful scope requires four files, 60 roots in their original order, 204 component relations and agreement with historical hashes. Returned counters are compared against the predeclared expectation of four parses, 264 formatting calls, 112 normalization calls and 24 bundles. Expectations never populate observed counters. Raw declaration span hashes are computed for each relation; unique span counts do not replace physical calls.
A returned failure preserves partial results, actual counters and a fixed error code before exiting unsuccessfully. A claimed successful report with a scope mismatch also fails while preserving that report. A panic that prevents a return marks inner counters unavailable. Disk failure or process termination cannot guarantee a complete result file. There is no host-global lock; the experiment plan and ledger govern retries.
metadata_rebound_content_review_pending means byte/declaration correspondence succeeded. It does not imply object binding, complete closure discovery, caption approval, model quality or savings. content_review=pending and training_ready=false remain. Publish only safe result JSON and bilingual explanations; keep local binaries, paths and model weights out of Git.
The first official plan allows one original inventory attempt and zero retries. Existing CI synthetic controls and historical frozen checks are separate. Future regression replays must be recorded separately, never retroactively included in the first-run ledger. Compare the original result's raw declaration SHA/spans, root/component order, formatted/normalized/bundle hashes and actual counters. Declaration correspondence does not supply semantic ground truth.
riidolaya is experimental. No demonstrated Codex cost savings; repository selection is preview-only.
riidolaya는 실험 단계입니다. Codex 절감은 미입증이며 저장소 선택은 preview입니다.
English README · 한국어 README · Versioned Wiki sources / Wiki 원본
이전 연구 안내 펼치기 / Earlier research
- 실제 이어 학습 V3 · 한국어 · Actual V3 training · English
- 진행·완료 보고·질문100건 결과 KO · 100-case results EN
- 라벨·이모지·상태 힌트 KO · Content/state hints EN
- 개발 진행·완료 보고·질문 pilot KO · Development pilot EN
- 작은 검증 기록 KO · Compact evidence EN
- 현재 개발 자료 35개·다음 학습 조건 · 35-row data and next training gates
- 개발용 학습 자료 2개 · Two qualified training requests
- 첫 두 과제 실제 관측 · First two actual observations
- 전체 사용법 KO · Full usage EN
- 작은 동작 힌트 KO · Small hints EN
- 설명 보강 비교76 · Caption diagnostic76
- Go 압축 가중치78 · Packed Go weights78
- 공개 함수 동작 검증 · Public function verification
- 다음 학습 자료 준비 · Training data preparation
- 동작에서 학습 정답·실제 학습79 · Grounded labels and actual fit79
- 소스 동작 관찰 · Source observations
- 저장 크기와 RAM · Storage and RAM
- 라이선스 · Licensing
- 시점별 기록 원문 / Chronological history
- 전체 연구 링크 / Full research index
- 문서 목록 / Documentation