Filament Module: application/composite spec artifact templates (ApplicationSpec, MasterRequirements) — absorbed spec-master-requirements
Agent-IX Filament module loaded by quire-cli and quoin.
@agent-ix packages are published to public npm. Install the CLI globally:
npm install -g @agent-ix/quire-cliSee https://github.com/agent-ix/quire-cli#install for details.
This module is also published as a config-only npm package: @agent-ix/spec-artifacts-app.
The package root is the Filament module (manifest.yaml + schemas/skeletons),
so it works directly as a --module target or via quoin's package: source.
npm install @agent-ix/spec-artifacts-app# quoin — resolve the module from npm by name
quoin plugin install package:@agent-ix/spec-artifacts-app
# or point any tool at the installed package root
quire validate spec/**/*.md --module node_modules/@agent-ix/spec-artifacts-appSince 0.2.0 this module declares a semantic data model per artifact type, so a consumer can read an application composite as a typed record instead of re-parsing its prose:
typespec/main.tspis the source, importing@agent-ix/semantic-core0.1.0.schemas/<Model>.jsonis the emitted JSON Schema 2020-12 bundle (39 files), withschemas/toolchain.jsonrecording the projection's provenance.manifest.yamlcarries the quoin FR-070semanticblock, and every artifact type references its schema by path and SHA-256 digest.mappings.yamldeclares, per record property, which Markdown form fills it and whether that form round-trips byte-for-byte.skeletons/are executable fixtures: a typed## Propertiestable, asysmlfence as its alternate form, andoclclauses under## Invariants.
An application composite references what other modules own rather than
restating it: an aggregated requirement or a data source is an
{module, type} pair plus an id, never a copy of the imported type's fields.
This module gives you the top-level document kinds for specifying a whole application — the documents that gather requirements together and describe the system as a whole. They sit above the individual requirement artifacts (StR, FR, NFR, …) and tie them into one specification.
| Kind | Type | What it's for |
|---|---|---|
ApplicationSpec |
Application Spec | The top-level document for an application — describes the system as a whole and gathers together the requirements and specs that make it up. |
MasterRequirements |
Master Requirements | The front page of a specification — its purpose, scope, and the set of requirements it rolls up. |
quoin plugin install path:../spec-artifacts-app
quoin catalog list
quoin catalog show ApplicationSpec
quoin write . --types ApplicationSpec
quoin reviewSee https://github.com/agent-ix/quoin.
quire schema ApplicationSpec --module ./spec_artifacts_app
quire validate spec/**/*.md --module ./spec_artifacts_app
quire extract <DOC> --module ./spec_artifacts_app --archetype ApplicationSpecSee https://github.com/agent-ix/quire-cli#usage-instructions.
- Library:
spec_artifacts_app(flat layout, Python 3.13+, Poetry) - Build/CI: GitHub Actions; dynamic Git-tag-based versioning; publishes wheel + sdist to Google Artifact Registry via
twine upload -r internal-pypi.
make install # install deps in Poetry venv
make semantic-install # npm ci for the pinned TypeSpec toolchain
make dev-quire # install the Quire wheel the semantic tests need
make schemas # emit the JSON Schemas and refresh the derived files
make schemas-check # fail when the committed schemas or digests drift
make test # run pytest
make lint # ruff + black check
make format # ruff + black format
make build # build wheel + sdist under dist/
make local-publish # build and publish to local PyPI (pypi.ix)
make update-lock # update poetry.lockTwo environment preconditions, both deliberate and both recorded in NFR-001:
@agent-ix/semantic-coreresolves only from the registry your npm configuration routes the@agent-ixscope to. The repository carries no.npmrc, so the routing is your machine's;agent-ix/filament-core-data#11tracks the public publish.- The Quire wheel exposing
extract_semanticis on no index this repository may commit against (agent-ix/quire-rs#392), somake dev-quireprovisions it. The semantic tests fail rather than skip when it is absent, because a skipped row is not coverage.
The offline, no-network gate is a manual procedure: see docs/offline-gate.md.
CI requires the GCP_SERVICE_ACCOUNT_KEY secret plus GCP_REGION, GCP_PROJECT_NAME, and GCP_PYPI variables for Artifact Registry publishing.