Skip to content

feat(ntfs): expose acquired metadata and journal version coverage - #9957

Merged
gensokyo-dev merged 13 commits into
mainfrom
fix/9867-attribute-metadata
Nov 11, 2026
Merged

gensokyo-dev merged 13 commits into
mainfrom
fix/9867-attribute-metadata

Conversation

@N0zoM1z0

@N0zoM1z0 N0zoM1z0 commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Inspect acquired NTFS names, timestamps, stream sizes and journal versions without losing source identity or expanding every MFT record into retained detail. Part of #9867, following merged #9914.

  • Keep multiple FILE_NAME attributes and independent standard-information timestamps. Validate resident values, attribute-list entries and nonresident mapping pairs; retain completed list entries before corrupt suffixes.
  • Decode V3 opaque IDs without false MFT joins. Decode V4 with a 16-extent inline sample, full counts and continuation state. History completeness stays unknown.
  • Page MFT details independently. Journal queries return inventory counts by default; explicitly request 1–32 record details. Journal joins retain an identity index rather than every attribute payload.

Validation on Linux, Node 24.22.1: 100 focused parser/service/reader/CLI/MCP tests passed after integrating the scoped acquisition cache. The complete 16-test MCP schema suite and 4 format-descriptor tests passed. check:fast, runtime/catalog builds and docs:check passed; documentation route verification passed earlier. The descriptor review fix passed all 7 reader/inventory tests, including decoded facts and consistent limitation text. No actionable review threads remain. Current-head CI has not executed because Actions jobs are queued.

MFT detail selection reuses the validated acquisition and ordered identity index, decodes at most 32 selected records, and keeps the existing reference lookup. Public MCP checks two physical reads and one index parse across independent detail selections. The superseded full-attribute retained representation was removed. Failed journal finalization preserves the caller-selected MFT details.

The packaged CLI inspected three unmodified Windows 11 MFT samples with pinned provenance and unchanged digests. A two-call CLI delivery comparison, including schema discovery, reduced default o200k_base proxy tokens from 24,582 to 8,086; an explicit full-detail request reproduced the baseline normalized result exactly. These are proxy counts and single cold-process observations, with timing/CPU/family-memory limits documented in the verification record.

Real paired journal captures and Windows-host execution remain unverified. Extension-list assembly and nonresident payload recovery remain outside implemented coverage. Reads only selected local acquisitions, with the existing 64 MiB per-file admission limit.

Author readiness

Human owner: @N0zoM1z0

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

@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-11T05:12:50.825388Z 29fbb83 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.

@gensokyo-dev
gensokyo-dev force-pushed the fix/9867-attribute-metadata branch from 080ad1a to f2421f4 Compare November 11, 2026 04:22
Base automatically changed from fix/9867-ntfs-journal to main November 11, 2026 05:03
N0zoM1z0 and others added 10 commits November 11, 2026 05:04
Keep attribute parsing at the verified record boundary and retain only the identity index for journal joins.

Co-authored-by: gensokyo-dev <[email protected]>
Keep inventory counts inline and preserve explicit 1–32 record detail requests. The real 26-record Windows sample serialized 57,946 metadata bytes before detail selection.

Co-authored-by: gensokyo-dev <[email protected]>
@gensokyo-dev
gensokyo-dev force-pushed the fix/9867-attribute-metadata branch from f2421f4 to 7f123a3 Compare November 11, 2026 05:04

@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: 7f123a39ef

ℹ️ 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".

Comment thread src/domain/artifactFormatMetadata.ts Resolved
@gensokyo-dev
gensokyo-dev force-pushed the fix/9867-attribute-metadata branch from 7f123a3 to 29fbb83 Compare November 11, 2026 05:09
@N0zoM1z0

Copy link
Copy Markdown
Collaborator Author

Final head 29fbb83: 100 integrated NTFS tests passed; the complete MCP schema suite (16) and format descriptors (4) passed. The review fix was separately verified by all 7 reader/inventory tests. Final check:fast, runtime/catalog compilation and docs:check (including 9 README tests) passed.

Re-ran the packaged Linux CLI against all three pinned, unmodified Windows 11 MFT samples: metadata matched the previously verified facts, all source digests remained unchanged, and the obsolete inventory limitation was replaced. Real paired journal captures and Windows-host execution remain unverified. The actionable automated review thread is fixed, explained and resolved.

Current-head Actions jobs are still queued, not green; there are currently 126 queued runs across the repository. Proceeding with a rebase merge under the maintainer's explicit bypass authorization while recording that CI coverage gap. All 13 commits retain their original attribution and gensokyo-dev co-author; no squash and no reviewer request.

@gensokyo-dev
gensokyo-dev merged commit bae4ec0 into main Nov 11, 2026
4 of 9 checks passed
@gensokyo-dev
gensokyo-dev deleted the fix/9867-attribute-metadata branch November 11, 2026 05:13
@morluto morluto mentioned this pull request Nov 11, 2026
3 tasks done
@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