its-magic 0.1.2-39 → 0.1.2-42
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 +4 -0
- package/installer.ps1 +1 -1
- package/installer.sh +649 -643
- package/package.json +5 -1
- package/scripts/guard_installer_publish.py +88 -0
- package/scripts/remote_config_summary.py +243 -0
- package/template/.cursor/commands/auto.md +132 -17
- package/template/.cursor/commands/execute.md +6 -0
- package/template/.cursor/commands/qa.md +5 -0
- package/template/.cursor/rules/coding-standards.mdc +7 -0
- package/template/.cursor/scratchpad.local.example.md +20 -1
- package/template/.cursor/scratchpad.md +35 -10
- package/template/.cursorignore +5 -0
- package/template/.env.example +28 -0
- package/template/README.md +4 -0
- package/template/docs/engineering/auto-orchestration-reference.md +315 -27
- package/template/docs/engineering/context/installer-owned-paths.manifest +78 -72
- package/template/docs/engineering/runbook.md +1772 -1525
- package/template/docs/engineering/runtime-connectivity.md +47 -0
- package/template/docs/engineering/us-0084-remote-e2e.md +44 -0
- package/template/scripts/guard_installer_publish.py +88 -0
- package/template/scripts/remote_config_summary.py +243 -0
package/README.md
CHANGED
|
@@ -44,6 +44,10 @@ Pick one method:
|
|
|
44
44
|
| Chocolatey | `choco install its-magic` (Admin shell) |
|
|
45
45
|
| Homebrew | `brew tap USER/tap && brew install its-magic` |
|
|
46
46
|
|
|
47
|
+
### Global Linux install: empty `install_include_paths` (CRLF manifest)
|
|
48
|
+
|
|
49
|
+
If **`its-magic --target <repo> --mode missing`** fails with **`[INSTALL_MANIFEST_ERROR] install_include_paths section is empty`** on Debian/Linux while the packaged manifest still lists paths, the global install likely has **CRLF** line endings in **`installer-owned-paths.manifest`** (visible as **`^M$`** with **`cat -A`**). **Fix in-tree** from **`0.1.2-41`**: **`installer.sh`** strips trailing carriage returns before section matching; **`.gitattributes`** keeps **`*.manifest`** LF; **`prepublishOnly`** runs **`guard_installer_publish`**. **Upgrade**: install a build **≥ `0.1.2-41`** (or reinstall from a fresh **`npm pack`** tarball after pull). Older tarballs such as **`its-magic@0.1.2-40`** may remain broken until republished — see **`docs/engineering/architecture.md`** **`# BUG-0008`**.
|
|
50
|
+
|
|
47
51
|
### 2) Apply to a repo
|
|
48
52
|
|
|
49
53
|
New repo:
|
package/installer.ps1
CHANGED
|
@@ -28,7 +28,7 @@ function Get-ManifestSection($ManifestPath, $SectionName) {
|
|
|
28
28
|
$inSection = $false
|
|
29
29
|
$items = New-Object System.Collections.Generic.List[string]
|
|
30
30
|
foreach ($raw in $lines) {
|
|
31
|
-
$line = $raw.Trim()
|
|
31
|
+
$line = $raw.TrimEnd("`r").Trim()
|
|
32
32
|
if ([string]::IsNullOrWhiteSpace($line)) { continue }
|
|
33
33
|
if ($line.StartsWith("#")) { continue }
|
|
34
34
|
if ($line.StartsWith("[") -and $line.EndsWith("]")) {
|