openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
132 lines (106 loc) • 6.72 kB
Markdown
<!-- Generated by scripts/sync-skill-references.mjs; edit skills/shared/profiles.md. -->
# Subject pages
A subject page (a person, company, project, concept or other entity) reads like
a briefing: what is this, where does it stand now, and what is open? Facts are
table stakes; texture (beliefs, current work, motivations) is the value. The
claims, relationships and retained sources are the record; the page is a
current explanation written from them.
## The default is no change
Most sources and captures add claims and a source note and change nothing in
the body. Edit the body only for a fact that changes its current picture: a
decision, an outcome, a changed role or status, a resolved question, or page
text that a newer claim contradicts.
A page whose introduction describes its subject, whose State is current and
whose sections fit its type is left alone apart from targeted fixes: a broken
citation, a stale fact that a newer claim contradicts, or a new fact folded into
the topic it bears on. Do not reorganize it or rename its sections. Sections fit
its type when its decisions, milestones and open commitments sit in the type's
sections rather than in State, and its type's leading section is present
whenever the claims support it. Any other section the layout lists but the page
lacks is optional; its absence is not a failure.
Restructuring a page or splitting it needs one of these reasons, named in your
report:
- it has a dated section or a written Timeline
([retire dated sections](retire-dated.md));
- a section is about a different subject, which belongs on that subject's page;
- the introduction describes a source instead of the subject;
- it uses another type's layout, such as project headings on a concept page;
- a write was rejected for the page's size budget
([page budgets](publish.md#page-budgets)).
Split out a subject only when it is clearly separate (its own name and identity,
not a phase, component or facet that this page explains) and big enough to
stand alone: roughly five or more claims, or its own design, proof and outcome
history. Otherwise it stays a topic on this page.
## Introduction
One or two lines that say what the subject is and why it matters here: who a
person is and what they do, what a project is for, what a concept means, what a
company does and how it relates to the user's work. Describe the subject, never
the source that mentioned it ("Organization discussed in a standup", "Named in
the August 17 roster"), and never a placeholder ("Contact from the network").
## State
The short current picture: a few `###` topics, one per subject, each leading
with what is true now, not the most recent mention. Specifics (decisions,
milestones, people, commitments, open questions) go in the type's sections, not
in State. When a fact
changes, rewrite the topic it belongs to so it reads as current. Never append a
topic, paragraph or section named for a date, meeting, capture or source, and
never write Timeline entries: a page has no Timeline section. Knowledge builds
each entity's Timeline from records, one row per dated source, shown on the
record page and returned by `knowledge_timeline` with `entity` and
`group: "source"`.
## Sections by type
After State, a page uses its type's sections, in order, and only those the
evidence supports. A thin page with an introduction and two State topics is
fine. Read only the layout for the page you are writing:
[project](layout-project.md), [person](layout-person.md),
[company](layout-company.md), [concept](layout-concept.md). Other types use an
introduction, State and the sections their ontology definition describes.
Individual pull requests, CI runs, commits, branches and benchmark numbers are
claims, not page content, unless one is itself a decision, a milestone or a
constraint.
## Route facts to the right page
A fact goes on the most specific existing page it is about: a fact about one
feature goes on that feature's page, not only its parent project's; a person's
preference goes on the person's page, not a project policy. The broader page
gets the fact only when it says something about that page too. Create a page
only by the page-creation rules ([identity](identity.md#when-to-create-a-page)).
## Keep citations reachable
Every fact has an inline citation, and every citation stays reachable. When you
rewrite or delete text, keep each `[[id|label]]` it carries beside its fact in
the new text, or make sure the page still reaches that record another way: a
claim that names the page in `entities`, or a source note between the source
and the page. A fact stated only in text you are deleting becomes a claim
first. Cite a current record: when a cited claim is superseded or withdrawn,
cite its survivor when it states the same fact; otherwise rewrite the sentence
to what is true now and cite the replacement.
## Rules
- Dates are event dates.
- Unknown role, employer and surname stay absent. Populate ontology fields such
as `role` only when the source establishes them.
- Attribute beliefs to the speaker. Your assessment is not their belief.
- Never overwrite user-written assessments, verbatim quotes, recorded
disagreement or stated uncertainty. Flag conflicts with both citations.
- A page holds what the source says about that entity. Someone else's response
to it (a team's fix for a vendor's incident) belongs on the meeting page or the
responding project, with at most a source note here; different companies'
feedback gets separate context, not a copied meeting blob.
- A rerun or repeat report changes nothing; don't save a no-op.
- Partial identity goes in structured `identity`, not only a parenthetical.
- An authored document (a design, a plan, a piece of writing) is not an
explanation derived from claims. Amend it with a dated note beside the
original text instead of rewriting it; mark answered open questions resolved
and keep the question.
- Follow [writing](writing.md); no email addresses in prose.
## Create or update a page
A new page gets an introduction, State and only the type sections the evidence
supports. To update one:
1. Read the whole body, revision and hash. Never edit from a truncated read.
2. Write the source note ([source notes](source-notes.md)).
3. For each new fact that changes the page's picture, rewrite the State topic
or type section it bears on in place. Leave the rest of the page as it is.
4. If the page has a written Timeline or a dated section, retire it
([retire dated sections](retire-dated.md)).
5. Use `knowledge_edit_body` for these local changes rather than resending the
page.
For a full source-to-profile example, read
[meeting and entity example](meeting-entity-example.md).