Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .devcontainer/.devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "XCore Development",
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"charliermarsh.ruff",
"njpwerner.autodocstring",
"tamasfe.even-better-toml",
"redhat.vscode-yaml",
"ms-azuretools.vscode-docker",
"mutwo.python-isort",
"ms-python.black-formatter"
],
"settings": {
"python.defaultInterpreterPath": "${containerWorkspaceFolder}/.venv/bin/python",
"python.terminal.activateEnvInSelectedTerminal": true,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
},
"python.formatting.provider": "none",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
}
}
}
},
"features": {
"ghcr.io/devcontainers/features/postgres:1": {
"version": "15"
},
"ghcr.io/devcontainers/features/redis:1": {
"version": "latest"
}
},
"forwardPorts": [
8000
],
"postCreateCommand": "make install",
"remoteUser": "vscode"
}
22 changes: 22 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .devcontainer/Dockerfile
FROM mcr.microsoft.com/devcontainers/python:3.12

# Install system dependencies
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
build-essential \
curl \
git \
make \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Install Poetry
USER vscode
RUN curl -sSL https://install.python-poetry.org | python3 -
Comment thread
traoreera marked this conversation as resolved.

# Add Poetry to PATH
ENV PATH="/home/vscode/.local/bin:$PATH"

# Configure Poetry
RUN poetry config virtualenvs.in-project true
46 changes: 46 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "XCore Development",
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"charliermarsh.ruff",
"njpwerner.autodocstring",
"tamasfe.even-better-toml",
"redhat.vscode-yaml",
"ms-azuretools.vscode-docker",
"mutwo.python-isort",
"ms-python.black-formatter"
],
"settings": {
"python.defaultInterpreterPath": "${containerWorkspaceFolder}/.venv/bin/python",
"python.terminal.activateEnvInSelectedTerminal": true,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
},
"python.formatting.provider": "none",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
}
}
}
},
"features": {
"ghcr.io/devcontainers/features/postgres:1": {
"version": "15"
},
"ghcr.io/devcontainers/features/redis:1": {
"version": "latest"
}
},
"forwardPorts": [
8000
],
"postCreateCommand": "make install",
"remoteUser": "vscode"
}
2 changes: 1 addition & 1 deletion GEMINI.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# GEMINI.md - XCore Framework Context

## Project Overview
**XCore** is a high-performance, plugin-first orchestration framework built on top of **FastAPI**. It is designed to load, isolate, and manage modular extensions (plugins) in a secure, sandboxed environment.
**XCore v2.1.2** is a high-performance, plugin-first orchestration framework built on top of **FastAPI**. It is designed to load, isolate, and manage modular extensions (plugins) in a secure, sandboxed environment.

### Core Architecture
- **Xcore Kernel**: The central orchestrator managing the runtime, sandbox, and communication.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ⚡ XCore Framework

[![Version](https://img.shields.io/badge/version-2.1.1-blue.svg)](https://github.com/traoreera/xcore)
[![Version](https://img.shields.io/badge/version-2.1.2-blue.svg)](https://github.com/traoreera/xcore)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
[![FastAPI](https://img.shields.io/badge/FastAPI-0.118+-green.svg)](https://fastapi.tiangolo.com/)
Expand Down
30 changes: 20 additions & 10 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,30 @@

## Supported Versions

Use this section to tell people about which versions of your project are
currently being supported with security updates.
The following versions of XCore are currently supported with security updates:

| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |
| 2.1.x | :white_check_mark: |
| 2.0.x | :white_check_mark: |
| < 2.0 | :x: |

## Reporting a Vulnerability

Use this section to tell people how to report a vulnerability.
We take the security of XCore seriously. If you believe you have found a security vulnerability, please report it to us responsibly.

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
**Please do not report security vulnerabilities through public GitHub issues.**

### How to report
- Email your findings to: **68350805+traoreera@users.noreply.github.com**
- Provide a detailed description of the vulnerability.
- Include steps to reproduce the issue (PoC scripts are appreciated).
- Mention the version(s) of XCore affected.

### What to expect
- You will receive an acknowledgment of your report within 48 hours.
- We will provide regular updates on the progress of the fix.
- Once the vulnerability is confirmed and fixed, we will coordinate a public disclosure.
- We ask for your patience and cooperation to protect our users during this process.

Thank you for helping keep XCore secure!
2 changes: 1 addition & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ⚡ XCore Framework

[![Version](https://img.shields.io/badge/version-2.0.0-blue.svg)](https://github.com/traoreera/xcore)
[![Version](https://img.shields.io/badge/version-2.1.2-blue.svg)](https://github.com/traoreera/xcore)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
[![FastAPI](https://img.shields.io/badge/FastAPI-0.118+-green.svg)](https://fastapi.tiangolo.com/)
Expand Down
8 changes: 7 additions & 1 deletion doc/versions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Versions de XCore

## v2.0.0 (Version Actuelle)
## v2.1.2 (Version Actuelle)
- **Stabilité** : Correction de 13 échecs de tests critiques.
- **Sécurité** : Scanner AST amélioré pour détecter les contournements via alias d'imports.
- **Performance** : Intégration de `pytest-benchmark` pour le suivi des performances noyau.
Comment thread
traoreera marked this conversation as resolved.
- **Qualité** : Hooks `pre-commit` synchronisés avec `make lint-fix` et tests automatiques.

## v2.0.0
- **Architecture Plugin-First** : Nouveau noyau modulaire.
- **Sandboxing Avancé** : Isolation par sous-processus et FilesystemGuard.
- **Service Container** : Injection de dépendances pour DB, Cache et Scheduler.
Expand Down
Loading
Loading