Repository navigation
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: #94
- docs/case-studies/issue-94/data: issue/PR snapshots of Memory and mem-rs, output of C# probes P1-P7 and the C++ multiple-definition link probe - experiments/issue-94-csharp-probes: reproducible probes comparing Platform.Memory behaviour with mem-rs - experiments/issue-94-cpp-odr: shows Platform.Memory.h-style inclusion of memory_mapped_file.cpp breaks linking of two translation units - remove .gitkeep from the initial task commit
- experiments/issue-94-cpp-probes: compiles Platform.Memory C++ headers with stubs under ASan/UBSan; confirms #92 (malloc/delete), copy constructor writing through nullptr and FileArrayMemory byte-offset bug - experiments/issue-94-mem-rs-review: regression tests filed as linksplatform/mem-rs#46, #47, #48 and the C# file compatibility check (#50) - experiments/set-issue-type.sh: helper used to set organisation issue types
…utions, issue map
- Markdown: blank lines around headings and lists (MD022/MD032), no bare URLs (MD034), wrap the new README paragraph, escape HTML in generated issue titles. - Python: drop unused import and placeholder-less f-strings (issue specs are byte-identical); quote shell variables in sub_issues.sh.
Working session summaryIssue #94 is done in PR #95, which is now ready for review: #95. The issue limits its own scope to analysis and docs, so no library code was changed. All 51 sub-issues are still open; they are the planned code work. Issue triage
Documentation (in
The scripts that reproduce each finding and the ones that created the issues are in Most important findings
Checks on PR #95
I had accidentally committed the C# probe's build outputs ( No review comments arrived during the 15 minutes I waited after marking the PR ready, and #94 has no comments to address. The branch is pushed with no uncommitted changes, already contains This summary was automatically extracted from the AI working session output. |
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:Claude Opus 5.5: (4 sub-sessions)
Total: (15.6K new + 485.1K cache writes + 9.5M cache reads) input tokens, 168.2K output tokens, $8.744090 cost Claude Haiku 5.5:
Total: 89.6K input tokens, 10.0K output tokens, $0.073941 cost 🤖 Models used:
📎 Log file uploaded as Gist (5544KB)This AI session has ended. Monitoring of this pull request continues. Feel free to review and add feedback while checks are running. |
✅ Ready to mergeThis pull request is now ready to be merged:
|
Fixes #94
Summary
This PR contains the analysis and documentation that #94 asks for. It changes no library code. All C#, C++ and mem-rs work is planned as separate issues, and each one is a sub-issue of #94.
docs/case-studies/issue-94/data/: issue and PR dumps, probe logs, and the lists of created issues and dependencies.experiments/issue-94-csharp-probes: C# probes P1–P7.experiments/issue-94-cpp-probes,experiments/issue-94-cpp-odr: C++ probes run under ASan/UBSan, and a link test.experiments/issue-94-mem-rs-review: Rust tests that fail on mem-rs 0.6.2.experiments/issue-94-triage: the scripts that created the issues, dependencies, sub-issues and the issue map.Requirements of #94
blocked byrelations (dependencies.sh).docs/case-studies/issue-94, with online research and a deep case studyMain findings
C# bugs, reproduced by the probes:
ReservedCapacitythrows.Sizeis in bytes for some types and in elements for others.UsedCapacity, which mem-rs does not do.C++ bugs:
memcpyin the copy constructor.std::cout.FileArrayMemorywrites at byte offsets instead of element offsets.Close()is empty.Missing in C# compared with mem-rs:
Repository and CI:
tj-actions/changed-files@v21is affected by CVE-2025-30066 and has 2 open Dependabot alerts onmain.deploy-cpp.yml.How to reproduce
The expected output is stored in
docs/case-studies/issue-94/data/*.log.CI note
Checks on this PR:
pull_request_targetworkflow) passes.Codacy first reported 184 style findings, mostly markdownlint line length in tables. I fixed the real ones: blank lines, bare URLs, an unused import, f-strings without placeholders, and unquoted shell variables.
.codacy.ymlnow excludesdocs/case-studies/**andexperiments/**, which are analysis artifacts rather than library code.The library build and test workflows do not run on pull requests:
csharp.ymlruns only on pushes tomain, andcpp-test.ymlruns only on PReditedevents. That gap is filed as #113 and #116. This PR changes no library code.Fixes #87
Fixes #90
Fixes #92