Skip to content

Model applications as artifact graphs and add safe decomposition #35

Closed

Description

@morluto

Goal

Treat an application or package as a graph of related artifacts instead of resolving it only to one executable.

Scope

Add inventory_artifact and extract_artifact capabilities for DMG, ZIP, package, ASAR, JavaScript bundles, source maps, universal slices, IPA, APK, plists, entitlements, resources, native addons, and embedded frameworks.

Safety and provenance

  • Default to inventory-only behavior.
  • Require explicit output roots for extraction.
  • Prevent path traversal, symlink escape, overwrite, and decompression-bomb behavior.
  • Hash every discovered or derived artifact and record parent-child derivation.
  • Record producing commands and deterministic manifests.
  • Clearly label operations that mount media, write files, or invoke external tools.

Acceptance criteria

  • A bundle can be traversed from container to executable, frameworks, resources, JavaScript, source maps, and native addons.
  • Repeated inventory produces stable artifact identities.
  • Extraction is contained and cleanup is verified.
  • Large artifacts are paginated or exported to files instead of exceeding protocol limits.

Roadmap expansion

Historical-source and bundle children

Historical source is a structural donor, not current behavioral authority. Record immutable manifests and provenance, then classify mappings using strings, constants, call shapes, AST structure, and observed behavior. Preserve generated/original locations and derivation edges.

Activity

  1. added
    enhancement
    P1: high
    area: cli
    area: domain
    roadmap
    on Jul 12, 2026
  2. morluto commented on Jul 17, 2026

    @morluto
    OwnerAuthor

    Current main delivers artifact graphs and safe readers for directories, ASAR, ZIP, DMG, and Mach-O slices, with containment-safe extraction, JavaScript reconstruction, and historical import. Remaining scope is unsupported container/resource families, live packaged-artifact cleanup proof, and the focused semantic mapping/index work in #67/#68.

  3. morluto commented on Jul 20, 2026

    @morluto
    OwnerAuthor

    Split into focused child issues:

    These replace the broad remaining scope in this issue. Closing this parent can happen once all children are closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1: higharea: cliarea: domainenhancementroadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions