Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
f48fe98
feat: add Ai-hack-simulation ECC bundle (.claude/ecc-tools.json)
ecc-tools[bot] Jul 23, 2026
ca8a6e3
feat: add Ai-hack-simulation ECC bundle (.claude/skills/Ai-hack-simul…
ecc-tools[bot] Jul 23, 2026
6ff657e
feat: add ai-hack-simulation-conventions ECC bundle (.claude/ecc-tool…
ecc-tools[bot] Jul 23, 2026
95c7198
feat: add Ai-hack-simulation ECC bundle (.agents/skills/Ai-hack-simul…
ecc-tools[bot] Jul 23, 2026
c6bcefa
feat: add ai-hack-simulation-conventions ECC bundle (.claude/skills/A…
ecc-tools[bot] Jul 23, 2026
0dd0d82
feat: add Ai-hack-simulation ECC bundle (.agents/skills/Ai-hack-simul…
ecc-tools[bot] Jul 23, 2026
101e3aa
feat: add ai-hack-simulation-conventions ECC bundle (.agents/skills/A…
ecc-tools[bot] Jul 23, 2026
00aee73
feat: add Ai-hack-simulation ECC bundle (.claude/identity.json)
ecc-tools[bot] Jul 23, 2026
eb469f3
feat: add ai-hack-simulation-conventions ECC bundle (.agents/skills/A…
ecc-tools[bot] Jul 23, 2026
f9cc02b
feat: add Ai-hack-simulation ECC bundle (.codex/config.toml)
ecc-tools[bot] Jul 23, 2026
4341b21
feat: add ai-hack-simulation-conventions ECC bundle (.claude/identity…
ecc-tools[bot] Jul 23, 2026
90bb114
feat: add Ai-hack-simulation ECC bundle (.codex/AGENTS.md)
ecc-tools[bot] Jul 23, 2026
c9edcf3
feat: add ai-hack-simulation-conventions ECC bundle (.codex/config.toml)
ecc-tools[bot] Jul 23, 2026
78a0c96
feat: add Ai-hack-simulation ECC bundle (.codex/agents/explorer.toml)
ecc-tools[bot] Jul 23, 2026
dbf078e
feat: add ai-hack-simulation-conventions ECC bundle (.codex/AGENTS.md)
ecc-tools[bot] Jul 23, 2026
5be5897
feat: add Ai-hack-simulation ECC bundle (.codex/agents/reviewer.toml)
ecc-tools[bot] Jul 23, 2026
635f9ef
feat: add ai-hack-simulation-conventions ECC bundle (.codex/agents/ex…
ecc-tools[bot] Jul 23, 2026
3dcce12
feat: add ai-hack-simulation-conventions ECC bundle (.codex/agents/re…
ecc-tools[bot] Jul 23, 2026
061d793
feat: add Ai-hack-simulation ECC bundle (.codex/agents/docs-researche…
ecc-tools[bot] Jul 23, 2026
d987974
feat: add ai-hack-simulation-conventions ECC bundle (.codex/agents/do…
ecc-tools[bot] Jul 23, 2026
b4d90d4
feat: add Ai-hack-simulation ECC bundle (.claude/homunculus/instincts…
ecc-tools[bot] Jul 23, 2026
0d1c8d7
feat: add ai-hack-simulation-conventions ECC bundle (.claude/homuncul…
ecc-tools[bot] Jul 23, 2026
c3287ff
feat: add Ai-hack-simulation ECC bundle (.claude/commands/update-fund…
ecc-tools[bot] Jul 23, 2026
904087f
feat: add ai-hack-simulation-conventions ECC bundle (.claude/commands…
ecc-tools[bot] Jul 23, 2026
78bd4f5
feat: add ai-hack-simulation-conventions ECC bundle (.claude/commands…
ecc-tools[bot] Jul 23, 2026
131f666
feat: add Ai-hack-simulation ECC bundle (.claude/commands/dockerfile-…
ecc-tools[bot] Jul 23, 2026
ec3bb57
feat: add ai-hack-simulation-conventions ECC bundle (.claude/commands…
ecc-tools[bot] Jul 23, 2026
015aa61
feat: add Ai-hack-simulation ECC bundle (.claude/commands/suppress-cv…
ecc-tools[bot] Jul 23, 2026
b1b0916
Merge pull request #6 from devops2626/alert-autofix-1
devops2626 Jul 23, 2026
c589094
Merge pull request #7 from devops2626/ecc-tools/Ai-hack-simulation-17…
devops2626 Jul 23, 2026
e332cc2
Merge pull request #9 from devops2626/alert-fix-146
devops2626 Jul 23, 2026
144721f
Merge pull request #10 from devops2626/alert-autofix-2
devops2626 Jul 23, 2026
6a2e566
Merge bot's conventions
devops2626 Jul 23, 2026
8ca357a
Merge remote changes
devops2626 Jul 23, 2026
56a0f55
Merge remote
devops2626 Jul 23, 2026
23e6375
Resolve conflicts by accepting bot's configuration files
devops2626 Jul 23, 2026
7671430
Merge pull request #8 from devops2626/ecc-tools/ai-hack-simulation-co…
devops2626 Jul 23, 2026
f5f839f
Merge pull request #11 from devops2626/main
devops2626 Jul 23, 2026
df2e59f
Merge pull request #12 from devops2626/ecc-tools/ai-hack-simulation-c…
devops2626 Jul 23, 2026
ef0c0de
Merge pull request #13 from devops2626/ecc-tools/ai-hack-simulation-c…
devops2626 Jul 23, 2026
a1df833
Merge pull request #14 from devops2626/ecc-tools/Ai-hack-simulation-1…
devops2626 Jul 23, 2026
957c40f
Bump flask from 3.0.0 to 3.1.3 in the pip group across 1 directory
dependabot[bot] Jul 24, 2026
52013e4
Merge pull request #15 from devops2626/dependabot/pip/pip-81068183c6
devops2626 Jul 25, 2026
f8b6009
feat: implement plugin-style benchmark architecture
devops2626 Jul 25, 2026
7c78286
feat: implement plugin-style benchmark architecture
devops2626 Jul 25, 2026
330a7fc
Bump flask from 3.0.0 to 3.1.3 in the pip group across 1 directory
dependabot[bot] Jul 25, 2026
10b529c
Merge pull request #16 from devops2626/dependabot/pip/pip-81068183c6
devops2626 Jul 25, 2026
456b25f
Merge pull request #17 from devops2626/ecc-tools/ai-hack-simulation-c…
devops2626 Jul 25, 2026
91ad2e9
Merge pull request #18 from devops2626/ecc-tools/Ai-hack-simulation-1…
devops2626 Jul 25, 2026
5676383
Merge pull request #19 from devops2626/ecc-tools/ai-hack-simulation-c…
devops2626 Jul 25, 2026
74e4168
Merge pull request #21 from devops2626/main
devops2626 Jul 25, 2026
17e37e4
Merge pull request #22 from devops2626/alert-fix-146
devops2626 Jul 25, 2026
0950d3e
Resolve merge conflicts
devops2626 Jul 25, 2026
27f03f8
Add Docker fallback for local mode
devops2626 Jul 25, 2026
deafba8
Dynamic mock output from scenario YAML
devops2626 Jul 25, 2026
57ba7a2
Support command-line scenario argument and fix indentation
devops2626 Jul 25, 2026
735be2e
Add Perl runtime benchmark framework and persistence scenario
devops2626 Jul 25, 2026
56aa1c3
Merge branch 'ecc-tools/ai-hack-simulation-conventions-1784778762113'
devops2626 Jul 25, 2026
8c8c2fb
Split main.py into engine, cli, and entry point
devops2626 Jul 25, 2026
33555fd
Complete implementation: real benchmark, logging, Markdown reports, G…
devops2626 Jul 25, 2026
2ed7d5c
Fix syntax error in cli.py (unclosed string)
devops2626 Jul 25, 2026
e32414b
Potential fix for pull request finding 'CodeQL / Workflow does not co…
devops2626 Jul 25, 2026
1379d1b
Merge pull request #23 from devops2626/main
devops2626 Jul 25, 2026
8e13859
Merge pull request #24 from devops2626/ecc-tools/ai-hack-simulation-c…
devops2626 Jul 25, 2026
66a758b
Add performance metrics: duration, exit code, output length; show min…
devops2626 Jul 25, 2026
cf8996d
Merge branch 'main' of https://github.com/devops2626/Ai-hack-simulation
devops2626 Jul 25, 2026
63cd7ad
Fix report to handle missing duration_seconds in old logs
devops2626 Jul 25, 2026
eeb71e6
Fix syntax error in scenario_files glob
devops2626 Jul 25, 2026
96921a8
Fix indentation in main() function
devops2626 Jul 25, 2026
dc8f640
Merge pull request #25 from devops2626/main
devops2626 Jul 25, 2026
5d230d5
Merge pull request #31 from devops2626/ecc-tools/ai-hack-simulation-c…
devops2626 Jul 27, 2026
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
118 changes: 118 additions & 0 deletions .agents/skills/Ai-hack-simulation/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
```markdown
# Ai-hack-simulation Development Patterns

> Auto-generated skill from repository analysis

## Overview
This skill introduces the core development patterns, coding conventions, and operational workflows used in the `Ai-hack-simulation` Python repository. It covers file organization, code style, commit practices, and step-by-step instructions for key maintenance workflows such as funding updates and Dockerfile security hardening. This guide is designed to help contributors quickly align with the project's standards and automation.

## Coding Conventions

### File Naming
- **Convention:** camelCase
- **Example:**
```plaintext
aiAgent.py
dataProcessor.py
```

### Import Style
- **Convention:** Relative imports are preferred.
- **Example:**
```python
from .utils import helperFunction
from .models import SimulationModel
```

### Export Style
- **Convention:** Named exports (explicitly listing exported classes/functions).
- **Example:**
```python
__all__ = ['SimulationModel', 'runSimulation']
```

### Commit Patterns
- **Types:** Mixed (features, fixes, chores, docs, security)
- **Prefixes:** `chore`, `security`, `docs`, `fix`, `feat`
- **Example:**
```
feat: add support for multi-agent simulation
fix: correct agent movement logic
docs: update README with usage examples
```

## Workflows

### Update Funding Configuration
**Trigger:** When someone wants to change or add funding sources or sponsorship information.
**Command:** `/update-funding`

1. Edit `.github/FUNDING.yml` with new or updated funding entries.
2. Commit and push the changes.

**Example:**
```yaml
# .github/FUNDING.yml
github: [your-github-username]
patreon: your-patreon-id
```

---

### Dockerfile Security Hardening
**Trigger:** When someone wants to address security vulnerabilities or optimize Docker builds.
**Command:** `/harden-dockerfile`

1. Edit `Dockerfile` to improve security or optimize the build process.
2. Optionally update `.trivyignore` to suppress known CVEs.
3. Commit and push the changes.

**Example:**
```dockerfile
# Dockerfile
FROM python:3.11-slim
RUN pip install --no-cache-dir -r requirements.txt
USER nobody
```
```plaintext
# .trivyignore
CVE-2023-12345
```

---

### Suppress CVE in Trivyignore
**Trigger:** When someone wants to temporarily ignore specific CVEs during security scans.
**Command:** `/suppress-cve`

1. Edit `.trivyignore` to add or update CVE entries.
2. Commit and push the changes.

**Example:**
```plaintext
# .trivyignore
CVE-2023-12345
CVE-2024-67890
```

---

## Testing Patterns

- **Framework:** Unknown (not explicitly detected)
- **File Pattern:** Test files are named using the pattern `*.test.*`
- **Example:**
```plaintext
agentLogic.test.py
simulationRunner.test.py
```
- **Note:** Ensure new tests follow this naming convention for consistency.

## Commands

| Command | Purpose |
|---------------------|--------------------------------------------------------------|
| /update-funding | Update project funding and sponsorship configuration |
| /harden-dockerfile | Apply security improvements or optimizations to Dockerfile |
| /suppress-cve | Suppress specific CVEs in vulnerability scans via Trivyignore|
```
6 changes: 6 additions & 0 deletions .agents/skills/Ai-hack-simulation/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
interface:
display_name: "Ai Hack Simulation"
short_description: "Repo-specific patterns and workflows for Ai-hack-simulation"
default_prompt: "Use the Ai-hack-simulation repo skill to follow existing architecture, testing, and workflow conventions."
policy:
allow_implicit_invocation: true
36 changes: 36 additions & 0 deletions .claude/commands/dockerfile-security-hardening.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: dockerfile-security-hardening
description: Workflow command scaffold for dockerfile-security-hardening in Ai-hack-simulation.
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
---

# /dockerfile-security-hardening

Use this workflow when working on **dockerfile-security-hardening** in `Ai-hack-simulation`.

## Goal

Improves Dockerfile security or optimizes build process, often in response to CVEs.

## Common Files

- `Dockerfile`
- `.trivyignore`

## Suggested Sequence

1. Understand the current state and failure mode before editing.
2. Make the smallest coherent change that satisfies the workflow goal.
3. Run the most relevant verification for touched files.
4. Summarize what changed and what still needs review.

## Typical Commit Signals

- Edit Dockerfile to improve security or build process.
- Optionally update .trivyignore to suppress known CVEs.
- Commit and push the changes.

## Notes

- Treat this as a scaffold, not a hard-coded script.
- Update the command if the workflow evolves materially.
34 changes: 34 additions & 0 deletions .claude/commands/suppress-cve-in-trivyignore.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: suppress-cve-in-trivyignore
description: Workflow command scaffold for suppress-cve-in-trivyignore in Ai-hack-simulation.
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
---

# /suppress-cve-in-trivyignore

Use this workflow when working on **suppress-cve-in-trivyignore** in `Ai-hack-simulation`.

## Goal

Suppresses known CVEs in vulnerability scanning by updating .trivyignore.

## Common Files

- `.trivyignore`

## Suggested Sequence

1. Understand the current state and failure mode before editing.
2. Make the smallest coherent change that satisfies the workflow goal.
3. Run the most relevant verification for touched files.
4. Summarize what changed and what still needs review.

## Typical Commit Signals

- Edit .trivyignore to add or update CVE entries.
- Commit and push the changes.

## Notes

- Treat this as a scaffold, not a hard-coded script.
- Update the command if the workflow evolves materially.
34 changes: 34 additions & 0 deletions .claude/commands/update-funding-configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: update-funding-configuration
description: Workflow command scaffold for update-funding-configuration in Ai-hack-simulation.
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
---

# /update-funding-configuration

Use this workflow when working on **update-funding-configuration** in `Ai-hack-simulation`.

## Goal

Updates project funding and sponsorship details.

## Common Files

- `.github/FUNDING.yml`

## Suggested Sequence

1. Understand the current state and failure mode before editing.
2. Make the smallest coherent change that satisfies the workflow goal.
3. Run the most relevant verification for touched files.
4. Summarize what changed and what still needs review.

## Typical Commit Signals

- Edit .github/FUNDING.yml with new or updated funding entries.
- Commit and push the changes.

## Notes

- Treat this as a scaffold, not a hard-coded script.
- Update the command if the workflow evolves materially.
Loading
Loading