Skip to content

[spark-compete] fix: advance spark-cli pin from 7ab32b23 (May 24) to 09c1688d (May 28 master HEAD) - #60

Closed
TALLSOME24 wants to merge 2 commits into
vibeforge1111:mainfrom
TALLSOME24:fix/update-spark-cli-ref-to-current-master
Closed

TALLSOME24 wants to merge 2 commits into
vibeforge1111:mainfrom
TALLSOME24:fix/update-spark-cli-ref-to-current-master

Conversation

@TALLSOME24

@TALLSOME24 TALLSOME24 commented May 28, 2026

Copy link
Copy Markdown

Summary

install.sh (SPARK_DEFAULT_CLI_REF) and install.ps1 ($Ref) both pin spark-cli to commit 7ab32b23 (May 24 2026). The spark-cli master HEAD is 09c1688d (May 28 2026), 48 commits ahead. Security-relevant commits missing from the pinned build include 79ff0f74 ("install: guard missing option values") and ac6abe91 ("security: harden approval classifier gaps"). Every first-run install from the site receives the older build with no staleness warning.

This PR advances the pin to current master HEAD and atomically updates all consistency files: checksums, manifest, commands.json, the security surface check script, and 7 doc files.

Validator note: pass_with_warnings — 0 errors, 1 security_owner_review_expected warning (installer files changed; security-owner lab review required before merge/points).

Files changed (14)

File Change
install.sh SPARK_DEFAULT_CLI_REF and SPARK_CLI_RELEASE_NAME updated
install.ps1 $Ref updated
install/checksums.txt SHA256 recomputed for both modified installer files
install/checksums.json SHA256 + date updated
install/commands.json SHA256, ref, release name, date updated
install/release-manifest.json commit, release name, date updated
scripts/check-security-release-surface.mjs constants updated; old ref + release name added to staleTokens
7 doc files old hash and release name replaced

Compete Packet

{
    "schema":  "spark-compete-hotfix-v1",
    "event":  "spark-compete-first-event",
    "submission_mode":  "public_repo_pr",
    "submission_target_url":  "https://github.com/vibeforge1111/Spark-Agent-Site/pull/60",
    "team":  {
                 "name":  "The Spark Plug",
                 "members":  [
                                 "TALLSOME24",
                                 "Mrsankalove",
                                 "Klausabdul"
                             ],
                 "llm_device_holder":  "TALLSOME24",
                 "device_holder_github":  "TALLSOME24",
                 "github_accounts":  [
                                         "TALLSOME24",
                                         "Mrsankalove",
                                         "Klausabdul"
                                     ]
             },
    "target_repo":  {
                        "id":  "vibeforge1111/Spark-Agent-Site",
                        "source":  "https://github.com/vibeforge1111/Spark-Agent-Site",
                        "owner_surface":  "agent-site"
                    },
    "issue":  {
                  "type":  "bug",
                  "severity":  "high",
                  "title":  "Both installers pin spark-cli to commit 7ab32b23 (May 24 2026), 48 commits behind master HEAD, missing security hardening from May 27-28",
                  "actual_behavior":  "install.sh SPARK_DEFAULT_CLI_REF and install.ps1 $Ref both point to 7ab32b23003726dcea8a414c8e9395bf13f45e12 (May 24 2026). spark-cli master HEAD is 09c1688d (May 28 2026), 48 commits ahead. Security-relevant commits missing from the pin include 79ff0f74 (\u0027install: guard missing option values\u0027) and ac6abe91 (\u0027security: harden approval classifier gaps\u0027). Every first-run install from the site receives the older build with no staleness warning.",
                  "expected_behavior":  "The pinned commit ref should track the current validated HEAD of spark-cli master so first-run installs receive the most recent security and correctness fixes. When advanced, all consistency files (checksums, manifest, commands.json, security check constants, docs) must be updated atomically.",
                  "repro_steps":  [
                                      "Read install.sh line 7: SPARK_DEFAULT_CLI_REF=\u00277ab32b23003726dcea8a414c8e9395bf13f45e12\u0027",
                                      "Check vibeforge1111/spark-cli master HEAD: 09c1688d98b4466b2dd338deb4cfedcb832e2da6",
                                      "Run git log --oneline 7ab32b23..master on spark-cli to count 48 commits ahead",
                                      "Inspect commits 79ff0f74 and ac6abe91 on spark-cli master for security impact"
                                  ],
                  "affected_workflow":  "First-run install: any user running the hosted install.sh or install.ps1 from agent.sparkswarm.ai gets an outdated spark-cli build missing post-May-24 security fixes"
              },
    "evidence":  {
                     "safe_links_only":  true,
                     "before_after_proof":  "Before: SPARK_DEFAULT_CLI_REF=\u00277ab32b23003726dcea8a414c8e9395bf13f45e12\u0027 (install.sh line 7) and $Ref=\u00277ab32b23...\u0027 (install.ps1 line 4) from May 24 2026. After: both reference 09c1688d98b4466b2dd338deb4cfedcb832e2da6 (May 28 2026 master HEAD). Checksums in checksums.txt, checksums.json, and commands.json recomputed for the modified installer files. release-manifest.json, commands.json source block, and check-security-release-surface.mjs constants all updated. Old ref and release name added to staleTokens. 14 files changed, 0 stale refs remaining. No raw logs, tokens, or private content included.",
                     "links":  [
                                   "https://github.com/vibeforge1111/Spark-Agent-Site/pull/60",
                                   "https://github.com/vibeforge1111/spark-cli/commit/09c1688d98b4466b2dd338deb4cfedcb832e2da6"
                               ],
                     "forbidden":  [
                                       "pdf",
                                       "zip",
                                       "exe",
                                       "shortened links",
                                       "archives",
                                       "tokens",
                                       "browser cookies",
                                       "wallet material",
                                       "raw logs",
                                       "raw conversations",
                                       "private repo maps",
                                       "private paths",
                                       "chat IDs",
                                       "private usernames"
                                   ]
                 },
    "proposed_fix":  {
                         "approach":  "Update SPARK_DEFAULT_CLI_REF in install.sh and $Ref in install.ps1 to current spark-cli master HEAD (09c1688d). Recompute SHA256 checksums of both modified installer files and update checksums.txt, checksums.json, and the checksums block in commands.json. Update release-manifest.json (commit, releaseName, date), commands.json source block (ref, releaseName, date), and check-security-release-surface.mjs (constants + staleTokens). Update 7 doc files that reference the old hash and release name for the spark verify workflow. Trust boundary: this installer update advances the spark-cli commit pin to a newer validated SHA; it cannot widen authority because no runtime permissions or execution paths are modified.",
                         "files_expected":  [
                                                "install.sh",
                                                "install.ps1",
                                                "install/checksums.txt",
                                                "install/checksums.json",
                                                "install/commands.json",
                                                "install/release-manifest.json",
                                                "scripts/check-security-release-surface.mjs",
                                                "docs/AGENTS.md",
                                                "docs/install-safety.md",
                                                "docs/llms-full.txt",
                                                "docs/updates.md",
                                                "docs/pages/index.md",
                                                "docs/updates/index.html",
                                                "llms-full.txt"
                                            ],
                         "tests_or_smoke":  "Run scripts/check-security-release-surface.mjs after the change: it validates that all file references are consistent, checksums match the installer files, stale tokens are absent, and the manifest and commands.json agree on the ref and release name. A clean run (\u0027security release surface ok\u0027) confirms the update is internally consistent."
                     },
    "pr":  {
               "branch":  "fix/update-spark-cli-ref-to-current-master",
               "title_prefix":  "[spark-compete]",
               "author_github":  "TALLSOME24",
               "url":  "https://github.com/vibeforge1111/Spark-Agent-Site/pull/60",
               "body_must_include":  [
                                         "packet",
                                         "team",
                                         "pr_author",
                                         "repo",
                                         "actual_behavior",
                                         "expected_behavior",
                                         "repro_steps",
                                         "before_after_proof",
                                         "tests_or_smoke",
                                         "duplicate_notes",
                                         "risk_notes",
                                         "review_claim"
                                     ]
           },
    "review_claim":  {
                         "impact_claim":  "high",
                         "evidence_types":  [
                                                "smoke_test"
                                            ],
                         "duplicate_notes":  "No existing PRs or issues found in vibeforge1111/Spark-Agent-Site addressing the stale spark-cli commit ref. The stale tokens list in check-security-release-surface.mjs confirms 7ab32b23 had not been retired before this PR.",
                         "risk_notes":  "Low risk. The fix advances an immutable commit pin from one validated SHA to a newer validated SHA on the same upstream branch. The install process is otherwise unchanged. SHA256 checksums of the modified installer files were recomputed and embedded; if incorrect the security check script will catch it. The only behavioral change for users is receiving the current master build instead of the May 24 build.",
                         "review_state_requested":  "pr_review"
                     }
}

… master HEAD)

Commit 7ab32b23 (r15, May 24 2026) was 48 commits behind master. Security
commits 79ff0f74 ('install: guard missing option values') and ac6abe91
('security: harden approval classifier gaps') merged May 27-28 were
missing from every first-run install with no staleness indicator.

Updates the pinned ref, release name, and date in both installers;
recomputes SHA256 checksums for the modified installer files across
checksums.txt, checksums.json, and commands.json; updates the security
surface check constants and adds the retired ref + release name to
staleTokens; updates 7 doc files to match.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@TALLSOME24
TALLSOME24 requested a review from vibeforge1111 as a code owner May 28, 2026 17:10
@TALLSOME24

Copy link
Copy Markdown
Author

Bug Hunter Proof

Fix: advance spark-cli pin from 7ab32b23 (May 24 2026, r15) to 09c1688d (May 28 2026, r16)

Root cause: SPARK_DEFAULT_CLI_REF in install.sh and $Ref in install.ps1 were pinned to commit 7ab32b23003726dcea8a414c8e9395bf13f45e12 (May 24 2026). The spark-cli master HEAD at time of fix is 09c1688d (May 28 2026), 48 commits ahead, including:

  • 79ff0f74 — "install: guard missing option values"
  • ac6abe91 — "security: harden approval classifier gaps"

Every first-run install from the site was silently delivering the older build.

Cascade: changing the installer file content changes their SHA256s. All consistency files updated atomically — checksums, manifest, commands.json, security check script constants and staleTokens, and 7 doc files. 14 files changed, 0 stale refs remaining.

Packet validation: pass_with_warnings — 0 errors, 1 security_owner_review_expected (installer files changed; security-owner lab review required before merge/points).

Proof file: .bug-hunter/proof.md in this branch.

No secrets, raw logs, private data, or private paths included.

@TALLSOME24

Copy link
Copy Markdown
Author

This fix was valid at submission time. r21 has since landed and uses a named release tag format instead of a bare commit SHA. The original gap this PR addressed (stale spark-cli pin missing security commits) has been resolved in r21. Keeping open for credit tracking per Spark Compete rules.

@vibeforge1111 vibeforge1111 added the needs-focused-rebase Spark Compete: focused branch or rebase required label May 29, 2026
@vibeforge1111

Copy link
Copy Markdown
Owner

Spark Compete review update: this PR needs a focused rebase before Mac Lab or points.

Why: conflicting branch with installer metadata, checksums, hosted docs, and release-surface changes. A conflicting or broad release-surface branch is not safe to lab-test or score as-is.

Copy this into your agent/LLM if you want to repair it:

Please rebase onto the current base branch and split this into one focused PR for one root issue. Keep only the exact files required, regenerate any checksums/manifests from the current base if installer metadata is involved, and update the spark-compete-hotfix-v1 packet with safe before/after proof, tests or smoke output, duplicate notes, and risk notes. Do not include secrets, raw logs, raw patches, binaries, archives, shortened links, or hidden scoring/private repo details.

Points remain locked until packet, security, jury, duplicate, account, lab, merge/status, and scoring gates clear.

@vibeforge1111 vibeforge1111 added the gate-review-pending Awaiting Spark gate review before lab or points label May 29, 2026
@vibeforge1111

Copy link
Copy Markdown
Owner

Spark Compete security-owner hold: this PR is not queued to Mac Lab yet.

Why it is held: the packet validates with a security-owner review warning, and the PR touches a surface that can affect trust, state, execution, data handling, install/runtime behavior, or user safety. These changes need security review before lab/points.

Agent prompt to repair or clarify:
"Keep the branch focused. Add public-safe proof for the exact failure, explain the trust boundary touched by this change, list targeted tests or smoke checks, and add risk notes covering secrets, auth/session state, dependency/runtime behavior, file/network access, prompt/tool execution, and rollback. Do not include secrets, private logs, raw conversations, internal maps, or prompt-injection text."

Public points stay locked until packet, security, jury, duplicate, account/team, lab, merge/status, and scoring gates clear.

@TALLSOME24

Copy link
Copy Markdown
Author

Superseded by #72 — clean replacement branch from current main (471f9f4). The spark-cli pin update from this PR was already applied by r22 (PR #71). PR #72 adds the focused dry-run pytest test suite (tests/test_install_dryrun.py, 7/7 pass) that prevents future stale-pin regressions, without modifying any installer files. Packet: 0 errors, 1 structural security_owner_review_expected warning (same as this PR), packet_valid: true.

@TALLSOME24 TALLSOME24 closed this May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gate-review-pending Awaiting Spark gate review before lab or points needs-focused-rebase Spark Compete: focused branch or rebase required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants