Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

fix: ship third-party mark notices (#267)

tt-a1i06dd052602dd
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 01a3d26d..30329104 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,10 +4,11 @@ All notable changes are documented here. Format loosely follows [Keep a Changelo
## [Unreleased]
-> Development identity: `v2.17.0-dev.0`. Not a stable release.
+> Development identity: `v2.17.0-dev.1`. Not a stable release.
### Fixed
- **License provenance in distributions.** Source and packaged Skill distributions retain Cocoon AI's exact MIT copyright notice, package staging and smoke tests fail closed when the notice or LICENSE is missing or altered, and the deterministic ZIP carries the same LICENSE bytes as the repository.
+- **Third-party mark notices in distributions.** Source and packaged Skill distributions now identify the pinned Simple Icons collection, disclose all individual icon licenses recorded by that version, preserve source and brand-guideline links, and state that Archify's MIT license does not replace third-party copyright or trademark terms. Package staging and smoke tests fail closed when the notice is missing or altered.
- **Unsupported experiment source chains.** The Hivenue and Taiga Mermaid inputs and their generated derivatives are removed from the current tree because no verifiable redistribution license was available; the retained validation evidence now reports the remaining 3-source / 9-artifact set without rewriting historical results.
## [2.16.0] — 2026-08-30
diff --git a/README.md b/README.md
index c4e24ae1..5983178b 100644
--- a/README.md
+++ b/README.md
@@ -21,9 +21,9 @@ Archify is a Node.js rendering and validation system for Cursor, Claude Code, Co
![License](https://img.shields.io/badge/license-MIT-22c55e?style=flat-square)
![Agent Skill](https://img.shields.io/badge/Agent-Skill-7C3AED?style=flat-square)
-![Development Version](https://img.shields.io/badge/version-2.17.0--dev.0-0891b2?style=flat-square)
+![Development Version](https://img.shields.io/badge/version-2.17.0--dev.1-0891b2?style=flat-square)
-**Current development version:** `v2.17.0-dev.0`. See [Changelog](CHANGELOG.md#unreleased).
+**Current development version:** `v2.17.0-dev.1`. See [Changelog](CHANGELOG.md#unreleased).
**[Project page](https://tt-a1i.github.io/archify/)** · **[Scenario guide](https://tt-a1i.github.io/archify/guide.html)** · **[Proof Lab](https://tt-a1i.github.io/archify/gallery.html)**
diff --git a/README_EN.md b/README_EN.md
index c4e24ae1..5983178b 100644
--- a/README_EN.md
+++ b/README_EN.md
@@ -21,9 +21,9 @@ Archify is a Node.js rendering and validation system for Cursor, Claude Code, Co
![License](https://img.shields.io/badge/license-MIT-22c55e?style=flat-square)
![Agent Skill](https://img.shields.io/badge/Agent-Skill-7C3AED?style=flat-square)
-![Development Version](https://img.shields.io/badge/version-2.17.0--dev.0-0891b2?style=flat-square)
+![Development Version](https://img.shields.io/badge/version-2.17.0--dev.1-0891b2?style=flat-square)
-**Current development version:** `v2.17.0-dev.0`. See [Changelog](CHANGELOG.md#unreleased).
+**Current development version:** `v2.17.0-dev.1`. See [Changelog](CHANGELOG.md#unreleased).
**[Project page](https://tt-a1i.github.io/archify/)** · **[Scenario guide](https://tt-a1i.github.io/archify/guide.html)** · **[Proof Lab](https://tt-a1i.github.io/archify/gallery.html)**
diff --git a/README_ZH.md b/README_ZH.md
index 9511bb8e..cb5a5d26 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -17,9 +17,9 @@ Archify 是一套基于 Node.js 的渲染与校验系统,并以 Agent Skill
![License](https://img.shields.io/badge/license-MIT-22c55e?style=flat-square)
![Agent Skill](https://img.shields.io/badge/Agent-Skill-7C3AED?style=flat-square)
-![开发版本](https://img.shields.io/badge/version-2.17.0--dev.0-0891b2?style=flat-square)
+![开发版本](https://img.shields.io/badge/version-2.17.0--dev.1-0891b2?style=flat-square)
-**当前开发版本:** `v2.17.0-dev.0`。详见[版本历史](CHANGELOG.md#unreleased)。
+**当前开发版本:** `v2.17.0-dev.1`。详见[版本历史](CHANGELOG.md#unreleased)。
**[在线项目页](https://tt-a1i.github.io/archify/)** · **[场景选图指南](https://tt-a1i.github.io/archify/guide.html)** · **[Proof Lab](https://tt-a1i.github.io/archify/gallery.html)**
diff --git a/ROADMAP.md b/ROADMAP.md
index 8d247a6e..3d77da0a 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -1,6 +1,6 @@
# Archify Roadmap
-The current development line is `v2.17.0-dev.0`; it contains the work under Changelog Unreleased and is not a stable release. [CHANGELOG.md](CHANGELOG.md) is the single owner for delivered feature history. This file owns architectural direction, retained rationale, and explicitly declined ideas.
+The current development line is `v2.17.0-dev.1`; it contains the work under Changelog Unreleased and is not a stable release. [CHANGELOG.md](CHANGELOG.md) is the single owner for delivered feature history. This file owns architectural direction, retained rationale, and explicitly declined ideas.
<details>
<summary>Archived delivered-slice context (frozen; no longer maintained as a second changelog)</summary>
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md
new file mode 100644
index 00000000..ebf91db6
--- /dev/null
+++ b/THIRD_PARTY_NOTICES.md
@@ -0,0 +1,56 @@
+# Third-party notices
+
+Archify includes optional vector data for third-party brand marks. These marks
+are provided only to identify technologies and services in user-authored
+diagrams. Their inclusion does not imply sponsorship, endorsement, partnership,
+or affiliation with Archify.
+
+The Archify MIT license applies to Archify's own code and content. It does not
+replace the copyright licenses, trademark policies, or brand guidelines that
+apply to third-party marks. Users are responsible for confirming that their
+particular use is permitted.
+
+## Simple Icons
+
+Most of the built-in vector paths and their metadata were generated from
+[Simple Icons 16.28.0](https://github.com/simple-icons/simple-icons/tree/16.28.0).
+Simple Icons makes its collection work available under
+[CC0 1.0 Universal](https://github.com/simple-icons/simple-icons/blob/16.28.0/LICENSE.md).
+
+As Simple Icons explains in its
+[disclaimer](https://github.com/simple-icons/simple-icons/blob/16.28.0/DISCLAIMER.md),
+CC0 for the collection does not mean that every underlying icon is CC0. License
+and brand-guideline metadata may be incomplete or change over time. The absence
+of an individual license entry is not a grant of permission.
+
+Archify embeds the selected icons as vector-path data and may render them in a
+user-selected color. The following individual licenses were recorded in the
+pinned Simple Icons 16.28.0 metadata:
+
+| Mark | Recorded source | Recorded license | Archify treatment |
+|---|---|---|---|
+| Angular | [Angular press kit](https://angular.dev/press-kit) | [`CC-BY-4.0`](https://creativecommons.org/licenses/by/4.0/) | Embedded as vector-path data; color may be changed by the authored diagram. |
+| Apache Airflow | [Apache logos](https://apache.org/logos) | [`Apache-2.0`](https://www.apache.org/licenses/LICENSE-2.0) | Embedded as vector-path data; Apache trademarks remain subject to the [ASF trademark policy](https://www.apache.org/foundation/marks/). |
+| Apache Kafka | [Apache logos](https://apache.org/logos) | [`Apache-2.0`](https://www.apache.org/licenses/LICENSE-2.0) | Embedded as vector-path data; Apache trademarks remain subject to the [ASF trademark policy](https://www.apache.org/foundation/marks/). |
+| .NET | [.NET brand repository](https://github.com/dotnet/brand/blob/c7d0f51b8ec59531332d05fb27a5b758a7a3d689/logo/dotnet-logo.svg) | [`CC0-1.0`](https://creativecommons.org/publicdomain/zero/1.0/) | Embedded as vector-path data; color may be changed by the authored diagram. |
+| JavaScript | [JS community logo](https://github.com/voodootikigod/logo.js/blob/1544bdeed6d618a6cfe4f0650d04ab8d9cfa76d9/js.svg) | [`MIT`](https://github.com/voodootikigod/logo.js/blob/1544bdeed6d618a6cfe4f0650d04ab8d9cfa76d9/LICENSE) | Embedded as vector-path data; color may be changed by the authored diagram. |
+| Jenkins | [Jenkins artwork source](https://get.jenkins.io/art/) | [`CC-BY-SA-3.0`](https://creativecommons.org/licenses/by-sa/3.0/) | Embedded as vector-path data; color may be changed by the authored diagram. Jenkins retains its trademark rights. |
+| Rust | [Rust project](https://www.rust-lang.org) | [`CC-BY-SA-4.0`](https://creativecommons.org/licenses/by-sa/4.0/) | Embedded as vector-path data; color may be changed by the authored diagram. See the [Rust media guide](https://www.rust-lang.org/policies/media-guide). |
+| Vue.js | [Vue logo source](https://github.com/vuejs/art/blob/a1c78b74569b70a25300925b4eacfefcc143b8f6/logo.svg) | [`CC-BY-NC-SA-4.0`](https://creativecommons.org/licenses/by-nc-sa/4.0/) | Embedded as vector-path data; color may be changed by the authored diagram. The non-commercial and share-alike conditions remain applicable; see the [Vue artwork terms](https://github.com/vuejs/art/blob/a1c78b74569b70a25300925b4eacfefcc143b8f6/README.md). |
+
+The source, guideline, and known license fields for every packaged mark are
+preserved in `renderers/shared/generated-brand-marks.mjs`.
+
+## OpenAI mark
+
+The OpenAI vector path is recorded from the
+[OpenAI brand guidelines](https://openai.com/brand/), not from Simple Icons.
+Use remains subject to those current guidelines and any applicable trademark
+rights. Its inclusion does not state or imply endorsement by OpenAI.
+
+## No additional rights granted
+
+Brand names, logos, and trademarks remain the property of their respective
+owners. This notice records provenance and known terms; it does not grant rights
+that Archify does not hold, and it does not state that every packaged mark has
+been cleared for every commercial, promotional, or redistributive use.
diff --git a/archify.zip b/archify.zip
index cfb97a10..8d7011a4 100644
Binary files a/archify.zip and b/archify.zip differ
diff --git a/archify/THIRD_PARTY_NOTICES.md b/archify/THIRD_PARTY_NOTICES.md
new file mode 100644
index 00000000..ebf91db6
--- /dev/null
+++ b/archify/THIRD_PARTY_NOTICES.md
@@ -0,0 +1,56 @@
+# Third-party notices
+
+Archify includes optional vector data for third-party brand marks. These marks
+are provided only to identify technologies and services in user-authored
+diagrams. Their inclusion does not imply sponsorship, endorsement, partnership,
+or affiliation with Archify.
+
+The Archify MIT license applies to Archify's own code and content. It does not
+replace the copyright licenses, trademark policies, or brand guidelines that
+apply to third-party marks. Users are responsible for confirming that their
+particular use is permitted.
+
+## Simple Icons
+
+Most of the built-in vector paths and their metadata were generated from
+[Simple Icons 16.28.0](https://github.com/simple-icons/simple-icons/tree/16.28.0).
+Simple Icons makes its collection work available under
+[CC0 1.0 Universal](https://github.com/simple-icons/simple-icons/blob/16.28.0/LICENSE.md).
+
+As Simple Icons explains in its
+[disclaimer](https://github.com/simple-icons/simple-icons/blob/16.28.0/DISCLAIMER.md),
+CC0 for the collection does not mean that every underlying icon is CC0. License
+and brand-guideline metadata may be incomplete or change over time. The absence
+of an individual license entry is not a grant of permission.
+
+Archify embeds the selected icons as vector-path data and may render them in a
+user-selected color. The following individual licenses were recorded in the
+pinned Simple Icons 16.28.0 metadata:
+
+| Mark | Recorded source | Recorded license | Archify treatment |
+|---|---|---|---|
+| Angular | [Angular press kit](https://angular.dev/press-kit) | [`CC-BY-4.0`](https://creativecommons.org/licenses/by/4.0/) | Embedded as vector-path data; color may be changed by the authored diagram. |
+| Apache Airflow | [Apache logos](https://apache.org/logos) | [`Apache-2.0`](https://www.apache.org/licenses/LICENSE-2.0) | Embedded as vector-path data; Apache trademarks remain subject to the [ASF trademark policy](https://www.apache.org/foundation/marks/). |
+| Apache Kafka | [Apache logos](https://apache.org/logos) | [`Apache-2.0`](https://www.apache.org/licenses/LICENSE-2.0) | Embedded as vector-path data; Apache trademarks remain subject to the [ASF trademark policy](https://www.apache.org/foundation/marks/). |
+| .NET | [.NET brand repository](https://github.com/dotnet/brand/blob/c7d0f51b8ec59531332d05fb27a5b758a7a3d689/logo/dotnet-logo.svg) | [`CC0-1.0`](https://creativecommons.org/publicdomain/zero/1.0/) | Embedded as vector-path data; color may be changed by the authored diagram. |
+| JavaScript | [JS community logo](https://github.com/voodootikigod/logo.js/blob/1544bdeed6d618a6cfe4f0650d04ab8d9cfa76d9/js.svg) | [`MIT`](https://github.com/voodootikigod/logo.js/blob/1544bdeed6d618a6cfe4f0650d04ab8d9cfa76d9/LICENSE) | Embedded as vector-path data; color may be changed by the authored diagram. |
+| Jenkins | [Jenkins artwork source](https://get.jenkins.io/art/) | [`CC-BY-SA-3.0`](https://creativecommons.org/licenses/by-sa/3.0/) | Embedded as vector-path data; color may be changed by the authored diagram. Jenkins retains its trademark rights. |
+| Rust | [Rust project](https://www.rust-lang.org) | [`CC-BY-SA-4.0`](https://creativecommons.org/licenses/by-sa/4.0/) | Embedded as vector-path data; color may be changed by the authored diagram. See the [Rust media guide](https://www.rust-lang.org/policies/media-guide). |
+| Vue.js | [Vue logo source](https://github.com/vuejs/art/blob/a1c78b74569b70a25300925b4eacfefcc143b8f6/logo.svg) | [`CC-BY-NC-SA-4.0`](https://creativecommons.org/licenses/by-nc-sa/4.0/) | Embedded as vector-path data; color may be changed by the authored diagram. The non-commercial and share-alike conditions remain applicable; see the [Vue artwork terms](https://github.com/vuejs/art/blob/a1c78b74569b70a25300925b4eacfefcc143b8f6/README.md). |
+
+The source, guideline, and known license fields for every packaged mark are
+preserved in `renderers/shared/generated-brand-marks.mjs`.
+
+## OpenAI mark
+
+The OpenAI vector path is recorded from the
+[OpenAI brand guidelines](https://openai.com/brand/), not from Simple Icons.
+Use remains subject to those current guidelines and any applicable trademark
+rights. Its inclusion does not state or imply endorsement by OpenAI.
+
+## No additional rights granted
+
+Brand names, logos, and trademarks remain the property of their respective
+owners. This notice records provenance and known terms; it does not grant rights
+that Archify does not hold, and it does not state that every packaged mark has
+been cleared for every commercial, promotional, or redistributive use.
diff --git a/archify/assets/template.html b/archify/assets/template.html
index 11c5d716..28c151c1 100644
--- a/archify/assets/template.html
+++ b/archify/assets/template.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>[PROJECT NAME] Architecture Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/archify/examples/dataflow-product-analytics.html b/archify/examples/dataflow-product-analytics.html
index e382cdab..e56dd1bb 100644
--- a/archify/examples/dataflow-product-analytics.html
+++ b/archify/examples/dataflow-product-analytics.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Product Analytics Data Flow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/archify/examples/lifecycle-agent-run.html b/archify/examples/lifecycle-agent-run.html
index d98ca626..141719b5 100644
--- a/archify/examples/lifecycle-agent-run.html
+++ b/archify/examples/lifecycle-agent-run.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Agent Run Lifecycle Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/archify/examples/sequence-cache-miss-request.html b/archify/examples/sequence-cache-miss-request.html
index 338c9d48..d3e2c1e3 100644
--- a/archify/examples/sequence-cache-miss-request.html
+++ b/archify/examples/sequence-cache-miss-request.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Cache Miss Request Sequence Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/archify/examples/web-app-rendered.html b/archify/examples/web-app-rendered.html
index e4ee520b..d6d45a50 100644
--- a/archify/examples/web-app-rendered.html
+++ b/archify/examples/web-app-rendered.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Sample Web App Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/archify/examples/workflow-agent-tool-call-rendered.html b/archify/examples/workflow-agent-tool-call-rendered.html
index b4ed8b9f..0fb6bb9a 100644
--- a/archify/examples/workflow-agent-tool-call-rendered.html
+++ b/archify/examples/workflow-agent-tool-call-rendered.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Agent Tool Call Workflow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/archify/package-lock.json b/archify/package-lock.json
index 1de671d2..4fa4da7e 100644
--- a/archify/package-lock.json
+++ b/archify/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "archify",
- "version": "2.17.0-dev.0",
+ "version": "2.17.0-dev.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "archify",
- "version": "2.17.0-dev.0",
+ "version": "2.17.0-dev.1",
"license": "MIT",
"bin": {
"archify": "bin/archify.mjs"
diff --git a/archify/package.json b/archify/package.json
index 445de6d2..17429313 100644
--- a/archify/package.json
+++ b/archify/package.json
@@ -1,6 +1,6 @@
{
"name": "archify",
- "version": "2.17.0-dev.0",
+ "version": "2.17.0-dev.1",
"private": true,
"type": "module",
"description": "JSON-IR diagram renderers (architecture / workflow / sequence / dataflow / lifecycle).",
diff --git a/archify/skill-release.json b/archify/skill-release.json
index 5f9dfb01..aa40d67a 100644
--- a/archify/skill-release.json
+++ b/archify/skill-release.json
@@ -2,7 +2,7 @@
"schemaVersion": 1,
"skillId": "archify",
"channel": "development",
- "version": "2.17.0-dev.0",
+ "version": "2.17.0-dev.1",
"source": {
"repository": "https://github.com/tt-a1i/archify"
},
diff --git a/archify/test/brand-marks.test.mjs b/archify/test/brand-marks.test.mjs
index aeeda2ab..4cf4bf4f 100644
--- a/archify/test/brand-marks.test.mjs
+++ b/archify/test/brand-marks.test.mjs
@@ -9,6 +9,10 @@ import test from 'node:test';
import { fileURLToPath } from 'node:url';
import { BRAND_MARKS } from '../renderers/shared/generated-brand-marks.mjs';
import { isPrivateBrandAddress, prepareDiagramBrandMarks } from '../renderers/shared/brand-marks.mjs';
+import {
+ THIRD_PARTY_NOTICE_DISCLOSURE_COUNT,
+ validateThirdPartyNotices,
+} from '../../scripts/third-party-notices-contract.mjs';
const here = path.dirname(fileURLToPath(import.meta.url));
const skillRoot = path.resolve(here, '..');
@@ -22,6 +26,25 @@ const cases = {
lifecycle: ['agent-run.lifecycle.json', 'states'],
};
+test('third-party notices cover every recorded individual mark license', () => {
+ const notices = fs.readFileSync(path.join(skillRoot, 'THIRD_PARTY_NOTICES.md'), 'utf8');
+ const licensedMarks = BRAND_MARKS.filter((mark) => mark.provenance?.license);
+
+ assert.equal(THIRD_PARTY_NOTICE_DISCLOSURE_COUNT, 34, 'notice contract changed without review');
+ assert.deepEqual(validateThirdPartyNotices(notices), { ok: true, missing: [] });
+ assert.equal(licensedMarks.length, 8, 'pinned Simple Icons license inventory changed');
+ for (const mark of licensedMarks) {
+ assert.match(notices, new RegExp(`\\| ${mark.title.replace(/[.*+?^${}()|[\\]\\]/g, '\\$&')} \\|`));
+ assert.ok(notices.includes(mark.provenance.source), `${mark.id} source must be disclosed`);
+ assert.ok(notices.includes(mark.provenance.license.type), `${mark.id} license must be disclosed`);
+ }
+ assert.match(notices, /OpenAI brand guidelines/);
+ assert.match(notices, /does not state or imply endorsement by OpenAI/);
+ assert.match(notices, /does not imply sponsorship, endorsement, partnership/);
+ assert.match(notices, /commercial, promotional, or redistributive use/);
+ assert.match(notices, /does not grant rights\s+that Archify does not hold/);
+});
+
function writeFixture(type, name, brand, customize) {
const [example, collection] = cases[type];
const value = JSON.parse(fs.readFileSync(path.join(skillRoot, 'examples', example), 'utf8'));
diff --git a/archify/test/clean-skill-staging.test.mjs b/archify/test/clean-skill-staging.test.mjs
index 2cc6bcb6..fae5c248 100644
--- a/archify/test/clean-skill-staging.test.mjs
+++ b/archify/test/clean-skill-staging.test.mjs
@@ -9,6 +9,10 @@ import { fileURLToPath } from 'node:url';
import { stageCleanSkill } from '../../scripts/stage-clean-skill.mjs';
const stagerPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../scripts/stage-clean-skill.mjs');
+const canonicalNotices = fs.readFileSync(
+ path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../THIRD_PARTY_NOTICES.md'),
+ 'utf8',
+);
function git(root, args) {
const result = spawnSync('git', args, { cwd: root, encoding: 'utf8' });
@@ -25,7 +29,9 @@ function write(root, relative, content, mode = null) {
function repositoryFixture() {
const root = fs.mkdtempSync(path.join(os.tmpdir(), 'archify-clean-stage-'));
+ write(root, 'THIRD_PARTY_NOTICES.md', canonicalNotices);
write(root, 'archify/LICENSE', 'MIT License\n');
+ write(root, 'archify/THIRD_PARTY_NOTICES.md', canonicalNotices);
write(root, 'archify/package.json', JSON.stringify({
name: 'archify-fixture',
scripts: { test: 'node --test' },
@@ -38,9 +44,49 @@ function repositoryFixture() {
write(root, 'archify/renderers/shared/generated-validators.mjs', 'export {};\n');
write(root, 'archify/test/repository-only.test.mjs', 'throw new Error();\n');
git(root, ['init']);
+ git(root, ['add', 'THIRD_PARTY_NOTICES.md']);
return root;
}
+test('clean staging rejects a packaged notice that diverges from the repository notice', () => {
+ const root = repositoryFixture();
+ const destination = path.join(root, 'staged-skill');
+ try {
+ git(root, ['add', '.']);
+ fs.writeFileSync(
+ path.join(root, 'archify', 'THIRD_PARTY_NOTICES.md'),
+ canonicalNotices.replace('Simple Icons 16.28.0', 'Simple Icons 16.28.0 modified'),
+ );
+
+ assert.throws(
+ () => stageCleanSkill({ repoRoot: root, destination }),
+ /must byte-match the repository notice/,
+ );
+ assert.equal(fs.existsSync(destination), false);
+ } finally {
+ fs.rmSync(root, { recursive: true, force: true });
+ }
+});
+
+test('clean staging rejects byte-identical but incomplete repository and packaged notices', () => {
+ const root = repositoryFixture();
+ const destination = path.join(root, 'staged-skill');
+ try {
+ const incomplete = canonicalNotices.replace(/## OpenAI mark[\s\S]*?## No additional rights granted/, '## No additional rights granted');
+ fs.writeFileSync(path.join(root, 'THIRD_PARTY_NOTICES.md'), incomplete);
+ fs.writeFileSync(path.join(root, 'archify', 'THIRD_PARTY_NOTICES.md'), incomplete);
+ git(root, ['add', '.']);
+
+ assert.throws(
+ () => stageCleanSkill({ repoRoot: root, destination }),
+ /repository THIRD_PARTY_NOTICES\.md is incomplete; missing required disclosure: .*OpenAI/,
+ );
+ assert.equal(fs.existsSync(destination), false);
+ } finally {
+ fs.rmSync(root, { recursive: true, force: true });
+ }
+});
+
test('clean staging preserves index modes and strips repository-only package metadata', () => {
const root = repositoryFixture();
const destination = path.join(root, 'staged-skill');
diff --git a/archify/test/release-package-gates.test.mjs b/archify/test/release-package-gates.test.mjs
index e554cb9a..1e3402e1 100644
--- a/archify/test/release-package-gates.test.mjs
+++ b/archify/test/release-package-gates.test.mjs
@@ -282,6 +282,54 @@ test('package smoke rejects a missing or modified distribution license', () => {
}
});
+test('package smoke rejects missing, modified, or incomplete third-party notices', () => {
+ const packageSmoke = path.join(repoRoot, 'scripts', 'package-smoke.mjs');
+ const fixture = fs.mkdtempSync(path.join(os.tmpdir(), 'archify-package-notices-gate-'));
+ try {
+ const staged = path.join(fixture, 'archify');
+ stageCleanSkill({ repoRoot, destination: staged });
+ const noticesPath = path.join(staged, 'THIRD_PARTY_NOTICES.md');
+
+ fs.rmSync(noticesPath);
+ let result = spawnSync(process.execPath, [packageSmoke, staged], { encoding: 'utf8' });
+ assert.notEqual(result.status, 0, 'missing notices must fail package smoke');
+ assert.match(`${result.stdout}\n${result.stderr}`, /missing THIRD_PARTY_NOTICES\.md/);
+
+ const repositoryNotices = fs.readFileSync(path.join(repoRoot, 'THIRD_PARTY_NOTICES.md'), 'utf8');
+ fs.writeFileSync(noticesPath, repositoryNotices.replace('Simple Icons 16.28.0', 'Simple Icons'));
+ result = spawnSync(process.execPath, [packageSmoke, staged], { encoding: 'utf8' });
+ assert.notEqual(result.status, 0, 'modified notices must fail package smoke');
+ assert.match(`${result.stdout}\n${result.stderr}`, /must byte-match the repository notice/);
+
+ fs.writeFileSync(noticesPath, 'Simple Icons 16.28.0\n');
+ result = spawnSync(process.execPath, [packageSmoke, staged], { encoding: 'utf8' });
+ assert.notEqual(result.status, 0, 'incomplete notices must fail package smoke');
+ assert.match(`${result.stdout}\n${result.stderr}`, /packaged THIRD_PARTY_NOTICES\.md is incomplete/);
+
+ const comparisonRoot = path.join(fixture, 'comparison-root');
+ fs.mkdirSync(comparisonRoot);
+ fs.copyFileSync(path.join(repoRoot, 'LICENSE'), path.join(comparisonRoot, 'LICENSE'));
+ const synchronizedIncomplete = repositoryNotices
+ .replace(/## OpenAI mark[\s\S]*?## No additional rights granted/, '## No additional rights granted');
+ fs.writeFileSync(path.join(comparisonRoot, 'THIRD_PARTY_NOTICES.md'), synchronizedIncomplete);
+ fs.writeFileSync(noticesPath, synchronizedIncomplete);
+ result = spawnSync(process.execPath, [packageSmoke, staged], {
+ encoding: 'utf8',
+ env: {
+ ...process.env,
+ ARCHIFY_PACKAGE_SMOKE_NOTICE_ROOT: comparisonRoot,
+ },
+ });
+ assert.notEqual(result.status, 0, 'byte-identical incomplete notices must fail package smoke');
+ assert.match(
+ `${result.stdout}\n${result.stderr}`,
+ /repository THIRD_PARTY_NOTICES\.md is incomplete; missing required disclosure: .*OpenAI/,
+ );
+ } finally {
+ fs.rmSync(fixture, { recursive: true, force: true });
+ }
+});
+
test('package smoke increments an arbitrary-precision SemVer patch without Number coercion', () => {
const scratch = fs.mkdtempSync(path.join(os.tmpdir(), 'archify-package-bigint-version-'));
const skillRoot = path.join(scratch, 'archify');
@@ -313,11 +361,13 @@ test('archive build refuses to silently omit required release files', () => {
const stageSource = fs.readFileSync(path.join(repoRoot, 'scripts', 'stage-clean-skill.mjs'), 'utf8');
assert.match(buildSource, /stage-clean-skill\.mjs/);
assert.match(stageSource, /archify\/LICENSE/);
+ assert.match(stageSource, /archify\/THIRD_PARTY_NOTICES\.md/);
assert.match(stageSource, /archify\/skill-release\.json/);
assert.match(stageSource, /archify\/scripts\/check-update\.mjs/);
assert.match(stageSource, /archify\/scripts\/update-contract\.mjs/);
assert.match(stageSource, /git', \['ls-files', '--stage', '-z'/);
assert.match(stageSource, /required package input is not tracked by Git/);
+ assert.match(stageSource, /required repository input is not tracked by Git/);
});
canonicalZipTest('package smoke rejects every dependency metadata field in a built package', () => {
@@ -435,6 +485,10 @@ canonicalZipTest('archive build rejects an unmerged index and preserves an exist
path.join(repoRoot, 'scripts', 'stage-clean-skill.mjs'),
path.join(scripts, 'stage-clean-skill.mjs'),
);
+ fs.copyFileSync(
+ path.join(repoRoot, 'scripts', 'third-party-notices-contract.mjs'),
+ path.join(scripts, 'third-party-notices-contract.mjs'),
+ );
fs.writeFileSync(path.join(skill, 'renderers', 'shared', 'generated-validators.mjs'), 'export default {};\n');
fs.writeFileSync(path.join(skill, 'scripts', 'check-update.mjs'), 'export {};\n');
fs.writeFileSync(path.join(skill, 'scripts', 'update-contract.mjs'), 'export {};\n');
diff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gif
index 4528cb7d..c4482fde 100644
Binary files a/docs/assets/archify-live-proof.gif and b/docs/assets/archify-live-proof.gif differ
diff --git a/docs/assets/archify-live-proof.json b/docs/assets/archify-live-proof.json
index 1e8fbee8..9239205b 100644
--- a/docs/assets/archify-live-proof.json
+++ b/docs/assets/archify-live-proof.json
@@ -7,13 +7,13 @@
"fps": 10,
"frameCount": 54,
"durationSeconds": 5.4,
- "bytes": 1576470,
- "sha256": "27978667316724012006e50755e17a2566419019483f76c4cc394766fa308cd6",
+ "bytes": 1542193,
+ "sha256": "e0fe704e5d230c0478bc5a48b7668815b5790eed496da87ce7a5f8e5b2416c28",
"scenes": [
{
"id": "signal-flow",
"artifact": "docs/gallery/artifacts/agent-tool-call.workflow.html",
- "artifactSha256": "3222bddc0bcbf348203d35f223c62f470f9a4d39faa2cb36d12edad573f0eef4",
+ "artifactSha256": "e083cfe2d35701472374910e922ebdf8b30fdd3d5547d0e2cabd05094d033c66",
"view": "happy-path",
"eyebrow": "WORKFLOW · SIGNAL FLOW",
"title": "Agent Tool Call",
@@ -22,7 +22,7 @@
{
"id": "blueprint",
"artifact": "docs/gallery/artifacts/production-deployment.architecture.html",
- "artifactSha256": "ba819b3b53dc05b6bee4bdb2dfc98029942601dc463c695f515d62768883dfc1",
+ "artifactSha256": "dbf6d1b3cffa610f2e538cca3b9aa1c65eb45f580154f316d97c157d90916faa",
"view": "request-boundary",
"eyebrow": "ARCHITECTURE · BLUEPRINT",
"title": "Production Deployment",
@@ -31,7 +31,7 @@
{
"id": "classic",
"artifact": "docs/gallery/artifacts/cache-miss.sequence.html",
- "artifactSha256": "a576c9f464037267cdae651aa5c44f96a07111357d37ab21d305a33d1c07b116",
+ "artifactSha256": "6bf688c8577049973ace979ac73292eda0cc8f349934c6ba4452720853ced84c",
"view": "cache-fallback",
"eyebrow": "SEQUENCE · CLASSIC",
"title": "Cache Miss Request",
diff --git a/docs/cases/mco-runtime.architecture.html b/docs/cases/mco-runtime.architecture.html
index 0be9c479..bbcc702a 100644
--- a/docs/cases/mco-runtime.architecture.html
+++ b/docs/cases/mco-runtime.architecture.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>MCO Runtime Architecture Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/docs/gallery.html b/docs/gallery.html
index e378c6aa..7c2e6aa3 100644
--- a/docs/gallery.html
+++ b/docs/gallery.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify gallery 2.17.0-dev.0">
+ <meta name="generator" content="archify gallery 2.17.0-dev.1">
<title>Archify Proof Lab — Generated Diagram Gallery</title>
<meta name="description" content="A generated gallery of validated, self-contained Archify diagrams. Every preview links to its exact JSON source and interactive HTML artifact.">
<meta name="theme-color" content="#eff2f1">
@@ -298,7 +298,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 11E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="3222bddc0bcbf348203d35f223c62f470f9a4d39faa2cb36d12edad573f0eef4">3222bddc0bcb</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="e083cfe2d35701472374910e922ebdf8b30fdd3d5547d0e2cabd05094d033c66">e083cfe2d357</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/agent-tool-call.workflow.html?present=1&amp;play=1#view=happy-path" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -328,7 +328,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 12E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="ba819b3b53dc05b6bee4bdb2dfc98029942601dc463c695f515d62768883dfc1">ba819b3b53dc</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="dbf6d1b3cffa610f2e538cca3b9aa1c65eb45f580154f316d97c157d90916faa">dbf6d1b3cffa</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/production-deployment.architecture.html?present=1&amp;play=1#view=request-boundary" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -357,7 +357,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">7N · 12E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="a576c9f464037267cdae651aa5c44f96a07111357d37ab21d305a33d1c07b116">a576c9f46403</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="6bf688c8577049973ace979ac73292eda0cc8f349934c6ba4452720853ced84c">6bf688c85770</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/cache-miss.sequence.html?present=1&amp;play=1#view=cache-fallback" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -386,7 +386,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 10E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="ba3e605376074b0a995ac488e21182db075e7e0bac82f2741c5848aa413b6a2e">ba3e60537607</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="358289f1aee93c3bf1075ce95372325ea415c0178f76ce62c868bdc3683cc5f4">358289f1aee9</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/release-delivery.workflow.html?present=1&amp;play=1#view=approval-to-production" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -415,7 +415,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">11N · 10E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="6be408ea7ff522e00f955a01d6dbf0907565c01cf1bf2c72b10ab0de738e6a1c">6be408ea7ff5</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="d50feba56cbba1bf62a19b45f142bc1f964bf6831730a79d2760aadcf106542a">d50feba56cbb</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/incident-response.workflow.html?present=1&amp;play=1#view=mitigate-and-verify" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -444,7 +444,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 10E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="3135f04797ba721b0d1a29ac2f6218e5662b3ab78a9fbbd064710cda8687ca21">3135f04797ba</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="d66d70595448044a92d032738e2437980d2160462f974a1de8cfa82c5e148d54">d66d70595448</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/product-analytics.dataflow.html?present=1&amp;play=1#view=consent-boundary" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -473,7 +473,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">7N · 14E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="b6486afeabcc1e646dda61fc4ea514b2543d2b800787e2febea4a344c1603e38">b6486afeabcc</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="c4d7cb0eaecfeff4d713b8f3b36b916840d6530f08e9b698ded308effd3ff59b">c4d7cb0eaecf</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/async-job-roundtrip.sequence.html?present=1&amp;play=1#view=work-and-retry" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -502,7 +502,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 12E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="90ed7007685c7f47f07d07a71878f4d3af29451ec50f37d79996d1ff70503570">90ed7007685c</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="cab32bd06250fdc18f7d25e7562407af9b2e2a37f9ca65c6a852716f7faf1892">cab32bd06250</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/event-stream.dataflow.html?present=1&amp;play=1#view=order-transit" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -531,7 +531,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 6E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="331d74948038f7d6b3194714c322442daf82a384b5b23f9dfe11663dcbe7d443">331d74948038</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="d15306112803fe6ac1050c6fd5d943545a5bc6a72a0407cd0751d0d8794f6429">d15306112803</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/agent-run.lifecycle.html?present=1&amp;play=1#view=main-lifecycle" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -560,7 +560,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">11N · 6E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="8f8843346af796e8f311b74ece37be4bce7872f91d2daf73aaeb353bc8762624">8f8843346af7</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="2b41af0f84ff5cdbe21f0d672d1d9825eab246b3e7fbaa0237c49042bf28547d">2b41af0f84ff</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/deployment-release.lifecycle.html?present=1&amp;play=1#view=rollback-outcomes" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -589,7 +589,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 9E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="620e0d5983a5739b297a0bdd9442caca83876d715e15b2041bfa0ba33026b212">620e0d5983a5</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="26784b847623e79727e44eb5fabfbedc2c47289bf877703eee78787a3eb5bee5">26784b847623</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/web-app.architecture.html?present=1&amp;play=1#view=request-path" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -642,14 +642,14 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
<footer>
<div class="shell footer-inner">
<span data-en="Generated from Archify's checked-in examples. No hand-authored capability claims." data-zh="由 Archify 仓库内示例自动生成,不手写可能过期的能力声明。">Generated from Archify's checked-in examples. No hand-authored capability claims.</span>
- <span data-en="Archify v2.17.0-dev.0 · development · MIT" data-zh="Archify v2.17.0-dev.0 · 开发版 · MIT">Archify v2.17.0-dev.0 · development · MIT</span>
+ <span data-en="Archify v2.17.0-dev.1 · development · MIT" data-zh="Archify v2.17.0-dev.1 · 开发版 · MIT">Archify v2.17.0-dev.1 · development · MIT</span>
</div>
</footer>
<script id="gallery-manifest" type="application/json">{
"schemaVersion": 1,
"generator": "scripts/build-gallery.mjs",
- "archifyVersion": "2.17.0-dev.0",
+ "archifyVersion": "2.17.0-dev.1",
"entryCount": 11,
"checkCount": 99,
"entries": [
@@ -676,7 +676,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"nodeCount": 12,
"edgeCount": 11,
"artifactBytes": 723038,
- "artifactSha256": "3222bddc0bcbf348203d35f223c62f470f9a4d39faa2cb36d12edad573f0eef4",
+ "artifactSha256": "e083cfe2d35701472374910e922ebdf8b30fdd3d5547d0e2cabd05094d033c66",
"sourceBytes": 5687,
"sourceSha256": "4d3f6c23de2ca7d306e05d0041a9506833bb5a164a2bddc2d1984cf4da3ee90c",
"checks": [
@@ -776,7 +776,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"nodeCount": 12,
"edgeCount": 12,
"artifactBytes": 724872,
- "artifactSha256": "ba819b3b53dc05b6bee4bdb2dfc98029942601dc463c695f515d62768883dfc1",
+ "artifactSha256": "dbf6d1b3cffa610f2e538cca3b9aa1c65eb45f580154f316d97c157d90916faa",
"sourceBytes": 5476,
"sourceSha256": "ec484aa8576664fdb207b543fa49486b23273faccb7a5071e1a0becfb48c22eb",
"checks": [
@@ -876,7 +876,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"nodeCount": 7,
"edgeCount": 12,
"artifactBytes": 716842,
- "artifactSha256": "a576c9f464037267cdae651aa5c44f96a07111357d37ab21d305a33d1c07b116",
+ "artifactSha256": "6bf688c8577049973ace979ac73292eda0cc8f349934c6ba4452720853ced84c",
"sourceBytes": 4345,
"sourceSha256": "4bbaa6ca3cd4036002fd5d0f3a332eb922cec69d09bac3d7925f95beb4308389",
"checks": [
@@ -976,7 +976,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"nodeCount": 10,
"edgeCount": 10,
"artifactBytes": 719238,
- "artifactSha256": "ba3e605376074b0a995ac488e21182db075e7e0bac82f2741c5848aa413b6a2e",
+ "artifactSha256": "358289f1aee93c3bf1075ce95372325ea415c0178f76ce62c868bdc3683cc5f4",
"sourceBytes": 5164,
"sourceSha256": "e5c880417eac1623923c3dd5461e0c78acd762e1621a28bd53fc14a84cad6a91",
"checks": [
@@ -1076,7 +1076,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"nodeCount": 11,
"edgeCount": 10,
"artifactBytes": 716567,
- "artifactSha256": "6be408ea7ff522e00f955a01d6dbf0907565c01cf1bf2c72b10ab0de738e6a1c",
+ "artifactSha256": "d50feba56cbba1bf62a19b45f142bc1f964bf6831730a79d2760aadcf106542a",
"sourceBytes": 5375,
"sourceSha256": "5c760c82eee545dfb7da38a4e628059d7891af4cfbfc13c8a7009ea64f69aa1b",
"checks": [
@@ -1176,7 +1176,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"nodeCount": 10,
"edgeCount": 10,
"artifactBytes": 720496,
- "artifactSha256": "3135f04797ba721b0d1a29ac2f6218e5662b3ab78a9fbbd064710cda8687ca21",
+ "artifactSha256": "d66d70595448044a92d032738e2437980d2160462f974a1de8cfa82c5e148d54",
"sourceBytes": 5627,
"sourceSha256": "6fa38a7ccedf96da592d60b392783b846188eaa3ec9136c6dc06ca020e43a110",
"checks": [
@@ -1276,7 +1276,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"nodeCount": 7,
"edgeCount": 14,
"artifactBytes": 717252,
- "artifactSha256": "b6486afeabcc1e646dda61fc4ea514b2543d2b800787e2febea4a344c1603e38",
+ "artifactSha256": "c4d7cb0eaecfeff4d713b8f3b36b916840d6530f08e9b698ded308effd3ff59b",
"sourceBytes": 4370,
"sourceSha256": "545f20920c89b69c2bb1f15508d5543fddbeb15cffba61e102206e04bd5a5cd9",
"checks": [
@@ -1376,7 +1376,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"nodeCount": 12,
"edgeCount": 12,
"artifactBytes": 724459,
- "artifactSha256": "90ed7007685c7f47f07d07a71878f4d3af29451ec50f37d79996d1ff70503570",
+ "artifactSha256": "cab32bd06250fdc18f7d25e7562407af9b2e2a37f9ca65c6a852716f7faf1892",
"sourceBytes": 5433,
"sourceSha256": "a92d6597ddbe164f395da32a7d4b33cfae08edd7d9600a6fb45a2058e5bbb43e",
"checks": [
@@ -1476,7 +1476,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"nodeCount": 10,
"edgeCount": 6,
"artifactBytes": 714131,
- "artifactSha256": "331d74948038f7d6b3194714c322442daf82a384b5b23f9dfe11663dcbe7d443",
+ "artifactSha256": "d15306112803fe6ac1050c6fd5d943545a5bc6a72a0407cd0751d0d8794f6429",
"sourceBytes": 4417,
"sourceSha256": "af939579dcafc8b4c49f09594591577994398aee57a57369d4c791dfc0d85a42",
"checks": [
@@ -1576,7 +1576,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"nodeCount": 11,
"edgeCount": 6,
"artifactBytes": 715123,
- "artifactSha256": "8f8843346af796e8f311b74ece37be4bce7872f91d2daf73aaeb353bc8762624",
+ "artifactSha256": "2b41af0f84ff5cdbe21f0d672d1d9825eab246b3e7fbaa0237c49042bf28547d",
"sourceBytes": 4274,
"sourceSha256": "735c2c5819266e6ea2a71775b6eefce98b53030ce90cb721dc8e1d022ce5be71",
"checks": [
@@ -1676,7 +1676,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"nodeCount": 10,
"edgeCount": 9,
"artifactBytes": 715216,
- "artifactSha256": "620e0d5983a5739b297a0bdd9442caca83876d715e15b2041bfa0ba33026b212",
+ "artifactSha256": "26784b847623e79727e44eb5fabfbedc2c47289bf877703eee78787a3eb5bee5",
"sourceBytes": 3793,
"sourceSha256": "483350f5297df682aba4e4a0fa491307ce3d3abd725ae4df07fab177490752cf",
"checks": [
diff --git a/docs/gallery/artifacts/agent-run.lifecycle.html b/docs/gallery/artifacts/agent-run.lifecycle.html
index d98ca626..141719b5 100644
--- a/docs/gallery/artifacts/agent-run.lifecycle.html
+++ b/docs/gallery/artifacts/agent-run.lifecycle.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Agent Run Lifecycle Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/docs/gallery/artifacts/agent-tool-call.workflow.html b/docs/gallery/artifacts/agent-tool-call.workflow.html
index b4ed8b9f..0fb6bb9a 100644
--- a/docs/gallery/artifacts/agent-tool-call.workflow.html
+++ b/docs/gallery/artifacts/agent-tool-call.workflow.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Agent Tool Call Workflow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/docs/gallery/artifacts/async-job-roundtrip.sequence.html b/docs/gallery/artifacts/async-job-roundtrip.sequence.html
index 4193f382..6fe7fb58 100644
--- a/docs/gallery/artifacts/async-job-roundtrip.sequence.html
+++ b/docs/gallery/artifacts/async-job-roundtrip.sequence.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Async Job Roundtrip Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/docs/gallery/artifacts/cache-miss.sequence.html b/docs/gallery/artifacts/cache-miss.sequence.html
index 338c9d48..d3e2c1e3 100644
--- a/docs/gallery/artifacts/cache-miss.sequence.html
+++ b/docs/gallery/artifacts/cache-miss.sequence.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Cache Miss Request Sequence Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/docs/gallery/artifacts/deployment-release.lifecycle.html b/docs/gallery/artifacts/deployment-release.lifecycle.html
index 6d742e0f..c9ce3189 100644
--- a/docs/gallery/artifacts/deployment-release.lifecycle.html
+++ b/docs/gallery/artifacts/deployment-release.lifecycle.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Deployment Release Lifecycle Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/docs/gallery/artifacts/event-stream.dataflow.html b/docs/gallery/artifacts/event-stream.dataflow.html
index 586b6c0f..b5ef2a6e 100644
--- a/docs/gallery/artifacts/event-stream.dataflow.html
+++ b/docs/gallery/artifacts/event-stream.dataflow.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Order Event-stream Topology Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/docs/gallery/artifacts/incident-response.workflow.html b/docs/gallery/artifacts/incident-response.workflow.html
index 18f3cdd1..0215d14a 100644
--- a/docs/gallery/artifacts/incident-response.workflow.html
+++ b/docs/gallery/artifacts/incident-response.workflow.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Incident Response Runbook Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/docs/gallery/artifacts/product-analytics.dataflow.html b/docs/gallery/artifacts/product-analytics.dataflow.html
index e382cdab..e56dd1bb 100644
--- a/docs/gallery/artifacts/product-analytics.dataflow.html
+++ b/docs/gallery/artifacts/product-analytics.dataflow.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Product Analytics Data Flow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/docs/gallery/artifacts/production-deployment.architecture.html b/docs/gallery/artifacts/production-deployment.architecture.html
index 00daaa3a..1401b6d6 100644
--- a/docs/gallery/artifacts/production-deployment.architecture.html
+++ b/docs/gallery/artifacts/production-deployment.architecture.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Production Deployment Ownership Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/docs/gallery/artifacts/release-delivery.workflow.html b/docs/gallery/artifacts/release-delivery.workflow.html
index 8de471d8..83c0fbf7 100644
--- a/docs/gallery/artifacts/release-delivery.workflow.html
+++ b/docs/gallery/artifacts/release-delivery.workflow.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Release Delivery Workflow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/docs/gallery/artifacts/web-app.architecture.html b/docs/gallery/artifacts/web-app.architecture.html
index e4ee520b..d6d45a50 100644
--- a/docs/gallery/artifacts/web-app.architecture.html
+++ b/docs/gallery/artifacts/web-app.architecture.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Sample Web App Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.json
index 479a2a59..d75d682f 100644
--- a/docs/gallery/manifest.json
+++ b/docs/gallery/manifest.json
@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
"generator": "scripts/build-gallery.mjs",
- "archifyVersion": "2.17.0-dev.0",
+ "archifyVersion": "2.17.0-dev.1",
"entryCount": 11,
"checkCount": 99,
"entries": [
@@ -28,7 +28,7 @@
"nodeCount": 12,
"edgeCount": 11,
"artifactBytes": 723038,
- "artifactSha256": "3222bddc0bcbf348203d35f223c62f470f9a4d39faa2cb36d12edad573f0eef4",
+ "artifactSha256": "e083cfe2d35701472374910e922ebdf8b30fdd3d5547d0e2cabd05094d033c66",
"sourceBytes": 5687,
"sourceSha256": "4d3f6c23de2ca7d306e05d0041a9506833bb5a164a2bddc2d1984cf4da3ee90c",
"checks": [
@@ -128,7 +128,7 @@
"nodeCount": 12,
"edgeCount": 12,
"artifactBytes": 724872,
- "artifactSha256": "ba819b3b53dc05b6bee4bdb2dfc98029942601dc463c695f515d62768883dfc1",
+ "artifactSha256": "dbf6d1b3cffa610f2e538cca3b9aa1c65eb45f580154f316d97c157d90916faa",
"sourceBytes": 5476,
"sourceSha256": "ec484aa8576664fdb207b543fa49486b23273faccb7a5071e1a0becfb48c22eb",
"checks": [
@@ -228,7 +228,7 @@
"nodeCount": 7,
"edgeCount": 12,
"artifactBytes": 716842,
- "artifactSha256": "a576c9f464037267cdae651aa5c44f96a07111357d37ab21d305a33d1c07b116",
+ "artifactSha256": "6bf688c8577049973ace979ac73292eda0cc8f349934c6ba4452720853ced84c",
"sourceBytes": 4345,
"sourceSha256": "4bbaa6ca3cd4036002fd5d0f3a332eb922cec69d09bac3d7925f95beb4308389",
"checks": [
@@ -328,7 +328,7 @@
"nodeCount": 10,
"edgeCount": 10,
"artifactBytes": 719238,
- "artifactSha256": "ba3e605376074b0a995ac488e21182db075e7e0bac82f2741c5848aa413b6a2e",
+ "artifactSha256": "358289f1aee93c3bf1075ce95372325ea415c0178f76ce62c868bdc3683cc5f4",
"sourceBytes": 5164,
"sourceSha256": "e5c880417eac1623923c3dd5461e0c78acd762e1621a28bd53fc14a84cad6a91",
"checks": [
@@ -428,7 +428,7 @@
"nodeCount": 11,
"edgeCount": 10,
"artifactBytes": 716567,
- "artifactSha256": "6be408ea7ff522e00f955a01d6dbf0907565c01cf1bf2c72b10ab0de738e6a1c",
+ "artifactSha256": "d50feba56cbba1bf62a19b45f142bc1f964bf6831730a79d2760aadcf106542a",
"sourceBytes": 5375,
"sourceSha256": "5c760c82eee545dfb7da38a4e628059d7891af4cfbfc13c8a7009ea64f69aa1b",
"checks": [
@@ -528,7 +528,7 @@
"nodeCount": 10,
"edgeCount": 10,
"artifactBytes": 720496,
- "artifactSha256": "3135f04797ba721b0d1a29ac2f6218e5662b3ab78a9fbbd064710cda8687ca21",
+ "artifactSha256": "d66d70595448044a92d032738e2437980d2160462f974a1de8cfa82c5e148d54",
"sourceBytes": 5627,
"sourceSha256": "6fa38a7ccedf96da592d60b392783b846188eaa3ec9136c6dc06ca020e43a110",
"checks": [
@@ -628,7 +628,7 @@
"nodeCount": 7,
"edgeCount": 14,
"artifactBytes": 717252,
- "artifactSha256": "b6486afeabcc1e646dda61fc4ea514b2543d2b800787e2febea4a344c1603e38",
+ "artifactSha256": "c4d7cb0eaecfeff4d713b8f3b36b916840d6530f08e9b698ded308effd3ff59b",
"sourceBytes": 4370,
"sourceSha256": "545f20920c89b69c2bb1f15508d5543fddbeb15cffba61e102206e04bd5a5cd9",
"checks": [
@@ -728,7 +728,7 @@
"nodeCount": 12,
"edgeCount": 12,
"artifactBytes": 724459,
- "artifactSha256": "90ed7007685c7f47f07d07a71878f4d3af29451ec50f37d79996d1ff70503570",
+ "artifactSha256": "cab32bd06250fdc18f7d25e7562407af9b2e2a37f9ca65c6a852716f7faf1892",
"sourceBytes": 5433,
"sourceSha256": "a92d6597ddbe164f395da32a7d4b33cfae08edd7d9600a6fb45a2058e5bbb43e",
"checks": [
@@ -828,7 +828,7 @@
"nodeCount": 10,
"edgeCount": 6,
"artifactBytes": 714131,
- "artifactSha256": "331d74948038f7d6b3194714c322442daf82a384b5b23f9dfe11663dcbe7d443",
+ "artifactSha256": "d15306112803fe6ac1050c6fd5d943545a5bc6a72a0407cd0751d0d8794f6429",
"sourceBytes": 4417,
"sourceSha256": "af939579dcafc8b4c49f09594591577994398aee57a57369d4c791dfc0d85a42",
"checks": [
@@ -928,7 +928,7 @@
"nodeCount": 11,
"edgeCount": 6,
"artifactBytes": 715123,
- "artifactSha256": "8f8843346af796e8f311b74ece37be4bce7872f91d2daf73aaeb353bc8762624",
+ "artifactSha256": "2b41af0f84ff5cdbe21f0d672d1d9825eab246b3e7fbaa0237c49042bf28547d",
"sourceBytes": 4274,
"sourceSha256": "735c2c5819266e6ea2a71775b6eefce98b53030ce90cb721dc8e1d022ce5be71",
"checks": [
@@ -1028,7 +1028,7 @@
"nodeCount": 10,
"edgeCount": 9,
"artifactBytes": 715216,
- "artifactSha256": "620e0d5983a5739b297a0bdd9442caca83876d715e15b2041bfa0ba33026b212",
+ "artifactSha256": "26784b847623e79727e44eb5fabfbedc2c47289bf877703eee78787a3eb5bee5",
"sourceBytes": 3793,
"sourceSha256": "483350f5297df682aba4e4a0fa491307ce3d3abd725ae4df07fab177490752cf",
"checks": [
diff --git a/docs/guide.html b/docs/guide.html
index 0c92eace..77bbdbe6 100644
--- a/docs/guide.html
+++ b/docs/guide.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify guide 2.17.0-dev.0">
+ <meta name="generator" content="archify guide 2.17.0-dev.1">
<title>Archify Scenario Guide — Choose the Right Diagram</title>
<meta name="description" content="Describe the technical question you need to answer. Archify recommends a bounded diagram recipe, evidence checklist, and copy-ready prompt.">
<meta name="theme-color" content="#eff2f1">
@@ -238,7 +238,7 @@
</section>
</main>
- <footer><div class="shell"><span data-i18n="footerLeft">Generated from the same recipe source as the Archify CLI.</span><span>archify guide "your scenario"</span><span data-i18n="versionLabel">Scenario guide / development / v2.17.0-dev.0</span></div></footer>
+ <footer><div class="shell"><span data-i18n="footerLeft">Generated from the same recipe source as the Archify CLI.</span><span>archify guide "your scenario"</span><span data-i18n="versionLabel">Scenario guide / development / v2.17.0-dev.1</span></div></footer>
<script id="guide-data" type="application/json">[{"id":"system-overview","type":"architecture","proof":"web-app","presentation":{"preset":"classic","motion":"static","views":"optional"},"title":"System overview","question":"What exists, who owns it, and how is it connected?","summary":"A bounded map of core components, external dependencies, primary paths, and trust boundaries.","useWhen":"Onboarding, design reviews, repository orientation, or explaining a service landscape.","avoidWhen":"The audience needs exact call order, state transitions, or row-level data lineage.","include":["8–12 core components","one primary path","external dependencies","trust boundaries"],"prompt":"Analyze this repository, then use Archify to create a high-level architecture diagram. Show 8–12 core runtime components, one primary request or data path, external dependencies, ownership or trust boundaries, and put supporting detail in cards instead of adding more edges.","en":{"title":"System overview","question":"What exists, who owns it, and how is it connected?","summary":"A bounded map of core components, external dependencies, primary paths, and trust boundaries.","useWhen":"Onboarding, design reviews, repository orientation, or explaining a service landscape.","avoidWhen":"The audience needs exact call order, state transitions, or row-level data lineage.","include":["8–12 core components","one primary path","external dependencies","trust boundaries"],"prompt":"Analyze this repository, then use Archify to create a high-level architecture diagram. Show 8–12 core runtime components, one primary request or data path, external dependencies, ownership or trust boundaries, and put supporting detail in cards instead of adding more edges."},"zh":{"title":"系统总览","question":"系统里有什么、归谁负责、彼此如何连接?","summary":"用一张有边界的图展示核心组件、外部依赖、主路径和信任边界。","useWhen":"适合新人上手、方案评审、仓库梳理和服务全景说明。","avoidWhen":"如果重点是精确调用顺序、状态流转或字段级血缘,请换其他配方。","include":["8–12 个核心组件","一条主路径","外部依赖","归属或信任边界"],"prompt":"分析这个仓库,然后用 Archify 生成高层系统架构图。展示 8–12 个核心运行时组件、一条主要请求或数据路径、外部依赖、归属或信任边界;支持性细节放进卡片,不要继续堆连线。"},"signals":[["system overview",12],["architecture",10],["components",6],["services",4],["repository",5],["trust boundary",8],["架构",10],["系统总览",12],["组件",6],["服务",4],["仓库",5],["信任边界",8]]},{"id":"deployment-ownership","type":"architecture","proof":"deployment-ownership","presentation":{"preset":"blueprint","motion":"trace","views":"recommended"},"title":"Deployment ownership","question":"Where does each workload run, and what crosses a boundary?","summary":"A deployment-focused map of regions, networks, clusters, workloads, stores, and cross-boundary mechanisms.","useWhen":"Cloud reviews, production readiness, multi-region planning, or infrastructure ownership handoffs.","avoidWhen":"Deployment facts are unknown or the real question is application behavior rather than placement.","include":["regions and networks","workload ownership","stateful services","named boundary crossings"],"prompt":"Use Archify to draw the production deployment topology. Group resources by region, network, cluster, and owner; show workloads and stateful services; label every cross-boundary mechanism. Do not invent deployment facts—mark unknown areas explicitly. If the user wants a fail-closed deployment review, ask before setting meta.engineering_profile to deployment-ownership; otherwise leave the engineering profile unset.","en":{"title":"Deployment ownership","question":"Where does each workload run, and what crosses a boundary?","summary":"A deployment-focused map of regions, networks, clusters, workloads, stores, and cross-boundary mechanisms.","useWhen":"Cloud reviews, production readiness, multi-region planning, or infrastructure ownership handoffs.","avoidWhen":"Deployment facts are unknown or the real question is application behavior rather than placement.","include":["regions and networks","workload ownership","stateful services","named boundary crossings"],"prompt":"Use Archify to draw the production deployment topology. Group resources by region, network, cluster, and owner; show workloads and stateful services; label every cross-boundary mechanism. Do not invent deployment facts—mark unknown areas explicitly. If the user wants a fail-closed deployment review, ask before setting meta.engineering_profile to deployment-ownership; otherwise leave the engineering profile unset."},"zh":{"title":"部署与归属","question":"每个工作负载运行在哪里,哪些连接跨越了边界?","summary":"围绕 Region、网络、集群、工作负载、存储和跨边界机制组织部署图。","useWhen":"适合云上评审、生产就绪、多区域规划和基础设施交接。","avoidWhen":"部署事实不清楚,或真正问题是应用行为而不是资源位置时不要使用。","include":["区域与网络","工作负载归属","有状态服务","明确的跨边界机制"],"prompt":"用 Archify 绘制生产部署拓扑。按区域、网络、集群和负责人分组,展示工作负载与有状态服务,并标注每一种跨边界机制。不要编造部署事实,不确定的区域要明确标出。如果用户需要失败即阻断的部署评审,先征得确认,再把 meta.engineering_profile 设为 deployment-ownership;否则不要启用工程画像。"},"signals":[["deployment topology",14],["region",7],["vpc",9],["cluster",6],["availability zone",8],["ownership",7],["cloud deployment",12],["部署拓扑",14],["区域",6],["集群",6],["可用区",8],["资源归属",9],["跨区",8]]},{"id":"agent-tool-call","type":"workflow","proof":"agent-tool-call","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Agent tool-call loop","question":"How does an agent plan, get permission, act, recover, and report?","summary":"A lane-based agent loop with policy gates, tool execution, exception recovery, evidence, and final response.","useWhen":"Explaining agent runtimes, MCP/tool orchestration, approvals, retries, or observability.","avoidWhen":"The goal is only to show static agent components or exact API message timing.","include":["request and planning","policy or approval gate","tool execution","exception and evidence paths"],"prompt":"Use Archify workflow mode to explain this agent tool-call loop. Separate user surface, agent runtime, policy boundary, exception handling, tool execution, and observability into lanes. Make the successful path primary and show approval, retry, blocked, and evidence paths explicitly.","en":{"title":"Agent tool-call loop","question":"How does an agent plan, get permission, act, recover, and report?","summary":"A lane-based agent loop with policy gates, tool execution, exception recovery, evidence, and final response.","useWhen":"Explaining agent runtimes, MCP/tool orchestration, approvals, retries, or observability.","avoidWhen":"The goal is only to show static agent components or exact API message timing.","include":["request and planning","policy or approval gate","tool execution","exception and evidence paths"],"prompt":"Use Archify workflow mode to explain this agent tool-call loop. Separate user surface, agent runtime, policy boundary, exception handling, tool execution, and observability into lanes. Make the successful path primary and show approval, retry, blocked, and evidence paths explicitly."},"zh":{"title":"智能体工具调用","question":"智能体如何规划、获批、执行、恢复并汇报?","summary":"用泳道表达策略门、工具执行、异常恢复、证据和最终回复。","useWhen":"适合解释 Agent Runtime、MCP/工具编排、审批、重试和可观测性。","avoidWhen":"如果只想看静态组件,或重点是精确 API 消息时序,请换其他配方。","include":["请求与规划","策略或审批门","工具执行","异常与证据路径"],"prompt":"用 Archify 工作流模式解释这段智能体工具调用。把用户界面、Agent Runtime、策略边界、异常处理、工具执行和可观测性分成泳道;突出成功主路径,并明确展示审批、重试、阻塞和证据路径。"},"signals":[["agent tool call",16],["tool call",12],["approval gate",10],["human in the loop",9],["mcp",7],["planner",6],["agent loop",10],["智能体工具调用",16],["工具调用",12],["审批门",10],["人在回路",9],["规划器",6],["智能体循环",10]]},{"id":"delivery-workflow","type":"workflow","proof":"delivery-workflow","presentation":{"preset":"classic","motion":"trace","views":"optional"},"title":"Delivery workflow","question":"How does a change move safely from commit to production?","summary":"A delivery flow with build, checks, environments, approvals, smoke tests, rollback, and ownership lanes.","useWhen":"CI/CD design, release reviews, deployment governance, or onboarding developers to delivery.","avoidWhen":"The question is where infrastructure runs or what states a deployment object can occupy.","include":["trigger and build","blocking checks","approval and environments","rollback and verification"],"prompt":"Use Archify workflow mode to draw this delivery process from commit to production. Separate developer, CI, approval, environment, and exception lanes; mark blocking checks, smoke tests, ownership, and the rollback path. Keep one unmistakable happy path.","en":{"title":"Delivery workflow","question":"How does a change move safely from commit to production?","summary":"A delivery flow with build, checks, environments, approvals, smoke tests, rollback, and ownership lanes.","useWhen":"CI/CD design, release reviews, deployment governance, or onboarding developers to delivery.","avoidWhen":"The question is where infrastructure runs or what states a deployment object can occupy.","include":["trigger and build","blocking checks","approval and environments","rollback and verification"],"prompt":"Use Archify workflow mode to draw this delivery process from commit to production. Separate developer, CI, approval, environment, and exception lanes; mark blocking checks, smoke tests, ownership, and the rollback path. Keep one unmistakable happy path."},"zh":{"title":"研发交付流程","question":"一次变更如何安全地从提交走到生产?","summary":"展示构建、检查、环境、审批、冒烟、回滚和负责人泳道。","useWhen":"适合 CI/CD 设计、发布评审、部署治理和研发新人上手。","avoidWhen":"如果重点是基础设施位置或部署对象的状态集合,请换架构图或生命周期图。","include":["触发与构建","阻断检查","审批与环境","回滚与验证"],"prompt":"用 Archify 工作流模式绘制从代码提交到生产发布的流程。拆分开发者、CI、审批、环境和异常泳道;标出阻断检查、冒烟测试、负责人和回滚路径,并保留一条一眼可见的成功主路径。"},"signals":[["ci/cd",14],["release workflow",14],["deployment pipeline",11],["pull request",7],["staging",7],["rollback",8],["发布流程",14],["流水线",9],["上线",7],["预发",7],["回滚",8],["审批发布",10]]},{"id":"incident-runbook","type":"workflow","proof":"incident-runbook","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Incident runbook","question":"How do responders detect, triage, mitigate, verify, and escalate?","summary":"An operational workflow that separates signals, responders, mitigation, communications, and recovery proof.","useWhen":"Incident playbooks, on-call handoffs, reliability reviews, and tabletop exercises.","avoidWhen":"The audience needs live metrics or a post-incident component topology instead of response actions.","include":["detection signal","triage owner","mitigation and rollback","verification and communication"],"prompt":"Use Archify workflow mode to turn this incident runbook into responder lanes. Show detection, triage, mitigation, escalation, communication, rollback, and recovery verification. Separate decision gates from actions and make missing ownership visible.","en":{"title":"Incident runbook","question":"How do responders detect, triage, mitigate, verify, and escalate?","summary":"An operational workflow that separates signals, responders, mitigation, communications, and recovery proof.","useWhen":"Incident playbooks, on-call handoffs, reliability reviews, and tabletop exercises.","avoidWhen":"The audience needs live metrics or a post-incident component topology instead of response actions.","include":["detection signal","triage owner","mitigation and rollback","verification and communication"],"prompt":"Use Archify workflow mode to turn this incident runbook into responder lanes. Show detection, triage, mitigation, escalation, communication, rollback, and recovery verification. Separate decision gates from actions and make missing ownership visible."},"zh":{"title":"事故处置 Runbook","question":"响应者如何发现、分诊、缓解、验证并升级?","summary":"把信号、响应者、缓解动作、沟通和恢复证据拆成可执行流程。","useWhen":"适合故障预案、On-call 交接、稳定性评审和桌面演练。","avoidWhen":"如果受众需要实时指标仪表盘或事故后的组件拓扑,而不是响应动作,请换其他视图。","include":["发现信号","分诊负责人","缓解与回滚","恢复验证与沟通"],"prompt":"用 Archify 工作流模式把事故处置预案画成响应者泳道。展示发现、分诊、缓解、升级、沟通、回滚和恢复验证;把决策门与操作分开,并让缺失的负责人清晰可见。"},"signals":[["incident response",15],["runbook",12],["outage",9],["triage",8],["mitigation",8],["escalation",7],["事故处置",15],["故障",9],["应急预案",12],["排障",9],["缓解",7],["升级响应",8]]},{"id":"api-request","type":"sequence","proof":"cache-miss","presentation":{"preset":"classic","motion":"trace","views":"optional"},"title":"API request chain","question":"Who calls whom, in what order, and what returns?","summary":"A time-ordered request path with authentication, cache fallback, persistence, return traffic, and async trace.","useWhen":"API documentation, debugging request latency, auth reviews, or explaining cache fallback.","avoidWhen":"Order is unimportant and the audience only needs the stable service topology.","include":["callers and callees","request and return messages","fallback or error path","async side effects"],"prompt":"Use Archify sequence mode to show this request from caller to final response. Include authentication, cache hit or miss, persistence fallback, return messages, and asynchronous trace or event emission. Keep message labels short and order unambiguous.","en":{"title":"API request chain","question":"Who calls whom, in what order, and what returns?","summary":"A time-ordered request path with authentication, cache fallback, persistence, return traffic, and async trace.","useWhen":"API documentation, debugging request latency, auth reviews, or explaining cache fallback.","avoidWhen":"Order is unimportant and the audience only needs the stable service topology.","include":["callers and callees","request and return messages","fallback or error path","async side effects"],"prompt":"Use Archify sequence mode to show this request from caller to final response. Include authentication, cache hit or miss, persistence fallback, return messages, and asynchronous trace or event emission. Keep message labels short and order unambiguous."},"zh":{"title":"API 请求链","question":"谁调用谁、顺序如何、最终返回什么?","summary":"按时间展示鉴权、缓存回退、持久化、返回流量和异步追踪。","useWhen":"适合 API 文档、请求耗时排查、鉴权评审和缓存回退说明。","avoidWhen":"如果顺序不重要,受众只需要稳定的服务拓扑,请用架构图。","include":["调用方与被调用方","请求与返回消息","回退或错误路径","异步副作用"],"prompt":"用 Archify 时序模式展示从调用方到最终响应的完整请求。包含鉴权、缓存命中或未命中、持久化回退、返回消息,以及异步 Trace 或事件上报;消息标签保持简短,顺序必须明确。"},"signals":[["api request",14],["request response",12],["call chain",11],["cache miss",13],["jwt",8],["who calls whom",12],["api 请求",14],["请求响应",12],["调用链",11],["缓存未命中",13],["谁调用谁",12],["鉴权链路",9]]},{"id":"async-roundtrip","type":"sequence","proof":"async-roundtrip","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Async roundtrip","question":"What happens after the initial request returns?","summary":"A sequence view of enqueue, acknowledgement, background work, callbacks, retries, timeout, and final consistency.","useWhen":"Webhooks, jobs, queues, payment callbacks, eventual consistency, or async API contracts.","avoidWhen":"The primary question is topic topology and consumer ownership rather than time order.","include":["initial acknowledgement","queue or scheduler","background work","callback, retry, and timeout"],"prompt":"Use Archify sequence mode to explain this asynchronous roundtrip. Show the initial acknowledgement, enqueue or scheduling step, background processing, callback or polling, retry and timeout behavior, and the point where the caller can observe final consistency.","en":{"title":"Async roundtrip","question":"What happens after the initial request returns?","summary":"A sequence view of enqueue, acknowledgement, background work, callbacks, retries, timeout, and final consistency.","useWhen":"Webhooks, jobs, queues, payment callbacks, eventual consistency, or async API contracts.","avoidWhen":"The primary question is topic topology and consumer ownership rather than time order.","include":["initial acknowledgement","queue or scheduler","background work","callback, retry, and timeout"],"prompt":"Use Archify sequence mode to explain this asynchronous roundtrip. Show the initial acknowledgement, enqueue or scheduling step, background processing, callback or polling, retry and timeout behavior, and the point where the caller can observe final consistency."},"zh":{"title":"异步往返链路","question":"初始请求返回之后,后台还会发生什么?","summary":"按时间展示入队、确认、后台处理、回调、重试、超时和最终一致。","useWhen":"适合 Webhook、后台任务、队列、支付回调、最终一致和异步 API 契约。","avoidWhen":"如果重点是 Topic 拓扑和消费者归属,而不是时间顺序,请用事件数据流配方。","include":["初始确认","队列或调度器","后台处理","回调、重试与超时"],"prompt":"用 Archify 时序模式解释这段异步往返链路。展示初始确认、入队或调度、后台处理、回调或轮询、重试与超时,以及调用方何时能观察到最终一致结果。"},"signals":[["async roundtrip",14],["webhook",10],["callback",10],["acknowledgement",8],["timeout",7],["retry message",8],["异步回调",14],["回调",10],["确认消息",8],["超时",7],["消息重试",9],["webhook",10]]},{"id":"data-lineage","type":"dataflow","proof":"product-analytics","presentation":{"preset":"classic","motion":"trace","views":"recommended"},"title":"Data lineage","question":"Where does data come from, how does it change, and who consumes it?","summary":"A governed path from sources through consent, transforms, sensitive stores, warehouse, and consumers.","useWhen":"Analytics architecture, ETL/ELT review, PII assessment, warehouse design, or model feature lineage.","avoidWhen":"The audience needs request timing or operational task ownership rather than data assets.","include":["sources and assets","transform stages","classification or consent","stores and consumers"],"prompt":"Use Archify dataflow mode to map this data lineage. Name every data asset and transform, show consent or classification boundaries, distinguish streaming from batch paths, and identify stores plus downstream consumers. Do not use unlabeled flows.","en":{"title":"Data lineage","question":"Where does data come from, how does it change, and who consumes it?","summary":"A governed path from sources through consent, transforms, sensitive stores, warehouse, and consumers.","useWhen":"Analytics architecture, ETL/ELT review, PII assessment, warehouse design, or model feature lineage.","avoidWhen":"The audience needs request timing or operational task ownership rather than data assets.","include":["sources and assets","transform stages","classification or consent","stores and consumers"],"prompt":"Use Archify dataflow mode to map this data lineage. Name every data asset and transform, show consent or classification boundaries, distinguish streaming from batch paths, and identify stores plus downstream consumers. Do not use unlabeled flows."},"zh":{"title":"数据血缘","question":"数据从哪里来、如何变化、最终被谁消费?","summary":"从来源经过同意、转换、敏感存储、数仓直到消费者的治理路径。","useWhen":"适合分析架构、ETL/ELT 评审、PII 评估、数仓设计和特征血缘。","avoidWhen":"如果受众需要请求时序或操作负责人,而不是数据资产,请换其他配方。","include":["数据来源与资产","转换阶段","分类或同意边界","存储与消费者"],"prompt":"用 Archify 数据流模式梳理这段数据血缘。为每个数据资产和转换命名,展示用户同意或数据分类边界,区分流式与批处理路径,并标明存储和下游消费者;所有数据流都必须有标签。"},"signals":[["data lineage",15],["etl",12],["warehouse",9],["pii",11],["governance",9],["analytics pipeline",12],["数据血缘",15],["数据管道",11],["数仓",9],["治理",9],["隐私数据",10],["用户同意",9]]},{"id":"event-stream","type":"dataflow","proof":"event-stream","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Event-stream topology","question":"Which events move through which topics, processors, groups, and failure paths?","summary":"A stream map of producers, topics, ordered processors, consumer groups, state, replay, and DLQ.","useWhen":"Kafka/event-platform design, stream processing reviews, ownership, replay, and failure handling.","avoidWhen":"Topic names, consumer groups, and delivery semantics are not known—use a generic workflow instead.","include":["producers and event names","topics and ordering","processors and consumer groups","state, replay, and DLQ"],"prompt":"Use Archify dataflow mode to draw this event-stream topology. Name producers, events, topics, ordered processors, consumer groups, state stores, replay paths, and the DLQ. Show ownership and delivery semantics only when supported by evidence.","en":{"title":"Event-stream topology","question":"Which events move through which topics, processors, groups, and failure paths?","summary":"A stream map of producers, topics, ordered processors, consumer groups, state, replay, and DLQ.","useWhen":"Kafka/event-platform design, stream processing reviews, ownership, replay, and failure handling.","avoidWhen":"Topic names, consumer groups, and delivery semantics are not known—use a generic workflow instead.","include":["producers and event names","topics and ordering","processors and consumer groups","state, replay, and DLQ"],"prompt":"Use Archify dataflow mode to draw this event-stream topology. Name producers, events, topics, ordered processors, consumer groups, state stores, replay paths, and the DLQ. Show ownership and delivery semantics only when supported by evidence."},"zh":{"title":"事件流拓扑","question":"哪些事件经过哪些 Topic、处理器、消费者组和失败路径?","summary":"展示生产者、Topic、有序处理器、消费者组、状态、重放和 DLQ。","useWhen":"适合 Kafka/事件平台设计、流处理评审、归属、重放和失败处理。","avoidWhen":"如果 Topic、消费者组和投递语义都不清楚,请先用通用工作流,不要编造事件拓扑。","include":["生产者与事件名","Topic 与顺序","处理器与消费者组","状态、重放与 DLQ"],"prompt":"用 Archify 数据流模式绘制这段事件流拓扑。命名生产者、事件、Topic、有序处理器、消费者组、状态存储、重放路径和 DLQ;只有在证据充分时才标注归属和投递语义。"},"signals":[["event stream",15],["kafka topology",14],["topic",8],["consumer group",11],["dead letter",10],["dlq",10],["事件流",15],["kafka 拓扑",14],["主题",7],["消费者组",11],["死信",10],["事件地铁图",12]]},{"id":"object-lifecycle","type":"lifecycle","proof":"agent-run","presentation":{"preset":"classic","motion":"trace","views":"optional"},"title":"Object lifecycle","question":"Which states exist, what events move between them, and how does it end?","summary":"A state model with active work, waits, retries, cancellation, failure, and explicit terminal outcomes.","useWhen":"Tasks, orders, tickets, subscriptions, jobs, agent runs, or any durable object with status.","avoidWhen":"The object has no durable state and the real question is participant interaction over time.","include":["start and active states","event-labelled transitions","wait and retry states","all terminal outcomes"],"prompt":"Use Archify lifecycle mode to model this object. Separate main progress, waiting or interruption states, and terminal outcomes. Label transitions with events, include retry, cancellation, timeout, success, and failure where real, and never hide an ending.","en":{"title":"Object lifecycle","question":"Which states exist, what events move between them, and how does it end?","summary":"A state model with active work, waits, retries, cancellation, failure, and explicit terminal outcomes.","useWhen":"Tasks, orders, tickets, subscriptions, jobs, agent runs, or any durable object with status.","avoidWhen":"The object has no durable state and the real question is participant interaction over time.","include":["start and active states","event-labelled transitions","wait and retry states","all terminal outcomes"],"prompt":"Use Archify lifecycle mode to model this object. Separate main progress, waiting or interruption states, and terminal outcomes. Label transitions with events, include retry, cancellation, timeout, success, and failure where real, and never hide an ending."},"zh":{"title":"对象生命周期","question":"有哪些状态、什么事件触发流转、最终如何结束?","summary":"展示执行、等待、重试、取消、失败以及明确终态的状态模型。","useWhen":"适合任务、订单、工单、订阅、作业、Agent Run 等带持久状态的对象。","avoidWhen":"对象没有持久状态,真正问题是参与者随时间的交互时,请使用时序图。","include":["开始与执行态","带事件的转换","等待与重试态","所有终态"],"prompt":"用 Archify 生命周期模式建模这个对象。分开主进度、等待或中断状态和终态;用事件标注转换,并在真实存在时展示重试、取消、超时、成功和失败,不能隐藏任何结束方式。"},"signals":[["state machine",15],["object lifecycle",14],["status transition",11],["terminal state",9],["retry state",8],["状态机",15],["生命周期",13],["状态流转",11],["终态",9],["等待态",8],["重试状态",8]]},{"id":"deployment-lifecycle","type":"lifecycle","proof":"deployment-lifecycle","presentation":{"preset":"signal-flow","motion":"trace","views":"recommended"},"title":"Deployment lifecycle","question":"What state is a release in, and what can happen next?","summary":"A deployment state model covering queued, building, verifying, approval, promotion, rollback, and terminal outcomes.","useWhen":"Release controllers, GitOps reconciliation, environment promotion, or deployment status APIs.","avoidWhen":"The question is the human/CI sequence of delivery actions rather than the deployment object state.","include":["queued and running states","verification and approval","promotion and rollback","success, failure, cancellation"],"prompt":"Use Archify lifecycle mode to model the deployment object. Show queued, building, verifying, waiting for approval, promoting, rolling back, and every terminal outcome. Label the events and guards that permit each transition.","en":{"title":"Deployment lifecycle","question":"What state is a release in, and what can happen next?","summary":"A deployment state model covering queued, building, verifying, approval, promotion, rollback, and terminal outcomes.","useWhen":"Release controllers, GitOps reconciliation, environment promotion, or deployment status APIs.","avoidWhen":"The question is the human/CI sequence of delivery actions rather than the deployment object state.","include":["queued and running states","verification and approval","promotion and rollback","success, failure, cancellation"],"prompt":"Use Archify lifecycle mode to model the deployment object. Show queued, building, verifying, waiting for approval, promoting, rolling back, and every terminal outcome. Label the events and guards that permit each transition."},"zh":{"title":"部署生命周期","question":"一次发布当前处于什么状态,下一步可能发生什么?","summary":"覆盖排队、构建、验证、审批、晋级、回滚和终态的部署状态模型。","useWhen":"适合发布控制器、GitOps 对账、环境晋级和部署状态 API。","avoidWhen":"如果重点是人员与 CI 的交付动作顺序,而不是部署对象状态,请用交付工作流。","include":["排队与执行态","验证与审批","晋级与回滚","成功、失败与取消"],"prompt":"用 Archify 生命周期模式建模部署对象。展示排队、构建、验证、等待审批、晋级、回滚以及所有终态,并标注允许每次状态转换的事件和守卫条件。"},"signals":[["deployment lifecycle",15],["release state",10],["promotion state",9],["approval status",8],["rollback state",10],["部署生命周期",15],["发布状态",10],["晋级",7],["审批状态",8],["回滚状态",10]]}]</script>
<script src="assets/site-language.js"></script>
@@ -253,12 +253,12 @@
var lastRecipe = null;
var copy = {
en: {
- navGuide:'Guide',navProof:'Proof Lab',navStart:'Start',navInstall:'Install Skill',versionLabel:'Scenario guide / development / v2.17.0-dev.0',eyebrow:'Question-first diagramming', headline:'Choose the question.<br>Get the <em>right diagram.</em>', lede:'Describe what your audience needs to understand. Archify recommends one bounded visual recipe—plus the evidence it must contain, when not to use it, and a prompt you can copy.',
+ navGuide:'Guide',navProof:'Proof Lab',navStart:'Start',navInstall:'Install Skill',versionLabel:'Scenario guide / development / v2.17.0-dev.1',eyebrow:'Question-first diagramming', headline:'Choose the question.<br>Get the <em>right diagram.</em>', lede:'Describe what your audience needs to understand. Archify recommends one bounded visual recipe—plus the evidence it must contain, when not to use it, and a prompt you can copy.',
metricRecipes:'real-world<br>recipes',metricModes:'typed diagram<br>modes',metricRuntime:'runtime<br>dependencies',chooserTitle:'What must the diagram explain?',chooserBody:'Write a situation, not a diagram type. Specific system facts produce a stronger recommendation.',placeholder:'Example: Show an API request with JWT auth, a Redis cache miss, database fallback, and async tracing.',recommend:'Recommend a recipe →',clear:'Clear',libraryEyebrow:'Recipe library',libraryTitle:'Eleven small, opinionated starting points.',libraryBody:'Each recipe answers one technical question. That boundary keeps the result legible, reviewable, and honest about missing evidence.',footerLeft:'Generated from the same recipe source as the Archify CLI.',all:'All recipes',recommended:'Recommended recipe',use:'Use when',avoid:'Avoid when',must:'Evidence to include',presentation:'Presentation',prompt:'Copy-ready prompt',copyPrompt:'Copy prompt',copied:'Copied',alternatives:'Other possible fits:',confidence:'confidence',open:'Open recipe',proofReady:'Verified proof',proofLink:'Open verified example ↗',
samples:[['API + cache miss','Show an API request with JWT auth, a Redis cache miss, database fallback, and async tracing.'],['Kafka + DLQ','Map Kafka topics, ordered processors, consumer groups, replay, state stores, and the dead-letter queue.'],['Incident response','Show how responders detect, triage, mitigate, escalate, communicate, and verify recovery.']]
},
zh: {
- navGuide:'场景指南',navProof:'验证作品集',navStart:'快速上手',navInstall:'安装技能',versionLabel:'场景指南 / 开发版 / v2.17.0-dev.0',eyebrow:'先问题,后图表',headline:'先选对问题,<br>再得到<em>对的图。</em>',lede:'描述受众真正需要理解的内容。Archify 会推荐一个有边界的视觉配方,同时给出证据清单、禁用条件和可复制提示词。',
+ navGuide:'场景指南',navProof:'验证作品集',navStart:'快速上手',navInstall:'安装技能',versionLabel:'场景指南 / 开发版 / v2.17.0-dev.1',eyebrow:'先问题,后图表',headline:'先选对问题,<br>再得到<em>对的图。</em>',lede:'描述受众真正需要理解的内容。Archify 会推荐一个有边界的视觉配方,同时给出证据清单、禁用条件和可复制提示词。',
metricRecipes:'个真实场景<br>配方',metricModes:'种类型化<br>图表模式',metricRuntime:'个运行时<br>依赖',chooserTitle:'这张图必须解释什么?',chooserBody:'写清场景,不要只写图表类型。系统事实越具体,推荐越可靠。',placeholder:'例如:展示带 JWT 鉴权、Redis 缓存未命中、数据库回退和异步追踪的 API 请求。',recommend:'推荐配方 →',clear:'清空',libraryEyebrow:'配方库',libraryTitle:'十一个小而专的起点。',libraryBody:'每个配方只回答一个技术问题。清晰的边界让图更易读、可评审,也不会掩盖证据缺口。',footerLeft:'网页与 Archify CLI 使用同一份配方数据生成。',all:'全部配方',recommended:'推荐配方',use:'适合',avoid:'不要这样用',must:'必须包含的证据',presentation:'表现建议',prompt:'可直接复制的提示词',copyPrompt:'复制提示词',copied:'已复制',alternatives:'其他可能:',confidence:'置信度',open:'打开配方',proofReady:'已验证成品',proofLink:'打开验证成品 ↗',
samples:[['API + 缓存未命中','展示带 JWT 鉴权、Redis 缓存未命中、数据库回退和异步追踪的 API 请求。'],['Kafka + 死信','梳理 Kafka Topic、有序处理器、消费者组、重放、状态存储和死信队列。'],['事故处置','展示响应者如何发现、分诊、缓解、升级、沟通并验证恢复。']]
}
diff --git a/docs/index.html b/docs/index.html
index 8eda32ff..e76e773c 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -393,7 +393,7 @@
<div class="hero-intro">
<div class="hero-badge fade-up">
<div class="pulse-dot"></div>
- <span data-i18n="hero-badge">Agent Skill &nbsp;·&nbsp; development &nbsp;·&nbsp; v2.17.0-dev.0</span>
+ <span data-i18n="hero-badge">Agent Skill &nbsp;·&nbsp; development &nbsp;·&nbsp; v2.17.0-dev.1</span>
</div>
<h1 class="fade-up d1" data-i18n="hero-h1">From plain English<br>to architecture <em>you can trust.</em></h1>
<p class="hero-sub fade-up d2" data-i18n="hero-sub">Describe your system in chat. Archify generates a polished, explorable HTML diagram — with progressive MAP → READ → FULL detail, a semantic camera, path-aware stories, motion, and ultra-crisp export built in.</p>
@@ -825,7 +825,7 @@
<a class="nav-logo" href="#">
<span style="font-size:.8125rem;font-weight:700;color:var(--muted)">Archify</span>
</a>
- <p class="footer-meta" data-i18n="footer-meta">development &nbsp;·&nbsp; v2.17.0-dev.0 &nbsp;·&nbsp; MIT License<br>Based on Cocoon-AI/architecture-diagram-generator</p>
+ <p class="footer-meta" data-i18n="footer-meta">development &nbsp;·&nbsp; v2.17.0-dev.1 &nbsp;·&nbsp; MIT License<br>Based on Cocoon-AI/architecture-diagram-generator</p>
</div>
<div class="footer-links">
<a href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener">GitHub</a>
@@ -843,7 +843,7 @@
const LANGS = {
en: {
'nav-guide':'Guide','nav-gallery':'Proof Lab','nav-start':'Start','nav-install':'Install Skill',
- 'hero-badge':'Agent Skill &nbsp;·&nbsp; development &nbsp;·&nbsp; v2.17.0-dev.0',
+ 'hero-badge':'Agent Skill &nbsp;·&nbsp; development &nbsp;·&nbsp; v2.17.0-dev.1',
'hero-h1':'From plain English<br>to architecture <em>you can trust.</em>',
'hero-sub':'Describe your system in chat. Archify generates a polished, explorable HTML diagram — with progressive MAP → READ → FULL detail, a semantic camera, path-aware stories, motion, and ultra-crisp export built in.',
'hero-cta':'Choose the right diagram','hero-gallery':'Explore proof gallery',
@@ -895,7 +895,7 @@
'step2-h':'Describe your system','step2-p':'Describe components, connections, and cloud services — or ask your agent to analyze the repository first.',
'step3-h':'Ask your agent to draw it','step3-p':'Tell your agent to use Archify. It generates a self-contained HTML file you can open in any browser and refine in chat.',
'kbd-label':'Keyboard shortcuts','kbd-guide':'Diagram guide','kbd-theme':'Toggle theme','kbd-find':'Find node / route endpoint','kbd-route':'Trace, inspect, and play a route','kbd-radar':'Semantic radar','kbd-lens':'Compare semantic kinds','kbd-present':'Presentation stage','kbd-export':'Open export menu','kbd-focus':'Focus node','kbd-views':'Guided views','kbd-play':'Play story','kbd-zoom':'Reading depth / reset','kbd-nav':'Navigate menu','kbd-close':'Close menu',
- 'footer-meta':'development &nbsp;·&nbsp; v2.17.0-dev.0 &nbsp;·&nbsp; MIT License<br>Based on Cocoon-AI/architecture-diagram-generator',
+ 'footer-meta':'development &nbsp;·&nbsp; v2.17.0-dev.1 &nbsp;·&nbsp; MIT License<br>Based on Cocoon-AI/architecture-diagram-generator',
'cta-h':'Describe it once.<br><em>Share the map.</em>',
'cta-sub':'One command installs the checked skill for Cursor, Claude Code, Codex, or OpenCode — and your next diagram is a chat message away.',
'cta-install':'Install the skill',
@@ -903,7 +903,7 @@
},
zh: {
'nav-guide':'场景指南','nav-gallery':'验证作品集','nav-start':'快速上手','nav-install':'安装技能',
- 'hero-badge':'Agent 技能 &nbsp;·&nbsp; 开发版 &nbsp;·&nbsp; v2.17.0-dev.0',
+ 'hero-badge':'Agent 技能 &nbsp;·&nbsp; 开发版 &nbsp;·&nbsp; v2.17.0-dev.1',
'hero-h1':'用自然语言,<br>生成<em>可信的架构图。</em>',
'hero-sub':'在对话中描述你的系统,Archify 生成精美、可探索的 HTML 技术图——信息会按 MAP → READ → FULL 渐进展开,并内置语义镜头、路径故事、动态效果和超清导出。',
'hero-cta':'选择合适的图','hero-gallery':'查看验证作品集',
@@ -955,7 +955,7 @@
'step2-h':'描述你的系统','step2-p':'描述组件、连接关系和云服务,也可以先让 agent 分析代码仓库。',
'step3-h':'让 agent 绘制','step3-p':'告诉 agent 使用 Archify,它会生成可在任意浏览器打开的单文件 HTML,并可继续在对话中迭代。',
'kbd-label':'键盘快捷键','kbd-guide':'图表指南','kbd-theme':'切换主题','kbd-find':'查找节点 / 路径端点','kbd-route':'探查、检查并播放路径','kbd-radar':'语义雷达','kbd-lens':'对比语义类型','kbd-present':'演示舞台','kbd-export':'打开导出菜单','kbd-focus':'聚焦节点','kbd-views':'引导视图','kbd-play':'播放故事','kbd-zoom':'阅读层级 / 复位','kbd-nav':'菜单导航','kbd-close':'关闭菜单',
- 'footer-meta':'开发版 &nbsp;·&nbsp; v2.17.0-dev.0 &nbsp;·&nbsp; MIT 许可证<br>基于 Cocoon-AI/architecture-diagram-generator',
+ 'footer-meta':'开发版 &nbsp;·&nbsp; v2.17.0-dev.1 &nbsp;·&nbsp; MIT 许可证<br>基于 Cocoon-AI/architecture-diagram-generator',
'cta-h':'描述一次,<br><em>分享这张图。</em>',
'cta-sub':'一条命令即可为 Cursor、Claude Code、Codex 或 OpenCode 安装经过检查的技能——你的下一张架构图,只差一句对话。',
'cta-install':'安装技能',
diff --git a/docs/start.html b/docs/start.html
index 29939fcc..e33b46c9 100644
--- a/docs/start.html
+++ b/docs/start.html
@@ -268,7 +268,7 @@
</section>
<footer class="page-footer">
- <span data-en="Archify v2.17.0-dev.0 · development · self-contained HTML · typed JSON source" data-zh="Archify v2.17.0-dev.0 · 开发版 · 独立 HTML · 类型化 JSON 源">Archify v2.17.0-dev.0 · development · self-contained HTML · typed JSON source</span>
+ <span data-en="Archify v2.17.0-dev.1 · development · self-contained HTML · typed JSON source" data-zh="Archify v2.17.0-dev.1 · 开发版 · 独立 HTML · 类型化 JSON 源">Archify v2.17.0-dev.1 · development · self-contained HTML · typed JSON source</span>
<span id="copy-status" role="status" aria-live="polite"></span>
<a href="https://github.com/tt-a1i/archify" data-en="View source on GitHub ↗" data-zh="在 GitHub 查看源码 ↗">View source on GitHub ↗</a>
</footer>
diff --git a/examples/archify-repo-grid.html b/examples/archify-repo-grid.html
index b7438749..b26e8259 100644
--- a/examples/archify-repo-grid.html
+++ b/examples/archify-repo-grid.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Archify Pipeline Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/examples/archify-repo.html b/examples/archify-repo.html
index c567e64c..b14f1edf 100644
--- a/examples/archify-repo.html
+++ b/examples/archify-repo.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Archify Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/examples/checkout-platform-delta.html b/examples/checkout-platform-delta.html
index 02fd55cb..7e28ead9 100644
--- a/examples/checkout-platform-delta.html
+++ b/examples/checkout-platform-delta.html
@@ -4829,7 +4829,7 @@ html[data-theme="dark"] body{background:#071019!important;background-image:none!
&lt;head&gt;
&lt;meta charset=&quot;UTF-8&quot;&gt;
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
- &lt;meta name=&quot;generator&quot; content=&quot;archify 2.17.0-dev.0&quot;&gt;
+ &lt;meta name=&quot;generator&quot; content=&quot;archify 2.17.0-dev.1&quot;&gt;
&lt;title&gt;Checkout Platform — Baseline Diagram&lt;/title&gt;
&lt;script&gt;
// Resolve the theme before first paint so light-preference users don&#39;t
@@ -19904,7 +19904,7 @@ html[data-theme="dark"] body{background:#071019!important;background-image:none!
&lt;head&gt;
&lt;meta charset=&quot;UTF-8&quot;&gt;
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
- &lt;meta name=&quot;generator&quot; content=&quot;archify 2.17.0-dev.0&quot;&gt;
+ &lt;meta name=&quot;generator&quot; content=&quot;archify 2.17.0-dev.1&quot;&gt;
&lt;title&gt;Checkout Platform — Fraud Gate Diagram&lt;/title&gt;
&lt;script&gt;
// Resolve the theme before first paint so light-preference users don&#39;t
diff --git a/examples/checkout-platform-delta.receipt.json b/examples/checkout-platform-delta.receipt.json
index 94c7a878..1e37e685 100644
--- a/examples/checkout-platform-delta.receipt.json
+++ b/examples/checkout-platform-delta.receipt.json
@@ -219,7 +219,7 @@
"Boundary identity is conservatively derived from kind + label."
],
"artifact": {
- "sha256": "92c8474fb732d64bd9448085e36a31fdca20ad5ac707d59b02e546a66192aa08",
+ "sha256": "b509920b635dc816d7b0f9848bec5bbbf0b77a049ccb50225afbd1dae7a62e39",
"bytes": 2023841
},
"validation": {
diff --git a/examples/dataflow-product-analytics.html b/examples/dataflow-product-analytics.html
index e382cdab..e56dd1bb 100644
--- a/examples/dataflow-product-analytics.html
+++ b/examples/dataflow-product-analytics.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Product Analytics Data Flow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/examples/lifecycle-agent-run.html b/examples/lifecycle-agent-run.html
index d98ca626..141719b5 100644
--- a/examples/lifecycle-agent-run.html
+++ b/examples/lifecycle-agent-run.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Agent Run Lifecycle Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/examples/maka-architecture.html b/examples/maka-architecture.html
index a578d4b9..02bd335f 100644
--- a/examples/maka-architecture.html
+++ b/examples/maka-architecture.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Maka Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/examples/rag-pipeline.html b/examples/rag-pipeline.html
index a50cf960..3a62b43f 100644
--- a/examples/rag-pipeline.html
+++ b/examples/rag-pipeline.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>RAG Pipeline Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/examples/sequence-cache-miss-request.html b/examples/sequence-cache-miss-request.html
index 338c9d48..d3e2c1e3 100644
--- a/examples/sequence-cache-miss-request.html
+++ b/examples/sequence-cache-miss-request.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Cache Miss Request Sequence Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/examples/web-app-rendered.html b/examples/web-app-rendered.html
index e4ee520b..d6d45a50 100644
--- a/examples/web-app-rendered.html
+++ b/examples/web-app-rendered.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Sample Web App Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/examples/web-app.html b/examples/web-app.html
index e4ee520b..d6d45a50 100644
--- a/examples/web-app.html
+++ b/examples/web-app.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Sample Web App Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/examples/workflow-agent-tool-call-rendered.html b/examples/workflow-agent-tool-call-rendered.html
index b4ed8b9f..0fb6bb9a 100644
--- a/examples/workflow-agent-tool-call-rendered.html
+++ b/examples/workflow-agent-tool-call-rendered.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>Agent Tool Call Workflow Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/experiments/mco-showcase/mco-runtime.html b/experiments/mco-showcase/mco-runtime.html
index ba4ce63d..ab2974b8 100644
--- a/experiments/mco-showcase/mco-runtime.html
+++ b/experiments/mco-showcase/mco-runtime.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="archify 2.17.0-dev.0">
+ <meta name="generator" content="archify 2.17.0-dev.1">
<title>MCO Runtime Architecture Diagram</title>
<script>
// Resolve the theme before first paint so light-preference users don't
diff --git a/scripts/package-smoke.mjs b/scripts/package-smoke.mjs
index 876f40c1..622510d2 100644
--- a/scripts/package-smoke.mjs
+++ b/scripts/package-smoke.mjs
@@ -6,8 +6,13 @@ import os from 'node:os';
import path from 'node:path';
import { fileURLToPath, pathToFileURL } from 'node:url';
+import { assertThirdPartyNotices } from './third-party-notices-contract.mjs';
+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const repoRoot = path.resolve(__dirname, '..');
+const noticeComparisonRoot = path.resolve(
+ process.env.ARCHIFY_PACKAGE_SMOKE_NOTICE_ROOT || repoRoot,
+);
const defaultPackageRoot = process.env.RUNNER_TEMP
? path.join(process.env.RUNNER_TEMP, 'archify-package', 'archify')
: path.join(repoRoot, 'archify');
@@ -76,6 +81,18 @@ try {
throw new Error('packaged LICENSE is missing the MIT notice-preservation terms');
}
+ const packageNoticesPath = path.join(skillRoot, 'THIRD_PARTY_NOTICES.md');
+ if (!fs.existsSync(packageNoticesPath)) {
+ throw new Error('packaged skill is missing THIRD_PARTY_NOTICES.md');
+ }
+ const packageNotices = fs.readFileSync(packageNoticesPath, 'utf8');
+ const repositoryNotices = fs.readFileSync(path.join(noticeComparisonRoot, 'THIRD_PARTY_NOTICES.md'), 'utf8');
+ assertThirdPartyNotices(repositoryNotices, 'repository THIRD_PARTY_NOTICES.md');
+ assertThirdPartyNotices(packageNotices, 'packaged THIRD_PARTY_NOTICES.md');
+ if (packageNotices !== repositoryNotices) {
+ throw new Error('packaged THIRD_PARTY_NOTICES.md must byte-match the repository notice');
+ }
+
if (!fs.existsSync(updateChecker)) {
throw new Error(`packaged update checker not found at ${updateChecker}`);
}
diff --git a/scripts/stage-clean-skill.mjs b/scripts/stage-clean-skill.mjs
index 2c114c2a..78e7cd23 100644
--- a/scripts/stage-clean-skill.mjs
+++ b/scripts/stage-clean-skill.mjs
@@ -5,9 +5,12 @@ import fs from 'node:fs';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
+import { assertThirdPartyNotices } from './third-party-notices-contract.mjs';
+
const scriptRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
const REQUIRED_INPUTS = new Set([
'archify/LICENSE',
+ 'archify/THIRD_PARTY_NOTICES.md',
'archify/renderers/shared/generated-validators.mjs',
'archify/scripts/check-update.mjs',
'archify/scripts/update-contract.mjs',
@@ -67,6 +70,16 @@ function trackedEntries(repoRoot) {
});
}
+function requireTrackedFile(repoRoot, relative) {
+ const result = spawnSync('git', ['ls-files', '--error-unmatch', '--', relative], {
+ cwd: repoRoot,
+ encoding: 'buffer',
+ });
+ if (result.status !== 0) {
+ throw new Error(`required repository input is not tracked by Git: ${relative}`);
+ }
+}
+
function excluded(relative) {
if (EXCLUDED_FILES.has(relative)) return true;
const insideSkill = relative.slice('archify/'.length);
@@ -176,6 +189,32 @@ function cleanPackageManifest(destination) {
fs.writeFileSync(packagePath, `${JSON.stringify(packageJson, null, 2)}\n`);
}
+function validateThirdPartyNoticeInputs(repoRoot, packageEntries) {
+ const packagedEntry = packageEntries.find((entry) => (
+ entry.relative === 'archify/THIRD_PARTY_NOTICES.md'
+ ));
+ if (!packagedEntry) {
+ throw new Error('required package input is missing: archify/THIRD_PARTY_NOTICES.md');
+ }
+
+ const repositoryPath = path.join(repoRoot, 'THIRD_PARTY_NOTICES.md');
+ let repositoryNotices;
+ try {
+ const metadata = fs.lstatSync(repositoryPath);
+ if (!metadata.isFile() || metadata.isSymbolicLink()) throw new Error('not a regular file');
+ repositoryNotices = fs.readFileSync(repositoryPath);
+ } catch {
+ throw new Error('repository THIRD_PARTY_NOTICES.md is missing or unreadable');
+ }
+
+ const packagedNotices = packagedEntry.content;
+ assertThirdPartyNotices(repositoryNotices.toString('utf8'), 'repository THIRD_PARTY_NOTICES.md');
+ assertThirdPartyNotices(packagedNotices.toString('utf8'), 'archify/THIRD_PARTY_NOTICES.md');
+ if (!packagedNotices.equals(repositoryNotices)) {
+ throw new Error('archify/THIRD_PARTY_NOTICES.md must byte-match the repository notice');
+ }
+}
+
export function stageCleanSkill({ repoRoot = scriptRoot, destination }) {
const resolvedRoot = fs.realpathSync(path.resolve(repoRoot));
if (!destination) throw new Error('clean Skill staging requires a destination');
@@ -196,11 +235,13 @@ export function stageCleanSkill({ repoRoot = scriptRoot, destination }) {
throw new Error(`required package input is not tracked by Git: ${required}`);
}
}
+ requireTrackedFile(resolvedRoot, 'THIRD_PARTY_NOTICES.md');
const packageEntries = entries
.filter((entry) => !excluded(entry.relative))
.map((entry) => preflightSourceEntry(resolvedRoot, entry))
.map((entry) => snapshotSourceEntry(entry));
+ validateThirdPartyNoticeInputs(resolvedRoot, packageEntries);
fs.mkdirSync(resolvedDestination, { recursive: true, mode: 0o755 });
let fileCount = 0;
diff --git a/scripts/third-party-notices-contract.mjs b/scripts/third-party-notices-contract.mjs
new file mode 100644
index 00000000..be423cdb
--- /dev/null
+++ b/scripts/third-party-notices-contract.mjs
@@ -0,0 +1,55 @@
+const REQUIRED_DISCLOSURES = [
+ ['Simple Icons pinned version', 'Simple Icons 16.28.0'],
+ ['Simple Icons pinned source', 'https://github.com/simple-icons/simple-icons/tree/16.28.0'],
+ ['Simple Icons collection license', 'https://github.com/simple-icons/simple-icons/blob/16.28.0/LICENSE.md'],
+ ['Simple Icons disclaimer', 'https://github.com/simple-icons/simple-icons/blob/16.28.0/DISCLAIMER.md'],
+ ['individual-license boundary', 'The absence\nof an individual license entry is not a grant of permission.'],
+ ['vector-path and color treatment', 'Archify embeds the selected icons as vector-path data and may render them in a\nuser-selected color.'],
+ ['Angular source', 'https://angular.dev/press-kit'],
+ ['Angular license', 'CC-BY-4.0'],
+ ['Apache Airflow mark', '| Apache Airflow |'],
+ ['Apache Kafka mark', '| Apache Kafka |'],
+ ['Apache source', 'https://apache.org/logos'],
+ ['Apache license', 'Apache-2.0'],
+ ['ASF trademark policy', 'https://www.apache.org/foundation/marks/'],
+ ['.NET source', 'https://github.com/dotnet/brand/blob/c7d0f51b8ec59531332d05fb27a5b758a7a3d689/logo/dotnet-logo.svg'],
+ ['.NET license', 'CC0-1.0'],
+ ['JavaScript source', 'https://github.com/voodootikigod/logo.js/blob/1544bdeed6d618a6cfe4f0650d04ab8d9cfa76d9/js.svg'],
+ ['JavaScript license', 'https://github.com/voodootikigod/logo.js/blob/1544bdeed6d618a6cfe4f0650d04ab8d9cfa76d9/LICENSE'],
+ ['Jenkins source', 'https://get.jenkins.io/art/'],
+ ['Jenkins license', 'CC-BY-SA-3.0'],
+ ['Rust source', 'https://www.rust-lang.org'],
+ ['Rust license', 'CC-BY-SA-4.0'],
+ ['Rust media guide', 'https://www.rust-lang.org/policies/media-guide'],
+ ['Vue source', 'https://github.com/vuejs/art/blob/a1c78b74569b70a25300925b4eacfefcc143b8f6/logo.svg'],
+ ['Vue license', 'CC-BY-NC-SA-4.0'],
+ ['Vue artwork terms', 'https://github.com/vuejs/art/blob/a1c78b74569b70a25300925b4eacfefcc143b8f6/README.md'],
+ ['OpenAI section', '## OpenAI mark'],
+ ['OpenAI source', 'https://openai.com/brand/'],
+ ['OpenAI provenance boundary', 'not from Simple Icons'],
+ ['no endorsement by OpenAI', 'does not state or imply endorsement by OpenAI'],
+ ['general no-endorsement statement', 'does not imply sponsorship, endorsement, partnership,\nor affiliation with Archify'],
+ ['third-party rights boundary', 'does not\nreplace the copyright licenses, trademark policies, or brand guidelines'],
+ ['ownership statement', 'Brand names, logos, and trademarks remain the property of their respective\nowners.'],
+ ['no additional rights statement', 'does not grant rights\nthat Archify does not hold'],
+ ['clearance boundary', 'does not state that every packaged mark has\nbeen cleared for every commercial, promotional, or redistributive use'],
+];
+
+export function validateThirdPartyNotices(content) {
+ if (typeof content !== 'string' || content.length === 0) {
+ return { ok: false, missing: ['non-empty notice'] };
+ }
+ const missing = REQUIRED_DISCLOSURES
+ .filter(([, fragment]) => !content.includes(fragment))
+ .map(([label]) => label);
+ return { ok: missing.length === 0, missing };
+}
+
+export function assertThirdPartyNotices(content, subject = 'THIRD_PARTY_NOTICES.md') {
+ const result = validateThirdPartyNotices(content);
+ if (!result.ok) {
+ throw new Error(`${subject} is incomplete; missing required disclosure: ${result.missing.join(', ')}`);
+ }
+}
+
+export const THIRD_PARTY_NOTICE_DISCLOSURE_COUNT = REQUIRED_DISCLOSURES.length;