Skip to content

Install engine: info + add with content-digest verification #8

Description

@jal-co

Tracks the read + install path (PLAN.md Milestones 1,3,4). Distinct from #5 (Tegami), #6 (login), #7 (publish).

v0 shipped (branch feat/install-verify):

  • modulora info @user/name[@version] — metadata, files, published digest, --json
  • modulora add @user/name[@version] — fetch, recompute content digest locally and compare to the published digest, write plan, write files
  • Fail closed on digest mismatch (refuse unless --force); prompt on unverifiable
  • Safe path resolution (no escape); src/ detection; --dry-run/--yes/--force/--json/--cwd
  • Server exposes meta.contentSha256 on /r/; digest canonical across publish → serve → CLI
  • Installer only writes files — never runs a script

Next:

  • search against the public API
  • diff + update (three-way, never discard local edits)
  • modulora.lock (source, version, digest, local hashes)
  • Signature/attestation + revocation (Milestone 2, needs spec CLI: authenticate with modulora.dev (modulora login) #6)
  • Cross-platform CI + malicious-registry fixtures

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions