dabook 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dabook-0.1.0/.github/ISSUE_TEMPLATE/bug_report.yml +55 -0
- dabook-0.1.0/.github/ISSUE_TEMPLATE/config.yml +8 -0
- dabook-0.1.0/.github/ISSUE_TEMPLATE/feature_request.yml +34 -0
- dabook-0.1.0/.github/PULL_REQUEST_TEMPLATE.md +44 -0
- dabook-0.1.0/.github/dependabot.yml +12 -0
- dabook-0.1.0/.github/workflows/ci.yml +77 -0
- dabook-0.1.0/.github/workflows/codeql.yml +35 -0
- dabook-0.1.0/.github/workflows/publish.yml +54 -0
- dabook-0.1.0/.gitignore +68 -0
- dabook-0.1.0/.pre-commit-config.yaml +17 -0
- dabook-0.1.0/CHANGELOG.md +31 -0
- dabook-0.1.0/CODE_OF_CONDUCT.md +123 -0
- dabook-0.1.0/CONTRIBUTING.md +257 -0
- dabook-0.1.0/LICENSE +201 -0
- dabook-0.1.0/PKG-INFO +223 -0
- dabook-0.1.0/README.md +152 -0
- dabook-0.1.0/SECURITY.md +66 -0
- dabook-0.1.0/SUPPORT.md +57 -0
- dabook-0.1.0/pyproject.toml +120 -0
- dabook-0.1.0/src/dabook/__init__.py +1 -0
- dabook-0.1.0/src/dabook/backends/__init__.py +2 -0
- dabook-0.1.0/src/dabook/cli.py +616 -0
- dabook-0.1.0/src/dabook/config/__init__.py +2 -0
- dabook-0.1.0/src/dabook/config/loader.py +79 -0
- dabook-0.1.0/src/dabook/config/models.py +211 -0
- dabook-0.1.0/src/dabook/core/__init__.py +2 -0
- dabook-0.1.0/src/dabook/core/atomic.py +201 -0
- dabook-0.1.0/src/dabook/core/hashing.py +66 -0
- dabook-0.1.0/src/dabook/core/ids.py +62 -0
- dabook-0.1.0/src/dabook/core/lock.py +104 -0
- dabook-0.1.0/src/dabook/core/logging.py +53 -0
- dabook-0.1.0/src/dabook/core/runtime/__init__.py +2 -0
- dabook-0.1.0/src/dabook/core/runtime/supervisor.py +328 -0
- dabook-0.1.0/src/dabook/core/runtime/telemetry.py +211 -0
- dabook-0.1.0/src/dabook/core/runtime/worker.py +384 -0
- dabook-0.1.0/src/dabook/core/scheduler/__init__.py +2 -0
- dabook-0.1.0/src/dabook/core/scheduler/eta.py +166 -0
- dabook-0.1.0/src/dabook/core/scheduler/planner.py +258 -0
- dabook-0.1.0/src/dabook/core/scheduler/recovery.py +139 -0
- dabook-0.1.0/src/dabook/core/store/__init__.py +2 -0
- dabook-0.1.0/src/dabook/core/store/db.py +109 -0
- dabook-0.1.0/src/dabook/core/store/migrations.py +104 -0
- dabook-0.1.0/src/dabook/core/store/schema.sql +208 -0
- dabook-0.1.0/src/dabook/core/store/settings.py +119 -0
- dabook-0.1.0/src/dabook/core/store/tasks.py +315 -0
- dabook-0.1.0/src/dabook/core/workspace.py +85 -0
- dabook-0.1.0/src/dabook/ir/__init__.py +2 -0
- dabook-0.1.0/src/dabook/server/__init__.py +2 -0
- dabook-0.1.0/src/dabook/server/app.py +357 -0
- dabook-0.1.0/src/dabook/server/static/app.js +564 -0
- dabook-0.1.0/src/dabook/server/static/index.html +206 -0
- dabook-0.1.0/src/dabook/server/static/style.css +431 -0
- dabook-0.1.0/src/dabook/stages/__init__.py +2 -0
- dabook-0.1.0/tests/__init__.py +2 -0
- dabook-0.1.0/tests/chaos/__init__.py +2 -0
- dabook-0.1.0/tests/chaos/test_crash_safety.py +176 -0
- dabook-0.1.0/tests/integration/__init__.py +2 -0
- dabook-0.1.0/tests/unit/__init__.py +2 -0
- dabook-0.1.0/tests/unit/test_atomic.py +213 -0
- dabook-0.1.0/tests/unit/test_store.py +212 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: 🐛 Bug Report
|
|
2
|
+
description: File a bug report to help us improve DABOOK
|
|
3
|
+
labels: ["bug"]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
Thanks for taking the time to report an issue! Please check if a similar issue already exists before submitting.
|
|
9
|
+
- type: input
|
|
10
|
+
id: version
|
|
11
|
+
attributes:
|
|
12
|
+
label: DABOOK Version
|
|
13
|
+
description: What version of DABOOK are you using? (Run `dabook --version` or check pyproject.toml)
|
|
14
|
+
placeholder: "0.1.0"
|
|
15
|
+
validations:
|
|
16
|
+
required: true
|
|
17
|
+
- type: input
|
|
18
|
+
id: os_python
|
|
19
|
+
attributes:
|
|
20
|
+
label: Operating System & Python Version
|
|
21
|
+
description: e.g. Ubuntu 22.04 / Windows 11, Python 3.11.9
|
|
22
|
+
placeholder: "Windows 11, Python 3.11.9"
|
|
23
|
+
validations:
|
|
24
|
+
required: true
|
|
25
|
+
- type: textarea
|
|
26
|
+
id: description
|
|
27
|
+
attributes:
|
|
28
|
+
label: Bug Description
|
|
29
|
+
description: A clear and concise description of what the bug is.
|
|
30
|
+
validations:
|
|
31
|
+
required: true
|
|
32
|
+
- type: textarea
|
|
33
|
+
id: reproduction
|
|
34
|
+
attributes:
|
|
35
|
+
label: Steps to Reproduce
|
|
36
|
+
description: How can we reproduce this behavior? Please include exact CLI commands or Python code snippets.
|
|
37
|
+
placeholder: |
|
|
38
|
+
1. Run `dabook run sample.pdf`
|
|
39
|
+
2. Worker encounters error at stage `s02_extract`
|
|
40
|
+
3. See error in logs...
|
|
41
|
+
validations:
|
|
42
|
+
required: true
|
|
43
|
+
- type: textarea
|
|
44
|
+
id: expected
|
|
45
|
+
attributes:
|
|
46
|
+
label: Expected Behavior
|
|
47
|
+
description: A clear description of what you expected to happen.
|
|
48
|
+
validations:
|
|
49
|
+
required: true
|
|
50
|
+
- type: textarea
|
|
51
|
+
id: logs
|
|
52
|
+
attributes:
|
|
53
|
+
label: Relevant Logs & Output
|
|
54
|
+
description: Paste any stack traces or output from `dabook doctor` or `./dabook_workspace/logs/`.
|
|
55
|
+
render: shell
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
blank_issues_enabled: false
|
|
2
|
+
contact_links:
|
|
3
|
+
- name: 🔒 Security Vulnerability Reporting
|
|
4
|
+
url: https://github.com/brovk2008/Dabook/security/advisories/new
|
|
5
|
+
about: Please report security vulnerabilities privately via GitHub Security Advisories.
|
|
6
|
+
- name: 💬 Community Discussions & Questions
|
|
7
|
+
url: https://github.com/brovk2008/Dabook/discussions
|
|
8
|
+
about: Ask questions, discuss ideas, or share community feedback.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: 💡 Feature Request
|
|
2
|
+
description: Propose an idea, new stage, export format, or enhancement for DABOOK
|
|
3
|
+
labels: ["enhancement"]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
Thank you for suggesting an improvement for DABOOK! Please describe your proposal clearly below.
|
|
9
|
+
- type: textarea
|
|
10
|
+
id: problem
|
|
11
|
+
attributes:
|
|
12
|
+
label: Problem or Motivation
|
|
13
|
+
description: Is your feature request related to a specific problem or pain point?
|
|
14
|
+
placeholder: "I'm always frustrated when..."
|
|
15
|
+
validations:
|
|
16
|
+
required: true
|
|
17
|
+
- type: textarea
|
|
18
|
+
id: solution
|
|
19
|
+
attributes:
|
|
20
|
+
label: Proposed Solution
|
|
21
|
+
description: Describe the solution or capability you would like to see added.
|
|
22
|
+
placeholder: "Add support for export mode `dialogue` in format Parquet..."
|
|
23
|
+
validations:
|
|
24
|
+
required: true
|
|
25
|
+
- type: textarea
|
|
26
|
+
id: alternatives
|
|
27
|
+
attributes:
|
|
28
|
+
label: Alternatives Considered
|
|
29
|
+
description: Describe any alternative solutions or workarounds you have considered.
|
|
30
|
+
- type: textarea
|
|
31
|
+
id: context
|
|
32
|
+
attributes:
|
|
33
|
+
label: Additional Context
|
|
34
|
+
description: Add any other context, screenshots, or references about the feature request here.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
## Summary
|
|
2
|
+
|
|
3
|
+
<!-- Provide a brief, clear summary of the changes introduced by this pull request. -->
|
|
4
|
+
|
|
5
|
+
## Motivation & Context
|
|
6
|
+
|
|
7
|
+
<!-- Why is this change required? What problem does it solve? If it fixes an open issue, link it here: e.g. Fixes #123 -->
|
|
8
|
+
|
|
9
|
+
## Type of Change
|
|
10
|
+
|
|
11
|
+
<!-- Please check the options that apply. -->
|
|
12
|
+
|
|
13
|
+
- [ ] 🐛 Bug fix (non-breaking change which fixes an issue)
|
|
14
|
+
- [ ] ✨ New feature (non-breaking change which adds functionality)
|
|
15
|
+
- [ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
|
|
16
|
+
- [ ] 📝 Documentation update
|
|
17
|
+
- [ ] ⚡ Performance improvement
|
|
18
|
+
- [ ] 🧪 Test suite enhancement (unit, chaos, or integration tests)
|
|
19
|
+
- [ ] 🔧 Build / CI / tooling configuration
|
|
20
|
+
|
|
21
|
+
## Changes Introduced
|
|
22
|
+
|
|
23
|
+
- <!-- Detail the exact changes or architectural modifications made -->
|
|
24
|
+
- <!-- e.g., added exponential backoff to task failure recovery -->
|
|
25
|
+
- <!-- e.g., updated sqlite write transactions to handle locks cleanly -->
|
|
26
|
+
|
|
27
|
+
## Verification & Testing
|
|
28
|
+
|
|
29
|
+
<!-- How did you test these changes? Please specify commands run and environment details. -->
|
|
30
|
+
|
|
31
|
+
- [ ] Ran `ruff check .` (passed with 0 warnings)
|
|
32
|
+
- [ ] Ran `ruff format --check .` (code is formatted)
|
|
33
|
+
- [ ] Ran `pytest` (all unit and chaos tests pass)
|
|
34
|
+
- [ ] Tested on Operating System: `[Ubuntu / Windows / macOS]`
|
|
35
|
+
|
|
36
|
+
## Checklist
|
|
37
|
+
|
|
38
|
+
- [ ] My code follows the code style and guidelines of this project.
|
|
39
|
+
- [ ] I have performed a self-review of my own code.
|
|
40
|
+
- [ ] I have commented my code, particularly in hard-to-understand areas.
|
|
41
|
+
- [ ] I have made corresponding changes to the documentation (if applicable).
|
|
42
|
+
- [ ] My changes generate no new warnings or type errors.
|
|
43
|
+
- [ ] I have added tests that prove my fix is effective or that my feature works.
|
|
44
|
+
- [ ] New and existing unit and chaos tests pass locally with my changes.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: ["main"]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: ["main"]
|
|
8
|
+
|
|
9
|
+
concurrency:
|
|
10
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
11
|
+
cancel-in-progress: true
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
lint:
|
|
15
|
+
name: Lint & Style Check
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
steps:
|
|
18
|
+
- name: Checkout code
|
|
19
|
+
uses: actions/checkout@v4
|
|
20
|
+
|
|
21
|
+
- name: Install uv
|
|
22
|
+
uses: astral-sh/setup-uv@v5
|
|
23
|
+
with:
|
|
24
|
+
enable-cache: true
|
|
25
|
+
version: "latest"
|
|
26
|
+
|
|
27
|
+
- name: Set up Python 3.11
|
|
28
|
+
uses: actions/setup-python@v5
|
|
29
|
+
with:
|
|
30
|
+
python-version: "3.11"
|
|
31
|
+
|
|
32
|
+
- name: Install dependencies
|
|
33
|
+
run: |
|
|
34
|
+
uv venv
|
|
35
|
+
uv pip install ".[dev]"
|
|
36
|
+
|
|
37
|
+
- name: Run Ruff Linter
|
|
38
|
+
run: |
|
|
39
|
+
uv run ruff check .
|
|
40
|
+
|
|
41
|
+
- name: Run Ruff Format Check
|
|
42
|
+
run: |
|
|
43
|
+
uv run ruff format --check .
|
|
44
|
+
|
|
45
|
+
test:
|
|
46
|
+
name: Test (${{ matrix.os }} - Py ${{ matrix.python-version }})
|
|
47
|
+
needs: lint
|
|
48
|
+
runs-on: ${{ matrix.os }}
|
|
49
|
+
strategy:
|
|
50
|
+
fail-fast: false
|
|
51
|
+
matrix:
|
|
52
|
+
os: [ubuntu-latest, windows-latest]
|
|
53
|
+
python-version: ["3.11", "3.12"]
|
|
54
|
+
|
|
55
|
+
steps:
|
|
56
|
+
- name: Checkout code
|
|
57
|
+
uses: actions/checkout@v4
|
|
58
|
+
|
|
59
|
+
- name: Install uv
|
|
60
|
+
uses: astral-sh/setup-uv@v5
|
|
61
|
+
with:
|
|
62
|
+
enable-cache: true
|
|
63
|
+
version: "latest"
|
|
64
|
+
|
|
65
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
66
|
+
uses: actions/setup-python@v5
|
|
67
|
+
with:
|
|
68
|
+
python-version: ${{ matrix.python-version }}
|
|
69
|
+
|
|
70
|
+
- name: Install dependencies
|
|
71
|
+
run: |
|
|
72
|
+
uv venv
|
|
73
|
+
uv pip install ".[dev]"
|
|
74
|
+
|
|
75
|
+
- name: Run Pytest Suite
|
|
76
|
+
run: |
|
|
77
|
+
uv run pytest -v --tb=short
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: "CodeQL Security Analysis"
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: ["main"]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: ["main"]
|
|
8
|
+
schedule:
|
|
9
|
+
- cron: "0 6 * * 1"
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
analyze:
|
|
13
|
+
name: Analyze Code Security
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
permissions:
|
|
16
|
+
security-events: write
|
|
17
|
+
actions: read
|
|
18
|
+
contents: read
|
|
19
|
+
|
|
20
|
+
strategy:
|
|
21
|
+
fail-fast: false
|
|
22
|
+
matrix:
|
|
23
|
+
language: ["python"]
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
- name: Checkout repository
|
|
27
|
+
uses: actions/checkout@v4
|
|
28
|
+
|
|
29
|
+
- name: Initialize CodeQL
|
|
30
|
+
uses: github/codeql-action/init@v3
|
|
31
|
+
with:
|
|
32
|
+
languages: ${{ matrix.language }}
|
|
33
|
+
|
|
34
|
+
- name: Perform CodeQL Analysis
|
|
35
|
+
uses: github/codeql-action/analyze@v3
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
name: Build distribution packages 📦
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- name: Checkout code
|
|
14
|
+
uses: actions/checkout@v4
|
|
15
|
+
|
|
16
|
+
- name: Install uv
|
|
17
|
+
uses: astral-sh/setup-uv@v5
|
|
18
|
+
with:
|
|
19
|
+
version: "latest"
|
|
20
|
+
|
|
21
|
+
- name: Set up Python
|
|
22
|
+
uses: actions/setup-python@v5
|
|
23
|
+
with:
|
|
24
|
+
python-version: "3.11"
|
|
25
|
+
|
|
26
|
+
- name: Build sdist and wheel
|
|
27
|
+
run: |
|
|
28
|
+
uv build
|
|
29
|
+
|
|
30
|
+
- name: Store distribution packages
|
|
31
|
+
uses: actions/upload-artifact@v4
|
|
32
|
+
with:
|
|
33
|
+
name: python-package-distributions
|
|
34
|
+
path: dist/
|
|
35
|
+
|
|
36
|
+
publish:
|
|
37
|
+
name: Publish package to PyPI 🚀
|
|
38
|
+
needs: build
|
|
39
|
+
runs-on: ubuntu-latest
|
|
40
|
+
environment:
|
|
41
|
+
name: pypi
|
|
42
|
+
url: https://pypi.org/p/dabook
|
|
43
|
+
permissions:
|
|
44
|
+
id-token: write # MANDATORY for PyPI Trusted Publishing (OIDC)
|
|
45
|
+
|
|
46
|
+
steps:
|
|
47
|
+
- name: Download distribution packages
|
|
48
|
+
uses: actions/download-artifact@v4
|
|
49
|
+
with:
|
|
50
|
+
name: python-package-distributions
|
|
51
|
+
path: dist/
|
|
52
|
+
|
|
53
|
+
- name: Publish package distributions to PyPI
|
|
54
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
dabook-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# Virtual environments
|
|
30
|
+
.venv/
|
|
31
|
+
venv/
|
|
32
|
+
ENV/
|
|
33
|
+
env/
|
|
34
|
+
.env
|
|
35
|
+
|
|
36
|
+
# Testing & Coverage
|
|
37
|
+
.pytest_cache/
|
|
38
|
+
.benchmarks/
|
|
39
|
+
.coverage
|
|
40
|
+
.coverage.*
|
|
41
|
+
htmlcov/
|
|
42
|
+
nosetests.xml
|
|
43
|
+
coverage.xml
|
|
44
|
+
*.cover
|
|
45
|
+
*.py,cover
|
|
46
|
+
.hypothesis/
|
|
47
|
+
|
|
48
|
+
# Type checking & Linters
|
|
49
|
+
.mypy_cache/
|
|
50
|
+
.ruff_cache/
|
|
51
|
+
.dmypy.json
|
|
52
|
+
dmypy.json
|
|
53
|
+
|
|
54
|
+
# DaBook Workspace runtime & temporary artifacts
|
|
55
|
+
dabook_workspace/
|
|
56
|
+
*.db-wal
|
|
57
|
+
*.db-shm
|
|
58
|
+
*.partial/
|
|
59
|
+
*.lock
|
|
60
|
+
|
|
61
|
+
# IDE & Editors
|
|
62
|
+
.vscode/
|
|
63
|
+
.idea/
|
|
64
|
+
*.swp
|
|
65
|
+
*.swo
|
|
66
|
+
*~
|
|
67
|
+
.DS_Store
|
|
68
|
+
Thumbs.db
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: v4.6.0
|
|
4
|
+
hooks:
|
|
5
|
+
- id: trailing-whitespace
|
|
6
|
+
- id: end-of-file-fixer
|
|
7
|
+
- id: check-yaml
|
|
8
|
+
- id: check-toml
|
|
9
|
+
- id: check-added-large-files
|
|
10
|
+
args: ["--maxkb=1000"]
|
|
11
|
+
|
|
12
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
13
|
+
rev: v0.4.10
|
|
14
|
+
hooks:
|
|
15
|
+
- id: ruff
|
|
16
|
+
args: ["--fix"]
|
|
17
|
+
- id: ruff-format
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## [Unreleased]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- Multi-pool worker execution model (CPU, GPU, IO, LLM) with dynamic concurrency controls.
|
|
14
|
+
- Interactive localhost control room dashboard (`FastAPI` + SSE real-time streaming).
|
|
15
|
+
- S0–S13 pipeline stage DAG planner and task generator.
|
|
16
|
+
- Cross-platform single-supervisor workspace file locking.
|
|
17
|
+
- 1 Hz telemetry background sampler monitoring CPU, memory, GPU VRAM, and disk storage.
|
|
18
|
+
- Comprehensive GitHub Community Health standards, CI matrix testing, and issue/PR templates.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## [0.1.0] - 2026-10-01
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
- Initial pre-alpha release of DABOOK.
|
|
26
|
+
- Atomic filesystem commits with two-phase staging and `_SUCCESS` manifest validation.
|
|
27
|
+
- SQLite WAL-mode state database with forward-only versioned migrations.
|
|
28
|
+
- Dynamic task scheduler with lease acquisition, heartbeats, and exponential backoff retry logic.
|
|
29
|
+
- Stale worker lease recovery and dead process detection.
|
|
30
|
+
- Core CLI commands: `run`, `resume`, `status`, `doctor`, `inspect`, and `cache`.
|
|
31
|
+
- Comprehensive unit and chaos kill-recovery test suite verifying crash-safety and zero data corruption.
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
|
10
|
+
identity and orientation.
|
|
11
|
+
|
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
+
diverse, inclusive, and healthy community.
|
|
14
|
+
|
|
15
|
+
## Our Standards
|
|
16
|
+
|
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
|
18
|
+
community include:
|
|
19
|
+
|
|
20
|
+
* Demonstrating empathy and kindness toward other people
|
|
21
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
+
* Giving and gracefully accepting constructive feedback
|
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
+
and learning from the experience
|
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the
|
|
26
|
+
overall community
|
|
27
|
+
|
|
28
|
+
Examples of unacceptable behavior include:
|
|
29
|
+
|
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or
|
|
31
|
+
advances of any kind
|
|
32
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
+
* Public or private harassment
|
|
34
|
+
* Publishing others' private information, such as a physical or email
|
|
35
|
+
address, without their explicit permission
|
|
36
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
+
professional setting
|
|
38
|
+
|
|
39
|
+
## Enforcement Responsibilities
|
|
40
|
+
|
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
+
or harmful.
|
|
45
|
+
|
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
+
decisions when appropriate.
|
|
50
|
+
|
|
51
|
+
## Scope
|
|
52
|
+
|
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
+
an individual is officially representing the community in public spaces.
|
|
55
|
+
Examples of representing our community include using an official e-mail address,
|
|
56
|
+
posting via an official social media account, or acting as an appointed
|
|
57
|
+
representative at an online or offline event.
|
|
58
|
+
|
|
59
|
+
## Enforcement
|
|
60
|
+
|
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
+
reported to the community leaders responsible for enforcement at:
|
|
63
|
+
`94829613+brovk2008@users.noreply.github.com`.
|
|
64
|
+
|
|
65
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
66
|
+
|
|
67
|
+
All community leaders are obligated to respect the privacy and security of the
|
|
68
|
+
reporter of any incident.
|
|
69
|
+
|
|
70
|
+
## Enforcement Guidelines
|
|
71
|
+
|
|
72
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
|
73
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
|
74
|
+
|
|
75
|
+
### 1. Correction
|
|
76
|
+
|
|
77
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
78
|
+
unprofessional or unwelcome in the community.
|
|
79
|
+
|
|
80
|
+
**Consequence**: A private, written warning from community leaders, providing
|
|
81
|
+
clarity around the nature of the violation and an explanation of why the
|
|
82
|
+
behavior was inappropriate. A public apology may be requested.
|
|
83
|
+
|
|
84
|
+
### 2. Warning
|
|
85
|
+
|
|
86
|
+
**Community Impact**: A violation through a single incident or series
|
|
87
|
+
of actions.
|
|
88
|
+
|
|
89
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
|
90
|
+
interaction with the people involved, including unsolicited interaction with
|
|
91
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
|
92
|
+
includes avoiding interactions in community spaces as well as external channels
|
|
93
|
+
like social media. Violating these terms may lead to a temporary or
|
|
94
|
+
permanent ban.
|
|
95
|
+
|
|
96
|
+
### 3. Temporary Ban
|
|
97
|
+
|
|
98
|
+
**Community Impact**: A serious violation of community standards, including
|
|
99
|
+
sustained inappropriate behavior.
|
|
100
|
+
|
|
101
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
|
102
|
+
communication with the community for a specified period of time. No public or
|
|
103
|
+
private interaction with the people involved, including unsolicited interaction
|
|
104
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
|
105
|
+
Violating these terms may lead to a permanent ban.
|
|
106
|
+
|
|
107
|
+
### 4. Permanent Ban
|
|
108
|
+
|
|
109
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
|
110
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
111
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
|
112
|
+
|
|
113
|
+
**Consequence**: A permanent ban from any sort of public interaction within
|
|
114
|
+
the community.
|
|
115
|
+
|
|
116
|
+
## Attribution
|
|
117
|
+
|
|
118
|
+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org),
|
|
119
|
+
version 2.1, available at
|
|
120
|
+
https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.
|
|
121
|
+
|
|
122
|
+
Community Impact Guidelines were inspired by
|
|
123
|
+
[Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
|