Skip to content

docs: add outpost engineering handbook - #15865

Open
maximevast wants to merge 1 commit into
mainfrom
maxime/plr-349/handbook
Open

maximevast wants to merge 1 commit into
mainfrom
maxime/plr-349/handbook

Conversation

@maximevast

@maximevast maximevast commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Related Issue: #

What

Why

How

Checklist

  • This PR addresses a single concern (one bug fix, one feature, one refactor)
  • The diff is reasonably sized and easy to review
  • New functionality is covered by tests
  • Linting and type checking pass (uv run task lint && uv run task lint_types)
  • No unrelated changes or drive-by fixes are included

View guided diff Turn on auto-fix

@mintlify

mintlify Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
Handbook 🟢 Ready View Preview Oct 23, 2026, 2:44 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
orbit Ready Ready Preview Oct 23, 2026 2:45pm UTC
polar-test Ready Ready Preview Oct 23, 2026 2:45pm UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

1 issue found across 2 files

Confidence score: 3/5

  • outpost.mdx says the state hash has a 24-hour TTL, but the Lua scripts set no TTL, so it persists indefinitely and the footprint guidance is misleading. Align the doc with actual behavior or add the TTL to the scripts.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="handbook/engineering/design-documents/outpost.mdx">

<violation number="1" location="handbook/engineering/design-documents/outpost.mdx:44">
P2: According to the linked Linear issue PLR-349, the footprint section depends on TTLs, and this doc states a 24 h TTL on the state hash. The Lua scripts never set one, so the state hash persists indefinitely. Either add the expiry in the scripts or correct the lifetime, the READ_STATE description, and the 'State expired after 24 h idle' failure mode.</violation>
</file>

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic


| Key | Content | Lifetime |
|---|---|---|
| `outpost:v1:state:<identity>` | A hash: see the fields below | 24 h after the last script touched it |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2: According to the linked Linear issue PLR-349, the footprint section depends on TTLs, and this doc states a 24 h TTL on the state hash. The Lua scripts never set one, so the state hash persists indefinitely. Either add the expiry in the scripts or correct the lifetime, the READ_STATE description, and the 'State expired after 24 h idle' failure mode.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At handbook/engineering/design-documents/outpost.mdx, line 44:

<comment>According to the linked Linear issue PLR-349, the footprint section depends on TTLs, and this doc states a 24 h TTL on the state hash. The Lua scripts never set one, so the state hash persists indefinitely. Either add the expiry in the scripts or correct the lifetime, the READ_STATE description, and the 'State expired after 24 h idle' failure mode.</comment>

<file context>
@@ -0,0 +1,169 @@
+
+| Key | Content | Lifetime |
+|---|---|---|
+| `outpost:v1:state:<identity>` | A hash: see the fields below | 24 h after the last script touched it |
+| `outpost:v1:pending:<identity>:<bucket_start>` | A hash: `external_id` to the event's value, or empty for a count | 65 min after the last write |
+| `outpost:v1:<db>:updates` | Pub/sub channel: `{customer, bucket}` after a write, `{customer, state}` after a confirmation or a snapshot | No storage |
</file context>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

wrong, lua script now have a 24h ttl.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No blocking issues remain. Requires human review: Adds the Outpost engineering handbook and navigation entry; docs-only change, but the disputed 24h TTL claim cannot be verified from this diff, so the document's accuracy needs human sign-off.

This branch was successfully deployed

3 active deployments
Preview – polar-test — d763e987 Deployed Oct 23, 2026 by vercel[bot]
Preview – orbit — d763e987 Deployed Oct 23, 2026 by vercel[bot]
staging - handbook — d763e987 Deployed Oct 23, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant