Skip to main content

Shared infrastructure for platform:ADR-211 Klickdummy conformance — invariants, requirements bridge, co-creation widget, multi-klickdummy browser

Project description

iil-klickdummy — Shared Infrastructure for platform:ADR-211 (Rev 14)

Versioniertes pip-Paket mit allem, was Klickdummy-Konformität braucht: Schemas, Konformitäts-Checks (I1–I4), Requirements-Bridge, S11-Inventur, Feedback-Widget v0.5 (Co-Creation-Loop, GitHub-Direkt-API) und ab v1.1 einen Multi-Klickdummy-Browser mit Versions-Switcher.

Install

Default (v1.1+): public PyPI

pip install "iil-klickdummy>=1.1,<2.0"

Fallback / Pre-PyPI / Dev: via Git-URL

pip install "iil-klickdummy @ git+https://github.com/achimdehnert/platform.git@v1.1.0#subdirectory=packages/iil-klickdummy"

Workspace-Pattern (Development):

pip install -e ../platform/packages/iil-klickdummy

Console-Scripts

klickdummy-i1 <spec>:<schema> ...          # Spec ↔ Route Coverage
klickdummy-i2 <spec>:<schema> ...          # 4-Pattern (strict-mode)
klickdummy-i3 <spec>:<schema> ...          # Off-Ramp + Sunset
klickdummy-i4 docs/                        # Cross-Repo-Ref-Format
klickdummy-extract-requirements <spec>     # Spec → UC/FR/NFR/Lasten/Pflicht
klickdummy-inventory                       # S11 cross-repo legacy class scan
klickdummy-install-snippets [--symlink]    # HTML+JS+templates in <repo>/platform-snippets/
klickdummy-browser [--output X.html]       # v1.1: Multi-Klickdummy-Browser (Listbox + iframe)

v1.1 — Browser-Feature (Stufe 1+2)

Erzeugt eine statische klickdummy-browser.html mit:

  • Linke Sidebar: Listbox „Klickdummy" (alle im Repo gefundenen) + Versions-Switcher (aus Git-History)
  • Detail-Card: Spec-ID, Klasse-Badge, ADR-Ref, Schwester-Klickdummies, Pfad
  • Main: iframe lädt aktive shell.html mit ?feedback=on

Erzeugung:

cd <repo>
klickdummy-browser --output klickdummy-browser.html
# Browser: open klickdummy-browser.html

Cross-Repo-Modus (--cross-repo --base ~/github) ist v1.2-Roadmap.

Feedback-Widget (v0.5)

Browser-side, opt-in via ?feedback=on. Submit-Modes:

Mode Was passiert
download Markdown-Datei (offline-fähig, kein GitHub-Token nötig)
clipboard navigator.clipboard.writeText
github POST direkt an api.github.com/repos/.../issues mit User-PAT aus localStorage.klickdummy_github_token; Issue-Author = realer GitHub-User; Audit native

Konfiguration im Host (vor Widget-Script-Tag):

<script>
  window.KLICKDUMMY_SPEC = { id: "repo:klickdummy-spec-<name>", version: "0.1", klickdummy_class: "mock" };
  window.KLICKDUMMY_FEEDBACK_REPO = "owner/repo";        // GitHub-Zielrepo
  // optional Plugin-Hooks:
  window.KLICKDUMMY_CATEGORIES = [...];                  // override default 5
  window.KLICKDUMMY_PERSONA_HOOK = () => '...';
  window.KLICKDUMMY_VERFAHREN_HOOK = () => '...';
</script>
<script src="platform-snippets/klickdummy/feedback-widget/widget.js" defer></script>

Schemas (importlib.resources)

from importlib.resources import files
import json
schema = json.loads(files("iil_klickdummy.schemas").joinpath("screens-spec.schema.json").read_text())

Bezug

  • platform:ADR-211 Rev 13 — Konvention + Distribution + Co-Creation-Pfade
  • platform:ADR-212 — Traefik-Ingress (für künftige PyPI-Selbsthost)
  • platform:ADR-213 — Cross-Repo-Ref-Format (was klickdummy-i4 prüft)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iil_klickdummy-1.1.1.tar.gz (32.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iil_klickdummy-1.1.1-py3-none-any.whl (37.9 kB view details)

Uploaded Python 3

File details

Details for the file iil_klickdummy-1.1.1.tar.gz.

File metadata

  • Download URL: iil_klickdummy-1.1.1.tar.gz
  • Upload date:
  • Size: 32.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for iil_klickdummy-1.1.1.tar.gz
Algorithm Hash digest
SHA256 a3bacfa925659cd1807a86fdd145dfc034130fd9054d53489ada1a09a02e0a69
MD5 6067e4a92766944a7a3a8dcb8cc29c03
BLAKE2b-256 fce61611e3df01404d7a95c46ff2c96c662cf7a68331d40b1cda4d80427e1b85

See more details on using hashes here.

Provenance

The following attestation bundles were made for iil_klickdummy-1.1.1.tar.gz:

Publisher: publish-pypi.yml on iilgmbh/iil-klickdummy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file iil_klickdummy-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: iil_klickdummy-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 37.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for iil_klickdummy-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 db11de4a0e8ee41b3e098846b4fa952d14fba29752e4d687ef0debdea9e760df
MD5 55e84e9dfd3baa473083b445914b647c
BLAKE2b-256 9ba34543ce305d2d3e314123f61b1105e9707a7bc5178718aee6b7e0db5d9769

See more details on using hashes here.

Provenance

The following attestation bundles were made for iil_klickdummy-1.1.1-py3-none-any.whl:

Publisher: publish-pypi.yml on iilgmbh/iil-klickdummy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page