GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(atlas): cost-aware placement dry-run simulator (#6020 F04) · Issue #8528 · developing-today/code

test(atlas): cost-aware placement dry-run simulator (#6020 F04) #8528

New issue
Copy link
New issue
Copy link
Closed
Closed
test(atlas): cost-aware placement dry-run simulator (#6020 F04)#8528
Copy link
Labels
area/infraInfrastructure, deployment, and operationseffort/mMedium: expected under 1 day of workepic/atlas-programReprioritization program epic (2026-11-12)kind/enhancementpriority/normalOrdinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
Milestone
Atlas program

Description

@dezren39
dezren39
opened on Nov 11, 2026
Issue body actions

F04 — cost-aware placement dry-run reference simulator

Tier/status: recommended; fixture-only work ready after design merge; operational use conditional. Parent #6020, programme #6018; design on main. Evidence: baseline V1-D06/D09/D13/D15, architecture, growth model #6061.

Scope and distinction

Create a pure offline scenario simulator for comparing a few synthetic placement choices under explicit quality, latency, allowed-location and plan-envelope constraints. Inputs include versioned synthetic meter rates and age/uncertainty, storage, sync, reads/writes, embedding, egress, local hardware, temporary export/restore/compaction headroom and measured-or-unknown quality/latency. Output itemizes units and computed ranges, infeasibility or unknown, and a reversible proposal only. No live pricing, provider bindings, autonomous movement/deletion, real corpus, credentials or external costs. Constraints are evaluated before cost: sensitivity, legal retention, rights and pinned heads are never overridden.

This is not #6061's churn × retention growth forecast, #6041's retention rule engine/dry-run reporter, #6058 embedding ledger, or #7969 live operations guardrails. Consume no runtime services. Routine retirement stays cold-before-retire; independently required source-rights purge is not delayed or converted to archival.

Failing-first steps and oracle

  1. Hand-calculate tiny scenarios in a documented unit ledger: e.g. two equal-quality choices with itemized metering, a faster feasible choice within envelope, a forbidden placement, missing price, and insufficient temporary space. Write expected outputs before simulator implementation.
  2. Implement a simple independently specified reference calculation. Model/property tests check determinism, nonnegative input validation, unit-preserving sums, monotonic cost for increased nonnegative use at fixed prices, hard-policy infeasibility even at zero cost, unknown propagation for missing measurements, and temporary headroom. An intentionally cheapest-first selector must fail a fixture where it violates the speed/quality or policy constraints.
  3. Emit proposal + assumptions/uncertainty; never execute it. Hysteresis and rollback are modeled as constraints/annotations only, not a control-plane decision.

Hard prerequisites: this merged design and local synthetic fixtures. Soft ordering: #6061 calibration, #6058 actual ledger, #6041 retention policy and #7969 headroom. Future integration needs observed meter units/prices and policy approvals and must be separately scoped; no claim of current prices or deployment.

Candidate seam: existing pkgs/atlas-search/crates/atlas-core/tests/ for an isolated placement_model.rs; existing growth model above is a design, not an executable dependency. Proposed future command: cargo test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-core --test placement_model. Use integer fixed units or documented precise arithmetic, not mixed currency/bytes.

Risks: unmeasured quality or stale rates cannot justify a placement; zero retrieval is not evidence of zero value. This simulation does not authorize purge, replace legal erasure, or prove operational savings.

Design merge gate

The reviewed design is in PR #8519. This tracker is filed now to preserve the independently buildable slice while the design PR waits on the unrelated basic-tier baseline defect #8306. Do not start implementation until #8519 is merged. The main-branch source links become available at that merge; this issue does not authorize production integration.

Activity

Next
  1. dezren39
    added
    status/blockedQueue or user escalation state
    priority/normalOrdinary priority (the default)
    area/infraInfrastructure, deployment, and operations
    kind/enhancement
    on Nov 11, 2026
  2. developing-today commented on Nov 11, 2026

    @developing-today
    developing-todayBot
    on Nov 11, 2026 – with developing.today
    Contributor
    More actions

    CODE-2546

  3. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    Filing / queue disposition — worker repo-worker-code

    Deliberately not queued in this pass. The commissioning constraint requires --worker repo-worker-code on every queue operation, but installed enqueue rejects that flag before writing. Omitting it is not authorized. This comment records the reason under the repository filing rule; it does not claim live queue coverage. #8519 must also merge before implementation starts (unrelated baseline blocker #8306).

    Complete triage packet for an authorized compatible enqueue surface / standing coverage reconciliation:

    {
      "title": "Triage #8528: Atlas F04 cost-aware placement dry-run simulator",
      "body": "Filed by task 14861 design mill; reviewed fixture-only slice. Preserve design merge gate #8519.",
      "queue": "repo-health-code-pilot",
      "priority": 30,
      "dedupe_key": "repo-health:v1:triage:developing-today/code:issue:8528",
      "payload": {
        "schema": "repo-task/v1",
        "kind": "triage",
        "repo": "developing-today/code",
        "queue": "repo-health-code-pilot",
        "issue": {
          "number": 8528,
          "url": "https://github.com/developing-today/code/issues/8528",
          "title": "test(atlas): cost-aware placement dry-run simulator (#6020 F04)",
          "state_checked_at": "2026-11-11T04:21:01.537192+00:00"
        },
        "problem": "Disposition Atlas F04 independently buildable test-local follow-on; no production integration is authorized.",
        "evidence": [
          "https://github.com/developing-today/code/issues/8528",
          "https://github.com/developing-today/code/pull/8519",
          "Committed follow-ons/F04.md specifies scope, independent oracle, negative controls and future test command."
        ],
        "acceptance": [
          "Verify #8519 merged before marking implementation ready.",
          "Freshly dedupe, preserve fixture-only scope and route bounded implementation with PBT/MBT and decidable oracle."
        ],
        "tests": [
          "Record triage verdict on issue; proposed test command is future, not already run."
        ],
        "scope": {
          "include": [
            "Triage #8528; isolated synthetic fixtures/reference models only"
          ],
          "exclude": [
            "Production API/schema, deployed authorization certification, live corpus, provider charges, automated movement/deletion"
          ]
        },
        "risk": {
          "level": "low",
          "flags": []
        },
        "priority_reason": "Normal Atlas design follow-on; finite offline fixture/model work.",
        "timebox_minutes": 45,
        "max_attempts": 6,
        "context_refs": [
          "https://github.com/developing-today/code/issues/8528",
          "https://github.com/developing-today/code/issues/6020",
          "https://github.com/developing-today/code/pull/8519"
        ],
        "dedupe": {
          "checked_at": "2026-11-11T04:21:01.537192+00:00",
          "basis": "248-issue Atlas survey, seven targeted issue searches and five all-state title PR searches; no duplicate fixture-only owner found. Search-bounded; recheck at triage."
        }
      }
    }
  4. dezren39
    added
    epic/atlas-programReprioritization program epic (2026-11-12)
    and removed
    status/blockedQueue or user escalation state
    on Nov 11, 2026
  5. dezren39
    added this to the Atlas program milestone on Nov 12, 2026
  6. github-actions
    assigned
    dezren39
    on Nov 12, 2026
  7. dezren39
    added a parent issue on Nov 12, 2026
    • epic: Atlas program — unified search and memory index over every corpus #8983
  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged

    • Agent: queue worker (repo-worker-code), lane code-c
    • Session / ID: task 18684
    • Found via: queue claim
    • Task: Triage of issue test(atlas): cost-aware placement dry-run simulator (#6020 F04) #8528 (test(atlas): cost-aware placement dry-run simulator, design(atlas): expansive v2–v4 — feedback-driven ranking, provenance-complete resolution, self-curating corpus #6020 F04) — verdict: real and now unblocked; first queue triage of this issue, routed as task 20168.
    • Expectation: done = triage verdict + labels recorded (this note), follow-on task 20168 queued, task 18684 completed as triaged.

    Triage (inline, this pass):

    • Work kind: small-fix (task/small-fix) — a pure offline, fixture-only reference simulator; the packet instructs the worker to land the core comparison engine first and split scenario families if the surface is larger than one PR.
    • Priority: priority/normal (already on the issue).
    • Effort: effort/m — one self-contained offline tool plus fixture tests; no operational data or live systems.
    • Kind: kind/enhancement and epic/atlas-program already present.

    Evidence (fresh, 2026-11-16):

    • Issue test(atlas): cost-aware placement dry-run simulator (#6020 F04) #8528 is OPEN and unworked. Its only substantive comment is the 2026-11-11 filing note (dezren39) recording that it was deliberately NOT queued in that pass — an enqueue tooling constraint of that day — and that PR docs(atlas): evidence-gated v2-v4 corpus arc (#6020) #8519 "must also merge before implementation starts".
    • Both gates from that note verified cleared fresh this pass: parent design design(atlas): expansive v2–v4 — feedback-driven ranking, provenance-complete resolution, self-curating corpus #6020 is CLOSED with the design document present on origin/main (doc/2026-11-11T03-45-00Z_design_atlas_v2_v4, cat-file verified), and PR docs(atlas): evidence-gated v2-v4 corpus arc (#6020) #8519 (docs(atlas): evidence-gated v2-v4 corpus arc (design(atlas): expansive v2–v4 — feedback-driven ranking, provenance-complete resolution, self-curating corpus #6020)) is MERGED. The 2026-11-11 tooling constraint does not bind this pass — this triage arrived through the queue and the follow-on enqueued normally.
    • First concrete step (in task 20168): the core comparison engine over synthetic placement choices with versioned synthetic meter rates, fixture scenarios as tests.
    • Acceptance check for the fix: the acceptance list in task 20168 (offline comparison under the four constraint families; fixture tests incl. constraint-violation cases; no operational data).

    Issue #8528 stays open for task 20168.

  9. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 17, 2026
  10. 12 remaining items

  11. dezren39
    added
    status:done
    and removed
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 17, 2026
  12. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    kind: done
    actor: repo-worker-code (openchamber scheduled lane any-o)
    queue: repo-health-code-pilot task 20168
    pr: #11274 (merged 4a21c41)

    Landed the F04 fixture-only reference simulator as pkgs/atlas-search/crates/atlas-core/tests/placement_model.rs, the seam named in follow-ons/F04.md. Oracles: the hand-calculated unit ledger (two equal-quality choices to 125,350,000 micros, faster choice inside the envelope, forbidden placement infeasible at zero cost, missing price Unknown, insufficient temporary headroom, unmeasured quality), property invariants (determinism, unit-preserving sums, monotonic cost, hard-policy dominance, input validation), and an intentionally naive cheapest-first selector proven wrong on policy and envelope.

    Verification: cargo test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-core --test placement_model, 13 passed, no warnings. No live pricing, provider bindings or runtime services.

  13. developing-today
    closed this as completedon Nov 17, 2026
  14. dezren39
    reopened this on Nov 17, 2026
  15. developing-today
    added
    status:to-do
    and removed
    status:done
    on Nov 17, 2026
  16. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Closure watchdog (code#10105): reopening a wrongful auto-close.

    • Closed by developing-today[bot] at 2026-11-17T12:04:15Z.
    • Rule(s) fired: refs-only-pr:test(atlas): cost-aware placement dry-run reference simulator (#8528, F04) #11274.
    • Trigger PR: test(atlas): cost-aware placement dry-run reference simulator (#8528, F04) #11274 (merged, no closing keyword for this issue).
    • The issue still has work open, so the status:done + close was reverted: issue reopened, status:done removed.
    • Defect: bug: developing-today[bot] closes Refs-only issues on PR merge (status:done + close) even when the packet requires the issue to stay open #7610. Watchdog: watchdog: reopen issues the bot wrongly closes on merges #10105. Program: pm stack: close authority — automation must never close an issue #10136.
  17. dezren39
    removed their assignment
    on Nov 20, 2026
  18. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Claim — lane felix, 2026-11-23: verifying the done state of #8528 against current origin/main (placement_model.rs landed via PR #11274 per the earlier done note; the bot auto-close was reverted by the closure watchdog, so I'm re-verifying in full before Felix takes the close call). No reimplementation planned unless the check finds a gap.

  19. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Verification record — lane felix, 2026-11-23: #8528 is DONE on main; recommending close.

    Gate check: the design-merge gate is cleared — PR #8519 merged 2026-11-11T10:39:29Z and the #6020 design is on main (doc/2026-11-11T03-45-00Z_design_atlas_v2_v4/).

    Implementation landed: PR #11274 (merged, 4a21c41) added pkgs/atlas-search/crates/atlas-core/tests/placement_model.rs (1,022 lines) at exactly the seam the issue names. Verified in source on current origin/main (1a0d5a9) against the issue's failing-first oracle list:

    • Hand-calculated unit ledger: two equal-quality choices itemised to the hand total; faster feasible choice within envelope preferred; forbidden placement infeasible even at zero cost; missing price → Unknown (not free); insufficient temporary headroom infeasible; unmeasured quality cannot justify a placement.
    • Property/model tests: determinism, unit-preserving sums (itemised lines sum to the total), monotonic cost under increased use at fixed prices, hard-policy dominance at any price, nonnegative input validation (negative rates rejected), zero use costs zero.
    • Negative control: the intentionally cheapest-first selector is proven wrong on the policy/envelope fixture.
    • Scope held: pure offline synthetic fixtures — no live pricing, provider bindings, runtime services, or movement/deletion. Integer micros arithmetic, no mixed currency/bytes.

    Fresh test evidence (remote dispatch, today): run 45206436012 at origin/main 1a0d5a9 — cargo test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-core --test placement_model → 13 passed; 0 failed.

    Procedural note: the bot auto-close after #11274 (refs-only rule) was reverted by the closure watchdog (#10105) because the PR carried no closing keyword — that was a paperwork defect, not missing work. The work itself is complete per the above; Felix takes the close call. No follow-ups filed; no new dependencies.

  20. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Closed — Felix, 2026-11-23. Verified already done on main: the simulator landed as PR #11274 at pkgs/atlas-search/crates/atlas-core/tests/placement_model.rs, matching the issue's failing-first oracle list item for item (hand-calculated ledger, property tests, cheapest-first negative control, offline scope held). My lane re-ran it remotely at current main: 13 passed / 0 failed (run 45206436012). The open state was paperwork — a refs-only auto-close was reversed by the closure watchdog and the later done note never closed it. Verification record above (7105982514).

  21. dezren39
    closed this as completedon Nov 23, 2026
  22. developing-today
    added
    status:done
    and removed
    status:to-do
    on Nov 23, 2026
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

    area/infraInfrastructure, deployment, and operationseffort/mMedium: expected under 1 day of workepic/atlas-programReprioritization program epic (2026-11-12)kind/enhancementpriority/normalOrdinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      • Atlas programNo due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.