[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108701":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":14,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":21,"topics":22,"createdAt":10,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":15,"starSnapshotCount":15,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},108701,"asm","stubbi\u002Fasm","stubbi","The package registry and command-line tool for assembly projects.","https:\u002F\u002Fasm.build",null,"Python",560,3,1,0,386,56.31,"GNU Affero General Public License v3.0",false,"main",true,[23,24,25,26,27,28],"aarch64","assembly","package-manager","package-registry","riscv","x86-64","2026-11-23 11:41:01","2026-11-23 08:55:22","# asm\n\n**A home for assembly.**\n\nAsm is the package registry and command-line tool for assembly projects.\nCreate and test projects, inspect packages, and download exact artifacts.\n\n[Website](https:\u002F\u002Fasm.build) · [Quick start](#quick-start) · [Status](#status) · [Why Asm](docs\u002Fwhy-asm.md) · [Security model](docs\u002Fspecs\u002Fsecurity.md) · [Sponsor Asm](https:\u002F\u002Fasm.build\u002Fsponsors.html)\n\nPackages declare their targets and connect release records to exact source and artifact digests.\nThe [project purpose](docs\u002Fwhy-asm.md) explains our technical assumptions about AI-assisted assembly.\n\n## Quick start\n\nAsm 0.6.0 supports **Linux x86-64, Linux ARM64, and Apple Silicon with macOS 15 or later**.\n\n### Install the command\n\nInstall [GitHub CLI 2.93.0 or later](https:\u002F\u002Fcli.github.com\u002F) before running the installer.\nThe installer uses it to check the CLI release's signed build provenance.\n\n| System | Required tools |\n| --- | --- |\n| Linux | GitHub CLI at `\u002Fusr\u002Fbin\u002Fgh`, curl, and GNU Coreutils in `\u002Fusr\u002Fbin`. |\n| Apple Silicon macOS | GitHub CLI at `\u002Fopt\u002Fhomebrew\u002Fbin\u002Fgh`; other tools are supplied by macOS. |\n\n```sh\ncurl -qfsS -m120 https:\u002F\u002Fasm.build\u002Finstall.sh | sh\n```\n\nApply the PATH command shown by the installer.\nThen check the version:\n\n```sh\nasm version\n```\n\nOn Apple Silicon, the output is `asm 0.6.0 (aarch64-macos)`.\n\n\u003Cdetails>\n\u003Csummary>Set PATH for this terminal\u003C\u002Fsummary>\n\n```sh\nexport PATH=\"$HOME\u002F.local\u002Fbin:$PATH\"\n```\n\nAdd this command to your shell configuration to keep the setting.\n\n\u003C\u002Fdetails>\n\n[Installer source](https:\u002F\u002Fasm.build\u002Finstall.sh) · [Installation requirements](docs\u002Fself-update.md) · [macOS filesystem and signing requirements](docs\u002Fmacos.md)\n\n### Run your first project\n\nInstall GNU Binutils on Linux, or Xcode Command Line Tools on macOS with `xcode-select --install`.\nOn Debian or Ubuntu, the `binutils` package supplies the assembler and linker.\n\nRun these commands from the directory that will contain your new project:\n\n```sh\nasm new hello &&\ncd hello &&\nasm run\n```\n\nThe program prints:\n\n```text\nHello from asm!\n```\n\nThe project contains `asm.toml`, `src\u002Fmain.s`, and `tests\u002Fmain.s`.\nAssembly source is text; `asm build` assembles and links it into the executable `build\u002Fapp`.\n`asm run` also runs that executable.\n`asm test` builds and runs `tests\u002Fmain.s`; a zero exit code passes the test.\nIf a build fails, use `asm doctor` to check the required tools.\n\n### Update Asm\n\nFor an installation made with the installer:\n\n```sh\nasm self update\n```\n\nFor an installation managed by another package manager, use that manager to update Asm.\n\n## Projects and packages\n\n### Describe a project\n\n`asm.toml` names the project and declares its target implementations:\n\n```toml\n[package]\nname = \"hello\"\nversion = \"0.1.0\"\n\n[target.x86_64-linux]\nsource = \"targets\u002Fx86_64-linux\u002Fsrc\u002Fmain.s\"\ntest = \"targets\u002Fx86_64-linux\u002Ftests\u002Fmain.s\"\n\n[target.aarch64-macos]\nsource = \"targets\u002Faarch64-macos\u002Fsrc\u002Fmain.s\"\ntest = \"targets\u002Faarch64-macos\u002Ftests\u002Fmain.s\"\n```\n\nEach target has its own source, test, and optional native-library fields.\nThe [hello](examples\u002Fhello\u002FREADME.md) and [math](examples\u002Fmath\u002FREADME.md) projects keep these inputs under `targets\u002F\u003Cid>\u002F`.\nAsm selects the host target by default.\nFor cross builds, install the tools listed in the [multi-target project contract](docs\u002Fmulti-target-projects.md).\nFrom either reference project, `asm build --target riscv64-linux` builds a separate Linux artifact.\n`asm test --target riscv64-linux --no-run` builds its test without executing it.\nTarget-specific dependency selections share one v2 lock.\n\n`asm new` creates a single-target `[build]` manifest for your host.\nThis form remains supported.\n\n### Find a package\n\n```sh\nasm search hello\nasm info stubbi\u002Fhello\nasm versions stubbi\u002Fhello\nasm fetch stubbi\u002Fhello@0.6.0 --target x86_64-linux --kind source\n```\n\nThis downloads the Linux x86-64 source archive and checks its size and SHA-256 digest.\nUse `asm --help` for command options.\n\n### Use a source dependency\n\nThis example requires Linux x86-64 and gzip at `\u002Fusr\u002Fbin\u002Fgzip`.\nFrom a project directory:\n\n```sh\nasm add stubbi\u002Fmath@0.6.0 --target x86_64-linux\nasm lock\n```\n\nInclude the library in your source:\n\n```asm\n.include \"stubbi\u002Fmath\u002F0.6.0\u002Fx86_64-linux\u002Ftargets\u002Fx86_64-linux\u002Fsrc\u002Fmin.s\"\n```\n\nThe [complete example](docs\u002Fuse-a-package.md) calls `asm_u64_min` and explains its calling convention.\n\nCommit `asm.lock` with your project.\n`asm sync` restores the recorded dependencies.\n`asm build --locked` requires the lock file and checks dependencies before assembly.\n\n### Install a program\n\nProgram management works on all three CLI hosts.\nA package must provide a matching executable.\nFor `hello` 0.6.0, use Linux x86-64 or ARM64:\n\n```sh\nasm install stubbi\u002Fhello@0.6.0\n```\n\nThis installs the matching executable at `$HOME\u002F.local\u002Fbin\u002Fhello`.\nUse `--output PATH` to choose another destination.\nThe destination must be a new file.\nAsm records both default and custom destinations in its local inventory.\nOne package identity has at most one managed installation.\n\nInspect and manage recorded programs:\n\n```sh\nasm installed\nasm upgrade stubbi\u002Fhello\nasm uninstall stubbi\u002Fhello\n```\n\n`upgrade` selects the highest available host version from the recorded registry.\nUse `owner\u002Fname@version` to select an exact version.\n`update` and `remove` continue to manage project source dependencies.\n\nUpdating Asm does not adopt earlier installations; programs without an inventory record remain unmanaged.\nSee the [installed-program contract](docs\u002Finstalled-programs.md) for file checks, recovery, and limits.\n\n## Status\n\nThe current published version is [Asm 0.6.0](https:\u002F\u002Fgithub.com\u002Fstubbi\u002Fasm\u002Freleases\u002Ftag\u002Fv0.6.0).\n\n| Area | Available today |\n| --- | --- |\n| Native CLI | Linux x86-64, Linux ARM64, and Apple Silicon macOS 15+. |\n| Projects | Create, inspect, build, run, test, and clean; select native or standalone Linux implementations. |\n| Packages | Search, inspect versions, download artifacts, install executables, list installations, upgrade, and uninstall. |\n| Dependencies | Exact direct source dependencies, with target-specific selections in a shared lock file. |\n| Registry | Package search, target filters, release records, and verification results. |\n| Publication | Local record preparation; hosted publication remains under qualification. |\n| Artifact checks | Metadata, size, SHA-256, archive structure, and executable format. |\n| CLI updates | Manual updates with signed release provenance. |\n\nAsm 0.6.0 adds named target implementations, standalone Linux cross builds, and target-specific dependency locks.\nThe [release notes](docs\u002Freleases\u002F0.6.0.md) describe the commands, artifact scope, and limits.\n\nProjects select the native host by default.\nExplicit standalone Linux builds produce separate artifacts without executing them.\nCross-target native-library linking remains unsupported.\nPackages can provide separate artifacts for other targets, including RISC-V Linux.\n\nTransitive dependencies, self-service publication, account recovery, isolated public build workers, and hosted formal verification are planned.\nThe [roadmap](docs\u002Froadmap.md) tracks that work.\n\n## Prepare a release record\n\nA package release records its source repository, exact Git commit, target, and artifact digests.\n`asm publish` checks the release files and prepares a local release record.\nIt makes no network request and publishes nothing.\nThe hosted operator can import accepted catalog snapshots.\nPublic publisher authentication and hosted deployment remain unqualified.\n\nUse the [packaging and compatibility guide](registry\u002FREADME.md) to prepare artifacts and records.\nThe [hosted publication boundary](docs\u002Fhosted-registry.md#publication-boundary) states the remaining requirements.\n\n## Build with an AI\n\nThe [Asm development skill](skills\u002Fasm-build\u002FSKILL.md) guides requirements, target selection, package reuse, tests, and bounded performance work.\nThe [MCP setup guide](docs\u002Fagents.md) connects AI clients to read-only discovery, planning, and measurement-comparison tools.\nThe AI uses its authorized workspace tools to build and execute software.\n\nHosted registry and MCP deployment remain under qualification.\nThe [hosted registry contract](docs\u002Fhosted-registry.md) records the implementation scope and remaining recovery, security, and runtime gates.\n\n## Security evidence\n\nPackage records distinguish artifact checks, build provenance, formal proofs, and agent reviews.\nEach result applies to a particular check and artifact.\nMissing results appear as missing.\n\nThe [security model](docs\u002Fspecs\u002Fsecurity.md) explains the checks, trust boundaries, and planned verification services.\n\n## Build from source\n\nInstall Git, Make, and Python 3.11 or later.\nLinux also requires GNU Binutils, curl, GNU Coreutils, and gzip.\nApple Silicon macOS requires Xcode Command Line Tools.\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Fstubbi\u002Fasm.git &&\ncd asm &&\nmake &&\nmake install PREFIX=\"$HOME\u002F.local\" &&\nexport PATH=\"$HOME\u002F.local\u002Fbin:$PATH\" &&\nasm version\n```\n\n`make` selects the native implementation for your machine.\nIt runs the assembler and linker to create the executable.\nIt also provides test and installation commands.\nThe root `asm.toml` describes the Linux x86-64 reference build.\nThe [CLI source guide](cli\u002FREADME.md) explains the layout and installation helper.\nThe [ARM64 notes](cli\u002Faarch64\u002FREADME.md) cover cross-assembly; the [macOS guide](docs\u002Fmacos.md) covers Apple Silicon builds.\n\n## Support Asm\n\nHelp fund maintainer time, registry operations, security work, and documentation.\nThe [sponsorship page](https:\u002F\u002Fasm.build\u002Fsponsors.html) lists company and individual options, recognition, and terms.\nSponsorships are arranged by email.\nConfirm availability and payment details before you pay.\n\n## Contribute\n\nStart with [CONTRIBUTING.md](CONTRIBUTING.md) and [AGENTS.md](AGENTS.md).\nThe [repository layout](CONTRIBUTING.md#repository-layout) explains the source, licenses, experiments, and retained measurements.\nFollow the [design guide](design.md), [writing guide](docs\u002Fwriting.md), and [code of conduct](CODE_OF_CONDUCT.md).\n\nThe CLI uses assembly for project and package logic, with system tools for assembly, linking, transport, and cryptographic checks.\nPython handles registry operations, release automation, and the separate MCP protocol adapter; JavaScript supports the website.\nThe hosted registry runtime foundation uses assembly with mature protocol and database libraries.\nThe [bundled-verifier migration](docs\u002Ftrusted-distribution.md) uses Go for the Sigstore and TUF adapter.\n\nOn Linux, run `make check` from the repository root.\nOn macOS, run `make test`.\nThe [contribution guide](CONTRIBUTING.md) lists test prerequisites, including cross-toolchains.\nInclude the reason for your change and its validation in the pull request.\nReport defects through [GitHub Issues](https:\u002F\u002Fgithub.com\u002Fstubbi\u002Fasm\u002Fissues).\n\n## License\n\nCopyright (c) 2026 ASM contributors.\n\nUnless a file has a separate notice, Asm uses [AGPL-3.0-or-later](LICENSE).\nYou can use version 3 or a later version published by the Free Software Foundation.\nAsm is provided without warranty.\n\n| Material | License |\n| --- | --- |\n| CLI, registry tools, website, tests, and project documentation | AGPL-3.0-or-later |\n| `cli\u002Ftemplates.s`, `cli\u002Faarch64\u002Ftemplates.s`, and their emitted starter text | MIT |\n| Reference packages under `examples\u002F` | Each package's included MIT license |\n| Independently published packages | The license declared by that package version |\n| Earlier published versions | The license included with that version |\n\nStarter assembly files contain the complete MIT notice.\nThe same notice remains in [examples\u002Fhello\u002FLICENSE](examples\u002Fhello\u002FLICENSE) and [examples\u002Fmath\u002FLICENSE](examples\u002Fmath\u002FLICENSE).\nIt covers the identified MIT material and preserves the notice for material originally distributed in Asm 0.1.0.\n\nRunning Asm does not assign its license to a separate program.\nCopied or linked package code has its own license conditions.\nContributions use the license that applies to the affected material.\nKeep required copyright and permission notices.\n\nAsm 0.1.0 was published under MIT.\nAsm 0.2.0 introduced AGPL-3.0-or-later for the platform.\nEarlier releases retain their original bytes and licenses.\nRun `asm license` for the identifier, source location, and warranty notice.\n","asm 是一个面向汇编语言开发的包管理与构建工具，用于创建、共享和验证跨架构的汇编项目。它提供命令行工具（asm CLI），支持声明式目标配置（如 x86-64、aarch64、RISC-V）、源码与二进制产物的确定性构建、可验证的发布记录（基于内容哈希），以及集成测试与依赖检查功能。其设计强调可重现性、安全溯源（利用 GitHub CLI 验证签名构建）和多平台原生支持。适用于系统编程、嵌入式固件开发、教学实验及需要精确控制底层行为的高性能\u002F安全敏感场景。",2,"2026-11-24 04:35:00","CREATED_QUERY"]