Skip to content

Commit ab71762

Browse files
committed
Sync local development changes from OneDrive Personal (222 files)
These were uncommitted local edits in OneDrivePersonal/Code/EU5Miner/EU5Miner/ covering GitHub config (.github/), project docs (README, CHANGELOG, ROADMAP, CODE_OF_CONDUCT, etc.), build config (pyproject.toml, uv.lock, .gitignore), and IDE settings (.vscode/). Copied file-by-file from OneDrive to avoid FUSE 'Remote I/O error' on multi-file operations.
1 parent 8749e31 commit ab71762

222 files changed

Lines changed: 29977 additions & 30036 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
---
2-
name: Bug report
3-
about: Report a reproducible problem in the EU5Miner library or CLI
4-
title: "[Bug]: "
5-
---
6-
7-
## Summary
8-
9-
Describe the problem.
10-
11-
## Environment
12-
13-
- `eu5miner` version:
14-
- Python version:
15-
- OS:
16-
17-
## Reproduction
18-
19-
Provide the exact command, code snippet, input, and steps.
20-
21-
## Expected behavior
22-
23-
Describe what should have happened.
24-
25-
## Actual behavior
26-
27-
Describe what happened instead and include relevant output.
28-
29-
## Install context
30-
1+
---
2+
name: Bug report
3+
about: Report a reproducible problem in the EU5Miner library or CLI
4+
title: "[Bug]: "
5+
---
6+
7+
## Summary
8+
9+
Describe the problem.
10+
11+
## Environment
12+
13+
- `eu5miner` version:
14+
- Python version:
15+
- OS:
16+
17+
## Reproduction
18+
19+
Provide the exact command, code snippet, input, and steps.
20+
21+
## Expected behavior
22+
23+
Describe what should have happened.
24+
25+
## Actual behavior
26+
27+
Describe what happened instead and include relevant output.
28+
29+
## Install context
30+
3131
State whether this requires a local EU5 install or sample files.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
blank_issues_enabled: false
2-
contact_links:
3-
- name: Support question
4-
url: https://github.com/Vality/EU5Miner/blob/main/SUPPORT.md
5-
about: Use the support guide for setup help, usage questions, and uncertain reports.
6-
- name: Security report
7-
url: https://github.com/Vality/EU5Miner/security/policy
8-
about: Do not open public issues for vulnerabilities; follow the security policy instead.
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Support question
4+
url: https://github.com/Vality/EU5Miner/blob/main/SUPPORT.md
5+
about: Use the support guide for setup help, usage questions, and uncertain reports.
6+
- name: Security report
7+
url: https://github.com/Vality/EU5Miner/security/policy
8+
about: Do not open public issues for vulnerabilities; follow the security policy instead.
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
---
2-
name: Feature request
3-
about: Suggest an improvement to the EU5Miner library, CLI, or supported data surface
4-
title: "[Feature]: "
5-
---
6-
7-
## Summary
8-
9-
Describe the feature you want.
10-
11-
## Problem or use case
12-
13-
Explain the workflow or limitation this would improve.
14-
15-
## Proposed shape
16-
17-
Describe the API, CLI behavior, or file family support you expect.
18-
19-
## Notes
20-
1+
---
2+
name: Feature request
3+
about: Suggest an improvement to the EU5Miner library, CLI, or supported data surface
4+
title: "[Feature]: "
5+
---
6+
7+
## Summary
8+
9+
Describe the feature you want.
10+
11+
## Problem or use case
12+
13+
Explain the workflow or limitation this would improve.
14+
15+
## Proposed shape
16+
17+
Describe the API, CLI behavior, or file family support you expect.
18+
19+
## Notes
20+
2121
Mention whether the change belongs in the core `eu5miner` library or in a downstream GUI or MCP repo.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
## Summary
2-
3-
Describe the change and why it belongs in EU5Miner.
4-
5-
## Validation
6-
7-
- [ ] `uv run pytest`
8-
- [ ] `uv run ruff check .`
9-
- [ ] `uv run mypy src`
10-
- [ ] `uv build`
11-
12-
## Notes
13-
14-
- [ ] The change stays in the correct layer for the core library.
15-
- [ ] The default workflow remains usable without a local EU5 install when practical.
1+
## Summary
2+
3+
Describe the change and why it belongs in EU5Miner.
4+
5+
## Validation
6+
7+
- [ ] `uv run pytest`
8+
- [ ] `uv run ruff check .`
9+
- [ ] `uv run mypy src`
10+
- [ ] `uv build`
11+
12+
## Notes
13+
14+
- [ ] The change stays in the correct layer for the core library.
15+
- [ ] The default workflow remains usable without a local EU5 install when practical.
1616
- [ ] Tests or docs were updated when public behavior changed.

.github/copilot-instructions.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Copilot Instructions
2+
3+
Use this repository as a typed, test-backed Python library first.
4+
5+
## Read First
6+
7+
Start with:
8+
9+
1. `README.md`
10+
2. `AGENTS.md`
11+
3. `ROADMAP.md`
12+
4. `documents/specs/README.md`
13+
5. `documents/development-environment.md`
14+
15+
## Working Norms
16+
17+
- Preserve the project layering: install and source discovery, VFS, generic format readers, semantic parsing, then domain adapters.
18+
- Do not push EU5-specific behavior into the CST or semantic layers unless it is genuinely reusable.
19+
- Prefer small, typed, test-backed changes.
20+
- Keep helper layers above the parser families they compose.
21+
- Treat `src/eu5miner/domains/__init__.py` as the curated public surface.
22+
- Grouped package entrypoints such as `eu5miner.domains.diplomacy`, `...economy`, `...government`, `...religion`, `...map`, `...localization`, and `...units` are intended for concept-local imports.
23+
24+
## Validation
25+
26+
Run these required baseline checks before closing substantial work:
27+
28+
```powershell
29+
uv run pytest
30+
uv run ruff check .
31+
uv run mypy src
32+
uv build
33+
```
34+
35+
Notes:
36+
37+
- The optional broader install sweep lives behind `uv run python -m pytest -m broad`.
38+
- Real-file validation against a local EU5 install is preferred whenever a new domain or helper layer is introduced.
39+
- Most roadmap and spec work should remain executable without a local EU5 install unless the spec explicitly requires one.
40+
41+
## Release Posture
42+
43+
- The current public line is a preview release, not a frozen `1.0` API.
44+
- Root package imports, grouped domain packages, and `eu5miner.mods` are the main public seams to preserve.
45+
- MCP and GUI work should stay outside the core `eu5miner` package until they are ready to become separate packages.

.github/dependabot.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
1-
version: 2
2-
3-
updates:
4-
- package-ecosystem: "uv"
5-
directory: "/"
6-
schedule:
7-
interval: "weekly"
8-
day: "monday"
9-
time: "06:00"
10-
timezone: "UTC"
11-
open-pull-requests-limit: 5
12-
rebase-strategy: auto
13-
labels:
14-
- "dependencies"
15-
- "python"
16-
groups:
17-
uv-minor-and-patch:
18-
patterns:
19-
- "*"
20-
update-types:
21-
- "minor"
22-
- "patch"
23-
24-
- package-ecosystem: "github-actions"
25-
directory: "/"
26-
schedule:
27-
interval: "weekly"
28-
day: "monday"
29-
time: "06:30"
30-
timezone: "UTC"
31-
open-pull-requests-limit: 3
32-
rebase-strategy: auto
33-
labels:
34-
- "dependencies"
35-
- "github-actions"
36-
groups:
37-
github-actions-minor-and-patch:
38-
patterns:
39-
- "*"
40-
update-types:
41-
- "minor"
42-
- "patch"
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: "uv"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
day: "monday"
9+
time: "06:00"
10+
timezone: "UTC"
11+
open-pull-requests-limit: 5
12+
rebase-strategy: auto
13+
labels:
14+
- "dependencies"
15+
- "python"
16+
groups:
17+
uv-minor-and-patch:
18+
patterns:
19+
- "*"
20+
update-types:
21+
- "minor"
22+
- "patch"
23+
24+
- package-ecosystem: "github-actions"
25+
directory: "/"
26+
schedule:
27+
interval: "weekly"
28+
day: "monday"
29+
time: "06:30"
30+
timezone: "UTC"
31+
open-pull-requests-limit: 3
32+
rebase-strategy: auto
33+
labels:
34+
- "dependencies"
35+
- "github-actions"
36+
groups:
37+
github-actions-minor-and-patch:
38+
patterns:
39+
- "*"
40+
update-types:
41+
- "minor"
42+
- "patch"

.github/workflows/ci.yml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
name: CI
2-
3-
on:
4-
push:
5-
branches:
6-
- main
7-
pull_request:
8-
9-
jobs:
10-
validate:
11-
runs-on: ubuntu-latest
12-
13-
steps:
14-
- name: Check out repository
15-
uses: actions/checkout@v7
16-
17-
- name: Set up Python
18-
uses: actions/setup-python@v6
19-
with:
20-
python-version: "3.12"
21-
22-
- name: Set up uv
23-
uses: astral-sh/setup-uv@v7
24-
25-
- name: Sync development dependencies
26-
run: uv sync --extra dev
27-
28-
- name: Run tests
29-
run: uv run pytest
30-
31-
- name: Run Ruff
32-
run: uv run ruff check .
33-
34-
- name: Run mypy
35-
run: uv run mypy src
36-
37-
- name: Build distribution artifacts
38-
run: uv build
39-
40-
- name: Upload build artifacts
41-
uses: actions/upload-artifact@v7
42-
with:
43-
name: dist
44-
path: dist/*
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
validate:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Check out repository
15+
uses: actions/checkout@v6
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v6
19+
with:
20+
python-version: "3.12"
21+
22+
- name: Set up uv
23+
uses: astral-sh/setup-uv@v7
24+
25+
- name: Sync development dependencies
26+
run: uv sync --extra dev
27+
28+
- name: Run tests
29+
run: uv run pytest
30+
31+
- name: Run Ruff
32+
run: uv run ruff check .
33+
34+
- name: Run mypy
35+
run: uv run mypy src
36+
37+
- name: Build distribution artifacts
38+
run: uv build
39+
40+
- name: Upload build artifacts
41+
uses: actions/upload-artifact@v7
42+
with:
43+
name: dist
44+
path: dist/*

0 commit comments

Comments
 (0)