Skip to content

probe-delete-me - #1

Closed
Jackzigen wants to merge 773 commits into
mainfrom
fix/ownership-mismatch-liveness-recheck
Closed

Jackzigen wants to merge 773 commits into
mainfrom
fix/ownership-mismatch-liveness-recheck

Conversation

@Jackzigen

Copy link
Copy Markdown
Owner

No description provided.

Swatantra-66 and others added 30 commits October 15, 2026 00:56
…n Windows

Support case-insensitive environment value lookup in ClientRegistrationIdentity while preserving JavaScript property order precedence with findLast(). Add unit regression coverage for ambient uppercase npm variables on Windows. Isolate USERPROFILE in cliSetup tests so child processes do not touch the host profile directory. Harden JSON decision extraction in runJourney against ConPTY trailing ANSI escape codes. Deterministically sequence multiselect prompt navigation before confirmation. Filter ambient runner variables case-insensitively before launching interactive setup completion tests.
BREAKING CHANGE: Evidence and analysis snapshots require explicit nullable relationship coverage and include it in their identity commitments. Historical records without the field are rejected; saved files are not migrated.
BREAKING CHANGE: Artifact inventories require scoped coverage. Obsolete coverage_status and prose-based coverage inference are removed. Inspection carriers authenticate every retained inventory substep.
BREAKING CHANGE: Browser capture results require resolved limits, event families, and omission facts. Caller-selected budgets replace hidden retention ceilings; admitted content reads queue behind bounded concurrency.
BREAKING CHANGE: Inventory Evidence must explicitly report integrity_contradictions, and browser capture Evidence must report every resolved budget. Caller input defaults remain supported; stored observations are never filled with inferred defaults.
…uto#3417)

* fix(test): honor Ghidra startup budgets in file-offset verification

* fix(test): preserve selected startup budgets in direct Ghidra verification

* test(ghidra): cover verifier timeout budgets

* fix(test): preserve Ghidra MCP request budgets
morluto and others added 25 commits October 16, 2026 06:46
Preserve completed digests and primary failures when descriptor close fails.
Carry the exact handle owner through provider, readiness, cache, doctor and
verifier boundaries, and retry cleanup without rehashing or retrying a raw fd.
Close candidate-owned resources even when no target client was opened.
Keep verifier workspaces when provider shutdown remains incomplete.

Refs morluto#4266
Validate completed reports before cancellation projection, retain valid
Evidence and captured command diagnostics, and convert raw cleanup partials
at their application owner. Record partial Evidence consistently across MCP
handlers. Keep page inspection separate from unfinished bundle analysis.

Refs morluto#4261
Own CDP transports from admission through observed close, retain failed
owners for retry, and keep active peers separate from pending cleanup.
Preserve primary errors and completed facts through final cancellation.
Forward passive Electron CLI cancellation and dispose browser, runtime and
scenario owners from CLI and MCP shutdown.

Refs morluto#4255, morluto#4256, morluto#4257
Report cleanup from the owning snapshot and provider-candidate resource scopes without retrying or starting work. Keep status accurate before a client exists and through cleanup retry.

Refs morluto#4277, morluto#4274
Preserve duplicate archive occurrences in inventory and reject an ambiguous materialization before acquiring readers or output resources. Keep path collisions distinct from integrity failures.

Refs morluto#4271, morluto#4273

Co-authored-by: Liu Jie <[email protected]>
Use the default home registration and personal skill roots for an empty profile override. Share marker and skill path resolution while preserving nonempty caller paths, backups and idempotence.

Refs morluto#4262, morluto#4270

Co-authored-by: Polly Labs <[email protected]>
Explain unknown dependency coverage when embedded metadata has no main-module record. Preserve decoded dependencies and distinguish GOPATH-style omissions from observed module-mode empty lists.

Refs morluto#4191, morluto#4267

Co-authored-by: Y0UW1SH <[email protected]>
Carry the parent native coverage facts through inline and retained views independently of row-page exhaustion. Preserve uncertainty, optional diagnostics and source Evidence.

Refs morluto#3891, morluto#4263

Co-authored-by: ogutdgn <[email protected]>
Reuse the semantic array-index parser so leading-zero keys stay unresolved instead of selecting positional arguments. Preserve canonical indices, literal fallback and dynamic-key uncertainty.

Refs morluto#4242, morluto#4272

Co-authored-by: Liu Jie <[email protected]>
Drain output within caller bounds at asynchronous completion owners and classify JVM exhaustion from the failing operation only. Preserve raw-byte scope, credential redaction, configured heap provenance, cancellation and exact cleanup failures. Validation uses controlled processes and provider fixtures; native Ghidra OOM execution was not repeated.

Refs morluto#4241, morluto#4275

Co-authored-by: Syed Rishad <[email protected]>
Remove properties and their separators using parsed JSONC token spans. Preserve unrelated comments, BOM, CRLF, backups, and repeated removal behavior.

Refs: morluto#4244, morluto#4284

Co-authored-by: alfredo1491 <[email protected]>
Give array unions an unrestricted item schema and validate converted tools/list schemas for both advertised profiles. Keep client constraints separate from JSON Schema validity.

Refs: morluto#3838, morluto#3921, morluto#3842

Co-authored-by: Kaoru0822 <[email protected]>
Co-authored-by: 冰水泡枸杞 <[email protected]>
Inspect AST property segments instead of flattened suffixes. Reject dotted-key and suffix collisions while retaining page-declared trust and source evidence through the CLI.

Refs: morluto#4205, morluto#4279

Co-authored-by: Geekwolf <[email protected]>
Use the shared expression owner for BrowserWindow options and webPreferences. Retain overwrite and spread uncertainty through CLI and MCP evidence.

Refs: morluto#4250, morluto#4281

Co-authored-by: Geekwolf <[email protected]>
Model the CommonJS wrapper binding and query shared lexical identity, mutation, and evaluation timing at each call. Remove duplicate importer interpretation and preserve uncertainty for with scopes, prototypes, repeated writes, and opaque object escapes.

Validate generated fixtures against bounded Node oracles; no analyzed target execution is added.

Refs: morluto#3982, morluto#4072

Co-authored-by: Geronimo <[email protected]>
Resolve stable lexical and URL targets using shared effects, and preserve unresolved request expressions as partial facts. Carry their uncertainty through workers, artifact graphs, and the CLI. Scope partial endpoint identity to the source site.

Refs: morluto#3451, morluto#3534

Co-authored-by: Hemang Varshney <[email protected]>
Preserve the full request options through the FIFO and settle interrupted or rejected final lineage observation through owned startup cleanup. Keep the startup diagnostic checkpoint until finalization succeeds.

Validate typed expired ping, cancellation, child exit, runtime removal, retry, and MCP recovery without running a native Ghidra instance.

Refs: morluto#4289, morluto#4274
Carry the selected slice name and the existing tool owner's dwarfdump spelling separately. Compare observed row labels exactly, preserving explicit ABI versions and uncertainty for missing rows.

Correct the production-boundary fixture and retain wrong-version and mixed-row controls. Real Apple multi-version selection behavior remains unverified.

Refs: morluto#4195, morluto#4288

Co-authored-by: Henglie <[email protected]>
Recognize known undecoded producer spellings without treating them as successful demangles. Preserve actual producer output and derive symbol types from the domain contract instead of duplicating its validation schema.

Compare retained output with the real demangler through MCP, while preserving CLI malformed-input and line-ending coverage.

Refs: morluto#4215, morluto#4287

Co-authored-by: Vinícius DS Andrade <[email protected]>
Give concurrent Ghidra and Hopper callers independent waits over one owned startup. Join final-caller cleanup, preserve failed cleanup owners, and derive readiness from the current startup result and live transport. Distinguish provider closure from caller cancellation and clean up interrupted final lineage observation.

Reuse the Ghidra socket fixture, replace stale cancellation health assertions with cold and warm reuse controls, and cover public MCP peer cancellation. Validation: 315 affected tests, build, typecheck, lint, docs, and 25 relocated startup controls passed. Controlled child bridges only; real Ghidra JVM and Hopper GUI verification remains unperformed. Refs morluto#3983, morluto#4227, morluto#4274.
Compose only unresolved primary resources into a later cleanup failure, retaining both original causes and diagnostics. Document exact-owner recovery and cover resolved and unresolved composition controls. Refs morluto#4266, morluto#4274.
Bind the typed hash failure to its retained descriptor and resolve cleanup uncertainty only when that exact owner closes. Preserve the original failure through immediate retirement and later shutdown recovery. Controlled real-file regressions cover immediate and persistent close faults; no real JADX engine was launched. Refs morluto#4266, morluto#4274.
Keep exact returned hash and directory failures linked to their cleanup owners. Retain input staging while its descriptor remains unresolved, and resolve the linked errors only after successful release. Preserve typed cleanup and partial acquisition facts through file, package, and bugreport consumers instead of wrapping or flattening them away.

Validated 189 affected tests across 13 files, build, typecheck, lint, and docs. Three larger integration cases were excluded to respect the CPU limit. New real-file fault controls reproduce on the old source and verify persistent failure, owner identity, cancellation, retained output, and recovery. No physical ADB device or real JADX engine verification. Refs morluto#4266, morluto#4274.
…to#4243)

Preserve incoming callback uncertainty and resolve proven preceding writes.
Share read-position and initializer identity facts with returned-reference
analysis; cache completed projected work with actual cycle dependencies.

Fixes morluto#3880
An owned member that exits between the process-table snapshot and the token
read presents a readable-but-empty /proc/<pid>/environ on Linux, so the
token phase classifies it as run-token-mismatch. recheckOwnershipFailures
early-returns for a mismatch-only failure set, so the fresh process-table
liveness check never runs for exactly the case it would clear: the exited
PID is absent from the live table. Cleanup then fails closed with a
misreported token mismatch before every signal attempt (issue morluto#4322).

Mark those readable-but-empty observations with tokenAbsent so the liveness
recheck can clear them once the PID is gone from the fresh live table.
A readable foreign run token keeps the unflagged mismatch and is never
cleared; a liveness recheck failure still retains every mismatch, so
fail-closed behavior for durable evidence is unchanged.
@Jackzigen Jackzigen closed this Oct 16, 2026
@Jackzigen
Jackzigen deleted the fix/ownership-mismatch-liveness-recheck branch October 16, 2026 04:12
@Jackzigen
Jackzigen restored the fix/ownership-mismatch-liveness-recheck branch October 16, 2026 04:12
Jackzigen pushed a commit that referenced this pull request Oct 21, 2026
* feat(ghidra): support raw big-endian m68k analysis

Admit `m68k` for headerless raw-binary targets. Admission requires a
2-byte aligned entry and a mapping within 0x0..0xffffffff, and Ghidra
imports with BinaryLoader using 68000:BE:32:default, the default compiler
specification, and the `ram` default address space.

`6502` and `m68k` now share one RAW_ONLY_ARCHITECTURES owner, so detected
targets, Evidence subjects, snapshots, and lifecycle output contracts
exclude both instead of repeating a 6502 literal.

Ghidra's default 68000 language decodes the 68040 superset; separate
68020/68030/CPU32/ColdFire variants, Amiga/Atari containers, and reset
vector discovery remain unsupported. Windows Ghidra P0 still admits raw
6502 only.

Verified with Ghidra 12.1.4 on macOS against an 8-byte self-built fixture
(nop; nop; moveq #1,d0; rts at 0x1000): load image verified in `ram`,
entry decompiles to `return 1`.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* test(ghidra): verify raw m68k analysis with real Ghidra

Add npm run verify:ghidra:m68k. The verifier loads a source-owned 22-byte
68000 fixture (annotated hex, no assembler) at 0x1000 and checks, through
the compiled CLI and stdio MCP server: the 68000:BE:32:default BinaryLoader
import, load-image parity, exact mapped bytes, both functions, the bsr.b
call reference, decompilation by address and file offset, rejection of a
misaligned entry and of a mapping past 0xffffffff without replacing the
active session, unchanged source bytes, and runtime cleanup.

Run with Ghidra 12.1.4 and JDK 21 on macOS arm64. Linux has not been
exercised; Windows Ghidra P0 does not admit m68k.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Jackzigen added a commit that referenced this pull request Oct 26, 2026
…rface

- stage config writes beside the file and rename into place so an
  interrupted write cannot leave partial JSON (greptile morluto#4, codex morluto#11)
- convert unreadable config files into configuration errors on the CLI
  seam instead of escaping raw filesystem errors (greptile morluto#5, codex morluto#15)
- keep injected runtimes without a config root isolated from the host
  account's rea.json (codex morluto#18)
- surface the config file error on stderr when doctor falls back to the
  raw environment (greptile morluto#3, codex morluto#16)
- route the config command through logCliCommand and return documents so
  --json stays parseable and failures exit non-zero (greptile morluto#2,
  codex morluto#10)
- reject empty --set values, unknown --set/--unset/--get names, and --get
  combined with mutations (greptile #1/morluto#7, codex morluto#9/morluto#12/morluto#13/morluto#17)
- cover the new behavior in the boundary tests and stop leaking one
  temporary home per run (greptile morluto#8)
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.