Repository navigation
Description
Parent: #2516. Supersedes the domain need in #2486; overlaps #3004's GRANT/REVOKE half.
The need
#2486 asked for JCL CICS sensors, and its analysis comment (2026-09-06, re-verified against language-crucible v1.2.0 on 2026-09-16) showed every part of it was wrong to implement as filed: PGM=DFHCSDUP runs a fixed command language (excluded from high_risk_execution by #2751's criterion, the IDCAMS precedent), the DFHCSD/DFHRPL DDs are already captured by io + _dependency_capture, and EXCI has zero corpus occurrences. But the domain question behind it is real and currently unanswerable from the signal vocabulary: "which jobs/scripts durably reconfigure shared infrastructure?" A modernization reader looking at a CICS estate wants "this job updates the CSD" the same way a security reader wants "this script writes the registry / installs a service / grants DB privileges". Today _dependency_capture shows the job touches DFHCSD; nothing says it mutates it.
Proposed contract (draft sentence, for debate)
system_config_mutation— a site that durably alters shared system or infrastructure configuration outside the program's own state: a service/subsystem definition update, a registry or scheduler installation, a database privilege or object-security change, a kernel/runtime tunable write — at its invocation.
kind: site; phase: subsystems (or resources — decide); lifecycle: lands as declared per the #2897 model.
Candidate rules where evidence already exists or is cheap to measure:
| language | shape | corpus evidence today |
|---|---|---|
| jcl | PGM=DFHCSDUP (CSD update); possibly IDCAMS DEFINE/ALTER steps |
6 DFHCSDUP execs / 186 crucible .jcl files |
| shell | systemctl enable/disable, crontab, sysctl -w, update-alternatives |
unmeasured |
| powershell | Set-ItemProperty HKLM:, New-Service, netsh |
unmeasured |
| cobol / jcl payloads | EXEC SQL GRANT/REVOKE, PAYLOAD:GRANT |
24 payload GRANTs / 4 files (verb census); cobol NATIVE:GRANT/REVOKE rows |
The last row is #3004's territory: the auth-surface census found EXEC SQL GRANT/REVOKE with no base-schema owner. If this sensor's boundary includes privilege changes (they are durable shared-config mutations), one contract resolves the config half of #3004; SIGNON/VERIFY PASSWORD would still need #3004's auth-family answer.
What must be decided before any code (the #2897 checklist)
- Boundary clauses — the hard part. This sits between
state_mutation(program-own state),globals(shared symbols),cleanup(single-item teardown) andhigh_risk_executionfamily (d) (whole-store destruction). Without C1–C6-style ownership clauses it becomes another declared domain sensors: rules whose densest match is a different construct than the sentence names (from #2897) #2898 drift row. TheDFHCSDUPcase is instructive: the step is fixed-command-language (not HRE), but the intent is config mutation — the sensor must own the step shape, not re-litigate HRE's exclusion. - A keyword-rosetta plant — without one the row can never pass
declared, and adding the key flips every rosetta cell from n/a to a scored 0 (the exact objection that kept EXCI out ofipc_rpc_bridgesin Extraction hardening: jcl CICS utility execution and resources #2486). Plant design should come with the contract. - Incidence measurement on both corpora before declaring (
rule_probe.py-style pass for each candidate rule). - Consumer question — nothing in the score layer reads it today. Remove ai_tools, ai_memory, ai_logic_loop from SIGNAL_SCHEMA -- not realistically detectable via regex #323 removed zero-producer sensors as dead weight; descriptive-only is acceptable (that is the domain-intent pack's nature), but say so explicitly in the contract row.
- Ripple cost — SIGNAL_SCHEMA +
signal_contracts.pyrow +how_to_add_a_language.mdsentence + golden-master re-bless + dead-key baseline + a new archetype feature dimension (non-breaking since the v2.8.1 self-describing brains, but unused until a retrain).
Out of scope
- Re-widening
high_risk_execution(jcl: high_risk_execution counts every EXEC PGM=, so a compiler step and IEFBR14 score as arbitrary execution (design question) #2751 stands; Extraction hardening: jcl CICS utility execution and resources #2486's utility-execution part stays rejected). - EXCI (
ipc_rpc_bridges) — still zero corpus evidence; unchanged from the Extraction hardening: jcl CICS utility execution and resources #2486 analysis. - Any implementation before the contract sentence, boundaries and plant are agreed here.
Found by: #2486's analysis (closed as superseded by this issue) + #2990/#3002/#3004's recurring "no schema slot fits" pattern.
Activity
squid-protocol commentedon Sep 18, 2026
Design record before code, per this issue's own gate. Two of the filed premises changed since 2026-09-16; the contract below reflects both.
Contract (v1)
kind:
site; phase:hybrid(where every post-#2897 domain sensor lives, includingauth_middleware—subsystems/resourceshold structural/hygiene sensors); lifecycle:declaredper #2897; consumer: descriptive-only (domain-intent pack) — nothing in the score layer reads it, stated here explicitly per checklist item 4.Includes:
PGM=DFHCSDUP,sysctl -w,Set-ItemProperty HKLM:,systemctl enable.EXCLUDES / boundary clauses (checklist item 1):
auth_middlewareauth_middleware/def_auth(see the #3004 addendum indocs/domain_sensor_contracts.md). A privilege change never fires this signal.high_risk_executionstate_mutationstate_mutation's; this signal is a durable write outside the program's runtime into shared infrastructure.globalsSET, dockerfileENV) stayglobals'.cleanupDISP=(...,DELETE)) stayscleanup's. Removing one durable system definition inside a config utility's payload is unowned in v1 — payload verbs remain #3002's in-stream-grammar question.DEFINE CLUSTERcreates the job's own datasets, and owning it here would make the sentence and the matches disagree (#2898's shape). Catalog-level shapes (DEFINE ALIAS,ALTER) are a real boundary question — deliberately left open, not silently claimed.Incidence (checklist item 3) —
rule_probe.py --override, Prism code stream, both corpora\bPGM=DFHCSDUP\bcdef121–125.jcl+ cbsaCBSACSD.jcl; thePGM=anchor avoids double-counting CBSACSD's//DFHCSDUPstep namesystemctl enable|disable,crontab(cmd-position),sysctl -w,update-alternativessysctl -w; one is inside a string literal (awrap_colormessage) — the #2899 FP shapeSet-ItemProperty …HKLM,New-Service,netsh(cmd-position)"New-Service",), not an invocationGRANT/REVOKEv1 scope decision
\bPGM=DFHCSDUP\b(unanchored operand style like its neighbors —PGM=sits on//continuation lines, Extraction hardening: jcl args continuation lines #2482). Ownership recorded inembedded_verb_coverage.py'sPGM:*row.None+ one-line rationale. shell, powershell, rexx, hlasm (and cobol reEXEC CICS SET) say "deferred, see New sensor design: system_config_mutation -- durable shared-infrastructure configuration change (#2486's real need; overlaps #3004) #3084" — the surface exists but anchored corpus incidence is near-zero and FP-prone today; the rest are genuine morphological absence.set(has("system_config_mutation")) == set(has("serialization_parsing")) | {"jcl"}.declared; unplantedNones are not ledger-gated, rosetta needs nothing. A plant is the promotion path tostatedif/when a consumer or the shell/powershell rules materialize.Model consequences (checklist item 5)
Scope class 2 of the add-signal skill: brand-new non-
sec_key → SIGNAL_SCHEMA appended at end (97→98); candidate archetype feature set 83→84. Non-breaking at scan time (this filing's own note was right): the v2.8.1 self-describing brains classify from their own recorded feature names, so shipped brains simply never read the new key and archetypes are unchanged until retrained — no dimension mismatch, noUnclassifiedfallback. Retrain owed at merge, batched with the retrain already owed from #3157; the retrain PR adds the file-model dimension and re-pinsEXPECTED_CONTRACT_SHA(the signal PR must not move it). DNA_SOURCES/FEATURE_NAMES model blocks stay untouched in the signal PR — adding a density feature without regenerated weights/scalers/centroids would desync the shipped brain.Follow-ups
Nones here)EXEC CICS SET(mutates running-CICS resource state — same intent family)PRAGMA(durable per-database tunables?) — boundary question, unfiledDEFINE ALIAS/ALTER) — see boundary tableImplementation lands next on branch
signal-3084via the add-signal skill's gate order.test(lint): re-pin ruff_audit baseline -- record_keeper RUF005 pair s…
feat(signals): system_config_mutation -- durable shared-config mutati…