main
John Lauer Continue exact component audit: comparator and servo assets, Q1 fit findings, clip inventory and supervisor progress ev… 9b93cb5
{
  "status": "ok",
  "data": {
    "published": "adom/lm339bidr",
    "version": "0.1.0",
    "sha256": "sha256-b43d6aa27b6d8411e3a8548fd709576cb508c1174110ac84ddbee7480f417b90",
    "visibility": "public",
    "url": "/adom/lm339bidr",
    "install": "adom-wiki pkg install adom/lm339bidr"
  },
  "hints": [
    {
      "level": "warn",
      "code": "PUBLIC_INTERNAL_CONTENT",
      "message": "Published PUBLIC, but the content reads as internal (matched: internal). Anyone can read its source. If that's wrong: seal the source with 'adom-wiki page visibility adom/lm339bidr --hide-source', or make the whole page private: POST /api/pages/adom/lm339bidr/visibility {\"visibility\":\"private\"}."
    },
    {
      "level": "warn",
      "code": "PAGE_JSON_IGNORED",
      "message": "The tarball ships page.json carrying hero, but pkg publish does not read page.json: those fields did nothing here. Only the package.json manifest counts.",
      "action": "Move the fields into package.json (page.json is only read on page-repo pushes).",
      "data": {
        "path": "page.json",
        "tarball_version": "0.1.0",
        "publish_version": "0.1.0",
        "fields": [
          "hero"
        ]
      }
    },
    {
      "level": "warn",
      "code": "MEDIA_IN_TARBALL",
      "message": "hero.png (39 KB): page asset(s), not install payload -- 2% of this tarball is media every installer downloads on every update. Heroes and screenshots are served from the page repo (page.json), not the install tarball.",
      "action": "Remove them from the packed file set and republish. They stay on the page: the page repo keeps its existing copy when a new tarball stops shipping it. Only a brand-new page's FIRST publish needs the hero in the tarball (it materializes into the page repo once).",
      "data": {
        "files": [
          {
            "path": "hero.png",
            "bytes": 39519
          }
        ],
        "media_bytes": 39519,
        "tarball_bytes": 2597129
      }
    },
    {
      "level": "info",
      "code": "CATEGORY_NONCANONICAL",
      "message": "Category \"Comparators\" is not in the canonical component taxonomy, so the page files under Other in the hardware browser.",
      "action": "Pick the closest canonical category for component.category in page.json. Canonical component categories: Resistors, Capacitors, Inductors, Transformers, Crystals & Oscillators, Diodes, Transistors, Logic ICs, Amplifiers & Comparators, Data Converters, Interface ICs, Power Management, Microcontrollers & Processors, Memory, Clock & Timing, RF & Wireless, Connectors, Switches, Relays, Fuses & Circuit Protection, Sensors, Audio, Optoelectronics.",
      "data": {
        "category": "Comparators",
        "kind": "component",
        "canonical": [
          "Resistors",
          "Capacitors",
          "Inductors",
          "Transformers",
          "Crystals & Oscillators",
          "Diodes",
          "Transistors",
          "Logic ICs",
          "Amplifiers & Comparators",
          "Data Converters",
          "Interface ICs",
          "Power Management",
          "Microcontrollers & Processors",
          "Memory",
          "Clock & Timing",
          "RF & Wireless",
          "Connectors",
          "Switches",
          "Relays",
          "Fuses & Circuit Protection",
          "Sensors",
          "Audio",
          "Optoelectronics"
        ]
      }
    },
    {
      "level": "info",
      "code": "NO_DISCOVERY_TRIGGERS",
      "message": "No discovery triggers are set, so AI agents are less likely to surface this component.",
      "action": "Add 'discovery_triggers' (phrases that should surface this package) to the manifest."
    },
    {
      "level": "info",
      "code": "WORKSPACE_FEATURE",
      "message": "This page can ship its author's Hydrogen bench: commit hydrogen/workspace.json (the pane layout with apps referenced by wiki page) and readers of a clone or fork open the same layout, apps installed and serving, with one command. Hydrogen Cloud lists it under Project workspaces with an Apply button.",
      "action": "From the container where the bench is open: adom-cli hydrogen workspace export --out hydrogen/workspace.json, then adom-wiki repo push adom/lm339bidr -m \"bench\" --files hydrogen/workspace.json. Readers: adom-cli hydrogen workspace apply adom/lm339bidr. Details: the wiki-workspaces skill.",
      "data": {
        "path": "hydrogen/workspace.json",
        "apply": "adom-cli hydrogen workspace apply adom/lm339bidr"
      }
    },
    {
      "level": "warn",
      "code": "DISTRIBUTOR_NUMBERS",
      "message": "No digikey, lcsc part numbers on this component. Buyers and the parts widgets read component.distributor_links; a part with no numbers cannot be ordered from the page.",
      "action": "Add to package.json: \"component\": { \"distributor_links\": { \"mouser\": \"<Mouser part #>\", \"digikey\": \"<DigiKey part #>\", \"lcsc\": \"<LCSC C-number>\" } }. Use false for a distributor that genuinely does not carry the part (e.g. \"lcsc\": false) so the warning stops.",
      "data": {
        "missing": [
          "digikey",
          "lcsc"
        ]
      }
    },
    {
      "level": "warn",
      "code": "LINT",
      "message": "component has no board/layout (.kicad_pcb or .brd): nobody can reproduce or re-fab the design from this page."
    },
    {
      "level": "warn",
      "code": "LINT",
      "message": "component has no schematic (.kicad_sch or .sch): the design can't be reviewed or reused, only the symbol/footprint can."
    },
    {
      "level": "warn",
      "code": "LINT",
      "message": "component has no footprint/symbol metadata (<name>_footprint.json / <name>_symbol.json): per-pad wire-attach data rides this, so importers can't place it programmatically."
    },
    {
      "level": "warn",
      "code": "LINT",
      "message": "component is missing distributor number(s): digikey, lcsc (component.distributor_links). Sourcing tools (BOM panels, kicad-library-manager, parts search) key on these; add each real distributor part number, or set a distributor to false ONLY when the part is genuinely not carried there (e.g. \"mouser\": false)"
    },
    {
      "level": "warn",
      "code": "LINT",
      "message": "DEPS_UNDECLARED: 1 imported module(s) are not declared in dependencies: OCP. Declare each as an owner-qualified dependency (<owner>/<slug>) or remove the import. (Relative paths and built-ins are ignored; globally-provided modules may be false positives.)"
    },
    {
      "level": "info",
      "code": "PUBLISH_LAYERS",
      "message": "published the package layer (the install payload: manifest + scripts + bundled skills). The page git repo (Files tab) is a SEPARATE layer and is not synced by publish.",
      "action": "host source by pushing files into the page repo (never a source tarball); ship downloadable per-platform binaries with `adom-wiki release upload <ref> <ver> <file> --platform <os>`"
    },
    {
      "level": "info",
      "code": "SKILL_LAYOUT",
      "message": "shipped 1 user skill(s) in the install tarball",
      "action": "build/debug/test skills go in dev-skills/, app->wiki publish skills in publish-skills/ -- both are auto-excluded from the tarball and belong in the source repo (repo push), so you don't ship them to every install",
      "data": {
        "user": 1,
        "dev": 0,
        "publish": 0
      }
    }
  ]
}