Skip to content

Move Inertia Rails SSR Cache to The ShakaStack License 1.0 - #34

Merged
sashakhar1 merged 4 commits into
mainfrom
sashakhar1/sasha-inertia-shakastack-license
Nov 16, 2026
Merged

sashakhar1 merged 4 commits into
mainfrom
sashakhar1/sasha-inertia-shakastack-license

Conversation

@sashakhar1

@sashakhar1 sashakhar1 commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

🤖 Codex · OpenAI · gpt-6-sol (configured) · high - AI spend: $16.87

Recommendation: Merge · 🔴 Risk: High · Code Walkthrough · Checkpoint

Summary

Moves Inertia Rails SSR Cache to the approved ShakaStack License 1.0 so a ShakaStack Pro subscription covers production use across an organization without the former size limit.

Intent

Why: The old license had a size limit that the common ShakaStack terms removed.

Task: Codex prompt

  • Goal: Ship the approved Inertia edition of the common license in the next release.
  • Done when: Both packages carry the approved bytes and release preflight rejects draft text and versions below 0.2.0.

Safe because: The approved license bytes are pinned and the built gem license is checked before release.

Leaves out: A maintainer will make the version bump and release in a later change.

Scope: Replace both license copies, align current identifiers, and guard release packaging and version eligibility. (22 files, +842 / −407 lines)

Files: Code 10 · Tests 1 · Docs/instructions 8 · Other 3

Code:

  • lib/inertia_rails_ssr_cache.rb
  • lib/inertia_rails_ssr_cache/configuration.rb
  • lib/inertia_rails_ssr_cache/probe.rb
  • lib/inertia_rails_ssr_cache/railtie.rb
  • lib/inertia_rails_ssr_cache/result.rb
  • lib/inertia_rails_ssr_cache/version.rb
  • lib/inertia_rails_ssr_cache/warm_job.rb
  • packages/inertia-rails-ssr-cache/src/index.ts
  • tools/license_check.rb
  • tools/release/preflight.rb

Tests:

  • spec/tooling/license_check_spec.rb

Docs/instructions:

  • AGENTS.md
  • CLA.md
  • CONTRIBUTING.md
  • LICENSE.md
  • README.md
  • docs/architecture.md
  • packages/inertia-rails-ssr-cache/LICENSE.md
  • packages/inertia-rails-ssr-cache/README.md

Other:

  • inertia_rails_ssr_cache.gemspec
  • sig/framework_boundary.rbs
  • sig/inertia_rails_ssr_cache.rbs

Risk and review

🔴 High risk is meant for a person to merge after a careful review that starts with the verification: does the evidence prove the change works, before the code?

Why high, from the checkpoint:

  • The license changes permitted use and subscription rights.
  • Published versions retain their terms permanently; a later revert cannot withdraw those grants.

Verification

Validation and review: validate passed (exit 0); review not required by this repository’s settings at e025c34.

Evidence and limitations

Validation and review: validate passed (exit 0); review not required by this repository’s settings at e025c34.

  • bin/validate passed on this head, including package artifact checks and behavioral tests.
  • bin/audit found no known issues with the current locked dependencies.
  • GitHub Actions passed both jobs on this head.
License history note

The approved license records the removed 250 person cap in its informative version history. That sentence is part of the approved source, so the task's literal grep check conflicts with its required digest. The operative terms have no such cap.

Shaka metrics

Estimated token costs: $16.87 · ready pending

Details
Usage and cost
Report USD Codex credits Input Cached input Output Reasoning Cache writes
gpt‑6‑sol implementation $16.77 419.20 75.4M 74.9M 95.3K 33.9K 0
gpt‑6.1‑sol review $0.11 2.65 229K 193K 1.3K 266 0
Total $16.87 421.85

Understand the columns and accounting rules.

How each report was measured and priced

gpt‑6‑sol implementation

Rate card: installed Shaka.

Standard Codex credit and OpenAI API-equivalent rates, verified 2026-09-29.

Sources: Codex credit rates, GPT-6 Sol, and prompt-cache accounting.

Local adversarial reviewer usage: not in this report. Hosted reviewer and tool-model usage is not counted.

Native usage is PARTIAL. Scope: all turns in selected sources.

gpt‑6.1‑sol review

Rate card: installed Shaka.

Standard Codex credit and OpenAI API-equivalent rates, verified 2026-09-29.

Sources: Codex credit rates, GPT-6.1 Sol, and prompt-cache accounting.

Local adversarial reviewer usage: included below. Hosted reviewer and tool-model usage is not counted.

Native usage is PARTIAL. Scope: all turns in selected sources.

Native usage is partial for this task.

Timings · 55m between checkpoints · 3h 39m waiting on a person in 1 wait

This head: Prompt to CI 4h 20m · CI to ready pending · Ready to merged pending

Totals: 55m between checkpoints · 3h 39m waiting on a person in 1 wait

11-16 15:19 to 11-16 19:53 UTC (4h 34m)
                    15:19        16:01        16:44        17:27
PR          4h 34m  -----------=............................//2h//..====
Validation     14m        ##                  ##       ##  #//       #
Checkpoint   1m 6s                                          //        ##

- before the PR  = PR open  . waiting on a person  # step  x failed  // idle wait cut
Stretch From To Time
Before the pull request 2026-11-16 15:19 2026-11-16 15:57 (opened) 37m
Between checkpoints 2026-11-16 15:57 2026-11-16 16:01 4m
Waiting on a person: resume 2026-11-16 16:01 2026-11-16 19:40 (resumed) 3h 39m
Between checkpoints 2026-11-16 19:40 2026-11-16 19:53 (this update) 13m so far

Times are UTC wall-clock time. A wait runs from when an attention label goes on until it comes off or the pull request merges or closes.

Before first recorded validation: 21m · Task start (agent-reported): 2026-11-16 15:19 UTC. Validation started: 2026-11-16 15:40 UTC. This interval overlaps the stretches above.

Measured steps: Validation 14m (5 runs) · Product checkpoint 1m 6s (2 runs)

Models: openai · gpt-6.1-sol · medium · Machines: UNKNOWN

Failed or unfinished steps:

Step Started Time Result Model Machine
Product checkpoint 2026-11-16 19:49 1s not completed (exit 1) openai · gpt-6.1-sol · medium UNKNOWN

Each measured step is a helper run recorded on the machine that ran it. A step logged on a machine that never updated this description is missing, so the totals can be partial. A step can overlap the stretches above.

Agent time: 3h 51m working in 1 session: other shell 2h 35m · model 1h 2m · validation 4m 23s · Shaka helper 3m 31s · git/GitHub 2m 28s · other tools 2m 23s · review 50s · subagents 15s. Waiting on a person: 0s on questions, 44m between turns.

Understand the timings.

Execution details
Field Value
Task source description
Shaka skill version 7f12f61
Recommended model / effort UNKNOWN / UNKNOWN
Active model / effort gpt-6-sol / high
Shaka settings used

Recorded checks match this PR’s current commit. This repository’s settings do not require review.

Only the listed runs are covered. Selecting settings does not show that a check ran.

Current settings: Repository settings from commit 99a69cf; Shaka installation: version 1.0.0, installed revision (Shaka skill version under Execution details)

Step Settings source Run details
Validation Repository settings from commit 99a69cf validate: 2m 47s (Apple M1 Pro, 10 cores, 32 GB RAM, 7 GB free, load 17→25)
Skills used

No skill use recorded; coverage is UNKNOWN.

Agent-reported use is the agent’s account. The agent selects Corroborated when a record confirms invocation or loading. Shaka does not check that record or instruction compliance. Completeness is not verified.

WIP Details
Field Value
Owner UNKNOWN · Codex desktop · v8m2
Chat name UNKNOWN
Chat link codex://threads/01a1e4f0-8f88-7513-9b57-645b7c5975b6
Last observed activity 2026-11-16 19:52 UTC
Revision sashakhar1/sasha-inertia-shakastack-license @ e025c34
Workspace /Users/sashah/orca/workspaces/inertia_rails_ssr_cache/sasha-inertia-shakastack-license
Unfinished work none
Stopped because awaiting merge approval
Merge authority ask
State Waiting for GitHub merge of the reviewed head
Next action Use GitHub squash merge for the named head after review.

Collection: alias unavailable; host available; tag available; thread available.

Merge gate

The approved source is on commercial licensing main. The first release under this text is version 0.2.0. Open legal points: license/COUNSEL.md.

PR prepared with Shaka.

@sashakhar1 sashakhar1 self-assigned this Nov 16, 2026
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 06da22af-a6d5-4821-825e-506102a11314
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@sashakhar1 sashakhar1 added the awaiting-resume Paused with nothing to wake the agent; resume from WIP Details label Nov 16, 2026
@sashakhar1 sashakhar1 removed the awaiting-resume Paused with nothing to wake the agent; resume from WIP Details label Nov 16, 2026

@sashakhar1 sashakhar1 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Codex · OpenAI · gpt-6-sol (configured) · high

Code Walkthrough

The next release can carry the approved Inertia edition of The ShakaStack License 1.0 while release preflight blocks draft text and versions below 0.2.0.

License text and metadata

Both license copies now contain the approved bytes. The root license and npm copy have the same pinned digest. Gem metadata and current source identifiers name this edition. The npm manifest keeps its file based license declaration.

Release boundary

LicenseCheck checks the source copies and the license extracted from the built gem. Release preflight rejects counsel markers, text that is not in force, and versions below 0.2.0 before build or publication. Draft checks stay on the release path so ordinary validation can inspect proposed text.

Proof and consequence

The committed head passed repository validation, package checks, the vulnerability audit, and both GitHub Actions jobs. There is no runtime change. Reverting the license commit would restore the earlier terms and identifier, so the next release should use this text only after the maintainer's version bump.

Walkthrough for commit e025c34. This is a COMMENT, not an approval.

Comment thread tools/license_check.rb
module LicenseCheck
SPDX = "LicenseRef-InertiaRailsSsrCache"
SPDX = "LicenseRef-ShakaStack-1.0-InertiaRailsSsrCache"
SHA256 = "85a5f1afe31d63bf7627faacf34f2d2a8de823e87ecc9713faea7fb1701ef061"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Codex · OpenAI · gpt-6-sol (configured) · high * walkthrough

Start here: this digest pins the approved license bytes used by both package checks.

@sashakhar1

Copy link
Copy Markdown
Collaborator Author

🤖 Codex · OpenAI · gpt-6.1-sol (configured) · medium

Checkpoint for e025c34

Recommendation: Merge

The approved terms are copied exactly and the requested release guards are in place. A maintainer will handle the version bump separately.

Reviewer verdict: Proceed, no unresolved concerns.

Verification: Adequate, with gaps the reviewer judged acceptable.

  • Weakest claim: Both built packages carry approved bytes: validation checks the gem digest, but checks only npm license presence. Registry publication was not exercised.
  • Next check: Compare the packed npm LICENSE.md digest with the approved digest during the version bump.

Risk: High. High risk is meant for a person to merge after a careful review that starts with the verification: does the evidence prove the change works, before the code?

  • The license changes permitted use and subscription rights.
  • Published versions retain their terms permanently; a later revert cannot withdraw those grants.

With merge.auto_merge_max_risk: low, an agent merges a low rating; a person merges the rest.

Supporting analysis and execution details

Reviewer summary: Both packages adopt the approved ShakaStack license. Digest checks add modest maintenance, while publication and the version bump remain separate.

LICENSE.md removes subscription size limits through the approved common terms. Customer impact and frequency are unknown.

tools/license_check.rb and tools/release/preflight.rb extend existing checks without adding dependencies or runtime enforcement.

Commit history shows one corrective commit and two main merges. The changes remain within license adoption and release safeguards.

Alternative considered: Keeping the existing coverage notice would avoid migration work, but would leave future packages carrying superseded terms.

observed model: UNKNOWN; configured model: gpt-6.1-sol · recorded effort: medium · prompt: Shaka default

Native usage (openai · gpt-6.1-sol · UNKNOWN · medium), 5 responses: 229,401 input, 192,512 cached input, 0 cache writes, 1,285 output, 266 reasoning output, 230,686 total.

Ruby checked this report's format and commit; the reviewer judged value, not correctness. Required checks, reviews, and merge authority still apply.

Auto merge preview: with merge.preference: auto, the agent would hand this PR back: it is past merge.limits (changed_lines 1249 > 999); the checkpoint rates this head high risk.

Squash commit message

Squash commit message for e025c34. Paste the title and the body into GitHub's squash merge boxes.

Move Inertia Rails SSR Cache to The ShakaStack License 1.0 (#34)
Adopt the approved common license for the gem and npm package. Pin its
bytes and check the built gem so the next release carries the same
terms. Guard release preflight against draft text and versions below
0.2.0.

@sashakhar1 sashakhar1 added the awaiting-merge-approval Ready under Ask: merge this commit or approve it so the agent merges label Nov 16, 2026
@sashakhar1
sashakhar1 merged commit cdc61cf into main Nov 16, 2026
3 checks passed
@sashakhar1
sashakhar1 deleted the sashakhar1/sasha-inertia-shakastack-license branch November 16, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-merge-approval Ready under Ask: merge this commit or approve it so the agent merges

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant