Skip to content

keyword-rosetta: ZScript (zscript) has no control folder; author data/zscript/ and backfill its cost record #5783

Closed

Description

@squid-protocol

ZScript landed in gitgalaxy (#5535, DOOM milestone) without a keyword-rosetta control folder. gitgalaxy/standards/how_to_add_a_language.md treats the folder as part of a language addition, and tests/tools/language_addition_audit.py --lang zscript currently skips the corpus checks. Until the folder exists, zscript's planted-count accuracy isn't measured and the README bias-variance chart leaves it out.

Work

  1. In squid-protocol/keyword-rosetta, author data/zscript/: the 12-probe control shell per SPEC.md, with decoys and a deviation ledger per docs/GATING.md.
  2. Run python tools/verify_language.py zscript --report --engine <gitgalaxy main> and explain every deviation by name (fix the engine or record it in the ledger; never edit the plants to match the engine).
  3. On the gitgalaxy side, run KEYWORD_ROSETTA_PATH=<checkout> python tests/tools/language_addition_audit.py --lang zscript with no rosetta warning left.
  4. Backfill the cost log: python tests/tools/record_language_cost.py --lang zscript --phase corpus ... for this session (the engine half has no row either; record it with --manual from the PR's dates if no transcript is at hand).

Language notes

Lexical family standard_block: plant decoys under both // and /* */; class/struct/extend class bodies and actor states.

Acceptance

  • keyword-rosetta PR merged with data/zscript/; that repo's CI verifier is green.
  • The audit shows no keyword-rosetta warning for zscript.
  • language_addition_costs.jsonl has a row for zscript.

Part of #5457. Filed from the 2026-10-20 language-addition audit (owner request).

Activity

  1. added
    testing
    needs:corpus
    lane:nyx
    scope:frontier
    scope:core
    and removed
    scope:frontier
    on Oct 20, 2026
  2. squid-protocol commented on Oct 25, 2026

    @squid-protocol
    OwnerAuthor

    Siblings found by the corpus-half run (PR #6657 / keyword-rosetta#161), still open: (1) re-pin FIDELITY_PROVENANCE (corpus_sha, count 51->52) after #161 merges; (2) zscript row missing from docs/language_status/README.md index; (3) class_start not in _CLASS_START_NAMED_EXTRACTION_LANGS (harden-class-start-extraction pass); (4) decoy_check.py takes the first 'decoy:' line (the 'Graph Decoy:' line), so ~48 languages report 'asserts nothing'.

  3. squid-protocol commented on Oct 25, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 5783-20261025T1857Z (host nyx) ended without a PR. Worker found keyword-rosetta PR #161 already carries zscript control sheet (draft, verify green); nothing pushed. Needs un-draft/merge on that repo; sibling: re-pin FIDELITY_PROVENANCE after merge.

  4. squid-protocol commented on Oct 26, 2026

    @squid-protocol
    OwnerAuthor

    Closing (owner OK, 2026-10-26). keyword-rosetta #161 merged with data/zscript/, the README index row is on main (#6660), and language_addition_costs.jsonl has the zscript rows (#6651, #6657).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    lane:nyxneeds:corpuspriority: mediumscope:coretesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions