How panbibliotekar/gaidet-declaration works
Purpose and delivery model
GAIDeT is a static, browser-based declaration generator for disclosing generative-AI use in research and scientific writing. It is intended for GitHub Pages-style hosting; no server application or database is present. Primary user entry points are index.html and the Ukrainian localization index-uk.html.
Interactive declaration generator
The main HTML pages collect a responsible author, LLM/version, selected taxonomy tasks, and an optional comment, then generate copyable declaration text entirely in the browser. Supporting Crossref-oriented variants are gaidet-crossref-helper.html and gaidet-crossref-helper-ua.html, likely providing a specialized declaration/metadata workflow.
Taxonomy as the source of truth
GAIDeT task definitions are maintained as structured YAML in _data/terms.yml. This is the authoritative editable taxonomy consumed by the static site/generator pipeline and represents the stable term identifiers exposed under the w3id.org/gaidet namespace.
Paths:
• _data/terms.yml
• _config.yml
Ontology publication pipeline
generate_ontology.py transforms the taxonomy source into the published OWL ontology, making GAIDeT concepts machine-readable and URI-addressable. The generated ontology artifact is committed as gaidet.owl, separating human-maintained term data from semantic-web distribution output.
Paths:
• generate_ontology.py
• gaidet.owl
• _data/terms.yml
Data and control flow
The core flow is: taxonomy YAML defines selectable delegation tasks; static HTML renders/uses those terms for user selection; browser-side logic assembles submitted author/model/task/comment values into a declaration; the result is copied by the user into a manuscript or reporting workflow. Ontology generation is an offline maintenance flow from YAML to OWL, independent of interactive use.
Runtime, hosting, and external boundaries
The deployed generator requires only a modern web browser and static-file hosting. _config.yml and the _data convention indicate Jekyll/GitHub Pages compatibility. External dependencies are conceptual/publication-facing rather than runtime APIs: permanent term resolution through https://w3id.org/gaidet/, GitHub Pages hosting, and Crossref-related helper pages. Python packaging metadata in pyproject.toml supports the ontology-generation environment.
Paths:
• _config.yml
• pyproject.toml
• justfile
Main entry points: _config.yml Jekyll site build · terms.yml Task taxonomy · index.html English generator · index-uk.html Ukrainian generator
Components 16
Static generator
Browser-delivered declaration tools.
- English generator
index.html - Ukrainian generator
index-uk.html - Crossref helper
gaidet-crossref-helper.html - Ukrainian Crossref helper
gaidet-crossref-helper-ua.html - Modern browser · Runs declaration generation entirely locally.
- Copyable declaration · Author, model, task, and optional comment disclosure.
Taxonomy & publication
Editable terms and ontology distribution.
- Task taxonomy · Authoritative stable delegation-task definitions.
_data/terms.yml - Jekyll site build · Uses repository data conventions to publish the site.
_config.yml - Ontology generator · Offline transformation of taxonomy terms.
generate_ontology.py - Published ontology · Machine-readable GAIDeT concepts.
gaidet.owl - Python generation environment
pyproject.toml - Maintenance commands
justfile
Publication boundaries
Hosting and downstream use.
- GitHub Pages-style host
- w3id.org/gaidet · Resolves published term identifiers.
- Manuscript workflow · User pastes the generated disclosure here.
- Crossref workflow
Connections 20
- Task taxonomy → Jekyll site build: site data
- Jekyll site build → English generator: publishes
- Jekyll site build → Ukrainian generator: publishes
- Jekyll site build → Crossref helper: publishes
- Jekyll site build → Ukrainian Crossref helper: publishes
- GitHub Pages-style host → Modern browser: serves static files
- Modern browser → English generator: opens
- Modern browser → Ukrainian generator: opens
- Task taxonomy → English generator: selectable tasks
- Task taxonomy → Ukrainian generator: selectable tasks
- English generator → Copyable declaration: assembles locally
- Ukrainian generator → Copyable declaration: assembles locally
- Copyable declaration → Manuscript workflow: user copies
- Crossref helper → Crossref workflow: supports
- Ukrainian Crossref helper → Crossref workflow: supports
- Task taxonomy → Ontology generator: transforms
- Python generation environment → Ontology generator: provides environment
- Maintenance commands → Ontology generator: runs maintenance
- Ontology generator → Published ontology: generates
- Published ontology → w3id.org/gaidet: published identifiers