framework-upstream-auto-update

Fetch upstream/main, classify commits, and apply safe bugfix/docs/chore changes with verification.

88|108|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/grandamenium/cortextos --skill framework-upstream-auto-update-grandamenium
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: framework-upstream-auto-update
Source: https://github.com/grandamenium/cortextos/tree/main/community/skills/framework-upstream-auto-update
Command: npx skills add https://github.com/grandamenium/cortextos --skill framework-upstream-auto-update-grandamenium

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents manual, risky framework-update churn by automatically checking upstream changes and applying only safe updates while routing feature-level work for human approval.

Core Features & Use Cases

  • Daily upstream update workflow: Runs on a daily cron and can also be triggered on-demand for immediate upstream checks.
  • Commit classification and guardrails: Categorizes new upstream commits (bugfix vs docs/chore vs feature/mixed) and enforces hard “never auto-apply” path rules (like env files and memory/agent config).
  • Safe auto-merge with verification: Applies only when explicitly authorized via CORTEXTOS_CONFIRM_UPSTREAM_MERGE=yes, then runs npm install, npm audit (moderate+), build, and tests before reporting results.
  • Escalation to Orchestrator: Sends summaries to the [ORCHESTRATOR] for any feature/mixed batch, any guardrail-touching commit, or any apply/build/test/audit failure.

Quick Start

Add the provided cron entry to your config.json, then ensure the Skill prompt points to .claude/skills/framework-upstream-auto-update/SKILL.md so the daily job can check and safely apply upstream changes.

Frequently Asked Questions about framework-upstream-auto-update

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate upstream framework updates safely without breaking changes?

Automating upstream framework updates safely fetches upstream/main, classifies commits, and applies only bugfix, docs, or chore changes. Feature-level changes and guardrail-touching paths route to the Orchestrator for human approval to prevent breaking changes.

What is the process for classifying git commits during an upstream sync?

Commit classification during upstream sync categorizes new commits into bugfix, docs/chore, or feature/mixed types. This ensures only safe updates auto-merge while feature work escalates for manual review.

How do I run npm audit and build verification before merging upstream changes?

Build verification runs npm install, npm audit at moderate+, npm run build, and npm test automatically before reporting results. This safety gate activates only when CORTEXTOS_CONFIRM_UPSTREAM_MERGE equals yes.

Can I schedule daily git upstream checks and still protect environment files?

Daily git upstream checks run via cron and enforce hard path guardrails to never auto-apply changes to environment or agent config files. Any guardrail-touching commit routes to the Orchestrator.

When should I route feature-level upstream commits to an orchestrator instead of auto-merging?

Feature-level upstream commits should route to an orchestrator instead of auto-merging when they introduce new functionality or mixed changes. This escalation also triggers for any build, test, or npm audit failure.

What happens if npm test or npm run build fails during an automated upstream update?

When npm test or npm run build fails during an automated upstream update, the Skill halts the auto-merge and sends a summary to the Orchestrator. This prevents broken upstream changes from entering your main branch.