Skip to content

v1.1.23

Choose a tag to compare

@github-actions github-actions released this 28 Nov 22:14
· 201 commits to main since this release
  • Auth availability snapshots are generation-bound, preventing a slow pre-login
    probe from republishing stale provider state after credential invalidation.

  • Completed the guarded live investigation path: typed two-session provisioning,
    actual canary/self-test execution, bounded cookie-session refresh with optional SHA-1 TOTP, invalid
    measurement exclusion, ranked top-twelve dispatch, phase exit artifacts and
    time caps, host pacing, durable control classification, seven-gate finding
    finalization, independent chain verification and gap-first report generation.
    DNS JSONL observations and fetched JavaScript feed the durable discovery view.

  • Wired the shared probe pool into task dispatch: potentially mutating tasks
    serialize per target and do not automatically retry. Checkpoints preserve
    control verdicts and coverage plans; report generation writes the gap audit
    first and rejects contradictory evidence.

Fixed

  • auth status omits OAuth account identifiers and raw refresh errors from
    text and JSON output while retaining provider readiness and refresh status.
  • Reload candidate tests use fresh build timestamps to exercise channel
    selection against the current executable.
  • Canary checks now surround execution of the probe callback. Informational
    observations remain coverage gaps and findings survive invalid measurements.
  • Added guarded probe execution with bounded refresh, hypothesis budgets,
    resource locks, host pacing, and durable one-shot setup intent/secret storage.
  • Added engagement artifact gates and two-owned-identity provisioning validation;
    gap auditing precedes reporting. DNS edge failures remain unverified leads.

Added

  • Elite-hunting decision logic in the security core. The post-mortem of a
    305-minute assessment (one Medium finding, ~240 minutes to first valid
    finding, ~35% of budget spent on plumbing and on re-proving a control that
    already worked) is now enforced by code instead of by discipline. Five modules
    on alphacode_security_core:

    • doctrine — the ten operating axioms as serializable data with a
      to_prompt() renderer. State-first/stateless-second, fixtures-before-probes,
      controls-are-binary, every-claim-carries-its-counter-hypothesis,
      park-don't-roam, impact-is-demonstrated, browser-as-scalpel,
      time-is-allocated-by-expected-value, one-time-use-semantics, and
      a-gap-found-at-the-end-is-a-failure-at-the-start. Wired into the Standard
      prompt tier
      as a static, cacheable section, so the mindset actually reaches
      the model rather than living in a file.

    • priority_score — Priority = (Impact × Reachability × StateSufficiency × EvidenceYield) / (Cost + SetupDebt), with ×1.5 for anything touching
      authn/authz/session/money state and ×0.3 for a class already known to hold on
      that surface. A hypothesis with no success oracle scores zero — an experiment
      that cannot discriminate its claim is refused, not scheduled. Ordering only,
      never suppression; deterministic and NaN-safe.

    • effort_planner — orders work by expected value and models the specific
      mistake that cost the most time: a refilling control looks unbounded. The
      Hysteresis tracker separates "blocks" from "blocks and then refills" and
      treats both as a working control, because a limiter's refill interval is a
      capacity property, not a security property. Deep hypotheses get a
      front-loading bonus rather than a cost penalty, so the setup-heavy work that
      yields findings is scheduled first rather than reached last.

    • control_ledger — every exercised control gets exactly one verdict:
      ControlWorks, ControlBypassed, Finding, Invalid, or Observation.
      ControlWorks permanently ends that (surface, class) question, which is
      what reclaims the budget previously spent re-characterising a rate limiter
      that was doing its job. The paired CanaryGate marks a whole probe block
      Invalid when a known-good request fails at either end — the guard that
      would have prevented two near-miss false findings, where 401s that really
      meant "session revoked" were read as MFA rejections.

    • gap_audit — a (surface × vulnerability-class) matrix whose empty
      cells are the gap list, available from minute one. Distinguishes
      tested from inspected from invalid from never reached, because
      reading a call site is not the same as proving the boundary holds at
      runtime. Cross-checks against the control ledger and reports contradictions:
      a broken measurement absorbed as a clean result, or a candidate finding
      recorded as a negative.

  • Orchestrator wiring. BugBountyOrchestrator now owns a ControlLedger and
    a GapAudit, with classify_control, plan_coverage_cell, should_probe,
    plan_effort, a canary-gated probe_block, coverage_gaps,
    coverage_limitations and evidence_contradictions. A verdict updates both
    views, so the matrix and the ledger cannot disagree at report time.

  • scripts/discord-release-announce.py — a tested release announcer.
    --dry-run prints the exact payload; tmp/verify_multipart.py asserts
    against a local HTTP server that payload_json is a text part, the changelog
    is attached as files[0], and the payload parses as a single valid embed.

Fixed

  • Release announcements no longer post raw JSON into the Discord channel.
    The workflow sent the payload with curl -F 'payload_json=@file', which is a
    file part. Discord's contract is payload_json = text part, files[n] =
    file part, so the JSON was never parsed as a payload and was echoed back
    verbatim — the reported symptom. Three defects were fixed together:
    1. payload_json is now a text part, and the attachment is files[0]
      (-F 'file=@…' was not an attachment slot, so the changelog never
      attached).
    2. The summary is truncated on character boundaries. head -c 3900 could
      split a multi-byte character in the release notes (em dashes, arrows) and
      produce invalid UTF-8, which Discord rejects with HTTP 400.
    3. The embed description is now a synthesized summary — headings, one line per
      change, explanatory prose dropped, bullet count capped — instead of the
      first 3.9 KB of the changelog. The full notes ride along as the attachment.
      Measured on the 1.1.22 notes: 2518 characters, readable, well under the
      4096 cap.

Changed

  • The Standard prompt tier now includes the doctrine section; ContextInfo
    accounts for it as doctrine_chars and shows it in the prompt breakdown as
    doctrine.
  • Version bumped to 1.1.23.