boardwatch 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.
- boardwatch-0.1.0/.dockerignore +21 -0
- boardwatch-0.1.0/.gitattributes +4 -0
- boardwatch-0.1.0/.github/ISSUE_TEMPLATE/board_or_provider.yml +33 -0
- boardwatch-0.1.0/.github/ISSUE_TEMPLATE/bug_report.yml +52 -0
- boardwatch-0.1.0/.github/ISSUE_TEMPLATE/config.yml +5 -0
- boardwatch-0.1.0/.github/ISSUE_TEMPLATE/feature_request.yml +19 -0
- boardwatch-0.1.0/.github/PULL_REQUEST_TEMPLATE.md +13 -0
- boardwatch-0.1.0/.github/workflows/ci.yml +64 -0
- boardwatch-0.1.0/.github/workflows/registry-health.yml +16 -0
- boardwatch-0.1.0/.github/workflows/release.yml +98 -0
- boardwatch-0.1.0/.gitignore +12 -0
- boardwatch-0.1.0/.pre-commit-config.yaml +9 -0
- boardwatch-0.1.0/CHANGELOG.md +36 -0
- boardwatch-0.1.0/CODE_OF_CONDUCT.md +11 -0
- boardwatch-0.1.0/CONTRIBUTING.md +43 -0
- boardwatch-0.1.0/Dockerfile +25 -0
- boardwatch-0.1.0/LICENSE +21 -0
- boardwatch-0.1.0/Makefile +10 -0
- boardwatch-0.1.0/PKG-INFO +455 -0
- boardwatch-0.1.0/README.md +416 -0
- boardwatch-0.1.0/SECURITY.md +30 -0
- boardwatch-0.1.0/alembic.ini +3 -0
- boardwatch-0.1.0/docs/README.md +3 -0
- boardwatch-0.1.0/docs/configuration.md +30 -0
- boardwatch-0.1.0/docs/registry/seed-verification.md +81 -0
- boardwatch-0.1.0/pyproject.toml +98 -0
- boardwatch-0.1.0/src/boardwatch/__init__.py +0 -0
- boardwatch-0.1.0/src/boardwatch/cli/__init__.py +0 -0
- boardwatch-0.1.0/src/boardwatch/cli/app.py +56 -0
- boardwatch-0.1.0/src/boardwatch/cli/companies_cmd.py +104 -0
- boardwatch-0.1.0/src/boardwatch/cli/config_cmd.py +138 -0
- boardwatch-0.1.0/src/boardwatch/cli/context.py +25 -0
- boardwatch-0.1.0/src/boardwatch/cli/digest_cmd.py +76 -0
- boardwatch-0.1.0/src/boardwatch/cli/doctor_cmd.py +106 -0
- boardwatch-0.1.0/src/boardwatch/cli/eligibility_cmd.py +395 -0
- boardwatch-0.1.0/src/boardwatch/cli/export_cmd.py +75 -0
- boardwatch-0.1.0/src/boardwatch/cli/init_cmd.py +126 -0
- boardwatch-0.1.0/src/boardwatch/cli/profile_cmd.py +185 -0
- boardwatch-0.1.0/src/boardwatch/cli/scan_cmd.py +39 -0
- boardwatch-0.1.0/src/boardwatch/cli/show_cmd.py +148 -0
- boardwatch-0.1.0/src/boardwatch/cli/top_cmd.py +289 -0
- boardwatch-0.1.0/src/boardwatch/cli/track_cmd.py +163 -0
- boardwatch-0.1.0/src/boardwatch/core/__init__.py +0 -0
- boardwatch-0.1.0/src/boardwatch/core/board_urls.py +46 -0
- boardwatch-0.1.0/src/boardwatch/core/clock.py +17 -0
- boardwatch-0.1.0/src/boardwatch/core/html_text.py +48 -0
- boardwatch-0.1.0/src/boardwatch/core/identity.py +18 -0
- boardwatch-0.1.0/src/boardwatch/core/models.py +67 -0
- boardwatch-0.1.0/src/boardwatch/core/normalize.py +39 -0
- boardwatch-0.1.0/src/boardwatch/core/politeness.py +158 -0
- boardwatch-0.1.0/src/boardwatch/core/secrets.py +33 -0
- boardwatch-0.1.0/src/boardwatch/core/settings.py +91 -0
- boardwatch-0.1.0/src/boardwatch/eligibility/__init__.py +2 -0
- boardwatch-0.1.0/src/boardwatch/eligibility/audit.py +286 -0
- boardwatch-0.1.0/src/boardwatch/eligibility/catalog.py +526 -0
- boardwatch-0.1.0/src/boardwatch/eligibility/detect.py +289 -0
- boardwatch-0.1.0/src/boardwatch/eligibility/engine.py +311 -0
- boardwatch-0.1.0/src/boardwatch/eligibility/extract_llm.py +162 -0
- boardwatch-0.1.0/src/boardwatch/eligibility/facts.py +98 -0
- boardwatch-0.1.0/src/boardwatch/eligibility/ground.py +73 -0
- boardwatch-0.1.0/src/boardwatch/eligibility/hashing.py +138 -0
- boardwatch-0.1.0/src/boardwatch/eligibility/preflight.py +177 -0
- boardwatch-0.1.0/src/boardwatch/eligibility/read.py +48 -0
- boardwatch-0.1.0/src/boardwatch/eligibility/resolve.py +346 -0
- boardwatch-0.1.0/src/boardwatch/eligibility/rules.yaml +828 -0
- boardwatch-0.1.0/src/boardwatch/extract/__init__.py +0 -0
- boardwatch-0.1.0/src/boardwatch/extract/preflight.py +82 -0
- boardwatch-0.1.0/src/boardwatch/extract/role_family.py +47 -0
- boardwatch-0.1.0/src/boardwatch/extract/taxonomy.py +144 -0
- boardwatch-0.1.0/src/boardwatch/extract/taxonomy.yaml +138 -0
- boardwatch-0.1.0/src/boardwatch/llm/__init__.py +0 -0
- boardwatch-0.1.0/src/boardwatch/llm/anthropic.py +104 -0
- boardwatch-0.1.0/src/boardwatch/llm/cache.py +75 -0
- boardwatch-0.1.0/src/boardwatch/llm/client.py +31 -0
- boardwatch-0.1.0/src/boardwatch/llm/factory.py +46 -0
- boardwatch-0.1.0/src/boardwatch/llm/openai_compat.py +101 -0
- boardwatch-0.1.0/src/boardwatch/llm/payload.py +75 -0
- boardwatch-0.1.0/src/boardwatch/llm/prompt.py +49 -0
- boardwatch-0.1.0/src/boardwatch/providers/__init__.py +0 -0
- boardwatch-0.1.0/src/boardwatch/providers/ashby.py +181 -0
- boardwatch-0.1.0/src/boardwatch/providers/base.py +42 -0
- boardwatch-0.1.0/src/boardwatch/providers/greenhouse.py +142 -0
- boardwatch-0.1.0/src/boardwatch/providers/lever.py +130 -0
- boardwatch-0.1.0/src/boardwatch/providers/registry.py +70 -0
- boardwatch-0.1.0/src/boardwatch/py.typed +0 -0
- boardwatch-0.1.0/src/boardwatch/rank/__init__.py +0 -0
- boardwatch-0.1.0/src/boardwatch/rank/explain.py +44 -0
- boardwatch-0.1.0/src/boardwatch/rank/heuristic.py +163 -0
- boardwatch-0.1.0/src/boardwatch/registry/README.md +71 -0
- boardwatch-0.1.0/src/boardwatch/registry/__init__.py +4 -0
- boardwatch-0.1.0/src/boardwatch/registry/companies.yaml +153 -0
- boardwatch-0.1.0/src/boardwatch/registry/health_report.py +65 -0
- boardwatch-0.1.0/src/boardwatch/registry/loader.py +37 -0
- boardwatch-0.1.0/src/boardwatch/registry/validate.py +43 -0
- boardwatch-0.1.0/src/boardwatch/reports/__init__.py +0 -0
- boardwatch-0.1.0/src/boardwatch/reports/digest.py +78 -0
- boardwatch-0.1.0/src/boardwatch/reports/export.py +135 -0
- boardwatch-0.1.0/src/boardwatch/scan/__init__.py +0 -0
- boardwatch-0.1.0/src/boardwatch/scan/apply.py +243 -0
- boardwatch-0.1.0/src/boardwatch/scan/coordinator.py +171 -0
- boardwatch-0.1.0/src/boardwatch/scan/health.py +101 -0
- boardwatch-0.1.0/src/boardwatch/scan/workers.py +16 -0
- boardwatch-0.1.0/src/boardwatch/store/__init__.py +0 -0
- boardwatch-0.1.0/src/boardwatch/store/app_state.py +44 -0
- boardwatch-0.1.0/src/boardwatch/store/applications.py +131 -0
- boardwatch-0.1.0/src/boardwatch/store/artifacts.py +69 -0
- boardwatch-0.1.0/src/boardwatch/store/db.py +51 -0
- boardwatch-0.1.0/src/boardwatch/store/eligibility.py +253 -0
- boardwatch-0.1.0/src/boardwatch/store/events.py +26 -0
- boardwatch-0.1.0/src/boardwatch/store/funnel_queries.py +95 -0
- boardwatch-0.1.0/src/boardwatch/store/migrations/env.py +35 -0
- boardwatch-0.1.0/src/boardwatch/store/migrations/script.py.mako +22 -0
- boardwatch-0.1.0/src/boardwatch/store/migrations/versions/8df3b3809bba_schema_v1.py +159 -0
- boardwatch-0.1.0/src/boardwatch/store/migrations/versions/b7e41c0a9f23_widen_last_health_enum.py +75 -0
- boardwatch-0.1.0/src/boardwatch/store/migrations/versions/p0_applications.py +66 -0
- boardwatch-0.1.0/src/boardwatch/store/migrations/versions/p0_artifacts.py +65 -0
- boardwatch-0.1.0/src/boardwatch/store/migrations/versions/p0_eligibility.py +123 -0
- boardwatch-0.1.0/src/boardwatch/store/migrations/versions/p0_job_grouping.py +48 -0
- boardwatch-0.1.0/src/boardwatch/store/migrations/versions/p0_jobs_anchor.py +62 -0
- boardwatch-0.1.0/src/boardwatch/store/migrations/versions/p0_posting_versions.py +65 -0
- boardwatch-0.1.0/src/boardwatch/store/migrations/versions/p0_version_sources.py +41 -0
- boardwatch-0.1.0/src/boardwatch/store/migrations/versions/p2_profile_eligibility.py +23 -0
- boardwatch-0.1.0/src/boardwatch/store/queries.py +266 -0
- boardwatch-0.1.0/src/boardwatch/store/sources.py +46 -0
- boardwatch-0.1.0/src/boardwatch/store/tables.py +372 -0
- boardwatch-0.1.0/tests/contract/__init__.py +0 -0
- boardwatch-0.1.0/tests/contract/_ashby_huge_probe.py +39 -0
- boardwatch-0.1.0/tests/contract/test_ashby.py +232 -0
- boardwatch-0.1.0/tests/contract/test_greenhouse.py +181 -0
- boardwatch-0.1.0/tests/contract/test_lever.py +174 -0
- boardwatch-0.1.0/tests/fixtures/ashby/README.md +90 -0
- boardwatch-0.1.0/tests/fixtures/ashby/dead.json +1 -0
- boardwatch-0.1.0/tests/fixtures/ashby/empty.json +4 -0
- boardwatch-0.1.0/tests/fixtures/ashby/huge.json +5285 -0
- boardwatch-0.1.0/tests/fixtures/ashby/normal.json +309 -0
- boardwatch-0.1.0/tests/fixtures/ashby/normal_response_headers.json +4 -0
- boardwatch-0.1.0/tests/fixtures/greenhouse/README.md +41 -0
- boardwatch-0.1.0/tests/fixtures/greenhouse/dead_404.json +4 -0
- boardwatch-0.1.0/tests/fixtures/greenhouse/empty.json +6 -0
- boardwatch-0.1.0/tests/fixtures/greenhouse/normal.json +284 -0
- boardwatch-0.1.0/tests/fixtures/greenhouse/normal_response_headers.json +4 -0
- boardwatch-0.1.0/tests/fixtures/lever/README.md +59 -0
- boardwatch-0.1.0/tests/fixtures/lever/dead_404.json +1 -0
- boardwatch-0.1.0/tests/fixtures/lever/empty.json +1 -0
- boardwatch-0.1.0/tests/fixtures/lever/normal.json +113 -0
- boardwatch-0.1.0/tests/fixtures/lever/normal_response_headers.json +4 -0
- boardwatch-0.1.0/tests/generalization/__init__.py +1 -0
- boardwatch-0.1.0/tests/generalization/test_defaults.py +379 -0
- boardwatch-0.1.0/tests/generalization/test_discovery.py +177 -0
- boardwatch-0.1.0/tests/generalization/test_inventory.py +418 -0
- boardwatch-0.1.0/tests/generalization/test_packaging.py +57 -0
- boardwatch-0.1.0/tests/generalization/test_real_tree.py +126 -0
- boardwatch-0.1.0/tests/generalization/test_shape.py +420 -0
- boardwatch-0.1.0/tests/perf/test_top_perf.py +98 -0
- boardwatch-0.1.0/tests/pipeline/conftest.py +38 -0
- boardwatch-0.1.0/tests/pipeline/gh_fixtures.py +63 -0
- boardwatch-0.1.0/tests/pipeline/provider_cases.py +128 -0
- boardwatch-0.1.0/tests/pipeline/test_e2e.py +85 -0
- boardwatch-0.1.0/tests/pipeline/test_eligibility_corpus.py +1022 -0
- boardwatch-0.1.0/tests/pipeline/test_eligibility_flow.py +417 -0
- boardwatch-0.1.0/tests/pipeline/test_llm_lane.py +454 -0
- boardwatch-0.1.0/tests/pipeline/test_scan.py +152 -0
- boardwatch-0.1.0/tests/pipeline/test_scan_lock.py +128 -0
- boardwatch-0.1.0/tests/pipeline/test_spine_jobs.py +24 -0
- boardwatch-0.1.0/tests/pipeline/test_spine_sources.py +16 -0
- boardwatch-0.1.0/tests/pipeline/test_spine_versions.py +35 -0
- boardwatch-0.1.0/tests/pipeline/test_state_model.py +339 -0
- boardwatch-0.1.0/tests/pipeline/test_taxonomy_edit.py +84 -0
- boardwatch-0.1.0/tests/pipeline/test_top_show.py +343 -0
- boardwatch-0.1.0/tests/unit/conftest.py +84 -0
- boardwatch-0.1.0/tests/unit/test_app_state.py +47 -0
- boardwatch-0.1.0/tests/unit/test_applications_store.py +72 -0
- boardwatch-0.1.0/tests/unit/test_artifacts_store.py +65 -0
- boardwatch-0.1.0/tests/unit/test_board_urls.py +48 -0
- boardwatch-0.1.0/tests/unit/test_clock.py +19 -0
- boardwatch-0.1.0/tests/unit/test_companies_cmd.py +76 -0
- boardwatch-0.1.0/tests/unit/test_config_cmd.py +171 -0
- boardwatch-0.1.0/tests/unit/test_digest_cmd.py +125 -0
- boardwatch-0.1.0/tests/unit/test_digest_summary.py +49 -0
- boardwatch-0.1.0/tests/unit/test_doctor.py +271 -0
- boardwatch-0.1.0/tests/unit/test_eligibility_catalog.py +322 -0
- boardwatch-0.1.0/tests/unit/test_eligibility_cmd.py +179 -0
- boardwatch-0.1.0/tests/unit/test_eligibility_detect.py +238 -0
- boardwatch-0.1.0/tests/unit/test_eligibility_engine.py +574 -0
- boardwatch-0.1.0/tests/unit/test_eligibility_facts.py +194 -0
- boardwatch-0.1.0/tests/unit/test_eligibility_hashing.py +240 -0
- boardwatch-0.1.0/tests/unit/test_eligibility_resolve.py +384 -0
- boardwatch-0.1.0/tests/unit/test_eligibility_store.py +132 -0
- boardwatch-0.1.0/tests/unit/test_export.py +270 -0
- boardwatch-0.1.0/tests/unit/test_funnel_queries.py +171 -0
- boardwatch-0.1.0/tests/unit/test_ground.py +108 -0
- boardwatch-0.1.0/tests/unit/test_health_report.py +28 -0
- boardwatch-0.1.0/tests/unit/test_html_text.py +50 -0
- boardwatch-0.1.0/tests/unit/test_identity.py +18 -0
- boardwatch-0.1.0/tests/unit/test_import_hygiene.py +23 -0
- boardwatch-0.1.0/tests/unit/test_init_paths.py +97 -0
- boardwatch-0.1.0/tests/unit/test_init_profile.py +187 -0
- boardwatch-0.1.0/tests/unit/test_llm_adapters.py +86 -0
- boardwatch-0.1.0/tests/unit/test_llm_cache.py +51 -0
- boardwatch-0.1.0/tests/unit/test_llm_payload.py +73 -0
- boardwatch-0.1.0/tests/unit/test_llm_settings.py +12 -0
- boardwatch-0.1.0/tests/unit/test_migration_applications.py +56 -0
- boardwatch-0.1.0/tests/unit/test_migration_artifacts.py +54 -0
- boardwatch-0.1.0/tests/unit/test_migration_eligibility.py +83 -0
- boardwatch-0.1.0/tests/unit/test_migration_job_grouping.py +61 -0
- boardwatch-0.1.0/tests/unit/test_migration_jobs_anchor.py +81 -0
- boardwatch-0.1.0/tests/unit/test_migration_last_health.py +85 -0
- boardwatch-0.1.0/tests/unit/test_migration_posting_versions.py +82 -0
- boardwatch-0.1.0/tests/unit/test_migration_profile_eligibility.py +66 -0
- boardwatch-0.1.0/tests/unit/test_migration_version_sources.py +64 -0
- boardwatch-0.1.0/tests/unit/test_models.py +70 -0
- boardwatch-0.1.0/tests/unit/test_normalize.py +66 -0
- boardwatch-0.1.0/tests/unit/test_politeness.py +178 -0
- boardwatch-0.1.0/tests/unit/test_preflight.py +184 -0
- boardwatch-0.1.0/tests/unit/test_provider_registry.py +108 -0
- boardwatch-0.1.0/tests/unit/test_queries.py +224 -0
- boardwatch-0.1.0/tests/unit/test_ranking.py +203 -0
- boardwatch-0.1.0/tests/unit/test_registry.py +83 -0
- boardwatch-0.1.0/tests/unit/test_role_family.py +36 -0
- boardwatch-0.1.0/tests/unit/test_schema_head.py +5 -0
- boardwatch-0.1.0/tests/unit/test_secrets.py +27 -0
- boardwatch-0.1.0/tests/unit/test_settings.py +149 -0
- boardwatch-0.1.0/tests/unit/test_store.py +255 -0
- boardwatch-0.1.0/tests/unit/test_taxonomy.py +144 -0
- boardwatch-0.1.0/tests/unit/test_taxonomy_caveats.py +147 -0
- boardwatch-0.1.0/tests/unit/test_top_new.py +184 -0
- boardwatch-0.1.0/tests/unit/test_track_cmd.py +165 -0
- boardwatch-0.1.0/tests/unit/test_version.py +33 -0
- boardwatch-0.1.0/tools/__init__.py +1 -0
- boardwatch-0.1.0/tools/generalization/__init__.py +1 -0
- boardwatch-0.1.0/tools/generalization/__main__.py +83 -0
- boardwatch-0.1.0/tools/generalization/allowlists.py +158 -0
- boardwatch-0.1.0/tools/generalization/defaults.py +431 -0
- boardwatch-0.1.0/tools/generalization/discovery.py +178 -0
- boardwatch-0.1.0/tools/generalization/inventory.py +377 -0
- boardwatch-0.1.0/tools/generalization/model.py +25 -0
- boardwatch-0.1.0/tools/generalization/packaging.py +79 -0
- boardwatch-0.1.0/tools/generalization/shape.py +285 -0
- boardwatch-0.1.0/tools/generalization/snapshots.py +96 -0
- boardwatch-0.1.0/uv.lock +1323 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.git
|
|
2
|
+
.github
|
|
3
|
+
.venv
|
|
4
|
+
.agent
|
|
5
|
+
.superpowers
|
|
6
|
+
.reasonix-runs
|
|
7
|
+
reasonix.toml
|
|
8
|
+
tools
|
|
9
|
+
.mypy_cache
|
|
10
|
+
.pytest_cache
|
|
11
|
+
.ruff_cache
|
|
12
|
+
.coverage
|
|
13
|
+
coverage.xml
|
|
14
|
+
dist
|
|
15
|
+
tests
|
|
16
|
+
docs
|
|
17
|
+
*.db
|
|
18
|
+
_alembic_dev.db
|
|
19
|
+
__pycache__
|
|
20
|
+
*.pyc
|
|
21
|
+
.DS_Store
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Pin line endings repo-wide so the content hashes in the generalization inventory (R7)
|
|
2
|
+
# are stable on every platform. Without this, Git for Windows checks out CRLF by default
|
|
3
|
+
# and every sha256 pin mismatches at once. text=auto still leaves detected binaries alone.
|
|
4
|
+
* text=auto eol=lf
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Board / provider request
|
|
2
|
+
description: Ask for a company in the registry, or support for a new ATS
|
|
3
|
+
labels: ["registry"]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
You can already watch **any** Greenhouse / Lever / Ashby board today with
|
|
9
|
+
`boardwatch companies add <url>` — no issue needed. Use this for adding a
|
|
10
|
+
company to the **bundled registry** or requesting a **new ATS provider**.
|
|
11
|
+
- type: dropdown
|
|
12
|
+
id: kind
|
|
13
|
+
attributes:
|
|
14
|
+
label: Request type
|
|
15
|
+
options:
|
|
16
|
+
- Add a company to the bundled registry
|
|
17
|
+
- Support a new ATS provider
|
|
18
|
+
validations:
|
|
19
|
+
required: true
|
|
20
|
+
- type: input
|
|
21
|
+
id: board-url
|
|
22
|
+
attributes:
|
|
23
|
+
label: Public board URL (if adding a company)
|
|
24
|
+
placeholder: https://boards.greenhouse.io/acme
|
|
25
|
+
- type: input
|
|
26
|
+
id: provider
|
|
27
|
+
attributes:
|
|
28
|
+
label: ATS provider (if requesting new support)
|
|
29
|
+
placeholder: e.g. Workday, SmartRecruiters
|
|
30
|
+
- type: textarea
|
|
31
|
+
id: notes
|
|
32
|
+
attributes:
|
|
33
|
+
label: Anything else?
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
name: Bug report
|
|
2
|
+
description: Something isn't working as documented
|
|
3
|
+
labels: ["bug"]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: Thanks for filing a bug. Please search existing issues first.
|
|
8
|
+
- type: textarea
|
|
9
|
+
id: what-happened
|
|
10
|
+
attributes:
|
|
11
|
+
label: What happened?
|
|
12
|
+
description: What did you expect, and what happened instead?
|
|
13
|
+
validations:
|
|
14
|
+
required: true
|
|
15
|
+
- type: textarea
|
|
16
|
+
id: repro
|
|
17
|
+
attributes:
|
|
18
|
+
label: Steps to reproduce
|
|
19
|
+
placeholder: |
|
|
20
|
+
1. boardwatch init ...
|
|
21
|
+
2. boardwatch scan ...
|
|
22
|
+
3. boardwatch top ...
|
|
23
|
+
validations:
|
|
24
|
+
required: true
|
|
25
|
+
- type: input
|
|
26
|
+
id: version
|
|
27
|
+
attributes:
|
|
28
|
+
label: boardwatch version
|
|
29
|
+
description: Output of `boardwatch version`.
|
|
30
|
+
validations:
|
|
31
|
+
required: true
|
|
32
|
+
- type: dropdown
|
|
33
|
+
id: os
|
|
34
|
+
attributes:
|
|
35
|
+
label: Operating system
|
|
36
|
+
options:
|
|
37
|
+
- macOS
|
|
38
|
+
- Linux
|
|
39
|
+
- Windows
|
|
40
|
+
- Other
|
|
41
|
+
validations:
|
|
42
|
+
required: true
|
|
43
|
+
- type: input
|
|
44
|
+
id: python
|
|
45
|
+
attributes:
|
|
46
|
+
label: Python version
|
|
47
|
+
placeholder: e.g. 3.12.3
|
|
48
|
+
- type: textarea
|
|
49
|
+
id: logs
|
|
50
|
+
attributes:
|
|
51
|
+
label: Relevant output / traceback
|
|
52
|
+
render: shell
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: Feature request
|
|
2
|
+
description: Suggest an improvement or new capability
|
|
3
|
+
labels: ["enhancement"]
|
|
4
|
+
body:
|
|
5
|
+
- type: textarea
|
|
6
|
+
id: problem
|
|
7
|
+
attributes:
|
|
8
|
+
label: What problem would this solve?
|
|
9
|
+
description: Describe the job-search pain point, not the implementation.
|
|
10
|
+
validations:
|
|
11
|
+
required: true
|
|
12
|
+
- type: textarea
|
|
13
|
+
id: proposal
|
|
14
|
+
attributes:
|
|
15
|
+
label: Proposed solution
|
|
16
|
+
- type: textarea
|
|
17
|
+
id: alternatives
|
|
18
|
+
attributes:
|
|
19
|
+
label: Alternatives you've considered
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
## What & why
|
|
2
|
+
|
|
3
|
+
<!-- What does this change, and what problem does it solve? Link the issue, e.g. Closes #NN -->
|
|
4
|
+
|
|
5
|
+
## Checklist
|
|
6
|
+
|
|
7
|
+
- [ ] `make check` passes locally (generalization + ruff + mypy --strict + pytest)
|
|
8
|
+
- [ ] Tests added/updated for the change
|
|
9
|
+
- [ ] README/docs updated if behavior or config changed
|
|
10
|
+
- [ ] One logical change per PR
|
|
11
|
+
|
|
12
|
+
<!-- Registry additions: confirm the board is publicly reachable (HTTP 200, valid JSON)
|
|
13
|
+
and include the rationale. See src/boardwatch/registry/README.md -->
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
name: ci
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches: [main]
|
|
5
|
+
pull_request:
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
contents: read
|
|
9
|
+
pull-requests: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
name: test (${{ matrix.python }}, ${{ matrix.os }})
|
|
14
|
+
strategy:
|
|
15
|
+
fail-fast: false
|
|
16
|
+
matrix:
|
|
17
|
+
# Full 3-OS matrix only on push to main (the pre-permanent safety net).
|
|
18
|
+
# PRs run ubuntu-only to conserve Free-tier minutes (macOS bills 10x,
|
|
19
|
+
# Windows 2x). OS-specific risk is re-verified at the main merge.
|
|
20
|
+
os: ${{ github.event_name == 'push' && fromJSON('["ubuntu-latest", "macos-latest", "windows-latest"]') || fromJSON('["ubuntu-latest"]') }}
|
|
21
|
+
python: ["3.11", "3.12", "3.13"]
|
|
22
|
+
runs-on: ${{ matrix.os }}
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@v4
|
|
25
|
+
- uses: astral-sh/setup-uv@v5
|
|
26
|
+
with:
|
|
27
|
+
python-version: ${{ matrix.python }}
|
|
28
|
+
- run: uv sync --frozen
|
|
29
|
+
- run: uv run ruff check .
|
|
30
|
+
- run: uv run mypy --strict src tools
|
|
31
|
+
- run: uv run pytest
|
|
32
|
+
|
|
33
|
+
gitleaks:
|
|
34
|
+
name: gitleaks
|
|
35
|
+
runs-on: ubuntu-latest
|
|
36
|
+
steps:
|
|
37
|
+
- uses: actions/checkout@v4
|
|
38
|
+
with:
|
|
39
|
+
fetch-depth: 0
|
|
40
|
+
- uses: gitleaks/gitleaks-action@v2
|
|
41
|
+
env:
|
|
42
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
43
|
+
|
|
44
|
+
perf:
|
|
45
|
+
name: perf
|
|
46
|
+
runs-on: ubuntu-latest
|
|
47
|
+
steps:
|
|
48
|
+
- uses: actions/checkout@v4
|
|
49
|
+
- uses: astral-sh/setup-uv@v5
|
|
50
|
+
with:
|
|
51
|
+
python-version: "3.12"
|
|
52
|
+
- run: uv sync --frozen
|
|
53
|
+
- run: uv run pytest tests/perf -m perf --no-cov -s
|
|
54
|
+
|
|
55
|
+
generalization:
|
|
56
|
+
name: generalization
|
|
57
|
+
runs-on: ubuntu-latest
|
|
58
|
+
steps:
|
|
59
|
+
- uses: actions/checkout@v4
|
|
60
|
+
- uses: astral-sh/setup-uv@v5
|
|
61
|
+
with:
|
|
62
|
+
python-version: "3.12"
|
|
63
|
+
- run: uv sync --frozen
|
|
64
|
+
- run: uv run python -m tools.generalization
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: registry-health
|
|
2
|
+
on:
|
|
3
|
+
schedule:
|
|
4
|
+
- cron: "0 7 * * 1" # Mondays 07:00 UTC
|
|
5
|
+
workflow_dispatch: {}
|
|
6
|
+
jobs:
|
|
7
|
+
health:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@v4
|
|
11
|
+
- uses: actions/setup-python@v5
|
|
12
|
+
with:
|
|
13
|
+
python-version: "3.12"
|
|
14
|
+
- run: pip install uv && uv sync
|
|
15
|
+
# exits non-zero iff DEAD/ERROR/UNREACHABLE → drift is visible; EMPTY passes (§3.2-valid)
|
|
16
|
+
- run: uv run python -m boardwatch.registry.health_report
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
name: release
|
|
2
|
+
|
|
3
|
+
# Cut a release by pushing a tag: `git tag v0.1.0 && git push origin v0.1.0`.
|
|
4
|
+
# One-time setup on PyPI: add a Trusted Publisher for this repo + the `release`
|
|
5
|
+
# workflow + the `pypi` environment (https://docs.pypi.org/trusted-publishers/).
|
|
6
|
+
# No API token is stored anywhere.
|
|
7
|
+
on:
|
|
8
|
+
push:
|
|
9
|
+
tags: ["v*"]
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
build:
|
|
17
|
+
name: build + smoke test
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
- uses: astral-sh/setup-uv@v5
|
|
22
|
+
with:
|
|
23
|
+
python-version: "3.12"
|
|
24
|
+
- run: uv sync --frozen
|
|
25
|
+
# The strongest gate belongs on the most irreversible action. `make check` is the same
|
|
26
|
+
# generalization + ruff + mypy --strict + pytest gate main runs; `pytest -q` alone let a
|
|
27
|
+
# tag publish code that main CI would have rejected.
|
|
28
|
+
- run: make check
|
|
29
|
+
- run: uv build # sdist + wheel into dist/
|
|
30
|
+
- uses: actions/upload-artifact@v4
|
|
31
|
+
with:
|
|
32
|
+
name: dist
|
|
33
|
+
path: dist/
|
|
34
|
+
|
|
35
|
+
pypi:
|
|
36
|
+
name: publish to PyPI
|
|
37
|
+
needs: build
|
|
38
|
+
runs-on: ubuntu-latest
|
|
39
|
+
environment: pypi
|
|
40
|
+
permissions:
|
|
41
|
+
id-token: write # Trusted Publishing (OIDC) — tokenless
|
|
42
|
+
steps:
|
|
43
|
+
- uses: actions/download-artifact@v4
|
|
44
|
+
with:
|
|
45
|
+
name: dist
|
|
46
|
+
path: dist/
|
|
47
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
48
|
+
|
|
49
|
+
github-release:
|
|
50
|
+
name: github release
|
|
51
|
+
needs: build
|
|
52
|
+
runs-on: ubuntu-latest
|
|
53
|
+
permissions:
|
|
54
|
+
contents: write
|
|
55
|
+
steps:
|
|
56
|
+
- uses: actions/download-artifact@v4
|
|
57
|
+
with:
|
|
58
|
+
name: dist
|
|
59
|
+
path: dist/
|
|
60
|
+
# Notes are intentionally NOT auto-generated: GitHub credits commit
|
|
61
|
+
# co-authors, and release notes must stay attribution-free. Write them
|
|
62
|
+
# by hand on the release, or via a curated CHANGELOG.
|
|
63
|
+
- uses: softprops/action-gh-release@v2
|
|
64
|
+
with:
|
|
65
|
+
files: dist/*
|
|
66
|
+
generate_release_notes: false
|
|
67
|
+
body: |
|
|
68
|
+
Install: `pipx install boardwatch` · `docker run ghcr.io/mit112/boardwatch:latest`
|
|
69
|
+
See the README for the quickstart.
|
|
70
|
+
|
|
71
|
+
docker:
|
|
72
|
+
name: build + push image (GHCR)
|
|
73
|
+
needs: build
|
|
74
|
+
runs-on: ubuntu-latest
|
|
75
|
+
permissions:
|
|
76
|
+
contents: read
|
|
77
|
+
packages: write
|
|
78
|
+
steps:
|
|
79
|
+
- uses: actions/checkout@v4
|
|
80
|
+
- uses: docker/setup-buildx-action@v3
|
|
81
|
+
- uses: docker/login-action@v3
|
|
82
|
+
with:
|
|
83
|
+
registry: ghcr.io
|
|
84
|
+
username: ${{ github.actor }}
|
|
85
|
+
password: ${{ secrets.GITHUB_TOKEN }}
|
|
86
|
+
- uses: docker/metadata-action@v5
|
|
87
|
+
id: meta
|
|
88
|
+
with:
|
|
89
|
+
images: ghcr.io/${{ github.repository }}
|
|
90
|
+
tags: |
|
|
91
|
+
type=semver,pattern={{version}}
|
|
92
|
+
type=raw,value=latest
|
|
93
|
+
- uses: docker/build-push-action@v6
|
|
94
|
+
with:
|
|
95
|
+
context: .
|
|
96
|
+
push: true
|
|
97
|
+
tags: ${{ steps.meta.outputs.tags }}
|
|
98
|
+
labels: ${{ steps.meta.outputs.labels }}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to
|
|
5
|
+
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## [0.1.0] - 2026-08-01
|
|
8
|
+
|
|
9
|
+
First public release.
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **Job radar over official ATS APIs.** Watch company boards on Greenhouse, Lever, and
|
|
14
|
+
Ashby. No scraping, no credentials, no accounts.
|
|
15
|
+
- **Change detection.** `digest` reports what is new, reopened, updated, or closed since
|
|
16
|
+
your last run, and `top --new` limits ranking to postings you have not seen.
|
|
17
|
+
- **Deterministic eligibility engine.** Work authorization, experience, clearance, and
|
|
18
|
+
degree requirements are extracted with auditable rules, and every requirement it surfaces
|
|
19
|
+
cites the exact job description span it came from. No model is involved in the default path.
|
|
20
|
+
- **Persisted eligibility audit trail.** `show` renders a per-posting verdict with its
|
|
21
|
+
supporting evidence, so a decision can be re-checked later rather than taken on trust.
|
|
22
|
+
- **Ranking against your profile.** `top` scores open postings, with a live component
|
|
23
|
+
breakdown available in `show`.
|
|
24
|
+
- **Application tracking.** `track` records your own funnel state per job.
|
|
25
|
+
- **Data portability.** `export` writes every open or tracked posting with its verdict and
|
|
26
|
+
funnel state as JSONL or CSV. `top --json` emits machine-readable rankings.
|
|
27
|
+
- **Opt-in LLM eligibility extraction.** Disabled by default. When enabled, the model acts
|
|
28
|
+
only as a span locator: it returns verbatim job description quotes, every one of which is
|
|
29
|
+
validated as a literal substring of the source before use. Fabricated citations are
|
|
30
|
+
dropped. LLM findings are advisory and can never produce an "ineligible" verdict.
|
|
31
|
+
- **Local-first storage.** Its primary store is one SQLite database in your platform
|
|
32
|
+
data directory; the opt-in LLM tier also caches raw responses there as plain files on
|
|
33
|
+
disk. Overridable with `--data-dir`. No server, no cloud, no telemetry.
|
|
34
|
+
- **`doctor`** for connectivity, per-board health and freshness, and database integrity.
|
|
35
|
+
|
|
36
|
+
[0.1.0]: https://github.com/mit112/boardwatch/releases/tag/v0.1.0
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Code of Conduct
|
|
2
|
+
|
|
3
|
+
This project follows the spirit of the
|
|
4
|
+
[Contributor Covenant v2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
|
|
5
|
+
|
|
6
|
+
Be respectful and constructive. Harassment, personal attacks, and
|
|
7
|
+
discriminatory language are not tolerated in any of this project's spaces
|
|
8
|
+
(issues, PRs, discussions, commits). Report unacceptable behavior privately to
|
|
9
|
+
the maintainer via GitHub; reports are handled confidentially. Maintainers may
|
|
10
|
+
edit or remove comments, commits, issues, and PRs that violate this standard,
|
|
11
|
+
and may ban repeat offenders.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Dev setup: install [uv](https://docs.astral.sh/uv/), then `uv sync` and
|
|
4
|
+
`uv run pre-commit install`. `make check` (generalization + ruff + mypy --strict + pytest) must
|
|
5
|
+
be green before every PR; CI runs the same commands: pull requests run the test suite on ubuntu with
|
|
6
|
+
Python 3.11-3.13, plus gitleaks and a dedicated generalization job; pushes to `main` additionally
|
|
7
|
+
run that test matrix on macOS and Windows.
|
|
8
|
+
|
|
9
|
+
## What must never enter this repo
|
|
10
|
+
|
|
11
|
+
This project is a general-purpose tool. Some of it grew out of a private, single-user
|
|
12
|
+
job-search setup, so there is a standing rule about what does not come along.
|
|
13
|
+
|
|
14
|
+
Never commit:
|
|
15
|
+
|
|
16
|
+
- **Personal career data.** Resume or CV text, work history, cover letters, EEO or
|
|
17
|
+
work-authorization answers.
|
|
18
|
+
- **Personal targeting lists.** A private list of companies, recruiters or contacts.
|
|
19
|
+
- **Personal preference defaults.** One person's job titles, locations, salary floor or
|
|
20
|
+
filters, shipped as the default for everybody.
|
|
21
|
+
- **Personal identifiers.** Home-directory paths, email addresses, phone numbers,
|
|
22
|
+
profile URLs.
|
|
23
|
+
|
|
24
|
+
Curated generic content is welcome. The tech taxonomy and the public starter registry are
|
|
25
|
+
both good examples. The question that separates them:
|
|
26
|
+
|
|
27
|
+
> Does this content describe **the world**, or **one user's situation and preferences**?
|
|
28
|
+
|
|
29
|
+
A list of public company job boards describes the world. A list of the companies you
|
|
30
|
+
personally want to work at describes you.
|
|
31
|
+
|
|
32
|
+
These checks catch identifier shapes, new data files and changed defaults, so those cannot
|
|
33
|
+
land unnoticed. They do not and cannot catch personal values written into Python source or
|
|
34
|
+
prose; code review is the control there. For a legitimate block, add a reviewed entry to
|
|
35
|
+
`tools/generalization/allowlists.py` for the shape and inventory rules, or a reviewed update
|
|
36
|
+
to `tools/generalization/snapshots.py` for the pinned defaults. The collection-defaults rule
|
|
37
|
+
has no opt-out by design, so the remedy there is to restructure the value. Weakening or
|
|
38
|
+
removing a check is a security-sensitive change and will be reviewed as one.
|
|
39
|
+
|
|
40
|
+
All changes land via PR — `main` is branch-protected. One issue per PR.
|
|
41
|
+
|
|
42
|
+
The bundled registry catalog (company boards) has its own bar — see
|
|
43
|
+
[`src/boardwatch/registry/README.md`](src/boardwatch/registry/README.md).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# syntax=docker/dockerfile:1
|
|
2
|
+
FROM python:3.12-slim
|
|
3
|
+
|
|
4
|
+
# Dependencies come from uv.lock, never from a fresh resolve: two builds of the same tag
|
|
5
|
+
# must yield the same dependency tree. `uv export` renders the locked graph as a
|
|
6
|
+
# hash-pinned requirements file, and --require-hashes makes pip refuse anything that does
|
|
7
|
+
# not match. The package itself is then installed with --no-deps so pip cannot re-resolve
|
|
8
|
+
# behind the lock's back.
|
|
9
|
+
COPY --from=ghcr.io/astral-sh/uv:0.10.5 /uv /usr/local/bin/uv
|
|
10
|
+
COPY . /tmp/boardwatch
|
|
11
|
+
RUN uv export --directory /tmp/boardwatch --frozen --no-dev --no-emit-project \
|
|
12
|
+
-o /tmp/requirements.txt \
|
|
13
|
+
&& pip install --no-cache-dir --require-hashes -r /tmp/requirements.txt \
|
|
14
|
+
&& pip install --no-cache-dir --no-deps /tmp/boardwatch \
|
|
15
|
+
&& rm -rf /tmp/boardwatch /tmp/requirements.txt /usr/local/bin/uv
|
|
16
|
+
|
|
17
|
+
# Run as a non-root user; persist the local SQLite DB under /data (mount a volume
|
|
18
|
+
# here and pass `--data-dir /data`).
|
|
19
|
+
RUN useradd --create-home --uid 10001 boardwatch \
|
|
20
|
+
&& mkdir -p /data && chown boardwatch:boardwatch /data
|
|
21
|
+
USER boardwatch
|
|
22
|
+
WORKDIR /data
|
|
23
|
+
VOLUME ["/data"]
|
|
24
|
+
|
|
25
|
+
ENTRYPOINT ["boardwatch"]
|
boardwatch-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Mit sheth
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|