intentdna 1.7.4 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/LICENSE +201 -0
- package/README.md +143 -194
- package/dist/assets/candidates.d.ts +124 -0
- package/dist/assets/candidates.js +1249 -0
- package/dist/assets/catalog.d.ts +101 -0
- package/dist/assets/catalog.js +311 -0
- package/dist/assets/evidence.d.ts +93 -0
- package/dist/assets/evidence.js +391 -0
- package/dist/assets/index.d.ts +4 -0
- package/dist/assets/index.js +4 -0
- package/dist/assets/metadata.d.ts +19 -0
- package/dist/assets/metadata.js +227 -0
- package/dist/cli/commands/assets.d.ts +65 -0
- package/dist/cli/commands/assets.js +2871 -0
- package/dist/cli/commands/auth.d.ts +322 -0
- package/dist/cli/commands/auth.js +1592 -0
- package/dist/cli/commands/cloud-auth-guidance.d.ts +2 -0
- package/dist/cli/commands/cloud-auth-guidance.js +4 -0
- package/dist/cli/commands/cloud.d.ts +1359 -0
- package/dist/cli/commands/cloud.js +8364 -0
- package/dist/cli/commands/evolve.js +18 -2
- package/dist/cli/commands/generate.js +25 -2
- package/dist/cli/commands/guard.d.ts +1 -1
- package/dist/cli/commands/guard.js +1 -1
- package/dist/cli/commands/guide.d.ts +15 -0
- package/dist/cli/commands/guide.js +1747 -0
- package/dist/cli/commands/init.d.ts +12 -0
- package/dist/cli/commands/init.js +95 -60
- package/dist/cli/commands/org.d.ts +16 -0
- package/dist/cli/commands/org.js +2393 -0
- package/dist/cli/commands/release.d.ts +59 -0
- package/dist/cli/commands/release.js +716 -0
- package/dist/cli/commands/report.d.ts +82 -0
- package/dist/cli/commands/report.js +1516 -0
- package/dist/cli/commands/run.d.ts +6 -1
- package/dist/cli/commands/run.js +95 -26
- package/dist/cli/commands/sync.d.ts +8 -1
- package/dist/cli/commands/sync.js +436 -141
- package/dist/cli/commands/templates.d.ts +64 -0
- package/dist/cli/commands/templates.js +2151 -1
- package/dist/cli/commands/workflow.d.ts +26 -0
- package/dist/cli/commands/workflow.js +3053 -0
- package/dist/cli/index.js +719 -42
- package/dist/compiler/cascade.js +4 -9
- package/dist/compiler/compile.js +1 -0
- package/dist/governance/evidence-capture-attribution.d.ts +12 -0
- package/dist/governance/evidence-capture-attribution.js +46 -0
- package/dist/governance/index.d.ts +2 -0
- package/dist/governance/index.js +1 -0
- package/dist/hooks/cli.d.ts +6 -0
- package/dist/hooks/cli.js +168 -12
- package/dist/hooks/enforce.d.ts +1 -0
- package/dist/hooks/protocol.d.ts +1 -1
- package/dist/hooks/protocol.js +1 -1
- package/dist/hooks/state.d.ts +41 -0
- package/dist/hooks/state.js +126 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/mcp/tools-state.js +2 -0
- package/dist/organization/index.d.ts +121 -0
- package/dist/organization/index.js +413 -0
- package/dist/runtime/claude-sync-target.d.ts +49 -0
- package/dist/runtime/claude-sync-target.js +280 -0
- package/dist/runtime/codex-adapter.d.ts +254 -0
- package/dist/runtime/codex-adapter.js +1204 -0
- package/dist/runtime/codex-sync-target.d.ts +33 -0
- package/dist/runtime/codex-sync-target.js +241 -0
- package/dist/runtime/index.d.ts +8 -0
- package/dist/runtime/index.js +4 -0
- package/dist/runtime/output-artifact-registry.d.ts +1 -1
- package/dist/runtime/output-artifact-registry.js +2 -0
- package/dist/runtime/settings-adapter.d.ts +1 -1
- package/dist/runtime/settings-adapter.js +1 -1
- package/dist/runtime/skill-adapter.d.ts +5 -1
- package/dist/runtime/skill-adapter.js +120 -34
- package/dist/runtime/sync-artifact-registry.d.ts +99 -0
- package/dist/runtime/sync-artifact-registry.js +194 -0
- package/dist/runtime/sync-target-plan.d.ts +45 -0
- package/dist/runtime/sync-target-plan.js +19 -0
- package/dist/schema/controller-registry.d.ts +8 -1
- package/dist/schema/controller-registry.js +8 -0
- package/dist/schema/types.d.ts +35 -23
- package/dist/schema/types.js +10 -1
- package/dist/schema/validate.js +22 -22
- package/dist/schema/validators/controllers.js +38 -20
- package/dist/schema/workflow-authoring-contract.d.ts +29 -0
- package/dist/schema/workflow-authoring-contract.js +109 -0
- package/dist/schema/yaml-parser.js +18 -0
- package/dist/templates/api-backend.dna.yaml +19 -0
- package/dist/templates/brainstorming-first.dna.yaml +19 -0
- package/dist/templates/code-cleanup.dna.yaml +19 -0
- package/dist/templates/code-review-pipeline.dna.yaml +18 -0
- package/dist/templates/documentation-writer.dna.yaml +19 -0
- package/dist/templates/flutter-behavior-lock.dna.yaml +19 -0
- package/dist/templates/flutter-refactoring-rescue.dna.yaml +19 -0
- package/dist/templates/flutter-rewrite-diagnosis-review.dna.yaml +210 -0
- package/dist/templates/flutter-rewrite-fix-review-loop.dna.yaml +260 -0
- package/dist/templates/flutter-rewrite-new.dna.yaml +506 -0
- package/dist/templates/flutter-rewrite.dna.yaml +20 -0
- package/dist/templates/frontend-quality.dna.yaml +19 -0
- package/dist/templates/full-pipeline.dna.yaml +20 -0
- package/dist/templates/marketplace.d.ts +92 -0
- package/dist/templates/marketplace.js +502 -0
- package/dist/templates/metadata.d.ts +25 -0
- package/dist/templates/metadata.js +136 -3
- package/dist/templates/mobile-dev.dna.yaml +19 -0
- package/dist/templates/multi-agent-handoff-coordination.dna.yaml +156 -0
- package/dist/templates/multi-perspective-review.dna.yaml +19 -0
- package/dist/templates/persistent-executor.dna.yaml +19 -0
- package/dist/templates/qa-loop.dna.yaml +18 -0
- package/dist/templates/release-evidence-gate.dna.yaml +131 -0
- package/dist/templates/requirements-gate.dna.yaml +19 -0
- package/dist/templates/research-orchestration.dna.yaml +19 -0
- package/dist/templates/root-cause-analysis.dna.yaml +19 -0
- package/dist/templates/safe-refactoring.dna.yaml +321 -0
- package/dist/templates/secure-dev.dna.yaml +19 -0
- package/dist/templates/subagent-parallel.dna.yaml +19 -0
- package/dist/templates/systematic-debugging.dna.yaml +19 -0
- package/dist/templates/tdd-strict.dna.yaml +19 -0
- package/dist/templates/ui-visual-regression-qa.dna.yaml +133 -0
- package/dist/templates/workflow-author.dna.yaml +302 -0
- package/dist/templates/workflow-blocked-scope-triage.dna.yaml +242 -0
- package/dist/templates/workflow-completion-audit.dna.yaml +254 -0
- package/dist/templates/workflow-cross-boundary-resource-approval.dna.yaml +249 -0
- package/dist/templates/workflow-evidence-review.dna.yaml +198 -0
- package/dist/templates/workflow-module-inventory.dna.yaml +257 -0
- package/dist/templates/workflow-runtime-smoke-review.dna.yaml +252 -0
- package/dist/templates/workflow-verification-command-routing.dna.yaml +278 -0
- package/dist/workflow/authoring-packet.d.ts +67 -0
- package/dist/workflow/authoring-packet.js +218 -0
- package/dist/workflow/draft.d.ts +159 -0
- package/dist/workflow/draft.js +800 -0
- package/dist/workflow/index.d.ts +3 -0
- package/dist/workflow/index.js +3 -0
- package/dist/workflow/suggestion-review.d.ts +65 -0
- package/dist/workflow/suggestion-review.js +245 -0
- package/package.json +1 -1
- package/spec/README.md +15 -48
- package/spec/codex-adapter-contract.md +176 -0
- package/spec/sync-target-plan.md +158 -0
- package/spec/workflow-capability-ir.md +153 -0
- package/spec/agent-dispatch-fix.md +0 -116
- package/spec/control-plane-convergence-handoff-2026-04-24.md +0 -432
- package/spec/flutter-rewrite-template-optimization.md +0 -301
- package/spec/foundation-hardening.md +0 -178
- package/spec/hooks-infra-harness-hardening.md +0 -741
- package/spec/multi-config.md +0 -172
- package/spec/parallel-isolation.md +0 -268
- package/spec/template-version-namespace-fix.md +0 -653
- package/spec/workflow-pipeline.md +0 -101
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": "intentdna",
|
|
11
11
|
"description": "Declarative policy layer for AI agent behavior with plugin-managed hook runtime for Claude Code.",
|
|
12
|
-
"version": "1.
|
|
12
|
+
"version": "1.8.0",
|
|
13
13
|
"author": {
|
|
14
14
|
"name": "Samuel"
|
|
15
15
|
},
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
]
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
|
-
"version": "1.
|
|
28
|
+
"version": "1.8.0"
|
|
29
29
|
}
|
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,251 +1,200 @@
|
|
|
1
|
-
#
|
|
1
|
+
# IntentDNA
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Governed AI work system for turning repeated AI work methods into reviewed, distributable, locally executable workflow assets.**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
IntentDNA helps teams describe how useful AI work should happen, convert that method into a governed workflow asset, install it into local AI harnesses, collect evidence, review rollout, and improve the asset without moving runtime authority into a web dashboard.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
The product contract is:
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- **Cascade governance** preserves provenance and prevents lower layers from relaxing organization thresholds
|
|
15
|
-
- **Constraint IR** carries policy provenance into hook, SDK-check, and CI strict gates
|
|
16
|
-
- **RuntimeDecisionEvent evidence** records who/what/why/from which policy for every allow/warn/block/escalate/validate decision
|
|
17
|
-
- **MCP, reports, state, trace, audit, and evolution** query or package evidence; they are not the policy source of truth
|
|
9
|
+
```text
|
|
10
|
+
local dna is runtime truth
|
|
11
|
+
marketplace distributes workflow assets
|
|
12
|
+
online/SaaS manages organization evidence and lifecycle
|
|
13
|
+
```
|
|
18
14
|
|
|
19
|
-
|
|
15
|
+
IntentDNA is not a model company, generic agent framework, prompt library, canvas automation product, or SaaS workflow executor.
|
|
20
16
|
|
|
21
|
-
|
|
17
|
+
## Install or update
|
|
22
18
|
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
→ Constraint IR + Provenance Manifest
|
|
27
|
-
→ Hook / SDK-check / CI strict gate
|
|
28
|
-
→ RuntimeDecisionEvent
|
|
29
|
-
→ MCP / report / dashboard / evolution evidence layer
|
|
19
|
+
```bash
|
|
20
|
+
npm install --global intentdna@1.8.0
|
|
21
|
+
dna --version
|
|
30
22
|
```
|
|
31
23
|
|
|
32
|
-
|
|
33
|
-
For the current stage and upcoming work, see [ROADMAP.md](ROADMAP.md).
|
|
34
|
-
For the schema contract, see [spec/schema-spec.md](spec/schema-spec.md).
|
|
24
|
+
Version `1.8.0` adds the passive evidence-to-review improvement path and the Online `/create` C3 authoring guide. Online generates copyable local commands only; you still run and review them in your own project.
|
|
35
25
|
|
|
36
|
-
##
|
|
26
|
+
## Product Shape
|
|
37
27
|
|
|
38
|
-
|
|
39
|
-
- Declare enterprise safety red lines first, then compile them into native control surfaces.
|
|
40
|
-
- Treat Species and Enterprise thresholds as non-relaxable by Project, Personal, Role, Context, or Task layers.
|
|
41
|
-
- Keep enforcement points authoritative: hooks, SDK checks, and CI gates make decisions from compiled IR and provenance.
|
|
42
|
-
- Treat runtime state, validators, traces, reports, MCP queries, and signals as evidence assets, not policy truth.
|
|
43
|
-
- Keep adapters and signal ingestion pluggable so the control plane outlives any single tool.
|
|
28
|
+
IntentDNA has three connected products:
|
|
44
29
|
|
|
45
|
-
|
|
30
|
+
| Surface | What it owns | What it must not become |
|
|
31
|
+
| --- | --- | --- |
|
|
32
|
+
| Local npm foundation | `dna`, `dna-hook`, compiler, adapters, sync, reports, local runtime evidence | A thin demo wrapper or optional afterthought |
|
|
33
|
+
| Workflow asset marketplace | Public, personal, `internal_ready`, and later SaaS-backed `org_private` workflow assets | Runtime execution, approval, or policy authority |
|
|
34
|
+
| Online/SaaS console | Accounts, organization evidence, receipts, audit, publication lifecycle, readiness projection | A workflow runner or `allow` / `warn` / `block` / `validate` engine |
|
|
46
35
|
|
|
47
|
-
|
|
36
|
+
The closed loop is:
|
|
48
37
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
38
|
+
```text
|
|
39
|
+
dogfood evidence
|
|
40
|
+
-> workflow asset
|
|
41
|
+
-> marketplace listing
|
|
42
|
+
-> local install/sync
|
|
43
|
+
-> harness execution
|
|
44
|
+
-> local runtime evidence
|
|
45
|
+
-> signed report upload
|
|
46
|
+
-> cloud receipt/audit
|
|
47
|
+
-> manager review
|
|
48
|
+
-> asset improvement
|
|
55
49
|
```
|
|
56
50
|
|
|
57
|
-
|
|
51
|
+
## Start By Role
|
|
58
52
|
|
|
59
|
-
|
|
60
|
-
dna init --template secure-dev
|
|
61
|
-
dna sync
|
|
62
|
-
```
|
|
53
|
+
### Developer
|
|
63
54
|
|
|
64
|
-
|
|
55
|
+
Use this when you want one governed workflow running locally without waiting for cloud setup:
|
|
65
56
|
|
|
66
57
|
```bash
|
|
67
|
-
dna
|
|
58
|
+
dna quickstart --asset flutter-rewrite --sync-target codex
|
|
59
|
+
dna templates list
|
|
60
|
+
dna templates show flutter-rewrite
|
|
61
|
+
dna init --template flutter-rewrite
|
|
62
|
+
dna sync --codex --dry-run
|
|
63
|
+
dna sync --codex
|
|
64
|
+
# run the synced workflow in Codex CLI or Claude Code
|
|
65
|
+
dna report package --json
|
|
66
|
+
dna report sign --json
|
|
67
|
+
dna report verify <envelope-path> --json
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
`dna quickstart` is read-only guidance: it prints the local route without initializing, syncing, running a workflow, packaging reports, signing evidence, uploading evidence, or calling Online/Supabase. Local-only use does not require Supabase. `dna sync` installs, distributes, and injects artifacts only; execution happens in the selected harness. `dna-hook` and local runtime evidence remain runtime truth.
|
|
71
|
+
|
|
72
|
+
### Team Lead / Manager
|
|
73
|
+
|
|
74
|
+
Use this when you need to see which workflow assets are active, blocked, stale, or ready to roll out:
|
|
71
75
|
|
|
72
76
|
```bash
|
|
73
|
-
dna
|
|
77
|
+
dna org intake "<team/project/workflow intent>" --json
|
|
78
|
+
dna org review --json
|
|
79
|
+
dna org rollout --json
|
|
80
|
+
dna org receipt --json
|
|
74
81
|
```
|
|
75
82
|
|
|
76
|
-
|
|
83
|
+
Manager review is a read-only decision surface until an explicit local command changes project or organization state. `internal_ready` means adoption candidate, not org-private SaaS visibility. A later `org_private` publication requires auth, RLS, storage, permissions, audit, and live tests.
|
|
77
84
|
|
|
78
|
-
|
|
85
|
+
### Template Author
|
|
79
86
|
|
|
80
|
-
|
|
87
|
+
Use this when a repeated work method should become a reusable workflow asset:
|
|
81
88
|
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
Intent DNA currently focuses on:
|
|
106
|
-
|
|
107
|
-
- Enterprise Safety Slice: shared policy bundles, cascade provenance, and non-relaxable organization thresholds
|
|
108
|
-
- Claude Code / Claude-style harnesses
|
|
109
|
-
- Role-based agent workflows
|
|
110
|
-
- Template-driven project bootstrap and upgrades
|
|
111
|
-
- Deterministic guardrails and stateful enforcement
|
|
112
|
-
- Resolver-backed artifact handoff between workflow steps
|
|
113
|
-
- Evidence-layer MCP/report/state/trace/audit surfaces
|
|
114
|
-
- Dogfood-driven template iteration
|
|
115
|
-
|
|
116
|
-
Adapter and ecosystem direction are tracked in [ROADMAP.md](ROADMAP.md), not duplicated here.
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## DNA Structure (Advanced)
|
|
121
|
-
|
|
122
|
-
<details>
|
|
123
|
-
<summary>Click to expand</summary>
|
|
124
|
-
|
|
125
|
-
```yaml
|
|
126
|
-
# .dna.yaml
|
|
127
|
-
version: "0.1.0"
|
|
128
|
-
id: project_my_app
|
|
129
|
-
name: My App
|
|
130
|
-
type: project
|
|
131
|
-
|
|
132
|
-
cascade:
|
|
133
|
-
inherits: ["species:default"] # Inherit safety baseline
|
|
134
|
-
priority: 100
|
|
135
|
-
|
|
136
|
-
genes:
|
|
137
|
-
code_quality:
|
|
138
|
-
description: Code quality standards
|
|
139
|
-
codons:
|
|
140
|
-
- type: attract
|
|
141
|
-
target: tested_code
|
|
142
|
-
- type: threshold
|
|
143
|
-
condition: "test_coverage >= 80%"
|
|
144
|
-
action: warn
|
|
145
|
-
|
|
146
|
-
roles:
|
|
147
|
-
reviewer:
|
|
148
|
-
description: Code reviewer — read only
|
|
149
|
-
tool_permissions:
|
|
150
|
-
allow: [Read, Grep, Glob]
|
|
151
|
-
deny: [Edit, Write]
|
|
152
|
-
scope:
|
|
153
|
-
read: ["**/*"]
|
|
154
|
-
instructions:
|
|
155
|
-
- Never modify source code
|
|
156
|
-
- Give clear PASS/FAIL verdict
|
|
157
|
-
|
|
158
|
-
workflows:
|
|
159
|
-
dev-pipeline:
|
|
160
|
-
name: Development Pipeline
|
|
161
|
-
steps:
|
|
162
|
-
- id: implement
|
|
163
|
-
role: implementer
|
|
164
|
-
description: Implement the feature
|
|
165
|
-
- id: review
|
|
166
|
-
role: reviewer
|
|
167
|
-
depends_on: [implement]
|
|
168
|
-
description: Review the implementation
|
|
89
|
+
```bash
|
|
90
|
+
dna workflow authoring-packet "<workflow intent>" --json --project-dir '<local-project-path>'
|
|
91
|
+
# an external agent interviews you and writes .dna/authoring/<asset>.candidate.dna.yaml
|
|
92
|
+
dna validate '<local-project-path>/.dna/authoring/<asset>.candidate.dna.yaml'
|
|
93
|
+
# after explicit human confirmation, save the same YAML under .dna/templates/
|
|
94
|
+
dna assets show '<asset>' --project-dir '<local-project-path>'
|
|
95
|
+
dna assets inspect '<asset>' --project-dir '<local-project-path>'
|
|
96
|
+
dna sync --project-dir '<local-project-path>' --dry-run
|
|
97
|
+
dna sync --project-dir '<local-project-path>' --codex --dry-run
|
|
98
|
+
|
|
99
|
+
# after real runs, inspect evidence-backed improvements
|
|
100
|
+
dna workflow suggestions '<asset>' --json
|
|
101
|
+
dna workflow review-suggestion --from-template '<asset>' --workflow '<workflow-id>' --suggestion '<suggestion-id>' --decision accept --json
|
|
102
|
+
dna workflow improve-from-suggestions --from-template '<asset>' --workflow '<workflow-id>' --suggestion '<suggestion-id>' --save-template '<asset-v2>' --json
|
|
103
|
+
dna workflow mine '<asset>' --json
|
|
104
|
+
|
|
105
|
+
# legacy/example-assisted entry points remain available
|
|
106
|
+
dna workflow intake "<workflow intent>" --json
|
|
107
|
+
dna workflow route "<workflow intent>" --json
|
|
108
|
+
dna workflow draft "<workflow intent>" --json # optional example-clone scaffold fallback
|
|
109
|
+
dna workflow edit-plan "<change>" --from-template <template> --save-template <template-v2>
|
|
110
|
+
dna assets governance <asset> --json
|
|
169
111
|
```
|
|
170
112
|
|
|
171
|
-
|
|
113
|
+
Authoring starts from a work method, fit, inputs, outputs, roles, boundaries, handoffs, verifiers, and evidence posture. The external agent authors YAML; deterministic `dna validate` checks it; a human decides whether to save it. Captured evidence can produce suggestions, but only a matching human review receipt can open the next reviewable draft route. Adoption, organization binding, rollout, and sync remain separate.
|
|
172
114
|
|
|
173
|
-
|
|
115
|
+
### Administrator / Security Buyer
|
|
174
116
|
|
|
175
|
-
|
|
117
|
+
Use this when you need to verify authority, secrets, audit, and cloud trust boundaries:
|
|
176
118
|
|
|
177
|
-
|
|
119
|
+
```bash
|
|
120
|
+
dna cloud credential-check --json
|
|
121
|
+
dna cloud contract-check --json
|
|
122
|
+
dna cloud edge-check --json
|
|
123
|
+
dna cloud deploy-plan --json
|
|
124
|
+
```
|
|
178
125
|
|
|
179
|
-
|
|
126
|
+
Supabase is auth, persistence, storage, transport, and audit. It is not runtime governance authority. Cloud receipts must keep `runtime_authority=false`. Service role keys, secret key JSON, token pepper, Supabase access tokens, user JWTs, raw CLI API tokens, and token hashes must never be browser-facing product inputs or committed examples.
|
|
180
127
|
|
|
181
|
-
|
|
128
|
+
## Quickstart
|
|
182
129
|
|
|
183
|
-
|
|
130
|
+
The current local quickstart is maintained in [docs/quickstart.md](docs/quickstart.md).
|
|
184
131
|
|
|
185
|
-
|
|
186
|
-
- 🚧 **Prompt-style adapters and markdown outputs** (.cursorrules, .clinerules, GEMINI.md)
|
|
187
|
-
- 🚧 **AgentScope** (coming soon)
|
|
132
|
+
Short version:
|
|
188
133
|
|
|
189
|
-
|
|
134
|
+
```bash
|
|
135
|
+
dna quickstart --asset flutter-rewrite --sync-target codex
|
|
136
|
+
dna templates list
|
|
137
|
+
dna templates show flutter-rewrite
|
|
138
|
+
dna init --template flutter-rewrite
|
|
139
|
+
dna sync --codex --dry-run
|
|
140
|
+
dna sync --codex
|
|
141
|
+
# run in Codex CLI or Claude Code
|
|
142
|
+
dna report package --json
|
|
143
|
+
dna report sign --json
|
|
144
|
+
dna report verify <envelope-path> --json
|
|
145
|
+
```
|
|
190
146
|
|
|
191
|
-
|
|
147
|
+
Optional cloud upload is credential-gated and happens only after the signed local envelope verifies:
|
|
192
148
|
|
|
193
149
|
```bash
|
|
194
|
-
dna
|
|
195
|
-
dna
|
|
196
|
-
dna
|
|
197
|
-
dna import . # Import existing config → DNA
|
|
198
|
-
dna verify # Check config integrity
|
|
199
|
-
dna feedback --evolve # Preview marker changes from local classified signals
|
|
200
|
-
dna evolve <dna-id> # Preview marker changes from persisted outcomes
|
|
201
|
-
dna sync <file> --evolve # Mutating path: apply evolved markers before sync
|
|
150
|
+
dna cloud credential-check --json
|
|
151
|
+
dna cloud deploy-plan --json
|
|
152
|
+
dna report upload <envelope-path> --json
|
|
202
153
|
```
|
|
203
154
|
|
|
204
|
-
|
|
155
|
+
## Core Boundaries
|
|
205
156
|
|
|
206
|
-
|
|
157
|
+
- Local `dna` and `dna-hook` remain runtime truth.
|
|
158
|
+
- Online never executes workflows and never performs `allow`, `warn`, `block`, or `validate`.
|
|
159
|
+
- `dna sync` installs, distributes, and injects artifacts; it does not execute workflows.
|
|
160
|
+
- Marketplace distributes workflow assets and install plans; it does not approve, install, or execute them.
|
|
161
|
+
- Supabase persists identity, reports, receipts, storage refs, and audit events; it does not enforce runtime policy.
|
|
162
|
+
- Browser-local imports and Online demo states are projection only until trusted upload verifies them.
|
|
163
|
+
- MCP is hidden transport, not a product page or auth surface.
|
|
164
|
+
- `org_private` must not appear in the static marketplace catalog before SaaS auth/RLS/storage/permission/audit gates exist.
|
|
207
165
|
|
|
208
|
-
|
|
166
|
+
## Evidence Model
|
|
209
167
|
|
|
210
|
-
|
|
211
|
-
- **Codons** are the atomic instructions
|
|
212
|
-
- **Cascade** mimics inheritance and override rules
|
|
213
|
-
- **Epigenetics** learns from experience without mutating source intent
|
|
168
|
+
IntentDNA separates evidence from authority:
|
|
214
169
|
|
|
215
|
-
|
|
170
|
+
| Evidence | Meaning |
|
|
171
|
+
| --- | --- |
|
|
172
|
+
| Local report package | Runtime evidence gathered locally from harness and verifier outputs |
|
|
173
|
+
| Signed envelope | Local package hash/signature can be checked before upload |
|
|
174
|
+
| Local org review receipt | Manager review and publication readiness handoff; not cloud membership proof |
|
|
175
|
+
| Cloud ingest receipt | Trusted upload evidence after Supabase function/storage/audit accepts it |
|
|
176
|
+
| Online projection | Human-readable status and lifecycle view; not runtime truth |
|
|
216
177
|
|
|
217
|
-
|
|
178
|
+
Trusted cloud ingestion may increase persistence and visibility, but it does not move runtime authority away from local `dna-hook` and local runtime evidence.
|
|
218
179
|
|
|
219
180
|
## Documentation Map
|
|
220
181
|
|
|
221
|
-
- [
|
|
222
|
-
- [
|
|
223
|
-
- [docs/
|
|
224
|
-
- [spec
|
|
225
|
-
- [
|
|
226
|
-
- [
|
|
227
|
-
- [docs/
|
|
228
|
-
|
|
229
|
-
|
|
182
|
+
- [docs/README.md](docs/README.md) - living docs map and two-state documentation rule.
|
|
183
|
+
- [docs/quickstart.md](docs/quickstart.md) - local developer quickstart.
|
|
184
|
+
- [docs/product/milestone-review-protocol.md](docs/product/milestone-review-protocol.md) - lightweight P-stage review protocol.
|
|
185
|
+
- [docs/product/online-product-spec.md](docs/product/online-product-spec.md) - Online IA, K5 boundary, forbidden copy, and acceptance.
|
|
186
|
+
- [docs/decisions/ADR-001-product-reset.md](docs/decisions/ADR-001-product-reset.md) - product reset decision record.
|
|
187
|
+
- [spec/README.md](spec/README.md) - retained technical spec index.
|
|
188
|
+
- [docs/archive/2026H1/INDEX.md](docs/archive/2026H1/INDEX.md) - archived references, insights, historical specs, runbooks, and one-time materials.
|
|
189
|
+
|
|
190
|
+
## Current Maturity
|
|
230
191
|
|
|
231
|
-
|
|
192
|
+
- Local foundation: active.
|
|
193
|
+
- Template marketplace: active for public/personal assets; `internal_ready` is a review candidate state.
|
|
194
|
+
- Org-private marketplace: SaaS-gated; requires Supabase auth/RLS/storage/permissions/audit and live tests.
|
|
195
|
+
- Online console: projection/workbench/readiness surface; not workflow runtime.
|
|
196
|
+
- Public release, npm publish, and production SaaS claims require fresh build/test/deploy evidence before being claimed.
|
|
232
197
|
|
|
233
198
|
## License
|
|
234
199
|
|
|
235
200
|
Apache-2.0
|
|
236
|
-
|
|
237
|
-
---
|
|
238
|
-
|
|
239
|
-
## Contributing
|
|
240
|
-
|
|
241
|
-
Issues and PRs welcome. See [ROADMAP.md](ROADMAP.md) for planned features.
|
|
242
|
-
|
|
243
|
-
---
|
|
244
|
-
|
|
245
|
-
## Related Projects
|
|
246
|
-
|
|
247
|
-
- [Superpowers](https://github.com/superpowersai/superpowers) — 123K users, skill-based agent workflows
|
|
248
|
-
- [Cline KanBan](https://github.com/cline/cline-kanban) — Multi-agent task orchestration
|
|
249
|
-
- [AgentScope](https://github.com/modelscope/agentscope) — Multi-agent framework from Alibaba
|
|
250
|
-
|
|
251
|
-
Intent DNA is designed to compile into the native control surfaces those frameworks expose, with current maturity varying by adapter.
|