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.5.0

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.5.0
File Size Uploaded Provenance Actions
goldenreq-0.5.0.tar.gz 15.6 kB Without provenance Details for goldenreq-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 29.3 kB

Release files / goldenreq-0.5.0.tar.gz

Download URL goldenreq-0.5.0.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cd206afb1330a6ecf9c7d49e823ad5c11711797f1df1807474e0b4535697157f
BLAKE2b-256 checksum
How to use checksums
2f047e6489f0818dceabc7093de838518069b051a2dea7389983d100ddc7613c
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.5.0-py3-none-any.whl

Download URL goldenreq-0.5.0-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
755df947bcfc71435d36ea60c93e32b5035e194e450dd6b42e2a9419bd55cd15
BLAKE2b-256 checksum
How to use checksums
c96546215f0cb31b61d668b54c7700ec88b2847e2e2ec3b7312d1caa6dd08e33
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.5.0

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