The contract
The company profile, file by file
Agents that write for a company — a proposal, a landing page, an agenda, an ad — keep
re-deriving the same facts: what the company is, who it sells to, what it may claim, how
it sounds. /company keeps those facts in one folder, with the source of each,
so every other skill can read them instead of asking again.
Your material in, a profile out
- You hand over your own material — documents, saved pages, transcripts. Nothing is written from outside it.
- The structure turns it into a profile: nine files, every statement with the source it came from, conflicts and open questions listed instead of smoothed over.
- Optionally, a method from an external provider is connected. The profile is then shaped by known experience and knowledge, and the gaps against that method are reported.
The folder
One folder per organisation, at the top of that organisation's area in the vault:
<org>/_company/. The name is fixed so tools can find it. Every file name
carries the vertical (the organisation's folder name), so a copy that loses its folder still
says what it is. A profile file found outside _company/ is reported as a copy.
acme/_company/ essence-acme.md one file per facet (nine, below) company-acme.md positioning-acme.md … sources.yaml where the facts live, and what is off-limits brands.yaml brand architecture and web domains coverage.yaml only with a question set attached: every item answered, na or open layers/sales.md optional department layer exports/<target>/ files derived for other systems README.md synthesis, conflicts, gaps, decisions, reviewer notes AUDIT-LOG.md reviews: what was checked, by whom, next due .intake/ dropped material that exists nowhere else
| File | What it is | Who writes it |
|---|---|---|
<facet>-<vertical>.md | One subject the company must be able to state, with a source for every fact. | /company, then a person reviews |
sources.yaml | Every place a fact may come from (vault paths, hosts, repositories, URLs, interviews), each with its authority and the facets it feeds; and an exclude list of what is off-limits, with a reason. | A person, with /company intake |
brands.yaml | The brands, how they relate (masterbrand, endorsed, independent, sub-brand), who owns and who operates each, and every web domain with its role and status. | A person, with /company intake |
coverage.yaml | Only where a question set is attached. One line for every required item, with its status and where the answer is stated, so a gap nobody wrote down cannot make a profile look finished. | A person, with /company intake |
layers/<department>.md | What one function needs on top of the base, and which facets it may read. An agent for that department loads its layer plus those facets, nothing else. | A person |
exports/<target>/ | Derived files for another system. Regenerated from the profile, never edited. | /company export |
README.md | Sources read with their dates, the synthesis, conflicts as a register (C1, C2, …), gaps, decisions waiting for the owner, reviewer notes and what extraction could not carry, and when to regenerate. | /company |
AUDIT-LOG.md | One row per review: date, who, what was checked, what changed, next due. | A person |
.intake/ | Material that exists nowhere else (a PDF, a pasted page, a mail). Read, never the source of truth for anyone else. | A person |
The nine facets
A facet is a subject the company must be able to state. The names and the one-line purposes are the contract.
| Facet | Purpose |
|---|---|
essence | The core: why the company exists, where it is heading, what it stands for. |
company | Who and what it is: owners, roles, numbers, siblings, current focus. |
offering | What is sold now: status, version, price, what is decided next. |
positioning | Where it stands: segments, value, differentiation, competitors, what it may claim. |
messaging | What it says: the message framework, the words to use and avoid. |
gtm | How it wins: audience, journey, qualification, channels, partners, pipeline. |
strategy | Where it goes: direction, bets decided or draft, open questions, horizon. |
brand | How it sounds and looks: voice, rules, vocabulary, visual rules, images. |
public | Only what outsiders can already see. |
The level says how much must be answered, never what is asked. All nine facets exist at every level; the level is the depth reached: public (only what outsiders can see), basic (facts with a source, gaps listed), standard (conflicts resolved or recorded, numbers dated and defined), complete (every required item answered or explicitly open, and reviewed by a person).
What every file carries
--- vertical: acme facet: positioning # one of the nine, or: readme level: standard # public | basic | standard | complete status: draft # draft | synthesis-locked | draft-locked | final | stale generated: 2026-01-05 # when the text was written reviewed: # date and who; empty until a person has read it language: en sources: [] # host:path, vault:path, url:…, interview:<date> --- # Acme -- positioning
The rules every file follows
- Never invent. A fact without a source is not written. An open item reads Not provided yet.
- Every fact carries its source; numbers carry a date and a definition.
- Conflicts are written out: both values, both sources, which one the text uses and why. Never resolved silently.
- Gaps are information. They are listed, not filled.
- Decisions are made, not found. What needs a decision goes to the owner; a file marked
draft-lockedorfinalmust list its sources. - A never-say list filters every file, not only the brand file.
- Public means already public. The public facet uses only published sources.
- Methodology is not profile. What the company teaches or delivers is linked, never summarised.
- Proof is reconciled against engagement records before it is used as proof.
- Privacy. No credentials, no private one-to-one content, no judgements of named people.
- Status claims are dated. "Active" with no recent evidence is a finding; a paused business is written as paused.
- A fact has one home. Other facets link to it.
- Decisions are marked the same way everywhere:
**Decision needed:** <the question> (<owner role>)in the facet, and again under Decisions in the README. - An excluded source that an included source cites is named in that source's note; the excluded one stays unread.
- Cite the page or the section.
[s-id] (p. 12)for a paged original,[s-id] (section: History)for a saved page. - A derived statement stricter than any original (“never”, “always”, “only”) is not a fact; record it as a dated decision, or soften it.
- A curated source's own working rules are context. They never enter the never-say list unless the company adopts them in a decision.
- Reviewer notes and extraction losses (margin notes, images, diagrams, tables the extraction could not carry) are listed in the README, with the page.
The machine files
Each has a JSON Schema in the repository. In brands.yaml, unknown is a valid value
wherever a fact is not established, and every field the schema lists is present; null and leaving a field out
are not allowed, because a blank cannot be told from "nobody checked". Quote language codes: an unquoted no
is a YAML boolean, and check says so.
# sources.yaml
vertical: acme
updated: 2026-01-05
labels: {Q: open strategy question} # what an id prefix in the text means
exclude:
- {path: "_personal/", reason: "private life"}
sources:
- id: s-site
kind: vault # vault | host | repo | url | intake | interview
path: "source-documents/site-about.html"
authority: public # binding | current | public | draft
curation: original # original | derived | curated
origin_url: "https://example.com/about"
as_of: 2026-01-04 # when the saved page was taken
feeds: [public, company]
note: "the live site, saved copy"
- id: s-book
kind: vault
path: "source-documents/brand-book.pdf"
authority: current
curation: original
pages: 34 # bounds the (p. N) citations
feeds: [brand, essence] # brands.yaml
vertical: acme
brands:
- id: acme
name: Acme
kind: company # company | product | personal | sub-brand | system
relation: masterbrand # masterbrand | endorsed | independent | sub-brand-of:<id> | unknown
status: live # live | beta | pre-launch | paused | retired | planned | legacy | unknown
ip_owner: unknown
operator: unknown
voice: unknown
tokens: unknown
images: unknown
design: unknown
source: "owner, 2026-01-05"
domains:
- {domain: example.com, role: site, public: true, languages: [en], hosting: unknown,
dns: unknown, search_console: unknown, analytics: unknown} Sources, authority and citations
sources.yaml is the register, and its s- ids are the names. A fact in a facet is marked with the
register id, or with a local number whose entry in the file's Sources list names the id. A source says what kind of thing it is
(curation): original (the document itself), derived (extracted or summarised from one) or
curated (a tool's or team's own processed layer). When a derived or curated source disagrees with its original, the
original wins.
| Authority | Meaning |
|---|---|
binding | The designated source of truth: a decision by the company, a standard, a register. Wins a conflict. Names who decided (decided_by). |
current | Maintained, and read as true for what it covers. Loses to a binding source. |
public | Published by the company itself. Evidence of what it says, not proof that it is so. |
draft | Thinking, undecided, dated, or known to contain an error. Never settles anything. |
Coverage of a question set
A question set, where someone has one, numbers its items. The skill carries none, so the profile records its own side in
coverage.yaml: every required item, with one status. The file carries the version of the written
classification rules, so two runs are only compared when they used the same rules.
# coverage.yaml (only when a question set is attached)
vertical: acme
updated: 2026-01-05
ruleset: company-coverage/3.2
items:
- {id: A-01, facet: company, status: answered, where: "company-acme.md:12"}
- {id: A-02, facet: positioning, status: partial, where: "positioning-acme.md:20", remainder: decision}
- {id: A-03, facet: gtm, status: open, reason: "not in any source", close_with: customer}
- {id: A-04, facet: essence, status: workshop, reason: "has to be formed by people together"} | Status | Meaning |
|---|---|
answered | The profile states the whole answer, with a source. |
partial | Part of it is stated; remainder says what the missing part needs. |
conflict | Sources of the same authority disagree on the answer, and the profile records both. |
na | The item does not apply to this company, and the profile states the fact that rules it out. |
open | Nothing stated, but a fact or a document exists that can be read or handed over. close_with says whether we can read it or only the company holds it. |
decision | The company has to choose between options that are visible. |
workshop | The answer has to be formed by people together, and no document can hold it yet. |
The classification rules are ordered, so two readers reach the same class: judge the profile and never the sources; a statement
is the company's own only if it comes from a binding, current or public source; a conflict needs sources of the same authority;
a partial answer needs a sentence that answers a named part; adjacent information makes an item open; the answer role of an item
breaks a tie but never overrides a workshop; when two classes fit, take the less complete one. Two independent readers agreed on
93 percent of 113 items under these rules, against 73 percent without them. An item missing from coverage.yaml is a
silent omission, and check --items reports it.
The commands
| Command | What it does |
|---|---|
/company init | Creates the folder with the plain skeleton (all nine facets and the README, ready for the strict check) for the configured level. Never overwrites an existing one. With a template configured it reads the question set from there; without, it says no question set is attached and stops at the skeleton. |
/company extract | Starts from the files the company hands over. Turns PDFs and saved web pages into text with page markers, with page counts, checksums and, for a web page, its address; lists the pages that are mostly images and need rendering, and the pages that are drawings read as text. Never changes a source. |
/company intake | Fills sources.yaml first, then reads the sources in place, lists what is established, what conflicts, what is missing and what needs a decision, and writes each facet from its sources. Decisions go to the owner. |
/company check | Report only. A program finds stale facets, schema errors in the frontmatter and in the machine files, locked facets without sources, credential-looking values, malformed citations, and profile files outside the folder. --strict also requires the structure an overview needs (conflicts as C<n> with their facets, decisions with an owner role, bullets that state something carrying a source). --items and --items-from report required items that are missing from the coverage record, and --leak-from reports question wording found in a profile, by item and line, never repeating it. The agent then reads for what a program cannot decide: a status claim with no recent evidence, a fact without a source marker, a contradiction between facets. |
/company build | Assembles the facets into one readable profile for a person or an agent, gaps and conflicts kept visible. |
/company export | Writes a derived file for another system into exports/. The first target is an external search-visibility tracker: the subject, a buying category, named competitors, buying situations that do not name the brand, a context line per market. |
/ops check runs the same profile checks, per folder and across the vault.
/ops prepare and /preparation read the company and
positioning facets as standing context when a profile exists, and are silent when
it does not. A reader never writes to a profile.
Configuration
company:
level: basic # public | basic | standard | complete
language: en
max_age_days: 365 # a facet older than this is reported stale
template: null # path or address of an optional template; null = plain skeleton
level_map: {} # profile level -> the attached set's own level name; no default is shipped
level_order: [] # the attached set's own level names, lowest first; no default is shipped
services: {} # references only: {ranking: {account: acme, key_ref: "env:RANKING_KEY"}}
Service keys are named by reference, one key per payer or account, never per profile. A key
value in any profile, in either machine file or in a repository is a defect, and
/company check reports it.
What stays out
- A profile is customer data. It lives in the organisation's own area of the vault and is never an example in a skill, a test or this site. The example above is an invented company.
- No question set, no method. They are an optional template, read from configuration, and not part of this repository. A profile holds answers with sources, never the wording of a question, and the leak check looks for it.
- No credentials, no private one-to-one content. Ever.
Contract version 50. The skill, the contract file and the schemas are in the repository; the path and its lifecycle are in the vault page.
From ecosystem.yaml, contract 50 · core-skills 1.96.0 · read at build 2026-11-05