architectonic 0.0.1 → 0.0.2
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/README.md +23 -9
- package/bin/architectonic.js +28 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,33 +1,38 @@
|
|
|
1
1
|
# architectonic
|
|
2
2
|
|
|
3
|
-
`architectonic` is a command-line tool for
|
|
3
|
+
`architectonic` is a command-line tool for composing the core layers of an agentic system.
|
|
4
4
|
|
|
5
5
|
Those layers currently include:
|
|
6
6
|
|
|
7
7
|
```text
|
|
8
|
-
teleology -- purpose,
|
|
9
|
-
identity -- actors, roles, authority,
|
|
10
|
-
project --
|
|
11
|
-
skills -- reusable procedures
|
|
8
|
+
teleology -- purpose, principles, doctrine, governance
|
|
9
|
+
identity -- actors, roles, authority, boundaries
|
|
10
|
+
project -- operating context for a concrete initiative
|
|
11
|
+
skills -- reusable procedures and capabilities
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
The initial
|
|
14
|
+
The initial placeholder releases are intentionally minimal. Their job is to reserve the
|
|
15
15
|
package name and establish the top-level command surface for future install,
|
|
16
16
|
cascade, and upkeep workflows.
|
|
17
17
|
|
|
18
|
-
##
|
|
18
|
+
## Command shape
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
The primary interaction model is:
|
|
21
21
|
|
|
22
22
|
```text
|
|
23
23
|
architectonic add teleology
|
|
24
24
|
architectonic add identity
|
|
25
25
|
architectonic add project
|
|
26
26
|
architectonic add skills
|
|
27
|
+
architectonic add teleology identity skills
|
|
27
28
|
architectonic doctor
|
|
29
|
+
architectonic list
|
|
28
30
|
architectonic update
|
|
29
31
|
```
|
|
30
32
|
|
|
33
|
+
`add` is explicit and leaves room for future verbs such as `doctor`, `list`,
|
|
34
|
+
`update`, and `remove`.
|
|
35
|
+
|
|
31
36
|
## Current behavior
|
|
32
37
|
|
|
33
38
|
For now, the CLI only exposes:
|
|
@@ -35,7 +40,16 @@ For now, the CLI only exposes:
|
|
|
35
40
|
```text
|
|
36
41
|
npx architectonic
|
|
37
42
|
npx architectonic help
|
|
43
|
+
npx architectonic add <layer>
|
|
38
44
|
```
|
|
39
45
|
|
|
40
46
|
The `add` surface is reserved, but the installer logic is not implemented in
|
|
41
|
-
`0.0.
|
|
47
|
+
`0.0.2` yet.
|
|
48
|
+
|
|
49
|
+
## Run vs install
|
|
50
|
+
|
|
51
|
+
```text
|
|
52
|
+
npx architectonic ... # run immediately
|
|
53
|
+
npm install architectonic # install as a dependency
|
|
54
|
+
npm install -g architectonic # install globally, then run `architectonic ...`
|
|
55
|
+
```
|
package/bin/architectonic.js
CHANGED
|
@@ -1,20 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const args = process.argv.slice(2);
|
|
4
|
-
const [command,
|
|
4
|
+
const [command, ...targets] = args;
|
|
5
|
+
const supported = ["teleology", "identity", "project", "skills"];
|
|
6
|
+
const supportedSet = new Set(supported);
|
|
5
7
|
|
|
6
8
|
function printHelp() {
|
|
7
|
-
console.log(`architectonic 0.0.
|
|
9
|
+
console.log(`architectonic 0.0.2
|
|
8
10
|
|
|
9
|
-
CLI for
|
|
11
|
+
CLI for composing the core layers of an agentic system.
|
|
10
12
|
|
|
11
13
|
Usage:
|
|
12
14
|
npx architectonic
|
|
13
15
|
npx architectonic help
|
|
14
16
|
npx architectonic add <teleology|identity|project|skills>
|
|
17
|
+
npx architectonic add teleology identity skills
|
|
18
|
+
|
|
19
|
+
Layers:
|
|
20
|
+
teleology purpose, principles, doctrine, governance
|
|
21
|
+
identity actors, roles, authority, boundaries
|
|
22
|
+
project operating context for a concrete initiative
|
|
23
|
+
skills reusable procedures and capabilities
|
|
24
|
+
|
|
25
|
+
Run vs install:
|
|
26
|
+
npx architectonic ... run immediately
|
|
27
|
+
npm install architectonic install in a project
|
|
28
|
+
npm install -g architectonic install globally
|
|
15
29
|
|
|
16
30
|
Status:
|
|
17
|
-
0.0.
|
|
31
|
+
0.0.2 reserves the public CLI name and establishes the command surface.
|
|
18
32
|
The add subcommands are placeholders in this initial release.`);
|
|
19
33
|
}
|
|
20
34
|
|
|
@@ -24,13 +38,19 @@ if (!command || command === "help" || command === "--help" || command === "-h")
|
|
|
24
38
|
}
|
|
25
39
|
|
|
26
40
|
if (command === "add") {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
41
|
+
if (!targets.length) {
|
|
42
|
+
console.error("Specify one or more layers: teleology, identity, project, skills");
|
|
43
|
+
process.exit(1);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const invalid = targets.filter((target) => !supportedSet.has(target));
|
|
47
|
+
if (invalid.length) {
|
|
48
|
+
console.error(`Unknown layer(s): ${invalid.join(", ")}`);
|
|
49
|
+
console.error(`Supported layers: ${supported.join(", ")}`);
|
|
30
50
|
process.exit(1);
|
|
31
51
|
}
|
|
32
52
|
|
|
33
|
-
console.log(`architectonic add ${
|
|
53
|
+
console.log(`architectonic add ${targets.join(" ")}`);
|
|
34
54
|
console.log("");
|
|
35
55
|
console.log("This placeholder release does not install packages yet.");
|
|
36
56
|
console.log("It reserves the command contract for future cascade/install behavior.");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "architectonic",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "CLI for
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "CLI for composing agentic system layers such as teleology, identity, project, and skills.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|