Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

fix(skills): stop writing a later role's start year as every earlier end year

muterC26d7fb44773f
diff --git a/apps/teamhub/internal/personalprofile/prompts/user-profile-adapter.md b/apps/teamhub/internal/personalprofile/prompts/user-profile-adapter.md
index d615ecd6..3eedc3a7 100644
--- a/apps/teamhub/internal/personalprofile/prompts/user-profile-adapter.md
+++ b/apps/teamhub/internal/personalprofile/prompts/user-profile-adapter.md
@@ -86,15 +86,20 @@ heading, so no text field may contain Markdown headings (a line starting with
the start year and a leading dash marks the end year: `2009–2013` when
both years are known, `2019` when only the start year is known, `–2013`
when only the end year is known (such as a graduation year), and
- `Present` for every ongoing role, whatever year it started. When the
- sources only show that a role ended before a later role began, write
- that later role's start year from the sources as the end, as in
- `–2025`, even when the later role's own period reads `Present`. Never
- leave a school or organization out of the timeline because its years are
- unclear: use the end year of this rule when a later role's start year is
- known, and mention the experience only in the overview when no year can
- be supported at all. Do not prefix roles with "Former"; the period
- shows it. Never guess a year. Required.
+ `Present` for every ongoing role, whatever year it started. Write every
+ year the sources support: a start year shown by an offer, a background
+ check, or a first day belongs in the period, so a finished job reads
+ `2020–2026`, not `–2026`. A later role's start year is an end year only
+ for the entry that later role directly follows, when the sources show
+ that transition, such as graduating and then joining, as in `–2025`
+ even when the later role's own period reads `Present`. A later year
+ that only proves an entry was over by then is an upper bound, not its
+ end year: write it as `≤2020`, and never copy one bound onto several
+ earlier entries as their end year. Never leave a school or organization
+ out of the timeline because its years are unclear, and mention the
+ experience only in the overview when no year can be supported at all.
+ Do not prefix roles with "Former"; the period shows it. Never guess a
+ year. Required.
- `organization`: the school or organization. Required.
- `place`: the city, or an empty string when the source does not state it
for that entry; never carry a city over from another entry.
diff --git a/apps/web/src/features/wiki/wiki-profile-editor.tsx b/apps/web/src/features/wiki/wiki-profile-editor.tsx
index 3cc88da5..3cf0844f 100644
--- a/apps/web/src/features/wiki/wiki-profile-editor.tsx
+++ b/apps/web/src/features/wiki/wiki-profile-editor.tsx
@@ -32,8 +32,8 @@ export function WikiProfileEditor({
Keep the five <code>##</code> sections. Under Background,{" "}
<code>### Timeline</code> lists <code>- years · organization</code>{" "}
entries with years only (<code>2019</code> start, <code>–2013</code>{" "}
- end, <code>Present</code> ongoing); any other <code>###</code> starts a
- point.
+ end, <code>≤2013</code> ended by then, <code>Present</code> ongoing);
+ any other <code>###</code> starts a point.
</p>
<textarea
aria-label="Profile Markdown"
diff --git a/apps/web/src/features/wiki/wiki-profile-page.tsx b/apps/web/src/features/wiki/wiki-profile-page.tsx
index 35914618..78a8f07d 100644
--- a/apps/web/src/features/wiki/wiki-profile-page.tsx
+++ b/apps/web/src/features/wiki/wiki-profile-page.tsx
@@ -100,13 +100,14 @@ function profileArticleParts(
function oldestFirst(
entries: TeamHubPersonalProfileTimelineEntry[],
): TeamHubPersonalProfileTimelineEntry[] {
- // A bare year is a start year and "–2013" an end year; sort by the first
- // year shown, and within one year put an entry that ends before one that
- // starts. A period with no year ("Present") goes last.
+ // A bare year is a start year, and "–2013" or the upper bound "≤2013" an
+ // end year; sort by the first year shown, and within one year put an entry
+ // that ends before one that starts. A period with no year ("Present") goes
+ // last.
const start = (period: string) => {
const match = /(\d{4})/.exec(period);
if (!match) return Infinity;
- const endsHere = /^\s*[–-]\s*\d{4}/.test(period);
+ const endsHere = /^\s*[–≤-]\s*\d{4}/.test(period);
return Number(match[1]) * 10 + (endsHere ? 0 : 1);
};
return entries
diff --git a/skills/builtin/personal-profile/1.0.6/references/acceptance-scenarios.md b/skills/builtin/personal-profile/1.0.6/references/acceptance-scenarios.md
index eac1153c..c8168f1c 100644
--- a/skills/builtin/personal-profile/1.0.6/references/acceptance-scenarios.md
+++ b/skills/builtin/personal-profile/1.0.6/references/acceptance-scenarios.md
@@ -144,3 +144,4 @@ Review the scenarios against the agent's actual discovery and synthesis.
83. **Affiliations found only in older material.** Recent mail is dominated by one product, while the subject's company and a concurrent academic appointment appear only in older correspondence, signatures, and formal records. Initial extraction runs identity discovery across the whole history, names the company behind the product and the academic role in Background, and keeps both current. A Profile that presents only the product, or only the most recent affiliation, fails.
84. **No organization to find.** The subject works independently, studies, or builds a product with no company behind it. Identity discovery finds no employer and the Profile says nothing about a missing one; it does not invent an organization, guess one from a domain, or add a sentence that the company is unknown.
+85. **Upper bounds are not end years.** One message says the subject finished a master's that May, earlier studied elsewhere, and once interned at a lab; a background check dates the next job's start. The timeline gives the job its start year, ends the master's in that year, and searches for the earlier school's and internship's own years. Any year it cannot find is written as an upper bound (`≤`) and reported for the Human to confirm; the same bound is never written as the end year of every earlier entry.
diff --git a/skills/builtin/personal-profile/1.0.6/references/teamhub-publication.md b/skills/builtin/personal-profile/1.0.6/references/teamhub-publication.md
index 6e06f814..6f4b11aa 100644
--- a/skills/builtin/personal-profile/1.0.6/references/teamhub-publication.md
+++ b/skills/builtin/personal-profile/1.0.6/references/teamhub-publication.md
@@ -74,14 +74,21 @@ The document contains exactly these fields; unknown fields are rejected.
the start year and a leading dash marks the end year: `2009–2013` when
both years are known, `2019` when only the start year is known, `–2013`
when only the end year is known (such as a graduation year), and
- `Present` for every ongoing role, whatever year it started. When the
- sources only show that a role ended before a later role began, write
- that later role's start year from the sources as the end, as in
- `–2025`, even when the later role's own period reads `Present`. Never
- leave a school or organization out of the timeline because its years are
- unclear: use the end year of this rule when a later role's start year is
- known, and ask the Human for the years only when no year can be
- supported at all. Do not prefix roles with "Former"; the period
+ `Present` for every ongoing role, whatever year it started. Write every
+ year the sources support: a start year shown by an offer, a background
+ check, or a first day belongs in the period, so a finished job reads
+ `2020–2026`, not `–2026`. A later role's start year is an end year only
+ for the entry that later role directly follows, when the sources show
+ that transition, such as graduating and then joining, as in `–2025`
+ even when the later role's own period reads `Present`. A later year
+ that only proves an entry was over by then is an upper bound, not its
+ end year; never copy one bound onto several earlier entries. Search
+ for the entry's own years first (degree, graduation, admission, offer,
+ internship, or resignation records). If none is found, write the bound
+ as `≤2020` and list the entry in the Task report so the Human is asked
+ for its years. Never leave a school or organization out of the timeline
+ because its years are unclear, and ask the Human for the years when no
+ year at all is supported. Do not prefix roles with "Former"; the period
shows it. Never guess a year.
- `organization`: the school or organization.
- `place`: the city, or an empty string when the source does not state it