@elvis1513/auto-coding-skill 4.3.7 → 5.0.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.
Files changed (33) hide show
  1. package/README.md +26 -761
  2. package/cli/assets/managed-install.json +38 -1
  3. package/cli/assets/skill/SKILL.md +15 -100
  4. package/cli/assets/skill/data/templates/ENVIRONMENT.md +30 -0
  5. package/cli/assets/skill/data/templates/architecture/.gitkeep +1 -0
  6. package/cli/assets/skill/data/templates/bridges/AGENTS.md +39 -145
  7. package/cli/assets/skill/data/templates/deployment/.gitkeep +1 -0
  8. package/cli/assets/skill/data/templates/design/.gitkeep +1 -0
  9. package/cli/assets/skill/data/templates/interfaces/.gitkeep +1 -0
  10. package/cli/assets/skill/data/templates/product/.gitkeep +1 -0
  11. package/cli/src/index.js +127 -2589
  12. package/cli/src/sync-assets.js +38 -95
  13. package/package.json +9 -17
  14. package/cli/assets/agents/browser-debugger.toml +0 -27
  15. package/cli/assets/agents/docs-researcher.toml +0 -18
  16. package/cli/assets/agents/explorer.toml +0 -26
  17. package/cli/assets/agents/fixer.toml +0 -29
  18. package/cli/assets/agents/reviewer.toml +0 -50
  19. package/cli/assets/skill/data/contracts/orchestration-v1.schema.json +0 -567
  20. package/cli/assets/skill/data/policies/feedback-resolutions-v1.json +0 -68
  21. package/cli/assets/skill/data/policies/workflow-migrations-v1.json +0 -657
  22. package/cli/assets/skill/data/templates/ENGINEERING.md +0 -115
  23. package/cli/assets/skill/data/templates/tools/ap.py +0 -16
  24. package/cli/assets/skill/requirements.txt +0 -1
  25. package/cli/assets/skill/scripts/ap.py +0 -17791
  26. package/cli/assets/skill/scripts/core.py +0 -510
  27. package/cli/assets/skill/scripts/http_checks.py +0 -92
  28. package/cli/assets/skill/scripts/install_integrity.py +0 -427
  29. package/cli/assets/skill/scripts/scaffold_templates.py +0 -325
  30. package/cli/tests/ap_concurrency_test.py +0 -3602
  31. package/cli/tests/ap_profiles_test.py +0 -3272
  32. package/cli/tests/core_shell_test.py +0 -345
  33. package/cli/tests/index.test.js +0 -2967
@@ -1,115 +0,0 @@
1
- ---
2
- workflow:
3
- skill_version: "4.3.7"
4
- mode: "dev"
5
- profile: "auto"
6
- completion: "push"
7
- project:
8
- name: ""
9
- repo_root: "."
10
- stack: "generic"
11
- access:
12
- project:
13
- frontend:
14
- url: ""
15
- username: ""
16
- password: ""
17
- backend:
18
- url: ""
19
- username: ""
20
- password: ""
21
- jenkins:
22
- frontend:
23
- url: ""
24
- username: ""
25
- password: ""
26
- backend:
27
- url: ""
28
- username: ""
29
- password: ""
30
- gitlab:
31
- url: ""
32
- username: ""
33
- password: ""
34
- nexus:
35
- frontend:
36
- url: ""
37
- username: ""
38
- password: ""
39
- concurrency:
40
- isolation: "adaptive"
41
- base_ref: ""
42
- target_branch: ""
43
- branch_prefix: "codex/"
44
- worktree_root: "../.worktrees"
45
- cleanup_merged: true
46
- delete_remote_branch: true
47
- disposable_ignored: []
48
- commands:
49
- # Optional convenience command. Define the project-native fast commands used
50
- # by validation.routes; sync fills this only for package.json test:changed.
51
- project_fast: ""
52
- validation:
53
- on_unmapped: "error"
54
- # Recommended fast defaults. Raise only for a measured affected-scope check;
55
- # an individual route may set a smaller timeout_seconds.
56
- max_command_seconds: 120
57
- max_total_seconds: 180
58
- # Initialization must replace this with real path-to-command mappings. Empty
59
- # routes intentionally fail closed for code/config changes.
60
- routes: []
61
- risk:
62
- rules: []
63
- structure:
64
- enabled: true
65
- enforcement: "advisory"
66
- block_warnings: false
67
- architecture_standard: "project-defined"
68
- accepted_debt_paths: []
69
- layer_rules:
70
- enabled: true
71
- block: false
72
- rules: []
73
- optimization:
74
- completion_policy: "no-new-debt"
75
- require_baseline_for_global_review: false
76
- report_accepted_debt_as_findings: false
77
- docs:
78
- framework: "engineering-centered"
79
- design_dir: "docs/design"
80
- structure_standard: "docs/architecture/structure-standard.md"
81
- api_docs_required: false
82
- api_doc: "docs/interfaces/api.md"
83
- api_change_log: "docs/interfaces/api-change-log.md"
84
- ---
85
- # Engineering Configuration and Project Facts
86
- <!-- auto-coding-skill:managed-workflow:start version=4.3.7 -->
87
- Root `AGENTS.md` is the single shared behavioral protocol. The installed
88
- `SKILL.md` contains invocation guidance. This whole file is the managed default
89
- configuration contract. Project-owned values live only in
90
- `docs/project/auto-coding-skill.yaml`; the runtime overlays that file on these
91
- defaults without allowing it to weaken code-enforced safety invariants.
92
- The frontmatter contract is:
93
- - `workflow`: installed version and push-completion mode.
94
- - `access`: required project, Jenkins, GitLab, and Nexus access values.
95
- - `concurrency`: target branch and adaptive isolation settings.
96
- - `commands`: project-native executable commands.
97
- - `validation`: explicit path-to-command routes plus the bounded final-gate time
98
- budget. Code/config paths must be mapped; route-level `timeout_seconds` can
99
- bound a slower command; commands inherit PATH and declare intentional activation.
100
- - `risk`: default signals that project-specific rules may replace in the
101
- project overlay; code-enforced high-risk classifications remain mandatory.
102
- - `structure` and `optimization`: managed defaults that the project overlay may
103
- replace explicitly.
104
- - `docs`: locations inside the managed documentation directory framework.
105
- Run `python3 docs/tools/autopipeline/ap.py doctor` after changing frontmatter; it
106
- also performs the bounded local managed-install integrity check.
107
- Do not edit this file for project specialization. Run
108
- `python3 docs/tools/autopipeline/ap.py config-effective --json` to inspect the
109
- redacted effective configuration, and edit only the project overlay. Do not put
110
- competing delivery flows, agent roles, lifecycle rules, gate semantics, or
111
- completion rules outside this managed block.
112
- <!-- auto-coding-skill:managed-workflow:end -->
113
- # Project Facts Location
114
- Keep durable project facts in the installed `docs/project/` files. Initialization
115
- owns this document byte-for-byte and never rewrites an existing project overlay.
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env python3
2
- """Compatibility launcher for the project-local auto-coding runtime."""
3
-
4
- import os
5
- import sys
6
- from pathlib import Path
7
-
8
- repo = Path(__file__).resolve().parents[3]
9
- scripts = [
10
- repo / ".agents" / "skills" / "auto-coding-skill" / "scripts" / "ap.py",
11
- Path.home() / ".agents" / "skills" / "auto-coding-skill" / "scripts" / "ap.py",
12
- ]
13
- script = next((candidate for candidate in scripts if candidate.exists()), None)
14
- if script is None:
15
- raise SystemExit("auto-coding runtime not found; run `autocoding init` first")
16
- os.execv(sys.executable, [sys.executable, str(script), *sys.argv[1:]])
@@ -1 +0,0 @@
1
- PyYAML==6.0.3