# Concepts: sections, weights and frontier pages

> Pages, sections, verified weights, links and frontier pages — the structure that lets an assistant cite Sinapsi precisely and avoid known dead ends.

Source: https://sinapsi.wiki/docs/how-it-works/

## Pages and sections

A wiki is a set of Markdown pages. Each page is split into **sections** at its `##` anchors; a section is the unit an assistant retrieves and cites. Each section has a stable id of the form `<page-slug>::<n>`, for example `countries/germany::0`.

`search` returns whole sections — usually the answer is already inside — and tells you which page each comes from. Open the full page with `get_page` when you need the context.

## Provenance

Every page carries where its facts come from: the sources with the date they were read, who supplied the data, and, for public wikis, the verification pass. Data with an expiry is marked with the date it was read and how long it stays valid.

## Links and neighbours

Pages link to each other with `[[wiki-links]]` written by the curator. `neighbors` returns a page's outgoing links (with their weight) and the pages that point to it. Following these links finds material that similarity search alone would miss.

## Verified weights

When an assistant answers using a section and the answer holds up, it calls `confirm_use(worked=true)`. The cited sections gain weight, and search ranks them higher for the next reader. In `search` output each section shows its `weight`. Links confirmed by use are followed automatically by search.

## Frontier pages: what does not work

Some wikis keep **frontier** pages: theses already tested and refuted, each with the date and the fact that killed it. Before proposing an idea, an assistant can search for it there. If it is listed, it is work already done — and it should not be proposed again without a new, dated fact.

## Public and private

The same engine runs the public wikis and your private spaces. The difference is who can read and write, and how corrections are handled — see [Citations and feedback](/docs/citations-and-feedback/) and [Private spaces](/docs/private-spaces/).
