Skip to content

fix(telos): read Context Filter from TELOS.md instead of a hardcoded value - #1808

Closed
0bsolescence wants to merge 1 commit into
danielmiessler:mainfrom
0bsolescence:fix/telos-context-filter
Closed

fix(telos): read Context Filter from TELOS.md instead of a hardcoded value#1808
0bsolescence wants to merge 1 commit into
danielmiessler:mainfrom
0bsolescence:fix/telos-context-filter

Conversation

@0bsolescence

Copy link
Copy Markdown

Problem

GenerateTelosSummary.ts emits a hardcoded string as the Context Filter section of PRINCIPAL_TELOS.md:

'When steering work, bias toward: human flourishing, Human 3.0 transition,
 AI augmentation strategies, becoming one's full self, correct framing.'

PRINCIPAL_TELOS.md is @-imported at every session start, and the Context Filter is the field that steers prioritisation. Because the literal is unconditional, every install renders the same filter regardless of what the user wrote in their own TELOS.md, silently replacing their steering criteria with someone else's.

Fix

Read the ## Context Filter section from unified TELOS.md, falling back to a neutral prompt when the section is absent.

Verification

On a live 7.28.3 install with a populated Context Filter, PRINCIPAL_TELOS.md now renders the user's own text. With the section absent, it renders the fallback prompt rather than an unrelated value.

Scope: one function plus its call site. No behaviour change for any other section.


Found and fixed with AI assistance while installing 7.28.3; verified on a live install rather than by inspection.

…value

GenerateTelosSummary emitted a hardcoded Context Filter string into
PRINCIPAL_TELOS.md, which is @-imported at every session start. The literal
carried one specific person's values ('human flourishing, Human 3.0 transition,
...'), so every install silently overwrote the user's own Context Filter with
someone else's, no matter what TELOS.md said.

Reads the '## Context Filter' section from unified TELOS.md, falling back to a
neutral prompt when absent.

Verified: with the user's own filter in TELOS.md, PRINCIPAL_TELOS.md now renders
that filter rather than the literal.
@danielmiessler

Copy link
Copy Markdown
Owner

Ported: the Context Filter is read from TELOS.md's own section, with the hardcoded line demoted to fallback (LIFEOS/TOOLS/GenerateTelosSummary.ts). Ships in v7.40.4, credited in source and README. Closing rather than merging: this repo is generated from private source at release, so a merge here would be overwritten.

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