Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
217d45f
Fix Termux configuration and dependencies
May 25, 2025
31016e3
Reestructuración completa para Termux
May 25, 2025
6b8b4ca
Solución definitiva para Termux: Corrección de estructura, imports y …
May 25, 2025
9d14491
Merge pull request #17 from MechBot-2x/fix/termux-config
mechmind-dwv May 25, 2025
db2d04b
Update setup.py
mechmind-dwv May 25, 2025
8169b12
Update requirements.fixed.txt
mechmind-dwv May 25, 2025
3f46448
Update error_diagnosis_engine.py
mechmind-dwv May 27, 2025
240b128
Rename src/mechanicalmind_ai/core/dependency_analyzer.p to 🗑️/1
mechmind-dwv May 27, 2025
18a18b1
Update and rename .github/workflows/python-package.yml to .github/wor…
mechmind-dwv May 27, 2025
fba40ee
Rename mechmind_cli.py to mechmind/cli.py
mechmind-dwv May 27, 2025
37b07ca
Update and rename mechmind/cli.py to mechmind_cli.py
mechmind-dwv May 27, 2025
ed0daea
Update README.md
mechmind-dwv May 27, 2025
ab4ce56
Actualizar STRUCTURE.md
mechmind-dwv May 28, 2025
d79fd83
Update and rename pyproject.toml to project-root/pyproject.toml
mechmind-dwv May 28, 2025
a9ae17f
Actualizar requirements.txt
mechmind-dwv May 28, 2025
1c31c1e
Actualizar requirements-test.txt
mechmind-dwv May 28, 2025
023d1de
Rename package.yml to CI.yml
mechmind-dwv Jun 2, 2025
0d37f1a
Update runner-cleanup.yml
mechmind-dwv Jun 3, 2025
9e60fc3
Update and rename yml to Ci.yml
mechmind-dwv Jun 5, 2025
0bc1573
Create dependency-scan.yml
mechmind-dwv Jun 5, 2025
2626619
Update .env
mechmind-dwv Jun 5, 2025
b4afb46
Update setup.py
mechmind-dwv Jun 5, 2025
d61479b
Update .env
mechmind-dwv Jun 5, 2025
b817021
Update dependency_ai.yml
mechmind-dwv Jun 5, 2025
743ad3c
Update dependency_ai.yml
mechmind-dwv Jun 5, 2025
b00b0c9
Merge pull request #19 from MechBot-2x/mechmind-dwv-patch-1
mechmind-dwv Jun 5, 2025
0df507b
Update setup_environment.sh
mechmind-dwv Jun 5, 2025
cabd72d
Update and rename .github/workflows/python/CI.yml to .github/workflow…
mechmind-dwv Jun 5, 2025
a114581
Update python_CI.yml
mechmind-dwv Jun 5, 2025
3a06b2b
Update python_CI.yml
mechmind-dwv Jun 5, 2025
cc74c67
Update python_CI.yml
mechmind-dwv Jun 5, 2025
cc018b6
Update README.md
mechmind-dwv Jun 5, 2025
763b852
Create Overview
mechmind-dwv Jun 5, 2025
255d1e4
Update django.yml
mechmind-dwv Jun 5, 2025
3023f7e
Update .env
mechmind-dwv Jun 6, 2025
c9bf712
Update deps.yml
mechmind-dwv Jun 6, 2025
a83a699
Update Ci.yml
mechmind-dwv Jun 7, 2025
ec6d355
Update and rename error_diagnosis_engine.py to ia_core/error_diagnosi…
mechmind-dwv Jun 7, 2025
c4d0cfa
Create __init__.py
mechmind-dwv Jun 7, 2025
19050a2
Update and rename manage.py to ai_core/manage.py
mechmind-dwv Jun 7, 2025
bb57281
Update and rename diagnose.py to ia_core/diagnose.py
mechmind-dwv Jun 7, 2025
3c644bc
Update and rename mechmind_cli.py to ia_core/mechmind_cli.py
mechmind-dwv Jun 7, 2025
d607a44
Update and rename ai_core/manage.py to manage.py
mechmind-dwv Jun 7, 2025
8e67bdd
Update and rename diagnose.py to diagnose.p
mechmind-dwv Jun 7, 2025
b54787e
Update and rename error_diagnosis_engine.py to error_diagnosis_engine.py
mechmind-dwv Jun 7, 2025
eafcac0
Update and rename mechmind_cli.py to mechmind_cli.py
mechmind-dwv Jun 7, 2025
7b9b8ed
Update and rename diagnose.p to diagnose.py
mechmind-dwv Jun 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
39 changes: 21 additions & 18 deletions .env
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
env:
GIT_COMMITTER_NAME: "MechBot-9000"
GIT_COMMITTER_EMAIL: "mechbot@mechmind.io"
GITHUB_TOKEN: ${{ secrets.GH_ARTIFACT_ACCESS_TOKEN }}
token: ${{ secrets.MECHBOT_ACCESS_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SECURITY_ALERT_WEBHOOK }}
github-token: ${{ secrets.MECHBOT_ACCESS_TOKEN }}
GIT_COMMITTER_NAME: "MechBot-9000"
GIT_COMMITTER_EMAIL: "mechbot@mechmind.io"
SLACK_WEBHOOK_URL: ${{ secrets.SECURITY_ALERT_WEBHOOK }}
NODE_ENV: "production"
DEFCON: 1 # Maximum alert status
SCAN_MODE: "aggressive"
DEFCON: 1 # Maximum alert status
SCAN_MODE: "aggressive"
security-events: write # Threat intelligence reporting
NODE_ENV: "production"
AI_MODE: "predator"
# Configuración GitHub
GITHUB_TOKEN=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
GIT_COMMITTER_NAME="MechBot-9000"
GIT_COMMITTER_EMAIL="mechbot@mechmind.io"

# Configuración de seguridad
DEFCON=1
SCAN_MODE="aggressive"
AI_MODE="predator"

# Otras variables
NODE_ENV="production"
GITHUB_TOKEN: ${{ secrets.GH_ARTIFACT_ACCESS_TOKEN }}
GIT_COMMITTER_NAME: "MechBot-9000"
GIT_COMMITTER_EMAIL: "mechbot@mechmind.io"
DEFCON: 1 # Maximum alert status
SCAN_MODE: "aggressive"
security-events: write # Threat intelligence reporting
NODE_ENV: "production"
AI_MODE: "predator"
ACTIONS_STEP_DEBUG a true
2 changes: 1 addition & 1 deletion .github/workflows/yml → .github/workflows/Ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Ejecución en runners Ubuntu
on: [push]
on: push

jobs:
check-version:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/dependency-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Step: Run dependency scan using MechMind AI Dependency Action
# - Performs a strict dependency analysis
# - Automatically fixes common issues
- name: Dependency Scan
id: dependency-scan
uses: mechmind/ai-dependency-action@v3.0.1
with:
strict-mode: true
auto-fix: true
# Optional: Report issues if any were found
- name: Report Issues
if: steps.dependency-scan.outputs.issues_found == 'true'
run: echo "Dependency issues found! Review the scan results."
4 changes: 2 additions & 2 deletions .github/workflows/dependency_ai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
push:
branches: [ "main" ] # Primary defense perimeter
tags: [ "v*" ] # Release version monitoring
pull_request:
pull_request: write
branches: [ "main" ] # Pre-merge security checkpoint
schedule:
- cron: "0 3 * * 1" # Weekly deep scan (Monday 3AM UTC)
Expand All @@ -32,7 +32,7 @@ jobs:
dependency-scan:
name: "TACTICAL_SCAN_OPERATION"
runs-on: [self-hosted, linux, x64] # MechMind Battle Station
contents: write # Code modification clearance
contents:

# ⚙️ OPERATIONAL PARAMETERS
timeout-minutes: 30 # Mission duration limit
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Enhanced Dependency Scan with Security Checks
on:
push:
branches: [ main ]
pull_request:
pull_requests: wite
branches: [ main ]

permissions:
Expand Down Expand Up @@ -52,8 +52,8 @@ jobs:
- name: Commit Auto-Fixes
if: steps.dependency-scan.outputs.fixes_made == 'true'
run: |
git config --global user.name 'GitHub Action'
git config --global user.email 'action@github.com'
git config --global user.name 'mechmind-dwv'
git config --global user.email 'mechmind-dwv@github.com'
git add .
git commit -m "Automated dependency fixes from scan"
git push
Expand Down
33 changes: 18 additions & 15 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
name: Django CI

on: [push, pull_request]
Add commentMore actions
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
test:
build:

runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: '3.10'
cache: 'pip'

- name: Install dependencies
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Debug - List Files
run: ls -la

- name: Run tests
- name: Run Tests
run: |
python manage.py test
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versionsAdd commentMore actions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python package
name: Python CI

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]

fail-fast: true

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -33,20 +37,27 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
pip install -r requirements.txt
pip install -r requirements-dev.txt

- name: Run linting
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
black --check --diff .

- name: Run tests
run: |
pytest
pytest --cov=./ --cov-report=xml

- name: Upload coverage
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: false
fail_ci_if_error: true
4 changes: 2 additions & 2 deletions .github/workflows/runner-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- name: Limpiar runners offline
uses: actions/cleanup-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
remove-token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.RUNNER_CLEANUP_TOKEN }} # Token personalizado
remove-token: ${{ secrets.RUNNER_CLEANUP_TOKEN }} # Token personalizado
exclude-running: true
min-age-days: 1
dry-run: false
Expand Down
Loading
Loading