project-tiny-context-harness 0.2.54 → 0.2.55
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 +88 -65
- package/assets/README.md +81 -58
- package/assets/README.zh-CN.md +8 -6
- package/assets/agents/AGENTS_CORE.md +17 -16
- package/assets/context_templates/product-surface-contract.md +60 -0
- package/assets/github/harness.yml +4 -4
- package/assets/make/ty-context.mk +48 -0
- package/assets/skills/context_development_engineer/SKILL.md +7 -4
- package/assets/skills/context_full_project_export/SKILL.md +13 -13
- package/assets/skills/context_harness_upgrade/SKILL.md +9 -9
- package/assets/skills/context_product_plan/SKILL.md +7 -4
- package/assets/skills/context_surface_contract/SKILL.md +168 -0
- package/assets/skills/context_uiux_design/SKILL.md +7 -4
- package/assets/skills/plan_acceptance_checklist_compiler/SKILL.md +427 -0
- package/assets/tools/validate_context.py +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/check-modularity.js +1 -1
- package/dist/commands/export-context.js +4 -4
- package/dist/commands/index.js +1 -1
- package/dist/commands/init.js +1 -1
- package/dist/commands/package-source.js +1 -1
- package/dist/commands/upgrade.js +1 -1
- package/dist/lib/config.js +2 -2
- package/dist/lib/constants.d.ts +1 -1
- package/dist/lib/constants.js +1 -1
- package/dist/lib/context-export.js +5 -5
- package/dist/lib/harness-root.d.ts +5 -0
- package/dist/lib/harness-root.js +32 -4
- package/dist/lib/legacy-managed-scan.d.ts +2 -0
- package/dist/lib/legacy-managed-scan.js +79 -0
- package/dist/lib/legacy-sdlc-migration.d.ts +2 -0
- package/dist/lib/legacy-sdlc-migration.js +189 -0
- package/dist/lib/managed-file.d.ts +18 -12
- package/dist/lib/managed-file.js +25 -14
- package/dist/lib/migrations.js +4 -2
- package/dist/lib/package-json-config.js +3 -3
- package/dist/lib/paths.d.ts +2 -2
- package/dist/lib/paths.js +2 -2
- package/dist/lib/sync-engine.js +33 -31
- package/dist/lib/validators.js +2 -2
- package/package.json +5 -5
- package/source-mappings.yaml +13 -13
- package/assets/make/sdlc-harness.mk +0 -48
package/source-mappings.yaml
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
source_mappings:
|
|
2
|
-
- source: ".codex/
|
|
3
|
-
target: "packages/
|
|
2
|
+
- source: ".codex/ty-context-managed/agents/AGENTS_CORE.md"
|
|
3
|
+
target: "packages/ty-context/assets/agents/AGENTS_CORE.md"
|
|
4
4
|
mode: "copy-file"
|
|
5
5
|
- source: "README.md"
|
|
6
|
-
target: "packages/
|
|
6
|
+
target: "packages/ty-context/assets/README.md"
|
|
7
7
|
mode: "copy-file"
|
|
8
8
|
- source: "README.zh-CN.md"
|
|
9
|
-
target: "packages/
|
|
9
|
+
target: "packages/ty-context/assets/README.zh-CN.md"
|
|
10
10
|
mode: "copy-file"
|
|
11
|
-
- source: ".codex/
|
|
12
|
-
target: "packages/
|
|
11
|
+
- source: ".codex/ty-context-managed/context_templates"
|
|
12
|
+
target: "packages/ty-context/assets/context_templates"
|
|
13
13
|
mode: "copy-tree"
|
|
14
|
-
- source: ".codex/
|
|
15
|
-
target: "packages/
|
|
14
|
+
- source: ".codex/ty-context-managed/skills"
|
|
15
|
+
target: "packages/ty-context/assets/skills"
|
|
16
16
|
mode: "copy-tree"
|
|
17
|
-
- source: ".codex/
|
|
18
|
-
target: "packages/
|
|
17
|
+
- source: ".codex/ty-context-managed/make/ty-context.mk"
|
|
18
|
+
target: "packages/ty-context/assets/make/ty-context.mk"
|
|
19
19
|
mode: "copy-file"
|
|
20
|
-
- source: ".codex/
|
|
21
|
-
target: "packages/
|
|
20
|
+
- source: ".codex/ty-context-managed/minimal_tools"
|
|
21
|
+
target: "packages/ty-context/assets/tools"
|
|
22
22
|
mode: "copy-tree"
|
|
23
23
|
- source: ".github/workflows/harness.yml"
|
|
24
|
-
target: "packages/
|
|
24
|
+
target: "packages/ty-context/assets/github/harness.yml"
|
|
25
25
|
mode: "copy-file"
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
PYTHON ?= python3
|
|
2
|
-
SDLC_HARNESS ?= $(if $(wildcard packages/sdlc-harness/dist/cli.js),node packages/sdlc-harness/dist/cli.js,npx --yes --package project-tiny-context-harness@latest sdlc-harness)
|
|
3
|
-
SDLC_MODULARITY_SCOPE = $(if $(SDLC_MODULARITY_BASE),--base $(SDLC_MODULARITY_BASE),--touched)
|
|
4
|
-
|
|
5
|
-
.PHONY: help sdlc-doctor sdlc-sync sdlc-upgrade sdlc-check-modularity validate-context validate-code-modularity validate-harness lint test-current-domain test-all build
|
|
6
|
-
|
|
7
|
-
help:
|
|
8
|
-
@echo "Minimal Context Harness commands"
|
|
9
|
-
@echo " make sdlc-doctor Diagnose Harness root, core package and schema version"
|
|
10
|
-
@echo " make sdlc-sync Refresh managed assets; refuses when upgrade migrations are pending"
|
|
11
|
-
@echo " make sdlc-upgrade Run safe upgrade migrations, sync managed assets and doctor"
|
|
12
|
-
@echo " make sdlc-check-modularity Warn on oversized touched handwritten source files"
|
|
13
|
-
@echo " make validate-context Check whether project_context/** supports context recovery"
|
|
14
|
-
@echo " make validate-code-modularity Fail on oversized touched handwritten source files"
|
|
15
|
-
@echo " make validate-harness Run validate-context and validate-code-modularity"
|
|
16
|
-
@echo " make test-all Run the project regression suite after replacing this placeholder"
|
|
17
|
-
|
|
18
|
-
sdlc-doctor:
|
|
19
|
-
$(SDLC_HARNESS) doctor
|
|
20
|
-
|
|
21
|
-
sdlc-sync:
|
|
22
|
-
$(SDLC_HARNESS) sync
|
|
23
|
-
|
|
24
|
-
sdlc-upgrade:
|
|
25
|
-
$(SDLC_HARNESS) upgrade
|
|
26
|
-
|
|
27
|
-
sdlc-check-modularity:
|
|
28
|
-
$(SDLC_HARNESS) check-modularity $(SDLC_MODULARITY_SCOPE)
|
|
29
|
-
|
|
30
|
-
validate-context:
|
|
31
|
-
$(SDLC_HARNESS) validate-context
|
|
32
|
-
|
|
33
|
-
validate-code-modularity:
|
|
34
|
-
$(SDLC_HARNESS) check-modularity $(SDLC_MODULARITY_SCOPE) --fail-on-warning
|
|
35
|
-
|
|
36
|
-
validate-harness: validate-context validate-code-modularity
|
|
37
|
-
|
|
38
|
-
lint:
|
|
39
|
-
@echo "No project lint command configured yet. Replace this target with your stack-specific lint command."
|
|
40
|
-
|
|
41
|
-
test-current-domain:
|
|
42
|
-
@echo "No domain test command configured yet. Replace this target with focused tests for the current change."
|
|
43
|
-
|
|
44
|
-
test-all:
|
|
45
|
-
@echo "No full test command configured yet. Replace this target with the project regression suite."
|
|
46
|
-
|
|
47
|
-
build:
|
|
48
|
-
@echo "No build command configured yet. Replace this target with the project build/package command."
|