@quill507/dsh-orchestrator-preset 0.1.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/.gitattributes +20 -0
- package/.gitignore +140 -0
- package/LICENSE +21 -0
- package/README.md +533 -0
- package/README.zh.md +222 -0
- package/THIRD_PARTY_NOTICES.md +67 -0
- package/cordis.patch.yml +399 -0
- package/extensions/dsh/aegis-prefix.js +197 -0
- package/extensions/dsh/index.js +41 -0
- package/install.sh +193 -0
- package/lane-composition.mjs +288 -0
- package/package.json +69 -0
- package/personas/analyst.md +74 -0
- package/personas/archivist.md +75 -0
- package/personas/auditor.md +79 -0
- package/personas/forge.md +101 -0
- package/personas/orchestrator.md +176 -0
- package/personas/planner.md +114 -0
- package/personas/reader.md +56 -0
- package/personas/scout.md +60 -0
- package/personas/seer.md +69 -0
- package/personas/wright.md +58 -0
- package/plan-aware-persona.mjs +102 -0
- package/routing-sections.mjs +120 -0
- package/skills/orch-delegation-brief/SKILL.md +55 -0
- package/skills/orch-discussion-protocol/SKILL.md +61 -0
- package/skills/orch-evidence-protocol/SKILL.md +88 -0
- package/skills/orch-real-path-testing/SKILL.md +66 -0
- package/tools/audit-personas.mjs +215 -0
- package/tools/gen-cordis-patch.mjs +424 -0
- package/tools/preset-declaration.mjs +468 -0
- package/tools/verify-install.sh +643 -0
package/.gitattributes
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Keep line endings LF in the working tree on every platform.
|
|
2
|
+
#
|
|
3
|
+
# Without this, a Windows clone checks text files out as CRLF, which breaks the
|
|
4
|
+
# shebang on install.sh and changes the bytes of cordis.patch.yml relative to
|
|
5
|
+
# what tools/gen-cordis-patch.mjs generates.
|
|
6
|
+
* text=auto eol=lf
|
|
7
|
+
|
|
8
|
+
# The preset patch is generated and compared byte-for-byte against the
|
|
9
|
+
# generator's output; it must never be line-ending converted.
|
|
10
|
+
cordis.patch.yml text eol=lf
|
|
11
|
+
|
|
12
|
+
# The install script must keep a Unix shebang and LF endings to be executable.
|
|
13
|
+
install.sh text eol=lf
|
|
14
|
+
|
|
15
|
+
# Binary-ish assets, if any are ever added.
|
|
16
|
+
*.png binary
|
|
17
|
+
*.jpg binary
|
|
18
|
+
*.ico binary
|
|
19
|
+
*.exe binary
|
|
20
|
+
*.pdf binary
|
package/.gitignore
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
# .gitignore is a WHITELIST, not a blacklist.
|
|
2
|
+
#
|
|
3
|
+
# A denylist can only enumerate what somebody already thought of: every new file
|
|
4
|
+
# that appears in the tree is staged by default, so one slipped into a commit
|
|
5
|
+
# unnoticed. This inverts the default — ignore everything, then re-admit only
|
|
6
|
+
# what this repository is supposed to ship.
|
|
7
|
+
#
|
|
8
|
+
# Shape, in three layers:
|
|
9
|
+
# 1. /* ignore every root entry, so nothing new is admitted by default
|
|
10
|
+
# 2. !/<path> re-admit a shipped root file or directory
|
|
11
|
+
# 3. per-directory inside each admitted directory, ignore its contents and
|
|
12
|
+
# re-admit the exact file patterns
|
|
13
|
+
#
|
|
14
|
+
# Layer 3 is not optional. Re-admitting a directory with `!/personas/` is not
|
|
15
|
+
# enough: git then descends into it and finds no further rule, so ANY file
|
|
16
|
+
# dropped there is admitted. That was measured on this repository, not assumed.
|
|
17
|
+
#
|
|
18
|
+
# Ordering matters and gitignore has one sharp edge: an excluded *directory*
|
|
19
|
+
# cannot have its contents re-included. So a directory that must ship its
|
|
20
|
+
# contents is re-admitted with a trailing slash (`!/skills/*/`) BEFORE the rule
|
|
21
|
+
# that excludes what is inside it.
|
|
22
|
+
#
|
|
23
|
+
# What this makes machine-checkable, with no memory required: the third-party
|
|
24
|
+
# skills, the private data directories of a retired lineage, the profile wiring,
|
|
25
|
+
# and this repository's own runtime state are excluded by the default rather than
|
|
26
|
+
# by remembering to exclude them. Their names are not listed here on purpose —
|
|
27
|
+
# see tools/leak-needles.local.txt for why.
|
|
28
|
+
|
|
29
|
+
# --- 1. default: ignore everything at the repository root ------------------
|
|
30
|
+
/*
|
|
31
|
+
|
|
32
|
+
# --- 2. re-admit the published root files ----------------------------------
|
|
33
|
+
!/.gitattributes
|
|
34
|
+
!/.gitignore
|
|
35
|
+
!/LICENSE
|
|
36
|
+
!/README.md
|
|
37
|
+
!/README.zh.md
|
|
38
|
+
!/THIRD_PARTY_NOTICES.md
|
|
39
|
+
!/cordis.patch.yml
|
|
40
|
+
!/install.sh
|
|
41
|
+
!/package.json
|
|
42
|
+
|
|
43
|
+
# --- 2. re-admit the preset's own plugin modules (shipped at the root) ------
|
|
44
|
+
!/lane-composition.mjs
|
|
45
|
+
!/plan-aware-persona.mjs
|
|
46
|
+
!/routing-sections.mjs
|
|
47
|
+
|
|
48
|
+
# --- personas/ ---
|
|
49
|
+
!/personas/
|
|
50
|
+
!/personas/
|
|
51
|
+
/personas/*
|
|
52
|
+
!/personas/analyst.md
|
|
53
|
+
!/personas/archivist.md
|
|
54
|
+
!/personas/auditor.md
|
|
55
|
+
!/personas/forge.md
|
|
56
|
+
!/personas/orchestrator.md
|
|
57
|
+
!/personas/planner.md
|
|
58
|
+
!/personas/reader.md
|
|
59
|
+
!/personas/scout.md
|
|
60
|
+
!/personas/seer.md
|
|
61
|
+
!/personas/wright.md
|
|
62
|
+
|
|
63
|
+
# --- tools/ ---
|
|
64
|
+
!/tools/
|
|
65
|
+
!/tools/
|
|
66
|
+
/tools/*
|
|
67
|
+
!/tools/audit-personas.mjs
|
|
68
|
+
!/tools/verify-install.sh
|
|
69
|
+
!/tools/gen-cordis-patch.mjs
|
|
70
|
+
!/tools/preset-declaration.mjs
|
|
71
|
+
|
|
72
|
+
# --- skills/ ---
|
|
73
|
+
!/skills/
|
|
74
|
+
!/skills/
|
|
75
|
+
/skills/*
|
|
76
|
+
!/skills/orch-delegation-brief/
|
|
77
|
+
/skills/orch-delegation-brief/*
|
|
78
|
+
!/skills/orch-evidence-protocol/
|
|
79
|
+
/skills/orch-evidence-protocol/*
|
|
80
|
+
!/skills/orch-real-path-testing/
|
|
81
|
+
/skills/orch-real-path-testing/*
|
|
82
|
+
!/skills/orch-discussion-protocol/
|
|
83
|
+
/skills/orch-discussion-protocol/*
|
|
84
|
+
!/skills/orch-delegation-brief/SKILL.md
|
|
85
|
+
!/skills/orch-discussion-protocol/SKILL.md
|
|
86
|
+
!/skills/orch-evidence-protocol/SKILL.md
|
|
87
|
+
!/skills/orch-real-path-testing/SKILL.md
|
|
88
|
+
|
|
89
|
+
# --- plugins/ is NOT distributed ------------------------------------------
|
|
90
|
+
# This repository used to ship a companion plugin here. Everything it did now
|
|
91
|
+
# lives in extensions/dsh/aegis-prefix.js, as one plugin doing both jobs in a
|
|
92
|
+
# single registration pass — which is what removed the race between them. There
|
|
93
|
+
# is deliberately no `!` rule for plugins/; do not add one back, and do not
|
|
94
|
+
# reinstate the plugin, because shipping both would reproduce that race in every
|
|
95
|
+
# installing deployment.
|
|
96
|
+
|
|
97
|
+
# --- extensions/ — the bundle's own plugins --------------------------------
|
|
98
|
+
# Both files are mounted by patch rows the generator emits and are resolved
|
|
99
|
+
# through the package specifier, so each must also appear in package.json's
|
|
100
|
+
# exports map. Listed one by one rather than as extensions/dsh/*.js: a plugin
|
|
101
|
+
# added later should fail LOUDLY here rather than slip into the published tree,
|
|
102
|
+
# which is the same default-deny reasoning as the `/*` above.
|
|
103
|
+
!/extensions/
|
|
104
|
+
/extensions/*
|
|
105
|
+
!/extensions/dsh/
|
|
106
|
+
/extensions/dsh/*
|
|
107
|
+
!/extensions/dsh/index.js
|
|
108
|
+
!/extensions/dsh/aegis-prefix.js
|
|
109
|
+
|
|
110
|
+
# --- docs/ is NOT distributed --------------------------------------------
|
|
111
|
+
# The four design documents stay on disk for the author and are held out of the
|
|
112
|
+
# published tree by the `/*` default above — there is deliberately no `!` rule
|
|
113
|
+
# re-admitting them. Do not add one. They are large internal history, not part
|
|
114
|
+
# of the installable preset, and the README says so rather than linking to them.
|
|
115
|
+
|
|
116
|
+
# --- 4. what the default already excludes (documented, not enumerated) ------
|
|
117
|
+
# node_modules/ install output and pnpm links
|
|
118
|
+
# .dsh/ this repo's own evidence + state (runtime only)
|
|
119
|
+
# .install-tmp/ .clonetest/ install and clone-test scratch
|
|
120
|
+
# profiles/ presets/ the live host's wiring, applied to a DSH home
|
|
121
|
+
# example.zh/ the Chinese personas are NOT shipped; see README.zh.md
|
|
122
|
+
# any other skills/*/ third-party skills are not redistributable here.
|
|
123
|
+
# NOT enumerated on purpose: what is installed on a
|
|
124
|
+
# given machine is that person's environment, not this
|
|
125
|
+
# project's, and some of it carries no licence at all.
|
|
126
|
+
# Enforcement is `/*` above, which refuses everything
|
|
127
|
+
# not explicitly re-admitted.
|
|
128
|
+
# retired-lineage data dirs/ private, and not named for the same reason
|
|
129
|
+
# tools/leak-needles.local.txt this machine's own denylist; see that file's header
|
|
130
|
+
# *.bak *.bak-* stray backups
|
|
131
|
+
|
|
132
|
+
# --- 5. binary assets, if any are added later ------------------------------
|
|
133
|
+
*.png binary
|
|
134
|
+
*.jpg binary
|
|
135
|
+
*.jpeg binary
|
|
136
|
+
*.gif binary
|
|
137
|
+
*.ico binary
|
|
138
|
+
*.exe binary
|
|
139
|
+
*.pdf binary
|
|
140
|
+
*.zip binary
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 quill507
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|