chore: remove backlog references from code and documentation
This commit is contained in:
1 parent
0529601021
commit
8e7ce8d71c
129 files changed
+699
-701
No files matched your search
@@ -11,7 +11,7 @@
|
||||
//
|
||||
// Revocation is not part of this package. Its downstream effects (closing
|
||||
// publication and grants, the deletion request, the manual path, stopping
|
||||
// the import) belong to TASK-064, which calls ConsentLedger().Revoke.
|
||||
// the import) belong to consent revocation, which calls ConsentLedger().Revoke.
|
||||
package consent
|
||||
|
||||
import (
|
||||
@@ -110,7 +110,7 @@ type SettingsGrantInput struct {
|
||||
// *StaleConsentTextError: an older one, one that is scheduled but not yet
|
||||
// published, and one that never existed.
|
||||
//
|
||||
// The registration (TASK-053) must call it with C1 and the submitted version
|
||||
// The registration must call it with C1 and the submitted version
|
||||
// before it branches on a new or an existing email. A stale version then
|
||||
// fails the same way for both, so the answer does not reveal whether the
|
||||
// account exists; GrantAtRegistration repeats the check inside the
|
||||
@@ -300,7 +300,7 @@ type ContactGrantInput struct {
|
||||
// It checks that TextVersion is the current C4 text like GrantInSettings does, and
|
||||
// the ledger checks that the hash is the hash of that text with the
|
||||
// organization name filled in. It is meant for the transaction of the
|
||||
// acceptance (TASK-201), next to the invitation state change and the audit
|
||||
// acceptance, next to the invitation state change and the audit
|
||||
// event. When the invitation already has a C4 record of the same subject,
|
||||
// the result has Created false and holds that record, revoked or not; the
|
||||
// caller compares its scope with the input to tell a repeat from a conflict.
|
||||
|
||||
@@ -7,11 +7,11 @@ package files
|
||||
type Namespace string
|
||||
|
||||
const (
|
||||
// NamespaceResume holds uploaded resume files (TASK-070).
|
||||
// NamespaceResume holds uploaded resume files.
|
||||
NamespaceResume Namespace = "resume"
|
||||
// NamespaceProfilePDF holds generated standard profile PDFs (FR02).
|
||||
NamespaceProfilePDF Namespace = "profile-pdf"
|
||||
// NamespaceAccountExport holds personal data exports (TASK-093, TASK-458).
|
||||
// NamespaceAccountExport holds personal data exports.
|
||||
NamespaceAccountExport Namespace = "account-export"
|
||||
)
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ func NewStore(storage outbound.ObjectStorage) *Store {
|
||||
// object. One race remains: when the whole body was sent before the caller
|
||||
// canceled, the server may still commit after the cleanup Delete returned.
|
||||
// Such an orphan has no Record, so a planned namespace sweeper that removes
|
||||
// keys without a record (with backups, TASK-030 and TASK-458) is the final
|
||||
// keys without a record (with backups) is the final
|
||||
// cleanup. See Record for the caller's order of operations.
|
||||
func (store *Store) Put(ctx context.Context, policy Policy, upload Upload) (Record, error) {
|
||||
if !policy.valid() {
|
||||
|
||||
@@ -23,7 +23,7 @@ func NewCredentials(hasher outbound.PasswordHasher) *Credentials {
|
||||
// HashNewPassword applies the registration password policy to raw and hashes
|
||||
// the normalized password. A password outside the policy returns an error
|
||||
// wrapping domain.ErrInvalidPassword without calling the hasher. Errors
|
||||
// never contain raw. Registration (TASK-053, not implemented yet) must call
|
||||
// never contain raw. Registration must call
|
||||
// it on every branch before it looks up the email, so that neither the
|
||||
// outcome nor the time depends on whether the account exists.
|
||||
func (credentials *Credentials) HashNewPassword(ctx context.Context, raw string) (domain.PasswordHash, error) {
|
||||
|
||||
@@ -332,7 +332,7 @@ func (registration *Registration) createAccount(ctx context.Context, unit outbou
|
||||
// reRegister starts a new registration of an unverified address. It never
|
||||
// changes the credentials, scenario, or onboarding step of the account row:
|
||||
// the new registration carries its own on its verification token, and
|
||||
// confirming a token applies only the credentials of that token (TASK-054).
|
||||
// confirming a token applies only the credentials of that token.
|
||||
// So neither the first nor the latest registrant of an address can make its
|
||||
// owner adopt a password the owner did not choose. The lock order of the
|
||||
// identity repositories applies: tokens first, then the account.
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// consumer's dedup marker, reads the request, resolves the recipient address
|
||||
// from the account, renders the current template version once, stores the
|
||||
// Delivery, and deletes the request. Sending notifications is planned
|
||||
// (TASK-462); no worker claims them yet.
|
||||
// ; no worker claims them yet.
|
||||
//
|
||||
// Service mail of the account flows (email verification and password reset)
|
||||
// takes a shorter path: ServiceMailer stores its delivery directly in the
|
||||
|
||||
@@ -40,7 +40,7 @@ var (
|
||||
// is used up: the delivery waits for the reset in waiting_quota, and an
|
||||
// operator may decide otherwise.
|
||||
//
|
||||
// The sending worker (ServiceMailSender, TASK-016) uses it in two
|
||||
// The sending worker (ServiceMailSender) uses it in two
|
||||
// transactions around one transport call:
|
||||
//
|
||||
// 1. PrepareSend in the transaction that claims a due delivery. It either
|
||||
@@ -124,7 +124,7 @@ func (decision SendDecision) Proceed() bool { return !decision.Permit.IsZero() }
|
||||
// NextAttemptAt at the reset, which is what an operator and the user's
|
||||
// status view (DeliveryStatusReader) read;
|
||||
// - an unknown delivery is returned unchanged with ResetAt: its retry
|
||||
// belongs to the retry policy (TASK-017), and parking it would hide that
|
||||
// belongs to the retry policy, and parking it would hide that
|
||||
// an earlier attempt may have been accepted.
|
||||
//
|
||||
// The caller chooses which deliveries are due. A delivery pinned to another
|
||||
|
||||
@@ -15,7 +15,7 @@ const jitterShare = 5
|
||||
// (temporary or rate_limited), and of a delivery on which the sending worker
|
||||
// itself failed. It is the minimum that the delivery state machine needs,
|
||||
// because a pending delivery must say when it is due; the attempt limit, the
|
||||
// unknown outcome policy, and manual retries belong to TASK-017.
|
||||
// unknown outcome policy, and manual retries are part of the planned delivery retry policy.
|
||||
//
|
||||
// There is no limit on provider refusals on purpose: service mail carries a
|
||||
// token that expires, and the sending worker cancels the delivery with the
|
||||
|
||||
Reference in new issue
Block a user