diff --git a/.github/workflows/02.1.intelligent_link_cleaner.yml b/.github/workflows/02.1.intelligent_link_cleaner.yml index ad31620d..68fb1b09 100644 --- a/.github/workflows/02.1.intelligent_link_cleaner.yml +++ b/.github/workflows/02.1.intelligent_link_cleaner.yml @@ -13,6 +13,7 @@ on: permissions: contents: write pull-requests: write + issues: write concurrency: group: link-cleaner-${{ github.ref }} diff --git a/README.md b/README.md index 5c25eeea..e3fb11dd 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ Additionally, as of May 2026, Nubenetes has reached the **Platinum Operational T | :--- | :--- | | **Total Technical Resources (Links)** | **18659+** | | **Specialized MD Pages** | **162** | -| **Total Commits** | **6615+** | +| **Total Commits** | **6617+** | | **Primary AI Engine** | **Google Gemini (Agentic)** | @@ -180,7 +180,7 @@ The growth of Nubenetes reflects the acceleration of the Cloud Native ecosystem. | 6 | 2023 | 30 | 123 | Maintenance & Refinement | | 7 | 2024 | 53 | 218 | Curation Strategy Pivot | | 8 | 2025 | 5 | 20 | Stability & Research Phase | -| 9 | 2026 | 3056 | 12,621 | **Agentic AI Surge** (May 2026 Inception) | +| 9 | 2026 | 3058 | 12,629 | **Agentic AI Surge** (May 2026 Inception) | @@ -196,8 +196,8 @@ xychart-beta title "Nubenetes Annual Growth Metrics (2018–2026)" x-axis ["2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025", "2026"] y-axis "Volume (Commits / Estimated New Refs)" 0 --> 13000 - bar [1445, 586, 8449, 2193, 1660, 123, 218, 20, 12621] - bar [350, 142, 2046, 531, 402, 30, 53, 5, 3056] + bar [1445, 586, 8449, 2193, 1660, 123, 218, 20, 12629] + bar [350, 142, 2046, 531, 402, 30, 53, 5, 3058] ``` @@ -208,7 +208,7 @@ xychart-beta | 2026-04 | 25 | 103 | Active Curation | | 2026-05 | 2101 | 8,677 | **Agentic Inception (Gemini Era)** | | 2026-06 | 849 | 3,506 | Active Curation | -| 2026-07 | 81 | 334 | Active Curation | +| 2026-07 | 83 | 342 | Active Curation | ### 2.4. Content Distribution and Semantic Clustering diff --git a/src/gitops_manager.py b/src/gitops_manager.py index e75a368b..7fefe3b9 100644 --- a/src/gitops_manager.py +++ b/src/gitops_manager.py @@ -51,14 +51,22 @@ class RepositoryController: print(f"Error in historical chunk for {file_path}: {e}") def apply_multi_file_changes(self, updates: dict, metrics: dict, safety_report: str = "") -> str: - timestamp_slug = datetime.now().strftime("%Y%m%d-%H%M") - branch_name = f"bot/knowledge-update-{timestamp_slug}" + import os + run_id = os.environ.get("GITHUB_RUN_ID") + if run_id: + branch_name = f"bot/knowledge-update-run-{run_id}" + else: + timestamp_slug = datetime.now().strftime("%Y%m%d") + branch_name = f"bot/knowledge-update-{timestamp_slug}" try: self._create_feature_branch(branch_name) except Exception as e: print(f"[WARN] Branch creation failed, retrying with unique suffix: {str(e)[:100]}") - branch_name = f"bot/knowledge-update-{timestamp_slug}-{id(updates)}" + if run_id: + branch_name = f"bot/knowledge-update-run-{run_id}-{id(updates)}" + else: + branch_name = f"bot/knowledge-update-{timestamp_slug}-{id(updates)}" self._create_feature_branch(branch_name) if not updates: