Skip to content

docs(contextInjection): document always as a valid option and default - #75054

Closed
ayesha-aziz123 wants to merge 2 commits into
openclaw:mainfrom
ayesha-aziz123:docs/contextInjection-always-option
Closed

ayesha-aziz123 wants to merge 2 commits into
openclaw:mainfrom
ayesha-aziz123:docs/contextInjection-always-option

Conversation

@ayesha-aziz123

Copy link
Copy Markdown
Contributor

Summary

  • Problem: agents.defaults.contextInjection accepts three values — "always", "continuation-skip", and "never" — as defined in src/config/types.agent-defaults.ts (line 19) and validated by the Zod schema. The docs stated "always" as the default but never described what it does.
  • Why it matters: A user reading the docs sees "continuation-skip" and "never" explained, but "always" (the default) has no description, leaving the default behavior undocumented.
  • What changed: Added one bullet to docs/gateway/config-agents.md documenting "always" as injecting workspace bootstrap files on every turn.
  • What did NOT change: No code touched. No behavior changed. Scope boundary is documentation only.

Change Type

  • Bug fix
  • Feature
  • Refactor required for the fix
  • Docs
  • Security hardening

Linked Issue/PR

No linked issue — standalone docs gap fix.

Test plan

Docs-only change; no code touched.
Verified against src/config/types.agent-defaults.ts line 19 and src/agents/bootstrap-files.ts line 55.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime size: XS triage: low-signal-docs Candidate: docs-only change looks low signal; maintainer review needed. labels Apr 30, 2026
@clawsweeper

clawsweeper Bot commented Apr 30, 2026 •

Copy link
Copy Markdown
Contributor

Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.

The documentation gap is resolved by the merged #118755. Its wording is more precise about the embedded runtime and file filters, and it shipped in v2026.9.6.

Root-cause cluster
Relationship: superseded
Canonical: #118755
Summary: The merged PR covers the same documentation gap with more precise wording.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Canonical path: Keep the shipped, runtime-scoped description in the agent workspace and bootstrap reference.

So I’m closing this here because the remaining work is already tracked in the canonical issue.

Review details

Best possible solution:

Keep the shipped, runtime-scoped description in the agent workspace and bootstrap reference.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this PR addresses documentation, and the relevant text is directly verifiable in the current reference and release tag.

Is this the best way to solve the issue?

No: the merged clarification is more accurate because it limits the setting to the embedded runtime and accounts for context mode and file filters.

Security review:

Security review cleared: The introduced change is one documentation bullet and adds no security-sensitive code or supply-chain surface.

AGENTS.md: found and applied where relevant.

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Codex review notes: model internal, reasoning medium; reviewed against 106752303d73.

@ayesha-aziz123

Copy link
Copy Markdown
Contributor Author

@codex review!

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. 👍

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ayesha-aziz123

Copy link
Copy Markdown
Contributor Author

@vincentkoc could you take a look when you get a chance?

@RomneyDa

Copy link
Copy Markdown
Member

Heads up: this PR needs to be updated against current main before the new required Dependency Guard check can pass.

@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added stale Marked as stale due to inactivity triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels Jun 14, 2026
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Jun 14, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Jun 15, 2026
@clawsweeper clawsweeper Bot removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jun 21, 2026
@openclaw-barnacle openclaw-barnacle Bot added the triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. label Jun 21, 2026
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jun 21, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Jul 27, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 9, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Aug 10, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Sep 26, 2026
@vincentkoc vincentkoc self-assigned this Sep 30, 2026
@vincentkoc vincentkoc closed this Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation gateway Gateway runtime P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. triage: low-signal-docs Candidate: docs-only change looks low signal; maintainer review needed. triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants