Replaces LICENSE (GPLv3 -> AGPLv3) and prepends `SPDX-License-Identifier: AGPL-3.0-or-later` to every source file across decnet/, decnet_web/, tests/, scripts/, and tools/. Rationale: closes the GPLv3 ASP loophole so any party operating a modified DECNET as a network service must offer their modified source. Personal copyright (Samuel Paschuan) + inbound=outbound contributions make a future unilateral relicense infeasible. - LICENSE: full AGPL-3.0 text (gnu.org/licenses/agpl-3.0.txt) - COPYRIGHT: project copyright notice - tools/add_spdx_headers.py: idempotent header injector (shebang- and PEP 263-aware) Touches 1565 source files (.py, .ts, .tsx, .js, .jsx, .css, .sh). No behavior change; comments only.
29 lines
1.4 KiB
Python
29 lines
1.4 KiB
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""Realism library — synthetic content + scheduling primitives.
|
|
|
|
A shared, importable library that produces *plausible* artifacts (file
|
|
names, file bodies, email content) and the diurnal/persona machinery
|
|
that decides *when* and *for whom* to produce them.
|
|
|
|
Workers (orchestrator, canary cultivator, future-emailgen-equivalents)
|
|
import from here. This package owns:
|
|
|
|
* :mod:`decnet.realism.taxonomy` — :class:`ContentClass` enum and the
|
|
:class:`Plan` dataclass that planners emit.
|
|
* :mod:`decnet.realism.diurnal` — work-hours gating and a backdated
|
|
``mtime`` sampler so planted files don't all stamp at wall-clock-now.
|
|
* :mod:`decnet.realism.planner` — picks ``(decky, persona, class,
|
|
action, mtime)`` tuples for the orchestrator's tick loop.
|
|
* :mod:`decnet.realism.personas` — persona schema (the
|
|
:class:`EmailPersona` record describing each fictional employee).
|
|
* :mod:`decnet.realism.prompts` — prompt builders, one per content
|
|
class, sharing an em-dash-suppression style helper.
|
|
* :mod:`decnet.realism.llm` — :class:`LLMBackend` ABC + factory + impl
|
|
subpackage; pluggable text-generation backend.
|
|
|
|
The library has **no worker, no systemd unit, no CLI of its own** —
|
|
it's plain Python that consumers import. The CLI surface that does
|
|
exist (``decnet realism import-personas``) is registered by
|
|
:mod:`decnet.cli.realism` after stage 5 of the migration.
|
|
"""
|