← Commit history

Add exact 10 uH inductor libraries and nominal series model provenance

John Lauer ·81d005e4f6 ·9d ago ·parent 63d2d8d
7 files changed +165−30
page.json+3−30
@@ -1,6 +1,6 @@ {   "slug": "amplh5030s-100mt",-  "type": "component",+  "type": "hardware",   "kind": "component",   "version": "0.1.0",   "title": "AMPLH5030S-100MT 10 uH molded inductor",@@ -60,32 +60,5 @@       "assembly": "Native variant binding and physical qualification pending"     }   },-  "because": "Exact part used on the custom electronic load; original catalog record was missing.",-  "name": "@adom/amplh5030s-100mt",-  "files": [-    "README.md",-    "LICENSE",-    "LICENSE-KICAD.md",-    "THIRD_PARTY.md",-    "page.json",-    "package.json",-    "provenance.json",-    "amplh5030s-100mt*",-    "symbol.html",-    "footprint.html",-    "hero.png",-    "datasheet.pdf",-    "skills/**",-    "build_model.py",-    "amplh5030s-100mt-hero.glb",-    "amplh5030s-100mt-hero.overlay.json",-    "amplh5030s-100mt.glb"-  ],-  "dependencies": {},-  "visibility": "public",-  "org": "adom",-  "author": {-    "name": "John Lauer",-    "email": "[email protected]"-  }-}\ No newline at end of file+  "because": "Exact part used on the custom electronic load; original catalog record was missing."+}
review/hero-reference.pngadded
⋯ 1 unchanged line ⋯
review/lbr-lint.txtadded+6
@@ -0,0 +1,6 @@+OK: Lint passed with 0 error(s), 0 warning(s)+{+  "passed": true,+  "errors": [],+  "warnings": []+}
review/lbr-validate.txtadded+1
@@ -0,0 +1 @@+OK: amplh5030s-100mt.lbr is a valid EAGLE .lbr with complete deviceset
review/package-lint.jsonadded+41
@@ -0,0 +1,41 @@+{+  "status": "ok",+  "data": {+    "errors": [],+    "warnings": [+      "component has no board/layout (.kicad_pcb or .brd): nobody can reproduce or re-fab the design from this page.",+      "component has no schematic (.kicad_sch or .sch): the design can't be reviewed or reused, only the symbol/footprint can.",+      "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.",+      "component is missing distributor number(s): mouser, 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)",+      "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.)"+    ],+    "fixed": []+  },+  "hints": [+    {+      "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): mouser, 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.)"+    }+  ]+}
review/publish.jsonadded+113
@@ -0,0 +1,113 @@+{+  "status": "ok",+  "data": {+    "published": "adom/amplh5030s-100mt",+    "version": "0.1.0",+    "sha256": "sha256-37cb486d57984adf22dec10bba47e1f557493d131869a3f7b96bae49812e6271",+    "visibility": "public",+    "url": "/adom/amplh5030s-100mt",+    "install": "adom-wiki pkg install adom/amplh5030s-100mt"+  },+  "hints": [+    {+      "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 (18 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": 18368+          }+        ],+        "media_bytes": 18368,+        "tarball_bytes": 814275+      }+    },+    {+      "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/amplh5030s-100mt -m \"bench\" --files hydrogen/workspace.json. Readers: adom-cli hydrogen workspace apply adom/amplh5030s-100mt. Details: the wiki-workspaces skill.",+      "data": {+        "path": "hydrogen/workspace.json",+        "apply": "adom-cli hydrogen workspace apply adom/amplh5030s-100mt"+      }+    },+    {+      "level": "warn",+      "code": "DISTRIBUTOR_NUMBERS",+      "message": "No mouser, 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": [+          "mouser",+          "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): mouser, 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+      }+    }+  ]+}
review/symbol-native-check.txtadded+1
@@ -0,0 +1 @@+OK: amplh5030s-100mt.kicad_sym validated — 2 pins, 0 unique pin names