Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
7e7eefe
feat(apple): inspect IPS crash reports
mvanhorn Oct 23, 2026
c3554c6
fix(apple): keep IPS register literals exact
mvanhorn Oct 23, 2026
80ad2a0
fix(apple): budget IPS parsing and keep typed presence
mvanhorn Oct 23, 2026
a81b693
fix(apple): bound integer text expansion and reconcile coverage
gensokyo-dev Oct 24, 2026
130e457
chore: integrate main and shared IPS artifact ownership
gensokyo-dev Oct 24, 2026
c608dea
refactor(apple): retain image metadata at its owning row
gensokyo-dev Oct 24, 2026
54ebac6
refactor(apple): validate row capacity through reconciled coverage
gensokyo-dev Oct 24, 2026
135cab1
test(apple): verify resource recovery at the public error boundary
gensokyo-dev Oct 24, 2026
5898e4f
docs(apple): record complete IPS task and corpus measurements
gensokyo-dev Oct 24, 2026
02bacf7
chore: integrate current main for IPS final verification
gensokyo-dev Oct 24, 2026
2b92578
docs(apple): record integrated checks and stdio corpus evidence
gensokyo-dev Oct 24, 2026
7e931e2
chore: integrate PE imports and current native lifecycle fixes
gensokyo-dev Oct 24, 2026
45a5706
docs(apple): record PE integration and baseline cleanup controls
gensokyo-dev Oct 24, 2026
ab590a6
fix(native): bound IPS string decoding and preserve invalid identities
gensokyo-dev Oct 24, 2026
6fa8083
refactor(native): use exact optional IPS source evidence
gensokyo-dev Oct 24, 2026
93e5c43
docs(native): verify IPS escape capacity and complete-task costs
gensokyo-dev Oct 24, 2026
6d77f26
chore(native): integrate current main for IPS verification
gensokyo-dev Oct 24, 2026
c838cae
test(native): verify IPS through production stdio MCP
gensokyo-dev Oct 24, 2026
f6c270d
style(tests): format IPS advertised schema bindings
gensokyo-dev Oct 24, 2026
174c749
fix(native): preserve unresolved IPS references and recorded frame se…
gensokyo-dev Oct 24, 2026
a5cdb34
docs(native): record IPS reference review evidence
gensokyo-dev Oct 24, 2026
0a3dbf2
fix(apple-ips): enforce JSON and report consistency
gensokyo-dev Oct 24, 2026
38b5a3c
Merge commit '98ec00f4068bab894639d0d1d83ac0bfc428bcbf' into maintena…
gensokyo-dev Oct 24, 2026
98e1a61
docs(apple-ips): record final consistency verification
gensokyo-dev Oct 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs(native): record IPS reference review evidence
  • Loading branch information
gensokyo-dev committed Oct 24, 2026
commit a5cdb343d4eae8c7f468476aab13683fb5d1e4c3
57 changes: 53 additions & 4 deletions docs/verification/apple-ips-2026-10-24.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ The contributor's `80ad2a02e9c6cbe248d58d78a7a79753bcc09f79` already projects
documented JSON members and checks thread/frame/image/register allowances
before materializing each row. Unknown members are syntax-checked without
retaining their values. Producer controls include a budget error before an
invalid next item, wrong-type collections, physical frame depth with inline
rows, and the DEAD10CC decimal near miss. Source inspection alone does not
invalid next item, wrong-type collections, frame-role cases, and the DEAD10CC
decimal near miss. Inline-role assumptions are corrected below. Source inspection alone does not
establish the runtime checks below.

Further negative controls expose three remaining boundaries:
Expand Down Expand Up @@ -70,8 +70,10 @@ with main `cc18e9ad` provider/API integration repairs) against
`135cab1234c3663e839f5fbea6bf833737cd140a`. Three alternating pairs of five
public CLI tasks complete, **30 tasks total**. Every task returns complete
coverage. An independent Python JSON/integer oracle checks all ordered images,
threads, registers, frame offsets, derived addresses and physical-depth roles,
as well as process facts and artifact digests. The two public reports contain
threads, registers, frame offsets, derived addresses and the then-selected
physical-depth roles, as well as process facts and artifact digests. The later
source-backed correction below replaces that role assumption; neither public
report contains an inline row, so its role expectations remain unchanged. The two public reports contain
3/1 threads, 8/4 images, 30/4 frames and 36/22 retained registers respectively.

Every Evidence field agrees after excluding the changed Evidence ID, the new
Expand Down Expand Up @@ -238,3 +240,50 @@ deadline was increased. The same combined selection then passed all 182 cases,
including the large escaped-text CLI case and all producer/service regressions.
This is stronger public-path verification, not a claimed runtime speedup from
a before/after test-suite timing comparison.

## Reference and inline review follow-up

Commit `174c7496a2f007a1ef0ab5da0a341b2f801277c3` separates a recorded
uint32 lookup from whether it resolves to an object row. An out-of-range or
malformed `faultingThread` reference preserves the lookup, marks coverage
partial and leaves row-zero roles unknown. Image lookups use the same owner;
unresolved image references preserve `image_index` and leave the derived
address unknown. Negative or oversized integer lookups retain their exact
literal in `coverage.type_mismatches[].recorded_integer`. Reservation happens
before retention, and the service counts these literals against the same
integer-text allowance even for custom ports. No BigInt conversion is needed
for rejected indexes.

The previous comment and guide incorrectly asserted that inline rows share a
subsequent physical row's address. Apple's per-frame `imageOffset` description
and [the pinned LLDB parser](https://github.com/llvm/llvm-project/blob/16dde0db3ce0b9c5eae14178780cc6db1eec7ac8/lldb/examples/python/crashlog.py#L716)
support each row's own base-plus-offset; that parser increments its frame index
for every recorded row. REA therefore keeps its existing address derivation,
leaves a missing offset unknown and corrects roles to use the recorded row
index. The inline flag remains recorded evidence and does not reconstruct a
physical stack. This is source-derived validation; LLDB was not executed.

Nine source controls fail before this correction: two in-range-but-unresolved
faulting indexes, a reference to a malformed thread row, three rejected integer
spellings, the 19-byte rejected-literal allowance, unresolved image coverage and
the corrected row-role oracle. A separate differing/missing-inline-offset case
already passes before the correction and protects the existing address rule;
it is not evidence of a fixed address bug. All **193 selected checks pass**
afterward, including CLI, filesystem, custom-provider allowance checks and
production stdio MCP. The actual SDK validates retained lookup literals against
the advertised schema. `check:fast`, complete formatting, documentation and
cached build also pass. Both pinned public reports pass the real stdio SDK/Ajv
workflow again (13.510 s elapsed, 14.909 s waited CPU, 907.4 MiB sampled family
RSS); the independent integer/JSON oracle checks the CLI comparison below.

Six completed alternating CLI tasks compare the prior actual CI tree
`acb837583d8346016fd8b46d4fcf1fdf09fb0b06` with the corrected commit on the
pinned LLDB multithread report. All full Evidence, including IDs, agrees.
Estimated invocation plus full stdout tokens remain **5,851** (tokenx 1.3.0).
Elapsed medians are 2.071 -> 1.969 s (ranges 2.071–2.271 / 1.919–2.069), CPU
2.295 -> 2.278 s (2.140–2.471 / 2.231–2.283), and sampled process-family RSS
366.8 -> 367.0 MiB (348.2–370.9 / 348.9–368.4). CPU/memory ranges overlap;
this small warm-cache sample does not establish a general speed or memory
improvement. Processes are fresh; the OS file cache is warm. Caller input
creation, schemas/discovery, prompts, client parsing and MCP transport are not
included. The same 50 ms family-RSS limitations apply.
Loading