dailynotes

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package dailynotes loads recent workspace daily notes (memory/YYYY-MM-DD.md and YYYY-MM-DD-<label>.md) and formats them as an UNTRUSTED background-context block to inject at the start of a new conversation, mirroring OpenClaw's startup-context behavior.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(workspaceRoot string, now time.Time, days int) (string, error)

Load reads daily-note files for the last `days` days (today inclusive) from <workspaceRoot>/memory and returns a formatted untrusted block, or "" if none. days <= 0 uses the default (2).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL