Skip to content

Agents: add weekday to user time (codex assisted)#378

Merged
joshp123 merged 1 commit intoopenclaw:mainfrom
timkrase:system-prompt-weekday
Jan 7, 2026
Merged

Agents: add weekday to user time (codex assisted)#378
joshp123 merged 1 commit intoopenclaw:mainfrom
timkrase:system-prompt-weekday

Conversation

@timkrase
Copy link
Copy Markdown
Contributor

@timkrase timkrase commented Jan 7, 2026

Summary

  • Add weekday to the injected user time string in the system prompt
  • Update system prompt test expectation

Testing

  • pnpm lint
  • pnpm exec vitest run --testNamePattern "includes user time when provided"

AI-assisted

  • Yes (Codex)
  • Prompt: "The system prompt is auto injected with user timezone and current time, can we extend to use day of week also? I think it is in pi-embedded-runner"
  • I understand the changes and verified the targeted test.

@timkrase
Copy link
Copy Markdown
Contributor Author

timkrase commented Jan 7, 2026

Added because my clawdbot always messes up day of the week.

@joshp123 joshp123 merged commit 4e14123 into openclaw:main Jan 7, 2026
13 checks passed
dgarson added a commit to dgarson/clawdbot that referenced this pull request Feb 9, 2026
* Slack: add reaction escalation support

* Slack: handle thread reactions for escalation

* fix: minor bug fix from PR review

* bug fix

* fix: resolve linting errors across codebase

- Fixed 696 linting errors down to 0 errors (257 warnings remain)
- Changed no-explicit-any from error to warn (222 instances)
- Fixed no-unused-vars errors by removing unused imports/variables
- Fixed no-base-to-string errors with proper type checking
- Fixed restrict-template-expressions by using String()
- Fixed require-array-sort-compare with compare functions
- Fixed await-thenable by removing unnecessary await
- Fixed no-unnecessary-template-expression
- Added eslint-disable for intentional control character regex
- Changed no-unused-vars to warn for test files

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 4.5 <[email protected]>
zooqueen pushed a commit to hanzoai/bot that referenced this pull request Mar 6, 2026
Agents: add weekday to user time (codex assisted)
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.

2 participants