Skip to main content

goldenreq — the acceptance gate for goldenization

The gauge is not the handler. A gauge is an internal self-assessment — the bandit's 2×🏆 on a constructed chain, a rulecatcher candidate rule, a forged template, a personapack activation_grade claim. A gauge can detect quality; it may never certify itself into golden/adopted/canon. That certification is a handler's job — an external acceptance authority. goldenreq is that gate.

The two-knob / CC loop is acceptable only if goldenization goes through this gate. Before, chainaios's bandit rule told the agent to self-fold a 2×🏆 chain into golden — self-certification. Now the rule says: file a goldenization request; promotion happens only on an accepted verdict.

Install

pip install goldenreq

It depends on nothing outside the standard library, and it installs the goldenreq command. It is one of the fifteen packages of ChainCompiler; to work on it, clone the repository and run ./install.sh, which installs all fifteen editable.

The flow

gauge  ──file_request(kind, candidate_id, evidence, requested_promotion, requester)──►  queue (pending)
                                                                                          │
handler ──accept(request_id, by, reason) ──► fires the promotion effect ──► golden / grade-bump / …
        └─reject(request_id, by, reason) ──► NO effect; reason recorded (a hard negative)
  • Requests carry receipts. evidence is the graded KB notes / cert ids / forge reports behind the claim. An unevidenced ask is a weak ask.
  • Verdicts are the seed corpus for the learned acceptance model that will one day staff this gate automatically. Rejections (with reasons) are its hard negatives. No trace → no handler → not annealable, only believable.

Kinds → effects

kind gauge upstream effect on accept
chain-golden a bandit chain earned 🏆 twice append an ACCEPTED-BY marker into the GBA KB note (never rewrites agent notes)
pack-grade-bump a personapack PackEntry pure helper returns the new activation_grade; personapack applies it
rule-adopt a rulecatcher candidate stub → points at rulecatcher.engine.adopt_rules (no fake integration)
template-promote a forged language/template stub → no canonical-template promotion API to call yet

Record shape

The verdict record mirrors base/acceptance's acceptance.schema.Verdict (read via git show acceptance-handler:…) so the verdicts JSONL is drop-in for that reader — by shape, not by import (no cross-branch coupling). The field-by-field mapping is documented at the top of verdict.py.

CLI

goldenreq list                          # the handler's inbox (pending requests)
goldenreq accept <id> --by human:alice  # rule accept → fire the effect
goldenreq reject <id> --by human:alice --reason "…"   # rule reject (reason required)

Metadata

Release files for goldenreq 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for goldenreq 0.3.1
File Size Uploaded Provenance Actions
goldenreq-0.3.1.tar.gz 13.0 kB Without provenance Details for goldenreq-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for goldenreq 0.3.1
File Interpreter ABI Platform Actions
goldenreq-0.3.1-py3-none-any.whl Python 3 none any Details for goldenreq-0.3.1-py3-none-any.whl

Total release size: 25.4 kB

Release files / goldenreq-0.3.1.tar.gz

Download URL goldenreq-0.3.1.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a23e069f6cc742907a95f033c8800927995f5919ad6a9d2947513de2593c0098
BLAKE2b-256 checksum
How to use checksums
22c81812aa50f60d7a73755ee1cca5e080b84abb3ce66797da04d8401d174e6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.13

Release files / goldenreq-0.3.1-py3-none-any.whl

Download URL goldenreq-0.3.1-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8189e4434d95a1e3c0c56270c61e1fc6915c9619ed5290fc55f5d446582aba8f
BLAKE2b-256 checksum
How to use checksums
631006fb81a671b2f90d9c5f83fd4c9531356deee453ede633dc339537590037
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.13

Security for goldenreq 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page