Pencil marks can describe all legal candidates for a cell or just the digit locations you are currently studying. Both approaches can be useful. The trouble starts when a selective note is later read as a complete list.
With complete notation, a cell marked {2,5,8} means every other digit has been ruled out by the current grid. If 2 and 8 are later eliminated, 5 becomes a naked single. That inference is justified because the original list was exhaustive.
With selective notation, a small 5 might simply mean you noticed that 5 can go there. It says nothing about the other eight digits. Treating the solitary mark as a solved 5 would be a mistake. Keep selective digit maps in the margin or use a visibly different style.
Pick stable positions for small candidates. For example, use a tiny 3 in the upper right of a cell and a tiny 7 in the lower left. A consistent layout makes repeated candidates easier to compare. If the grid is too small for legible notes, use a separate sheet with coordinates instead of squeezing marks together.
Update notes only after a justified placement or elimination. When a digit is entered, remove it from every cell sharing its row, column, or box. If you are unsure whether a note is current, recompute the cell's candidates from the visible entries. Clean, trustworthy notes are more useful than a densely marked grid whose meaning has become uncertain.
Sources & notes
Original puzzle teaching and explanation by Evan Tessell.