systemap 1.2.0__tar.gz → 3.0.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.
- systemap-3.0.0/.claude/skills/systemap/references/decisions.md +1 -0
- systemap-3.0.0/.claude/skills/systemap/references/example.md +1 -0
- systemap-3.0.0/.claude/skills/systemap/references/journeys-and-invariants.md +1 -0
- systemap-3.0.0/.claude/skills/systemap/references/language.md +1 -0
- systemap-3.0.0/.claude/skills/systemap/references/layers.md +1 -0
- systemap-3.0.0/.claude/skills/systemap/references/layout.md +1 -0
- systemap-3.0.0/.claude/skills/systemap/references/maintenance.md +1 -0
- systemap-3.0.0/.claude/skills/systemap/references/pitfalls.md +1 -0
- systemap-3.0.0/.claude/skills/systemap/references/schema.md +1 -0
- systemap-3.0.0/.claude/skills/systemap/references/second-pass.md +1 -0
- {systemap-1.2.0 → systemap-3.0.0}/.claude-plugin/marketplace.json +2 -2
- systemap-3.0.0/.claude-plugin/plugin.json +33 -0
- systemap-3.0.0/.github/build-constraints.txt +28 -0
- systemap-3.0.0/.github/workflows/systemap.yml +372 -0
- systemap-3.0.0/.github/workflows/workflow.yml +47 -0
- {systemap-1.2.0 → systemap-3.0.0}/.gitignore +5 -1
- systemap-3.0.0/.impeccable/design.json +195 -0
- {systemap-1.2.0 → systemap-3.0.0}/.pre-commit-config.yaml +3 -1
- systemap-3.0.0/AGENTS.md +96 -0
- systemap-3.0.0/CHANGELOG.md +757 -0
- systemap-3.0.0/DESIGN.md +697 -0
- systemap-3.0.0/PKG-INFO +614 -0
- systemap-3.0.0/PRODUCT.md +72 -0
- systemap-3.0.0/README.md +587 -0
- {systemap-1.2.0 → systemap-3.0.0}/assets/hero-light.svg +1 -1
- {systemap-1.2.0 → systemap-3.0.0}/assets/hero.svg +1 -1
- systemap-3.0.0/bench/jev/README.md +3743 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/build_meaning.py +13 -4
- systemap-3.0.0/bench/jev/build_shipped.py +304 -0
- systemap-3.0.0/bench/jev/call_site_context.py +321 -0
- systemap-3.0.0/bench/jev/change_reuse.py +151 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/common.py +55 -5
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/draft.py +3 -3
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/drift_labels.py +5 -3
- systemap-3.0.0/bench/jev/flow_context.py +520 -0
- systemap-3.0.0/bench/jev/fstring_digest.py +69 -0
- systemap-3.0.0/bench/jev/import_context.py +109 -0
- systemap-3.0.0/bench/jev/model_census.py +79 -0
- systemap-3.0.0/bench/jev/model_load_time.py +62 -0
- systemap-3.0.0/bench/jev/model_parse_limits.py +42 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/moves.py +4 -4
- systemap-3.0.0/bench/jev/openai_flow_context.py +165 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/paths.py +1 -1
- systemap-3.0.0/bench/jev/provider_eval.py +386 -0
- systemap-3.0.0/bench/jev/relabel_time.py +250 -0
- systemap-3.0.0/bench/jev/results/flowctx-facts-report.txt +15 -0
- systemap-3.0.0/bench/jev/results/flowctx-report.txt +58 -0
- systemap-3.0.0/bench/jev/results/flowctx_around.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/flowctx_base.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/flowctx_calls.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/flowctx_facts.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/flowctx_targets.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/flowctx_around.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/flowctx_base.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/flowctx_calls.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/flowctx_facts.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/flowctx_targets.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/flowverify_old.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/flowverify_shipped.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/governs_old.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/governs_shipped.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/openai/curve.json +1481 -0
- systemap-3.0.0/bench/jev/results/holdout/openai/flowctx_facts.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/openai/flowverify.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/openai/governs.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/openai/issues.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/openai/owner.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/openai/sentence.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/owner_old.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/owner_shipped.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/prompts-report.txt +100 -0
- systemap-3.0.0/bench/jev/results/holdout/sentence_old.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/holdout/sentence_shipped.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/openai/curve.json +1481 -0
- systemap-3.0.0/bench/jev/results/openai/curves.txt +114 -0
- systemap-3.0.0/bench/jev/results/openai/flowctx-facts-report.txt +23 -0
- systemap-3.0.0/bench/jev/results/openai/flowctx_facts.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/openai/flowverify.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/openai/governs.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/openai/issues.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/openai/owner.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/openai/report.txt +49 -0
- systemap-3.0.0/bench/jev/results/openai/sentence.jsonl.gz +0 -0
- systemap-3.0.0/bench/jev/results/typescript-descriptions-91.json +424 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/run.py +20 -6
- systemap-3.0.0/bench/jev/run_openai.py +90 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/score.py +270 -51
- systemap-3.0.0/bench/jev/syntax_portability.py +29 -0
- systemap-3.0.0/bench/jev/tree_reader_memory.py +127 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/uv.lock +16 -1
- systemap-3.0.0/bench/maintenance/PROTOCOL.md +282 -0
- systemap-3.0.0/bench/pr_summary_length.py +121 -0
- systemap-3.0.0/bench/python_paths.py +156 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/results.jsonl +1 -0
- systemap-3.0.0/bench/table.py +268 -0
- systemap-3.0.0/bench/typescript_adapter.py +135 -0
- systemap-3.0.0/bench/typescript_descriptions.py +93 -0
- systemap-3.0.0/bench/typescript_detect.py +147 -0
- systemap-3.0.0/bench/typescript_discovery.py +97 -0
- systemap-3.0.0/docs/assets/Inter-OFL.txt +92 -0
- systemap-3.0.0/docs/assets/inter.woff2 +0 -0
- systemap-3.0.0/docs/assets/mark.svg +1 -0
- systemap-3.0.0/docs/assets/site.css +459 -0
- systemap-3.0.0/docs/assets/site.js +185 -0
- systemap-3.0.0/docs/benchmarks.md +140 -0
- systemap-3.0.0/docs/guide/benchmarks.html +481 -0
- systemap-3.0.0/docs/guide/coding-agents.html +200 -0
- systemap-3.0.0/docs/guide/concepts.html +237 -0
- systemap-3.0.0/docs/guide/getting-started.html +148 -0
- systemap-3.0.0/docs/guide/index.html +62 -0
- systemap-3.0.0/docs/guide/limits.html +105 -0
- systemap-3.0.0/docs/guide/live-map.html +140 -0
- systemap-3.0.0/docs/guide/pull-requests-and-ci.html +225 -0
- systemap-3.0.0/docs/guide/reading-the-map.html +225 -0
- systemap-3.0.0/docs/guide/reference.html +2735 -0
- systemap-3.0.0/docs/guide/trust-and-security.html +238 -0
- systemap-3.0.0/docs/index.html +225 -0
- systemap-3.0.0/docs/map/figures/control.svg +1 -0
- systemap-3.0.0/docs/map/figures/structure.svg +1 -0
- systemap-3.0.0/docs/map/figures/system.svg +1 -0
- systemap-3.0.0/docs/map/index.html +1653 -0
- systemap-3.0.0/docs/map/map.json +189 -0
- systemap-3.0.0/docs/reference.md +1952 -0
- systemap-3.0.0/docs/screenshots/dark.png +0 -0
- systemap-3.0.0/docs/screenshots/light.png +0 -0
- systemap-3.0.0/docs/screenshots/phone.png +0 -0
- systemap-3.0.0/docs/screenshots/sequence.png +0 -0
- systemap-3.0.0/docs/screenshots/tour.gif +0 -0
- systemap-3.0.0/docs/screenshots/view-changes-dark.webp +0 -0
- systemap-3.0.0/docs/screenshots/view-changes-light.webp +0 -0
- systemap-3.0.0/docs/screenshots/view-changes-phone-dark.webp +0 -0
- systemap-3.0.0/docs/screenshots/view-changes-phone-light.webp +0 -0
- systemap-3.0.0/docs/screenshots/view-map-dark.webp +0 -0
- systemap-3.0.0/docs/screenshots/view-map-light.webp +0 -0
- systemap-3.0.0/docs/screenshots/view-map-phone-dark.webp +0 -0
- systemap-3.0.0/docs/screenshots/view-map-phone-light.webp +0 -0
- systemap-3.0.0/docs/screenshots/view-sequence-dark.webp +0 -0
- systemap-3.0.0/docs/screenshots/view-sequence-light.webp +0 -0
- systemap-3.0.0/docs/screenshots/view-sequence-phone-dark.webp +0 -0
- systemap-3.0.0/docs/screenshots/view-sequence-phone-light.webp +0 -0
- systemap-3.0.0/docs/ui-overhaul.md +224 -0
- systemap-3.0.0/hooks/hooks.json +1 -0
- systemap-3.0.0/hooks/live.ts +353 -0
- systemap-3.0.0/hooks/pyproject.ts +326 -0
- systemap-3.0.0/hooks/register.test.tsx +495 -0
- systemap-3.0.0/hooks/register.tsx +300 -0
- systemap-3.0.0/map/contract.py +118 -0
- systemap-3.0.0/map/flows.py +228 -0
- systemap-3.0.0/map/journeys.py +522 -0
- systemap-3.0.0/map/model.py +633 -0
- {systemap-1.2.0 → systemap-3.0.0}/pyproject.toml +28 -4
- {systemap-1.2.0 → systemap-3.0.0}/scripts/check_plugin_manifest.py +10 -24
- systemap-3.0.0/scripts/inter_subset.py +215 -0
- systemap-3.0.0/scripts/precommit/cyclomatic_ratchet.py +404 -0
- {systemap-1.2.0 → systemap-3.0.0}/scripts/precommit/file_length_ratchet.py +44 -7
- systemap-3.0.0/scripts/publish.sh +53 -0
- {systemap-1.2.0 → systemap-3.0.0}/scripts/screenshots.py +62 -51
- systemap-3.0.0/site/README.md +131 -0
- systemap-3.0.0/site/build.py +620 -0
- systemap-3.0.0/site/check.txt +9 -0
- systemap-3.0.0/site/delta.txt +9 -0
- systemap-3.0.0/site/highlight.py +202 -0
- systemap-3.0.0/site/index.html +188 -0
- systemap-3.0.0/site/layout.py +282 -0
- systemap-3.0.0/site/pages/01-getting-started.md +140 -0
- systemap-3.0.0/site/pages/02-concepts.md +123 -0
- systemap-3.0.0/site/pages/03-reading-the-map.md +106 -0
- systemap-3.0.0/site/pages/04-coding-agents.md +119 -0
- systemap-3.0.0/site/pages/05-pull-requests-and-ci.md +170 -0
- systemap-3.0.0/site/pages/06-live-map.md +90 -0
- systemap-3.0.0/site/pages/07-trust-and-security.md +164 -0
- systemap-3.0.0/site/pages/08-limits.md +53 -0
- systemap-3.0.0/site/site.css +454 -0
- systemap-3.0.0/site/site.js +185 -0
- systemap-3.0.0/skills/systemap/SKILL.md +240 -0
- systemap-3.0.0/skills/systemap/references/decisions.md +85 -0
- systemap-3.0.0/skills/systemap/references/example.md +200 -0
- systemap-3.0.0/skills/systemap/references/journeys-and-invariants.md +89 -0
- systemap-3.0.0/skills/systemap/references/language.md +456 -0
- systemap-3.0.0/skills/systemap/references/layers.md +96 -0
- systemap-3.0.0/skills/systemap/references/layout.md +98 -0
- systemap-3.0.0/skills/systemap/references/maintenance.md +130 -0
- systemap-3.0.0/skills/systemap/references/pitfalls.md +83 -0
- systemap-3.0.0/skills/systemap/references/schema.md +512 -0
- systemap-3.0.0/skills/systemap/references/second-pass.md +147 -0
- {systemap-1.2.0 → systemap-3.0.0}/src/systemap/__init__.py +9 -6
- systemap-3.0.0/src/systemap/agent.py +359 -0
- systemap-3.0.0/src/systemap/answer_migrations.py +367 -0
- systemap-3.0.0/src/systemap/answer_upgrade.py +83 -0
- systemap-3.0.0/src/systemap/answer_write.py +297 -0
- systemap-3.0.0/src/systemap/assurance.py +295 -0
- systemap-3.0.0/src/systemap/audit.py +681 -0
- systemap-3.0.0/src/systemap/audit_code.py +202 -0
- systemap-3.0.0/src/systemap/boundary_ids.py +42 -0
- systemap-3.0.0/src/systemap/call_sites.py +62 -0
- systemap-3.0.0/src/systemap/card_review.py +201 -0
- systemap-3.0.0/src/systemap/change.py +724 -0
- systemap-3.0.0/src/systemap/change_tests.py +164 -0
- systemap-3.0.0/src/systemap/change_text.py +71 -0
- systemap-3.0.0/src/systemap/check.py +794 -0
- systemap-3.0.0/src/systemap/check_actions.py +60 -0
- systemap-3.0.0/src/systemap/check_report.py +240 -0
- systemap-3.0.0/src/systemap/cli.py +1388 -0
- systemap-3.0.0/src/systemap/completeness.py +29 -0
- systemap-3.0.0/src/systemap/config.py +800 -0
- systemap-3.0.0/src/systemap/config_decisions.py +116 -0
- systemap-3.0.0/src/systemap/config_paths.py +55 -0
- systemap-3.0.0/src/systemap/config_walk.py +41 -0
- systemap-3.0.0/src/systemap/contract.py +108 -0
- systemap-3.0.0/src/systemap/contract_edit.py +257 -0
- systemap-3.0.0/src/systemap/contract_file.py +114 -0
- systemap-3.0.0/src/systemap/contract_move.py +172 -0
- systemap-3.0.0/src/systemap/control_names.py +115 -0
- systemap-3.0.0/src/systemap/decision.py +268 -0
- systemap-3.0.0/src/systemap/decision_kinds.py +123 -0
- systemap-3.0.0/src/systemap/decisions.py +455 -0
- systemap-3.0.0/src/systemap/decisions_cli.py +268 -0
- systemap-3.0.0/src/systemap/decisions_store.py +220 -0
- systemap-3.0.0/src/systemap/decisions_submit.py +447 -0
- systemap-3.0.0/src/systemap/decisions_supported.py +74 -0
- systemap-3.0.0/src/systemap/delta.py +720 -0
- systemap-3.0.0/src/systemap/delta_git.py +431 -0
- systemap-3.0.0/src/systemap/delta_jev.py +292 -0
- systemap-3.0.0/src/systemap/delta_link.py +105 -0
- systemap-3.0.0/src/systemap/delta_model.py +232 -0
- systemap-3.0.0/src/systemap/delta_report.py +121 -0
- systemap-3.0.0/src/systemap/describe.py +310 -0
- systemap-3.0.0/src/systemap/drift_order.py +446 -0
- systemap-3.0.0/src/systemap/entry_names.py +85 -0
- systemap-3.0.0/src/systemap/evidence.py +418 -0
- systemap-3.0.0/src/systemap/explain.py +624 -0
- systemap-3.0.0/src/systemap/extract.py +754 -0
- systemap-3.0.0/src/systemap/extract_check.py +60 -0
- systemap-3.0.0/src/systemap/extraction.py +676 -0
- systemap-3.0.0/src/systemap/fact_cache.py +168 -0
- {systemap-1.2.0 → systemap-3.0.0}/src/systemap/facts.py +54 -59
- systemap-3.0.0/src/systemap/facts_file.py +478 -0
- systemap-3.0.0/src/systemap/facts_shape.py +278 -0
- systemap-3.0.0/src/systemap/failures.py +99 -0
- systemap-3.0.0/src/systemap/figure.py +428 -0
- systemap-3.0.0/src/systemap/file_names.py +103 -0
- systemap-3.0.0/src/systemap/file_write.py +363 -0
- systemap-3.0.0/src/systemap/flow_ids.py +245 -0
- systemap-3.0.0/src/systemap/flow_review.py +172 -0
- systemap-3.0.0/src/systemap/fonts/Inter-OFL.txt +92 -0
- systemap-3.0.0/src/systemap/git_command.py +272 -0
- systemap-3.0.0/src/systemap/graph.py +160 -0
- systemap-3.0.0/src/systemap/history.py +224 -0
- systemap-3.0.0/src/systemap/identifier.py +43 -0
- systemap-3.0.0/src/systemap/import_rules.py +327 -0
- systemap-3.0.0/src/systemap/init_language.py +29 -0
- systemap-3.0.0/src/systemap/jev.py +575 -0
- systemap-3.0.0/src/systemap/jev_cli.py +799 -0
- systemap-3.0.0/src/systemap/jev_provider.py +90 -0
- systemap-3.0.0/src/systemap/journey_coverage.py +227 -0
- systemap-3.0.0/src/systemap/journeys.py +607 -0
- systemap-3.0.0/src/systemap/jsonc_text.py +166 -0
- systemap-3.0.0/src/systemap/judgement.py +795 -0
- systemap-3.0.0/src/systemap/judgement_evidence.py +406 -0
- systemap-3.0.0/src/systemap/judgement_json.py +240 -0
- systemap-3.0.0/src/systemap/language.py +297 -0
- systemap-3.0.0/src/systemap/language_config.py +55 -0
- systemap-3.0.0/src/systemap/live_render.py +180 -0
- systemap-3.0.0/src/systemap/live_watch.py +192 -0
- systemap-3.0.0/src/systemap/model.py +800 -0
- systemap-3.0.0/src/systemap/model_convert.py +191 -0
- systemap-3.0.0/src/systemap/model_edit.py +126 -0
- systemap-3.0.0/src/systemap/model_fields.py +169 -0
- systemap-3.0.0/src/systemap/model_load.py +712 -0
- systemap-3.0.0/src/systemap/model_names.py +34 -0
- systemap-3.0.0/src/systemap/model_write.py +92 -0
- {systemap-1.2.0 → systemap-3.0.0}/src/systemap/moves.py +44 -52
- systemap-3.0.0/src/systemap/nest.py +290 -0
- systemap-3.0.0/src/systemap/notice_text.py +39 -0
- systemap-3.0.0/src/systemap/openai_provider.py +384 -0
- systemap-3.0.0/src/systemap/out_paths.py +36 -0
- systemap-3.0.0/src/systemap/page.py +669 -0
- systemap-3.0.0/src/systemap/page_assets.py +222 -0
- systemap-3.0.0/src/systemap/page_changes.py +411 -0
- systemap-3.0.0/src/systemap/page_changes_map.py +116 -0
- systemap-3.0.0/src/systemap/page_changes_script.py +469 -0
- systemap-3.0.0/src/systemap/page_csp.py +167 -0
- systemap-3.0.0/src/systemap/page_data.py +110 -0
- systemap-3.0.0/src/systemap/page_font.py +234 -0
- systemap-3.0.0/src/systemap/page_group_lines.py +366 -0
- systemap-3.0.0/src/systemap/page_groups.py +554 -0
- systemap-3.0.0/src/systemap/page_guide.py +273 -0
- systemap-3.0.0/src/systemap/page_icons.py +49 -0
- systemap-3.0.0/src/systemap/page_live.py +200 -0
- systemap-3.0.0/src/systemap/page_mapview.py +253 -0
- systemap-3.0.0/src/systemap/page_motion.py +308 -0
- systemap-3.0.0/src/systemap/page_palette.py +402 -0
- systemap-3.0.0/src/systemap/page_phone.py +697 -0
- systemap-3.0.0/src/systemap/page_present.py +379 -0
- systemap-3.0.0/src/systemap/page_script.py +551 -0
- systemap-3.0.0/src/systemap/page_sequence_script.py +573 -0
- systemap-3.0.0/src/systemap/page_sequences.py +776 -0
- systemap-3.0.0/src/systemap/page_workspace.py +121 -0
- systemap-3.0.0/src/systemap/pattern_match.py +22 -0
- {systemap-1.2.0 → systemap-3.0.0}/src/systemap/place.py +150 -334
- systemap-3.0.0/src/systemap/place_source.py +262 -0
- systemap-3.0.0/src/systemap/plan.py +218 -0
- systemap-3.0.0/src/systemap/pr_summary.py +370 -0
- systemap-3.0.0/src/systemap/providers.py +145 -0
- systemap-3.0.0/src/systemap/python_calls.py +338 -0
- systemap-3.0.0/src/systemap/python_entry.py +634 -0
- systemap-3.0.0/src/systemap/python_exports.py +149 -0
- systemap-3.0.0/src/systemap/python_imports.py +117 -0
- systemap-3.0.0/src/systemap/python_repo.py +295 -0
- systemap-3.0.0/src/systemap/python_syntax.py +104 -0
- systemap-3.0.0/src/systemap/python_tests.py +268 -0
- systemap-3.0.0/src/systemap/python_tree.py +174 -0
- systemap-3.0.0/src/systemap/reexports.py +651 -0
- systemap-3.0.0/src/systemap/repo_files.py +264 -0
- systemap-3.0.0/src/systemap/review.py +340 -0
- systemap-3.0.0/src/systemap/review_policy.py +39 -0
- systemap-3.0.0/src/systemap/review_upgrade.py +88 -0
- systemap-3.0.0/src/systemap/root_check.py +80 -0
- {systemap-1.2.0 → systemap-3.0.0}/src/systemap/route.py +209 -298
- systemap-3.0.0/src/systemap/route_astar.py +265 -0
- systemap-3.0.0/src/systemap/route_search.py +253 -0
- systemap-3.0.0/src/systemap/scaffold.py +619 -0
- systemap-3.0.0/src/systemap/schematic.py +745 -0
- systemap-3.0.0/src/systemap/schematic_cards.py +557 -0
- systemap-3.0.0/src/systemap/schematic_change.py +227 -0
- systemap-3.0.0/src/systemap/schematic_labels.py +180 -0
- systemap-3.0.0/src/systemap/schematic_relations.py +710 -0
- systemap-3.0.0/src/systemap/schematic_script.py +693 -0
- systemap-3.0.0/src/systemap/schematic_style.py +366 -0
- systemap-3.0.0/src/systemap/seat_grid.py +238 -0
- systemap-3.0.0/src/systemap/sequence_ids.py +24 -0
- systemap-3.0.0/src/systemap/serve.py +700 -0
- systemap-3.0.0/src/systemap/serve_guard.py +114 -0
- systemap-3.0.0/src/systemap/skill/SKILL.md +240 -0
- systemap-3.0.0/src/systemap/skill/references/decisions.md +85 -0
- systemap-3.0.0/src/systemap/skill/references/example.md +200 -0
- systemap-3.0.0/src/systemap/skill/references/journeys-and-invariants.md +89 -0
- systemap-3.0.0/src/systemap/skill/references/language.md +456 -0
- systemap-3.0.0/src/systemap/skill/references/layers.md +96 -0
- systemap-3.0.0/src/systemap/skill/references/layout.md +98 -0
- systemap-3.0.0/src/systemap/skill/references/maintenance.md +130 -0
- systemap-3.0.0/src/systemap/skill/references/pitfalls.md +83 -0
- systemap-3.0.0/src/systemap/skill/references/schema.md +512 -0
- systemap-3.0.0/src/systemap/skill/references/second-pass.md +147 -0
- systemap-3.0.0/src/systemap/skill.py +68 -0
- systemap-3.0.0/src/systemap/source_facts.py +312 -0
- systemap-3.0.0/src/systemap/source_text.py +111 -0
- systemap-3.0.0/src/systemap/step_refs.py +62 -0
- systemap-3.0.0/src/systemap/suggest.py +217 -0
- systemap-3.0.0/src/systemap/terminal_text.py +59 -0
- systemap-3.0.0/src/systemap/theme.py +665 -0
- systemap-3.0.0/src/systemap/tool_table.py +23 -0
- systemap-3.0.0/src/systemap/tree_walk.py +74 -0
- {systemap-1.2.0 → systemap-3.0.0}/src/systemap/trend.py +88 -53
- systemap-3.0.0/src/systemap/tsconfig_glob.py +167 -0
- systemap-3.0.0/src/systemap/typescript.py +764 -0
- systemap-3.0.0/src/systemap/typescript_calls.py +371 -0
- systemap-3.0.0/src/systemap/typescript_config.py +730 -0
- systemap-3.0.0/src/systemap/typescript_config_files.py +175 -0
- systemap-3.0.0/src/systemap/typescript_entry.py +262 -0
- systemap-3.0.0/src/systemap/typescript_imports.py +85 -0
- systemap-3.0.0/src/systemap/typescript_package_imports.py +386 -0
- systemap-3.0.0/src/systemap/typescript_projects.py +234 -0
- systemap-3.0.0/src/systemap/typescript_reexport_targets.py +157 -0
- systemap-3.0.0/src/systemap/typescript_reexports.py +126 -0
- systemap-3.0.0/src/systemap/typescript_repo.py +212 -0
- systemap-3.0.0/src/systemap/typescript_resolve.py +203 -0
- systemap-3.0.0/src/systemap/typescript_roots.py +197 -0
- systemap-3.0.0/src/systemap/typescript_scopes.py +185 -0
- systemap-3.0.0/src/systemap/typescript_strings.py +54 -0
- systemap-3.0.0/src/systemap/typescript_surface.py +767 -0
- systemap-3.0.0/src/systemap/typescript_syntax.py +254 -0
- systemap-3.0.0/src/systemap/typescript_tests.py +98 -0
- systemap-3.0.0/src/systemap/unknown_causes.py +167 -0
- systemap-3.0.0/systemap.toml +55 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/conftest.py +99 -20
- {systemap-1.2.0 → systemap-3.0.0}/tests/fixture_workspace.py +5 -2
- systemap-3.0.0/tests/fixtures/decision_golden.json +293 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/fixtures/jev_sample.json +26 -0
- systemap-3.0.0/tests/fixtures/openai_decisions.json +47 -0
- systemap-3.0.0/tests/fixtures/site/pages/01-first-map.md +38 -0
- systemap-3.0.0/tests/fixtures/site/pages/02-read-the-map.md +19 -0
- systemap-3.0.0/tests/fixtures/typescript-app/map/model.py +37 -0
- systemap-3.0.0/tests/fixtures/typescript-app/package.json +6 -0
- systemap-3.0.0/tests/fixtures/typescript-app/src/cli.ts +1 -0
- systemap-3.0.0/tests/fixtures/typescript-app/src/client.ts +3 -0
- systemap-3.0.0/tests/fixtures/typescript-app/src/index.ts +3 -0
- systemap-3.0.0/tests/fixtures/typescript-app/src/service.ts +6 -0
- systemap-3.0.0/tests/fixtures/typescript-app/src/view.tsx +1 -0
- systemap-3.0.0/tests/fixtures/typescript-app/systemap.toml +6 -0
- systemap-3.0.0/tests/fixtures/typescript-app/tests/service.spec.ts +3 -0
- systemap-3.0.0/tests/fixtures/typescript-app/tsconfig.json +8 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/jev_replay.py +4 -2
- {systemap-1.2.0 → systemap-3.0.0}/tests/page_driver.js +310 -67
- systemap-3.0.0/tests/schematic_keys_driver.js +39 -0
- systemap-3.0.0/tests/test_accuracy_regressions.py +537 -0
- systemap-3.0.0/tests/test_agent_runner.py +113 -0
- systemap-3.0.0/tests/test_agent_trust.py +151 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_agentic.py +38 -28
- systemap-3.0.0/tests/test_answer_evidence.py +225 -0
- systemap-3.0.0/tests/test_answer_identity.py +308 -0
- systemap-3.0.0/tests/test_answer_migration_limits.py +226 -0
- systemap-3.0.0/tests/test_answer_migrations.py +171 -0
- systemap-3.0.0/tests/test_answer_upgrade.py +101 -0
- systemap-3.0.0/tests/test_answer_write.py +163 -0
- systemap-3.0.0/tests/test_assurance.py +461 -0
- systemap-3.0.0/tests/test_audit.py +602 -0
- systemap-3.0.0/tests/test_audit_findings.py +365 -0
- systemap-3.0.0/tests/test_audit_kind_warnings.py +70 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_bench.py +13 -8
- systemap-3.0.0/tests/test_bench_jev_scripts.py +215 -0
- systemap-3.0.0/tests/test_cache_ignore.py +176 -0
- systemap-3.0.0/tests/test_cache_lock.py +101 -0
- systemap-3.0.0/tests/test_cache_trust.py +287 -0
- systemap-3.0.0/tests/test_call_sites.py +204 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_card_text.py +52 -5
- systemap-3.0.0/tests/test_card_text_width.py +130 -0
- systemap-3.0.0/tests/test_change_git.py +453 -0
- systemap-3.0.0/tests/test_change_type_categories.py +92 -0
- systemap-3.0.0/tests/test_changes_view.py +410 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_check_rules.py +34 -45
- systemap-3.0.0/tests/test_ci_mode.py +206 -0
- systemap-3.0.0/tests/test_ci_pins.py +171 -0
- systemap-3.0.0/tests/test_claimed_once.py +90 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_cli.py +113 -73
- systemap-3.0.0/tests/test_codex_model_results.py +361 -0
- systemap-3.0.0/tests/test_codex_model_results2.py +327 -0
- systemap-3.0.0/tests/test_command_errors.py +217 -0
- systemap-3.0.0/tests/test_comparison_inspector.py +115 -0
- systemap-3.0.0/tests/test_comparison_style.py +43 -0
- systemap-3.0.0/tests/test_config_values.py +151 -0
- systemap-3.0.0/tests/test_config_watch.py +165 -0
- systemap-3.0.0/tests/test_confined_reads.py +495 -0
- systemap-3.0.0/tests/test_confined_writes.py +348 -0
- systemap-3.0.0/tests/test_contract.py +355 -0
- systemap-3.0.0/tests/test_control_names.py +243 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_coverage.py +69 -46
- systemap-3.0.0/tests/test_decision_golden.py +207 -0
- systemap-3.0.0/tests/test_decision_names.py +264 -0
- systemap-3.0.0/tests/test_decision_providers.py +192 -0
- systemap-3.0.0/tests/test_decision_requests_complete.py +324 -0
- systemap-3.0.0/tests/test_decisions.py +490 -0
- systemap-3.0.0/tests/test_decisions_retry.py +285 -0
- systemap-3.0.0/tests/test_decoupling_join.py +137 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_delta.py +129 -101
- systemap-3.0.0/tests/test_delta_git.py +154 -0
- systemap-3.0.0/tests/test_delta_jev.py +291 -0
- systemap-3.0.0/tests/test_delta_link.py +321 -0
- systemap-3.0.0/tests/test_delta_symbol_review.py +74 -0
- systemap-3.0.0/tests/test_depth_limits.py +330 -0
- systemap-3.0.0/tests/test_drawable_area.py +174 -0
- systemap-3.0.0/tests/test_drift_order.py +635 -0
- systemap-3.0.0/tests/test_entry_coverage_scope.py +237 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_evidence.py +121 -42
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_extract.py +182 -43
- systemap-3.0.0/tests/test_extract_inputs.py +357 -0
- systemap-3.0.0/tests/test_fact_cache_races.py +91 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_facts.py +67 -75
- systemap-3.0.0/tests/test_facts_shape.py +251 -0
- systemap-3.0.0/tests/test_figure_text.py +117 -0
- systemap-3.0.0/tests/test_file_names.py +185 -0
- systemap-3.0.0/tests/test_flow_ids.py +429 -0
- systemap-3.0.0/tests/test_flow_review_source.py +378 -0
- systemap-3.0.0/tests/test_flow_review_values.py +52 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_foundations.py +50 -13
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_framing.py +72 -27
- systemap-3.0.0/tests/test_git_arguments.py +51 -0
- systemap-3.0.0/tests/test_git_command.py +363 -0
- systemap-3.0.0/tests/test_git_filters.py +202 -0
- systemap-3.0.0/tests/test_group_line_work.py +134 -0
- systemap-3.0.0/tests/test_group_lines.py +79 -0
- systemap-3.0.0/tests/test_header.py +229 -0
- systemap-3.0.0/tests/test_history_cache_shape.py +105 -0
- systemap-3.0.0/tests/test_hover_stability.py +306 -0
- systemap-3.0.0/tests/test_import_rules.py +359 -0
- systemap-3.0.0/tests/test_init_scaffold.py +180 -0
- systemap-3.0.0/tests/test_inspector_focus.py +82 -0
- systemap-3.0.0/tests/test_install_links.py +126 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_interface.py +20 -33
- systemap-3.0.0/tests/test_jev_client.py +319 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_jev_defaults.py +22 -17
- systemap-3.0.0/tests/test_jev_moves.py +162 -0
- systemap-3.0.0/tests/test_jev_on_request.py +177 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_journeys.py +220 -45
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_judgement.py +254 -131
- systemap-3.0.0/tests/test_judgement_json.py +242 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_keyboard.py +83 -66
- systemap-3.0.0/tests/test_language_decoupling.py +385 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_layer_figure.py +23 -18
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_layers.py +24 -23
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_layout.py +94 -58
- systemap-3.0.0/tests/test_live.py +468 -0
- systemap-3.0.0/tests/test_live_change.py +179 -0
- systemap-3.0.0/tests/test_live_cost.py +267 -0
- systemap-3.0.0/tests/test_live_safety.py +179 -0
- systemap-3.0.0/tests/test_live_view.py +107 -0
- systemap-3.0.0/tests/test_live_watch_cost.py +267 -0
- systemap-3.0.0/tests/test_map_change_items.py +64 -0
- systemap-3.0.0/tests/test_map_movement.py +159 -0
- systemap-3.0.0/tests/test_map_text.py +280 -0
- systemap-3.0.0/tests/test_map_tooltips.py +92 -0
- systemap-3.0.0/tests/test_map_view.py +320 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_model.py +13 -13
- systemap-3.0.0/tests/test_model_convert.py +84 -0
- systemap-3.0.0/tests/test_model_load.py +433 -0
- systemap-3.0.0/tests/test_model_write.py +92 -0
- systemap-3.0.0/tests/test_module_completeness.py +163 -0
- systemap-3.0.0/tests/test_nest_limits.py +135 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_nested.py +235 -180
- systemap-3.0.0/tests/test_neutral_entries.py +139 -0
- systemap-3.0.0/tests/test_neutral_findings.py +124 -0
- systemap-3.0.0/tests/test_newlines.py +85 -0
- systemap-3.0.0/tests/test_no_outbound.py +201 -0
- systemap-3.0.0/tests/test_openai_provider.py +403 -0
- systemap-3.0.0/tests/test_page_bytes.py +325 -0
- systemap-3.0.0/tests/test_page_data.py +160 -0
- systemap-3.0.0/tests/test_page_followups.py +209 -0
- systemap-3.0.0/tests/test_page_results.py +326 -0
- systemap-3.0.0/tests/test_page_results2.py +434 -0
- systemap-3.0.0/tests/test_parse_line_migration.py +98 -0
- systemap-3.0.0/tests/test_parse_once.py +303 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_place.py +33 -53
- systemap-3.0.0/tests/test_place_atomic.py +87 -0
- systemap-3.0.0/tests/test_place_route_repairs.py +253 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_plan.py +97 -12
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_platform.py +6 -3
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_plugin.py +4 -2
- systemap-3.0.0/tests/test_pr_summary.py +255 -0
- systemap-3.0.0/tests/test_precommit_ratchets.py +205 -0
- systemap-3.0.0/tests/test_python_adapter_repairs.py +288 -0
- systemap-1.2.0/tests/test_ways_in.py → systemap-3.0.0/tests/test_python_entry.py +61 -16
- systemap-3.0.0/tests/test_python_paths_skip.py +97 -0
- systemap-3.0.0/tests/test_read_guard.py +164 -0
- systemap-3.0.0/tests/test_reexport_identity.py +232 -0
- systemap-3.0.0/tests/test_reexport_scale.py +229 -0
- systemap-3.0.0/tests/test_relationship_state.py +175 -0
- systemap-3.0.0/tests/test_render.py +243 -0
- systemap-3.0.0/tests/test_render_cache.py +253 -0
- systemap-3.0.0/tests/test_replace_retry.py +102 -0
- systemap-3.0.0/tests/test_repository_shapes.py +226 -0
- systemap-3.0.0/tests/test_resolve_cost.py +169 -0
- systemap-3.0.0/tests/test_review2_change.py +424 -0
- systemap-3.0.0/tests/test_review2_cli.py +258 -0
- systemap-3.0.0/tests/test_review2_python.py +556 -0
- systemap-3.0.0/tests/test_review2_tsloop.py +99 -0
- systemap-3.0.0/tests/test_review_command.py +307 -0
- systemap-3.0.0/tests/test_review_invalidation.py +205 -0
- systemap-3.0.0/tests/test_review_state.py +278 -0
- systemap-3.0.0/tests/test_route_search.py +211 -0
- systemap-3.0.0/tests/test_safe_source_read.py +389 -0
- systemap-3.0.0/tests/test_schematic_names.py +180 -0
- systemap-3.0.0/tests/test_schematic_prototype.py +85 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_screenshots.py +13 -11
- systemap-3.0.0/tests/test_seat_grid.py +136 -0
- systemap-3.0.0/tests/test_security_config.py +251 -0
- systemap-3.0.0/tests/test_sequence_answers.py +124 -0
- systemap-3.0.0/tests/test_sequence_chooser.py +342 -0
- systemap-3.0.0/tests/test_sequence_marks_cost.py +104 -0
- systemap-3.0.0/tests/test_serve_guard.py +235 -0
- systemap-3.0.0/tests/test_serve_host.py +81 -0
- systemap-3.0.0/tests/test_site.py +281 -0
- systemap-3.0.0/tests/test_site_pages.py +73 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_skill.py +84 -71
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_suggest.py +65 -27
- systemap-3.0.0/tests/test_suggest_nesting.py +63 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_symbol_claims.py +37 -27
- systemap-3.0.0/tests/test_syntax_dump.py +86 -0
- systemap-3.0.0/tests/test_terminal_text.py +246 -0
- systemap-3.0.0/tests/test_text_encoding.py +100 -0
- systemap-3.0.0/tests/test_theme.py +633 -0
- systemap-3.0.0/tests/test_theme_values.py +122 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/test_trend.py +35 -18
- systemap-3.0.0/tests/test_trial2.py +357 -0
- systemap-3.0.0/tests/test_trial3.py +568 -0
- systemap-3.0.0/tests/test_trial4.py +201 -0
- systemap-3.0.0/tests/test_trial_check.py +459 -0
- systemap-3.0.0/tests/test_trial_python.py +341 -0
- systemap-3.0.0/tests/test_trial_typescript_imports.py +212 -0
- systemap-3.0.0/tests/test_trial_typescript_init.py +200 -0
- systemap-3.0.0/tests/test_tsconfig_confined.py +212 -0
- systemap-3.0.0/tests/test_tsconfig_cost.py +219 -0
- systemap-3.0.0/tests/test_type_declarations.py +101 -0
- systemap-3.0.0/tests/test_typescript.py +797 -0
- systemap-3.0.0/tests/test_typescript_declarations.py +131 -0
- systemap-3.0.0/tests/test_typescript_descriptions.py +70 -0
- systemap-3.0.0/tests/test_typescript_detect_skip.py +80 -0
- systemap-3.0.0/tests/test_typescript_exports.py +331 -0
- systemap-3.0.0/tests/test_typescript_projects.py +323 -0
- systemap-3.0.0/tests/test_typescript_resolution.py +433 -0
- systemap-3.0.0/tests/test_typescript_review2.py +378 -0
- systemap-3.0.0/tests/test_typescript_review_regressions.py +120 -0
- systemap-3.0.0/tests/test_typescript_surface_limits.py +88 -0
- systemap-3.0.0/tests/test_typescript_surface_repairs.py +245 -0
- systemap-3.0.0/tests/test_typography.py +183 -0
- systemap-3.0.0/tests/test_ui_flow_evidence.py +249 -0
- systemap-3.0.0/tests/test_view_state.py +163 -0
- systemap-3.0.0/tests/test_watched_config.py +57 -0
- systemap-3.0.0/tests/test_workspace.py +113 -0
- systemap-3.0.0/tests/test_workspace_information.py +102 -0
- systemap-3.0.0/tests/test_writing_profile.py +189 -0
- systemap-3.0.0/types/index.d.ts +68 -0
- systemap-3.0.0/uv.lock +911 -0
- systemap-1.2.0/.claude-plugin/plugin.json +0 -13
- systemap-1.2.0/.github/workflows/systemap.yml +0 -285
- systemap-1.2.0/.github/workflows/workflow.yml +0 -57
- systemap-1.2.0/AGENTS.md +0 -55
- systemap-1.2.0/CHANGELOG.md +0 -1238
- systemap-1.2.0/PKG-INFO +0 -404
- systemap-1.2.0/README.md +0 -380
- systemap-1.2.0/bench/jev/README.md +0 -498
- systemap-1.2.0/bench/table.py +0 -167
- systemap-1.2.0/docs/benchmarks.md +0 -43
- systemap-1.2.0/docs/index.html +0 -5
- systemap-1.2.0/docs/map/figures/control.svg +0 -1
- systemap-1.2.0/docs/map/figures/structure.svg +0 -1
- systemap-1.2.0/docs/map/figures/system.svg +0 -1
- systemap-1.2.0/docs/map/index.html +0 -1417
- systemap-1.2.0/docs/map/map.json +0 -45
- systemap-1.2.0/docs/reference.md +0 -475
- systemap-1.2.0/docs/screenshots/graphite.png +0 -0
- systemap-1.2.0/docs/screenshots/paper.png +0 -0
- systemap-1.2.0/docs/screenshots/tour.gif +0 -0
- systemap-1.2.0/docs/screenshots/warm.png +0 -0
- systemap-1.2.0/map/journeys.py +0 -257
- systemap-1.2.0/map/model.py +0 -585
- systemap-1.2.0/scripts/precommit/cyclomatic_ratchet.py +0 -249
- systemap-1.2.0/scripts/publish.sh +0 -60
- systemap-1.2.0/skills/systemap/SKILL.md +0 -239
- systemap-1.2.0/skills/systemap/references/example.md +0 -201
- systemap-1.2.0/skills/systemap/references/journeys-and-invariants.md +0 -86
- systemap-1.2.0/skills/systemap/references/layers.md +0 -154
- systemap-1.2.0/skills/systemap/references/layout.md +0 -116
- systemap-1.2.0/skills/systemap/references/maintenance.md +0 -98
- systemap-1.2.0/skills/systemap/references/pitfalls.md +0 -152
- systemap-1.2.0/skills/systemap/references/schema.md +0 -336
- systemap-1.2.0/skills/systemap/references/second-pass.md +0 -169
- systemap-1.2.0/src/systemap/agent.py +0 -158
- systemap-1.2.0/src/systemap/audit.py +0 -485
- systemap-1.2.0/src/systemap/change.py +0 -328
- systemap-1.2.0/src/systemap/check.py +0 -895
- systemap-1.2.0/src/systemap/cli.py +0 -1207
- systemap-1.2.0/src/systemap/config.py +0 -800
- systemap-1.2.0/src/systemap/delta.py +0 -770
- systemap-1.2.0/src/systemap/describe.py +0 -324
- systemap-1.2.0/src/systemap/evidence.py +0 -157
- systemap-1.2.0/src/systemap/explain.py +0 -385
- systemap-1.2.0/src/systemap/extract.py +0 -953
- systemap-1.2.0/src/systemap/figure.py +0 -370
- systemap-1.2.0/src/systemap/graph.py +0 -171
- systemap-1.2.0/src/systemap/history.py +0 -98
- systemap-1.2.0/src/systemap/jev.py +0 -239
- systemap-1.2.0/src/systemap/jev_cli.py +0 -679
- systemap-1.2.0/src/systemap/journeys.py +0 -282
- systemap-1.2.0/src/systemap/judgement.py +0 -748
- systemap-1.2.0/src/systemap/model.py +0 -743
- systemap-1.2.0/src/systemap/nest.py +0 -199
- systemap-1.2.0/src/systemap/page.py +0 -1035
- systemap-1.2.0/src/systemap/plan.py +0 -170
- systemap-1.2.0/src/systemap/scaffold.py +0 -404
- systemap-1.2.0/src/systemap/schematic.py +0 -1919
- systemap-1.2.0/src/systemap/skill/SKILL.md +0 -239
- systemap-1.2.0/src/systemap/skill/references/example.md +0 -201
- systemap-1.2.0/src/systemap/skill/references/journeys-and-invariants.md +0 -86
- systemap-1.2.0/src/systemap/skill/references/layers.md +0 -154
- systemap-1.2.0/src/systemap/skill/references/layout.md +0 -116
- systemap-1.2.0/src/systemap/skill/references/maintenance.md +0 -98
- systemap-1.2.0/src/systemap/skill/references/pitfalls.md +0 -152
- systemap-1.2.0/src/systemap/skill/references/schema.md +0 -336
- systemap-1.2.0/src/systemap/skill/references/second-pass.md +0 -169
- systemap-1.2.0/src/systemap/skill.py +0 -61
- systemap-1.2.0/src/systemap/suggest.py +0 -184
- systemap-1.2.0/src/systemap/theme.py +0 -521
- systemap-1.2.0/src/systemap/ways_in.py +0 -246
- systemap-1.2.0/systemap.toml +0 -71
- systemap-1.2.0/tests/test_audit.py +0 -420
- systemap-1.2.0/tests/test_jev_moves.py +0 -93
- systemap-1.2.0/tests/test_render.py +0 -150
- systemap-1.2.0/tests/test_theme.py +0 -408
- systemap-1.2.0/uv.lock +0 -381
- {systemap-1.2.0 → systemap-3.0.0}/.claude/skills/systemap/SKILL.md +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/.gitattributes +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/.python-version +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/CLAUDE.md +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/LICENSE +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/assets/logo-mark.svg +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/build.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/build_flows.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/by_card.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/drift_head.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/drift_steps.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/group_journeys.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/grouping.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/history_eval.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/label_set.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/near.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/plan_eval.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/propose.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/pyproject.toml +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/answerfit.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/by-card.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/cardkind.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/crossing.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/draft/cli.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/draft/kstrl.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/draft/mealie.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/draft/paperless-ngx.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/draft/poetry.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/draft/report.txt +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/draft/rich.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/draft/scores.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/draft/turns.txt +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/drift-steps.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/drift.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/drift_head.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/drift_kstrl.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/flowkind.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/flowverify.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/governs.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/group-journeys-cache.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/group-journeys.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/grouping-report.txt +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/grouping.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/history-mealie.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/history-rich.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/holdout/flowverify.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/holdout/governs.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/holdout/issues.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/holdout/owner.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/holdout/report.txt +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/holdout/sentence.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/issues.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/labels/agent-drift.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/labels/agent-moves.json +0 -0
- {systemap-1.2.0/bench/jev → systemap-3.0.0/bench/jev/results/labels}/label-page/index.html +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/labels/report.txt +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/moves.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/near.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/owner.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/pairs.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/paths.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/report.txt +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/ripple.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/sentence.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/results/where.jsonl.gz +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/ripple.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/jev/turns.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/run.sh +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/bench/summary.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/docs/.nojekyll +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/docs/map/.gitkeep +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/scripts/precommit/check_agent_docs_sync.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/scripts/precommit/check_no_mocks.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/src/systemap/__main__.py +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/src/systemap/py.typed +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/fixtures/bench-session.jsonl +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/fixtures/jev_moves.json +0 -0
- {systemap-1.2.0 → systemap-3.0.0}/tests/fixtures/jev_two_cards.json +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../../../src/systemap/skill/references/decisions.md
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../../../src/systemap/skill/references/example.md
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../../../src/systemap/skill/references/journeys-and-invariants.md
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../../../src/systemap/skill/references/language.md
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../../../src/systemap/skill/references/layers.md
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../../../src/systemap/skill/references/layout.md
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../../../src/systemap/skill/references/maintenance.md
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../../../src/systemap/skill/references/pitfalls.md
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../../../src/systemap/skill/references/schema.md
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../../../src/systemap/skill/references/second-pass.md
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
|
|
3
3
|
"name": "systemap",
|
|
4
|
-
"description": "systemap
|
|
4
|
+
"description": "The systemap skill makes a system map from source facts and examined claims. Reader text obeys the configured writing profile: plain or ASD-STE100.",
|
|
5
5
|
"owner": {
|
|
6
6
|
"name": "0xfauzi",
|
|
7
7
|
"email": "wumpini.hussein@gmail.com"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"plugins": [
|
|
10
10
|
{
|
|
11
11
|
"name": "systemap",
|
|
12
|
-
"description": "
|
|
12
|
+
"description": "Make a system map with source facts, component claims, flow evidence, and ordered sequences. Reader text obeys the configured writing profile: plain or ASD-STE100.",
|
|
13
13
|
"author": {
|
|
14
14
|
"name": "0xfauzi",
|
|
15
15
|
"email": "wumpini.hussein@gmail.com"
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "systemap",
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "The systemap skill makes a system map from source facts and examined claims. Reader text obeys the configured writing profile: plain or ASD-STE100.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "0xfauzi",
|
|
7
|
+
"email": "wumpini.hussein@gmail.com"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/0xfauzi/systemap",
|
|
10
|
+
"repository": "https://github.com/0xfauzi/systemap",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"architecture",
|
|
14
|
+
"system map",
|
|
15
|
+
"documentation",
|
|
16
|
+
"coding agents"
|
|
17
|
+
],
|
|
18
|
+
"types": "./types/index.d.ts",
|
|
19
|
+
"userConfig": {
|
|
20
|
+
"command": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"title": "systemap command",
|
|
23
|
+
"description": "The command that starts systemap, for example \"systemap\" or \"uvx systemap\". The plugin adds \"live --port 0 --json --no-watch\" to this command. Do not use \"uv run systemap\". That command builds the project of the repository, and the build can run code of the repository.",
|
|
24
|
+
"default": "systemap"
|
|
25
|
+
},
|
|
26
|
+
"autostart": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"title": "Start the live map with each session",
|
|
29
|
+
"description": "If true, the live map starts when a session starts in a systemap repository. The live map reads map/model.py without running its code, unless SYSTEMAP_TRUST_MODEL_CODE=1 is in the environment of Claude Code. If the command option runs code of the repository, the code of the repository can run when the live map starts.",
|
|
30
|
+
"default": false
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# The CI install job and the release job make the package with these build dependencies.
|
|
2
|
+
# Each package has a fixed version and the hashes of its files (UV_REQUIRE_HASHES=1).
|
|
3
|
+
# If you change the hatchling version in pyproject.toml, make this file again:
|
|
4
|
+
# echo hatchling==VERSION > in.txt
|
|
5
|
+
# uv pip compile in.txt --generate-hashes --universal --python-version 3.11 --no-header
|
|
6
|
+
hatchling==1.32.4 \
|
|
7
|
+
--hash=sha256:08ecf7548fb48205e7f213d70c71e67b8271b7242093dc3f1da578b42c734a2c \
|
|
8
|
+
--hash=sha256:c4468f73144c054d2aab4ef0f0378c43b9878bf07f8ffd6b79690e970d375f07
|
|
9
|
+
packaging==26.3 \
|
|
10
|
+
--hash=sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79 \
|
|
11
|
+
--hash=sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c
|
|
12
|
+
# via hatchling
|
|
13
|
+
pathspec==1.1.1 \
|
|
14
|
+
--hash=sha256:17db5ecd524104a120e173814c90367a96a98d07c45b2e10c2f3919fff91bf5a \
|
|
15
|
+
--hash=sha256:a00ce642f577bf7f473932318056212bc4f8bfdf53128c78bbd5af0b9b20b189
|
|
16
|
+
# via hatchling
|
|
17
|
+
pluggy==1.7.0 \
|
|
18
|
+
--hash=sha256:7dd7b0d8832ba3cb632c306926ded123429211b83641b35dc5c41ad2d34f9bec \
|
|
19
|
+
--hash=sha256:d1eaa46ebb595891b860ab086b4d09c8588af65ebd4361b8e8f4bb8920b90ba8
|
|
20
|
+
# via hatchling
|
|
21
|
+
tomlkit==0.15.2 \
|
|
22
|
+
--hash=sha256:05562412163a3037b94497385fb7f9204c637bc605af7a48199e41cf2272f437 \
|
|
23
|
+
--hash=sha256:83e32755ba1d20d9340bd069ee97e9f6232ba2346b63ffcba425de01f7e327a6
|
|
24
|
+
# via hatchling
|
|
25
|
+
trove-classifiers==2026.9.21.13 \
|
|
26
|
+
--hash=sha256:0a9ebc8d4e2f3e8a22848c5258033035bec17a3012ac3fea16dbaa764489eb71 \
|
|
27
|
+
--hash=sha256:8b1ff4f9c191b1040b71c37f1e445ab99732911e3cd91de52838453a854d7a17
|
|
28
|
+
# via hatchling
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
name: systemap
|
|
2
|
+
|
|
3
|
+
# CI compares committed map output with source and tests the package on three operating systems.
|
|
4
|
+
# Delta gives the necessary map updates in the job log. The job fails if the map needs an update.
|
|
5
|
+
# The comment job writes the architecture summary of delta as one pull request comment.
|
|
6
|
+
# Installation uses an empty environment and a map copy outside the source checkout.
|
|
7
|
+
# Plugin validation rejects all errors and warnings except the documented root CLAUDE.md warning.
|
|
8
|
+
# The plugin tests run the hooks module of the live map with a fake systemap live process.
|
|
9
|
+
# The pre-commit job runs the pre-commit hooks on all files. They include the security hooks.
|
|
10
|
+
# Each setup-uv step uses a fixed uv version. The release workflow uses the same version.
|
|
11
|
+
# For a pull request from a fork, the base-render job renders the page with the base code.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
on:
|
|
15
|
+
push:
|
|
16
|
+
branches: [main]
|
|
17
|
+
pull_request:
|
|
18
|
+
workflow_dispatch:
|
|
19
|
+
|
|
20
|
+
permissions:
|
|
21
|
+
contents: read
|
|
22
|
+
|
|
23
|
+
concurrency:
|
|
24
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
25
|
+
cancel-in-progress: true
|
|
26
|
+
|
|
27
|
+
jobs:
|
|
28
|
+
systemap:
|
|
29
|
+
runs-on: ubuntu-latest
|
|
30
|
+
timeout-minutes: 10
|
|
31
|
+
steps:
|
|
32
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
33
|
+
with:
|
|
34
|
+
persist-credentials: false
|
|
35
|
+
|
|
36
|
+
- name: Install uv
|
|
37
|
+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
|
|
38
|
+
with:
|
|
39
|
+
version: "0.11.29"
|
|
40
|
+
enable-cache: true
|
|
41
|
+
|
|
42
|
+
- name: Install project
|
|
43
|
+
run: uv sync --frozen --all-extras --dev
|
|
44
|
+
|
|
45
|
+
- name: Facts agree with source
|
|
46
|
+
run: |
|
|
47
|
+
uv run systemap extract --check || {
|
|
48
|
+
echo "::error title=Map is stale::The facts are different from the source. Run systemap refresh and commit the output directory."
|
|
49
|
+
exit 1
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
- name: Do map consistency checks
|
|
53
|
+
run: |
|
|
54
|
+
uv run systemap check || {
|
|
55
|
+
echo "::error title=Map check::The model has incorrect claims or modules without component claims. See the lines above."
|
|
56
|
+
exit 1
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
- name: Do the strict judgement check
|
|
60
|
+
run: |
|
|
61
|
+
uv run systemap judgement --strict || {
|
|
62
|
+
echo "::error title=Judgement::A judgement line has no answer. Act on it or write its answer under [judgement] answered in systemap.toml."
|
|
63
|
+
exit 1
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
- name: Do the page output check
|
|
67
|
+
run: |
|
|
68
|
+
uv run systemap render --check || {
|
|
69
|
+
echo "::error title=Map is stale::index.html is different from the rendered page. Run systemap refresh and commit the output directory."
|
|
70
|
+
exit 1
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
# The page output check of the systemap job uses the renderer of the pull request.
|
|
74
|
+
# A pull request from a fork can change the renderer and the committed page together.
|
|
75
|
+
# Then that check passes, and the page script is not easy to examine in the diff.
|
|
76
|
+
# This job renders the page and the figures of the pull request with the code of the
|
|
77
|
+
# base commit.
|
|
78
|
+
# If the two pages are different, a maintainer must examine the renderer change.
|
|
79
|
+
base-render:
|
|
80
|
+
if: >-
|
|
81
|
+
${{ github.event_name == 'pull_request'
|
|
82
|
+
&& github.event.pull_request.head.repo.full_name != github.repository }}
|
|
83
|
+
runs-on: ubuntu-latest
|
|
84
|
+
timeout-minutes: 10
|
|
85
|
+
steps:
|
|
86
|
+
- name: Check out the pull request
|
|
87
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
88
|
+
with:
|
|
89
|
+
persist-credentials: false
|
|
90
|
+
path: pr
|
|
91
|
+
|
|
92
|
+
- name: Check out the base commit
|
|
93
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
94
|
+
with:
|
|
95
|
+
persist-credentials: false
|
|
96
|
+
ref: ${{ github.event.pull_request.base.sha }}
|
|
97
|
+
path: base
|
|
98
|
+
|
|
99
|
+
- name: Install uv
|
|
100
|
+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
|
|
101
|
+
with:
|
|
102
|
+
version: "0.11.29"
|
|
103
|
+
enable-cache: false
|
|
104
|
+
|
|
105
|
+
- name: Install the base code
|
|
106
|
+
working-directory: base
|
|
107
|
+
run: uv sync --frozen
|
|
108
|
+
|
|
109
|
+
# The page output check reads the output settings of the pull request. A fork can
|
|
110
|
+
# set a new out_dir. Then the check compares only the page in that new folder.
|
|
111
|
+
- name: Compare the output settings with the base commit
|
|
112
|
+
run: |
|
|
113
|
+
base/.venv/bin/python - <<'PY'
|
|
114
|
+
import sys
|
|
115
|
+
from pathlib import Path
|
|
116
|
+
|
|
117
|
+
from systemap import config
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
def outputs(root):
|
|
121
|
+
cfg = config.load(Path(root))
|
|
122
|
+
return cfg.out_dir, cfg.model, sorted((f.out, f.map) for f in cfg.figures)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
if outputs("base") != outputs("pr"):
|
|
126
|
+
print(
|
|
127
|
+
"::error title=Output settings::This pull request changes out_dir, model "
|
|
128
|
+
"or figures. The base-render job cannot examine the committed page. A "
|
|
129
|
+
"maintainer must examine the change."
|
|
130
|
+
)
|
|
131
|
+
sys.exit(1)
|
|
132
|
+
PY
|
|
133
|
+
|
|
134
|
+
- name: Do the page output check with the base code
|
|
135
|
+
run: |
|
|
136
|
+
base/.venv/bin/systemap --root pr render --check || {
|
|
137
|
+
echo "::error title=Page from the base code::The renderer of the base commit does not make the committed index.html or figures of this pull request. A maintainer must examine the renderer change and the output files."
|
|
138
|
+
exit 1
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
delta:
|
|
142
|
+
if: github.event_name == 'pull_request'
|
|
143
|
+
runs-on: ubuntu-latest
|
|
144
|
+
timeout-minutes: 10
|
|
145
|
+
outputs:
|
|
146
|
+
comment: ${{ steps.delta.outputs.comment }}
|
|
147
|
+
steps:
|
|
148
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
149
|
+
with:
|
|
150
|
+
persist-credentials: false
|
|
151
|
+
fetch-depth: 0 # the base and the head commits, for the two extractions
|
|
152
|
+
|
|
153
|
+
- name: Install uv
|
|
154
|
+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
|
|
155
|
+
with:
|
|
156
|
+
version: "0.11.29"
|
|
157
|
+
enable-cache: true
|
|
158
|
+
|
|
159
|
+
- name: Install project
|
|
160
|
+
run: uv sync --frozen --all-extras --dev
|
|
161
|
+
|
|
162
|
+
- name: Show map changes
|
|
163
|
+
id: delta
|
|
164
|
+
env:
|
|
165
|
+
BASE: ${{ github.event.pull_request.base.sha }}
|
|
166
|
+
HEAD: ${{ github.event.pull_request.head.sha }}
|
|
167
|
+
run: |
|
|
168
|
+
code=0
|
|
169
|
+
uv run systemap delta --base "$BASE" --head "$HEAD" --comment comment.md || code=$?
|
|
170
|
+
if [ -s comment.md ]; then
|
|
171
|
+
cat comment.md >> "$GITHUB_STEP_SUMMARY"
|
|
172
|
+
# The comment can contain repository text. A random delimiter is not equal to a line of it.
|
|
173
|
+
delimiter="SYSTEMAP_$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')"
|
|
174
|
+
{
|
|
175
|
+
echo "comment<<$delimiter"
|
|
176
|
+
cat comment.md
|
|
177
|
+
echo "$delimiter"
|
|
178
|
+
} >> "$GITHUB_OUTPUT"
|
|
179
|
+
fi
|
|
180
|
+
if [ "$code" = "1" ]; then
|
|
181
|
+
echo "::error title=Map delta::The map needs an update. Do the action in each line above. Then run the command in the last line."
|
|
182
|
+
elif [ "$code" != "0" ]; then
|
|
183
|
+
echo "::error title=Map delta::systemap delta could not run (exit $code). The lines above give the reason."
|
|
184
|
+
fi
|
|
185
|
+
exit "$code"
|
|
186
|
+
|
|
187
|
+
# This job writes the architecture summary as one pull request comment.
|
|
188
|
+
# It operates only for a pull request from a branch of this repository. The code of a pull
|
|
189
|
+
# request from a fork can change the comment text. The job summary of the delta job gives the
|
|
190
|
+
# summary for each pull request, also from a fork.
|
|
191
|
+
comment:
|
|
192
|
+
needs: delta
|
|
193
|
+
if: >-
|
|
194
|
+
${{ !cancelled() && needs.delta.outputs.comment != ''
|
|
195
|
+
&& github.event.pull_request.head.repo.full_name == github.repository }}
|
|
196
|
+
runs-on: ubuntu-latest
|
|
197
|
+
timeout-minutes: 5
|
|
198
|
+
permissions:
|
|
199
|
+
pull-requests: write # this job posts or updates the summary comment
|
|
200
|
+
steps:
|
|
201
|
+
- name: Architecture summary
|
|
202
|
+
env:
|
|
203
|
+
BODY: ${{ needs.delta.outputs.comment }}
|
|
204
|
+
GH_TOKEN: ${{ github.token }}
|
|
205
|
+
PR: ${{ github.event.pull_request.number }}
|
|
206
|
+
REPO: ${{ github.repository }}
|
|
207
|
+
run: |
|
|
208
|
+
existing="$(gh api "repos/$REPO/issues/$PR/comments" --paginate --jq 'map(select(.user.login == "github-actions[bot]" and (.body | startswith("<!-- systemap delta -->")))) | first | .id // empty' | head -n 1)"
|
|
209
|
+
if [ -n "$existing" ]; then
|
|
210
|
+
gh api -X PATCH "repos/$REPO/issues/comments/$existing" -f body="$BODY" > /dev/null
|
|
211
|
+
else
|
|
212
|
+
gh api -X POST "repos/$REPO/issues/$PR/comments" -f body="$BODY" > /dev/null
|
|
213
|
+
fi || echo "::warning title=Architecture summary::The job could not write the comment. The job summary of the delta job gives the text."
|
|
214
|
+
|
|
215
|
+
test:
|
|
216
|
+
runs-on: ${{ matrix.os }}
|
|
217
|
+
timeout-minutes: 15
|
|
218
|
+
strategy:
|
|
219
|
+
fail-fast: false
|
|
220
|
+
matrix:
|
|
221
|
+
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
222
|
+
python: ["3.11", "3.13"]
|
|
223
|
+
env:
|
|
224
|
+
UV_PYTHON: ${{ matrix.python }}
|
|
225
|
+
steps:
|
|
226
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
227
|
+
with:
|
|
228
|
+
persist-credentials: false
|
|
229
|
+
|
|
230
|
+
- name: Install uv
|
|
231
|
+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
|
|
232
|
+
with:
|
|
233
|
+
version: "0.11.29"
|
|
234
|
+
enable-cache: true
|
|
235
|
+
|
|
236
|
+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
|
237
|
+
with:
|
|
238
|
+
node-version: 22
|
|
239
|
+
|
|
240
|
+
- name: Install project
|
|
241
|
+
run: uv sync --frozen --all-extras --dev
|
|
242
|
+
|
|
243
|
+
- name: Run tests
|
|
244
|
+
run: uv run pytest -q
|
|
245
|
+
|
|
246
|
+
- name: Do the type check
|
|
247
|
+
run: uv run mypy src --strict
|
|
248
|
+
|
|
249
|
+
- name: Do the lint check
|
|
250
|
+
run: uv run ruff check .
|
|
251
|
+
|
|
252
|
+
- name: Do the format check
|
|
253
|
+
run: uv run ruff format --check src tests map bench
|
|
254
|
+
|
|
255
|
+
install:
|
|
256
|
+
runs-on: ${{ matrix.os }}
|
|
257
|
+
timeout-minutes: 15
|
|
258
|
+
strategy:
|
|
259
|
+
fail-fast: false
|
|
260
|
+
matrix:
|
|
261
|
+
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
262
|
+
python: ["3.11", "3.13"]
|
|
263
|
+
env:
|
|
264
|
+
UV_PYTHON: ${{ matrix.python }}
|
|
265
|
+
defaults:
|
|
266
|
+
run:
|
|
267
|
+
shell: bash
|
|
268
|
+
steps:
|
|
269
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
270
|
+
with:
|
|
271
|
+
persist-credentials: false
|
|
272
|
+
|
|
273
|
+
- name: Install uv
|
|
274
|
+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
|
|
275
|
+
with:
|
|
276
|
+
version: "0.11.29"
|
|
277
|
+
|
|
278
|
+
# The release makes the wheel from the source archive, so this job does the same.
|
|
279
|
+
# It also uses the same fixed build dependencies.
|
|
280
|
+
- name: Make the wheel from the source archive
|
|
281
|
+
env:
|
|
282
|
+
UV_BUILD_CONSTRAINT: .github/build-constraints.txt
|
|
283
|
+
UV_REQUIRE_HASHES: "1"
|
|
284
|
+
run: uv build
|
|
285
|
+
|
|
286
|
+
- name: Install the wheel in an empty environment
|
|
287
|
+
run: |
|
|
288
|
+
uv venv --seed venv
|
|
289
|
+
if [ "$RUNNER_OS" = "Windows" ]; then . venv/Scripts/activate; else . venv/bin/activate; fi
|
|
290
|
+
pip install --no-deps dist/systemap-*.whl
|
|
291
|
+
systemap --version
|
|
292
|
+
python -c "import systemap, sys; print(systemap.__version__, sys.version)"
|
|
293
|
+
|
|
294
|
+
- name: Run map commands on a copy outside the checkout
|
|
295
|
+
run: |
|
|
296
|
+
if [ "$RUNNER_OS" = "Windows" ]; then . venv/Scripts/activate; else . venv/bin/activate; fi
|
|
297
|
+
python -c "import shutil; shutil.copytree('.', '../selfmap', ignore=shutil.ignore_patterns('.git', '.venv', 'venv', 'dist', 'bench', 'node_modules', '__pycache__', '.mypy_cache', '.pytest_cache', '.ruff_cache'))"
|
|
298
|
+
cd ../selfmap
|
|
299
|
+
systemap init
|
|
300
|
+
systemap extract
|
|
301
|
+
systemap refresh
|
|
302
|
+
systemap check
|
|
303
|
+
systemap judgement --strict
|
|
304
|
+
systemap render --check
|
|
305
|
+
systemap describe
|
|
306
|
+
|
|
307
|
+
plugin:
|
|
308
|
+
runs-on: ubuntu-latest
|
|
309
|
+
timeout-minutes: 10
|
|
310
|
+
steps:
|
|
311
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
312
|
+
with:
|
|
313
|
+
persist-credentials: false
|
|
314
|
+
|
|
315
|
+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
|
316
|
+
with:
|
|
317
|
+
node-version: 22
|
|
318
|
+
|
|
319
|
+
# 2.1.286 is the lowest version that does all steps of this job with the hooks module.
|
|
320
|
+
# Versions 2.1.278 to 2.1.285 have no `claude plugin test` command. The manifest check of
|
|
321
|
+
# 2.1.278 and 2.1.280 also refuses `update($, ...)`, a state function from claude-code.
|
|
322
|
+
# See "Claude Code version for the plugin job" in bench/jev/README.md.
|
|
323
|
+
- name: Install the Claude Code CLI
|
|
324
|
+
run: npm install -g @anthropic-ai/claude-code@2.1.286 # zizmor: ignore[adhoc-packages]
|
|
325
|
+
|
|
326
|
+
- name: Do the plugin manifest check
|
|
327
|
+
run: python3 scripts/check_plugin_manifest.py .claude-plugin/plugin.json
|
|
328
|
+
|
|
329
|
+
- name: Do the marketplace manifest check
|
|
330
|
+
run: python3 scripts/check_plugin_manifest.py .claude-plugin/marketplace.json
|
|
331
|
+
|
|
332
|
+
- name: Do the skill check
|
|
333
|
+
run: claude plugin validate skills --strict
|
|
334
|
+
|
|
335
|
+
- name: Run the plugin tests
|
|
336
|
+
run: claude plugin test .
|
|
337
|
+
|
|
338
|
+
- name: Install the plugin from the checkout marketplace
|
|
339
|
+
env:
|
|
340
|
+
CLAUDE_CONFIG_DIR: ${{ runner.temp }}/claude-config
|
|
341
|
+
run: |
|
|
342
|
+
claude plugin marketplace add ./
|
|
343
|
+
claude plugin install systemap@systemap
|
|
344
|
+
claude plugin list
|
|
345
|
+
claude plugin list --json | jq -e '.[] | select(.id == "systemap@systemap" and .enabled == true)' > /dev/null
|
|
346
|
+
|
|
347
|
+
# This job runs the hooks of .pre-commit-config.yaml on all files. These hooks include
|
|
348
|
+
# the security hooks: gitleaks, zizmor, actionlint, and shellcheck.
|
|
349
|
+
# The last step runs the manual gitleaks-tree hook. It does a secret scan of the full tree,
|
|
350
|
+
# because a clean checkout has no staged files for the gitleaks hook.
|
|
351
|
+
pre-commit:
|
|
352
|
+
runs-on: ubuntu-latest
|
|
353
|
+
timeout-minutes: 20
|
|
354
|
+
steps:
|
|
355
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
356
|
+
with:
|
|
357
|
+
persist-credentials: false
|
|
358
|
+
|
|
359
|
+
- name: Install uv
|
|
360
|
+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
|
|
361
|
+
with:
|
|
362
|
+
version: "0.11.29"
|
|
363
|
+
enable-cache: true
|
|
364
|
+
|
|
365
|
+
- name: Install project
|
|
366
|
+
run: uv sync --frozen --all-extras --dev
|
|
367
|
+
|
|
368
|
+
- name: Do the pre-commit checks
|
|
369
|
+
run: uv run pre-commit run --all-files --show-diff-on-failure
|
|
370
|
+
|
|
371
|
+
- name: Do the secret scan of the tree
|
|
372
|
+
run: uv run pre-commit run --hook-stage manual gitleaks-tree --all-files
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# A version tag starts a PyPI release through trusted publishing.
|
|
2
|
+
# The PyPI publisher identity includes this repository, workflow.yml, and the pypi environment.
|
|
3
|
+
# If an identity field changes, change the PyPI publisher configuration also.
|
|
4
|
+
# Release execution must not restore a cache that another job can write.
|
|
5
|
+
# The uv version, the locked project dependencies, and the build dependencies are fixed.
|
|
6
|
+
# .github/build-constraints.txt gives the version and the file hashes of each build dependency.
|
|
7
|
+
name: release
|
|
8
|
+
|
|
9
|
+
on:
|
|
10
|
+
push:
|
|
11
|
+
tags:
|
|
12
|
+
- "v*"
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
release:
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
timeout-minutes: 10
|
|
21
|
+
environment: pypi
|
|
22
|
+
permissions:
|
|
23
|
+
contents: read
|
|
24
|
+
id-token: write
|
|
25
|
+
# The two uv commands build the package. Each build dependency must have a fixed hash.
|
|
26
|
+
env:
|
|
27
|
+
UV_BUILD_CONSTRAINT: .github/build-constraints.txt
|
|
28
|
+
UV_REQUIRE_HASHES: "1"
|
|
29
|
+
steps:
|
|
30
|
+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
31
|
+
with:
|
|
32
|
+
persist-credentials: false
|
|
33
|
+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
|
|
34
|
+
with:
|
|
35
|
+
version: "0.11.29"
|
|
36
|
+
enable-cache: false
|
|
37
|
+
- name: Compare the tag and package version
|
|
38
|
+
run: |
|
|
39
|
+
tagged="${GITHUB_REF_NAME#v}"
|
|
40
|
+
built="$(uv run --locked python -c 'import systemap; print(systemap.__version__)')"
|
|
41
|
+
if [ "$tagged" != "$built" ]; then
|
|
42
|
+
echo "::error title=Version mismatch::the tag says $tagged and the package says $built"
|
|
43
|
+
exit 1
|
|
44
|
+
fi
|
|
45
|
+
- name: Make the package
|
|
46
|
+
run: uv build
|
|
47
|
+
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
|
|
@@ -14,5 +14,9 @@ bench/scratch/
|
|
|
14
14
|
# Jev experiment inputs: rebuilt by bench/jev/build.py from bench/scratch and git
|
|
15
15
|
bench/jev/data/
|
|
16
16
|
bench/jev/.venv/
|
|
17
|
-
bench/jev/label-page/items.json
|
|
17
|
+
bench/jev/results/labels/label-page/items.json
|
|
18
18
|
.systemap/
|
|
19
|
+
|
|
20
|
+
# Claude Code writes its plugin API declarations here when it loads the plugin
|
|
21
|
+
# from this folder with --plugin-dir. They belong to the installed Claude Code version.
|
|
22
|
+
.claude-plugin/types/
|