Skip to content

feat(ntfs): inspect paired USN journal and MFT acquisitions - #9914

Merged
gensokyo-dev merged 21 commits into
mainfrom
fix/9867-ntfs-journal
Nov 11, 2026
Merged

gensokyo-dev merged 21 commits into
mainfrom
fix/9867-ntfs-journal

Conversation

@N0zoM1z0

@N0zoM1z0 N0zoM1z0 commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Given caller-paired MFT and USN journal acquisitions, return a bounded source-order timeline with both SHA-256 identities through CLI and MCP. Part of #9867, following merged #9911.

  • Decode resident FILE_NAME attributes and report MFT name coverage.
  • Preserve exact USN V2 fields and full MFT references, including sequence numbers. Reused, invalid, zero-sequence and ambiguous identities remain unresolved.
  • Keep padding, unsupported versions, malformed records and truncation as coverage rows. Decode pages at the requested source offset without replaying earlier bytes.
  • Preserve completed MFT facts and any journal snapshot through acquisition/close failure and cleanup retry.

Reads only selected local files, at most 64 MiB each; default 50 / maximum 200 rows. The caller pairs captures from the same volume. Other journal layouts, extension-list assembly and real paired Windows capture verification remain pending. The next increment is #9957.

Validation on Linux, Node 24.22.1: 77 focused domain/service/reader/CLI/MCP tests, check:fast, build:cached and docs:check passed. Canonical catalog validation passed after fixing a missing shared row-limit description found by CI. All four automated review threads are addressed and resolved. Current-head CI is queued.

One successful acquisition pair and its MFT/reference lookup are retained per MCP resource scope. Each reuse verifies source state; changed or unverifiable sources invalidate it. The scope bounds active work, evicts other selections, and clears retained bytes on shutdown. A new CLI process remains cold.

Two alternating production-stdio MCP comparisons traversed 82 pages / 16,384 events, checked every reference/value, retrieved retained Evidence and closed the transport. Catalog and normalized-result digests matched. Whole-task elapsed was 15.3–20.5 s before and 11.6–12.7 s after; warm-page totals were 10.4–13.8 s and 5.8–5.9 s. Payload token proxies were identical; cold-page benefit was not established. CPU, sampled process-family memory, small-case results, methods and coverage limits are in the verification record.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T04:56:56.758461Z ce64062 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 86d60dca0c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@gensokyo-dev
gensokyo-dev force-pushed the fix/9867-ntfs-journal branch 4 times, most recently from 3353fd4 to cf124b8 Compare November 11, 2026 01:32
Base automatically changed from fix/9867-ntfs-inventory to main November 11, 2026 02:03

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5e1511bb47

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@N0zoM1z0
N0zoM1z0 enabled auto-merge (rebase) November 11, 2026 02:15

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 38c554157f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 93b0f92764

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

N0zoM1z0 and others added 15 commits November 11, 2026 04:02
N0zoM1z0 and others added 3 commits November 11, 2026 04:32
Retain one completed pair per resource scope, revalidate selected file state on every page, invalidate failures, and clear retained bytes at shutdown. Keep cold CLI process costs explicit.

Co-authored-by: gensokyo-dev <[email protected]>
@N0zoM1z0

Copy link
Copy Markdown
Collaborator Author

Current head ce64062: all four actionable automated review threads are resolved; 77 relevant tests, check:fast, runtime build and docs checks passed locally. Latest CI jobs have not executed and must not be described as green. The repository currently has 135 queued Actions runs, including other branches waiting over an hour. Under the maintainer's explicit merge/bypass authorization, proceeding with a rebase merge while recording this outstanding CI coverage. No squash and no review request.

@gensokyo-dev
gensokyo-dev merged commit 40239b3 into main Nov 11, 2026
6 of 9 checks passed
@gensokyo-dev
gensokyo-dev deleted the fix/9867-ntfs-journal branch November 11, 2026 05:03
@morluto morluto added enhancement New feature or request area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants