workflow

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 34 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package workflow implements the deterministic M1 stage graph and the orchestrator that drives it (§6, §11). The orchestrator is constrained by workflow policy: it runs stages in order and may only rank/explain next moves within that policy.

Index

Constants

View Source
const (
	StageFraming           = "framing"
	StageResearch          = "research"
	StageProductDefinition = "product_definition"
	StageReview            = "review"
)

Stage keys for the M1 graph.

View Source
const (
	StageArchitecture        = "architecture"
	StageProductDesign       = "product_design"
	StageVerificationDesign  = "verification_design"
	StageConvergence         = "convergence"
	StageExecutionPlan       = "execution_plan"
	StageExecutionPlanReview = "execution_plan_review"
	StageImplementationBrief = "implementation_brief"
)

Stage keys for the M2 graph (§12).

View Source
const (
	RoleOrchestrator         = "product_orchestrator"
	RoleResearchAnalyst      = "research_analyst"
	RoleProductManager       = "product_manager"
	RoleAdversarialReviewer  = "adversarial_reviewer"
	RoleArchitect            = "architect"
	RoleProductDesigner      = "product_designer"
	RoleVerificationEngineer = "verification_engineer"
	RoleEngineeringLead      = "engineering_lead"
)

Role names (must match contracts/*.yaml).

View Source
const ChangeSetReviewSchemaName = "change_set_review"

ChangeSetReviewSchemaName is the fake provider's queue key for the change-set adversarial review. Exported so demoProvider can prime it and tests can steer it; it never reaches a real provider.

View Source
const DeterministicPlanCheckRun = "deterministic-plan-check"

DeterministicPlanCheckRun is the ReviewRunID stamped on every finding deterministicPlanChecks produced, distinguishing them from the adversarial reviewer's, whose run id runModel supplies. The daemon reads it to refuse `approve-plan` over a structural defect a human cannot meaningfully accept. The PRD loop's equivalent literal is "deterministic-check", deliberately different, so the two sets cannot be confused.

View Source
const PlanFindingTarget = "execution_plan"

PlanFindingTarget is the target type of every finding raised against the execution plan. The UI shows these on the Plan page, where approval happens.

Variables

View Source
var ErrNoReadyTask = errors.New("workflow: no ready tasks")

ErrNoReadyTask is what nextReadyTask returns when the initiative has nothing runnable. A sentinel rather than a bare error so callers can tell it from the storage failures the same function can return -- NextAction has to make exactly that distinction.

View Source
var GraphNodeTypes = []string{
	"task", "requirement", "decision", "question", "artifact", "context_doc", "run",
}

GraphNodeTypes is the closed set of node types the product graph addresses. Exported so the daemon can reject an unknown one at the edge rather than answering an empty traversal.

Functions

func ImplementerModelSpec added in v0.5.0

func ImplementerModelSpec(cfg config.HarnessConfig, registry *model.Registry) string

ImplementerModelSpec is the model the coding agent runs: models.implementer, then executor.model, then the implementer role's usual resolution. Exported so the daemon's "can a run start" check resolves exactly what Execute will; it checked executor.model alone and so blocked runs Execute would accept, and passed ones it would refuse.

func ImplementerProvider added in v0.5.0

func ImplementerProvider(cfg config.HarnessConfig, registry *model.Registry) (executor.AgentProvider, error)

ImplementerProvider resolves the provider the coding agent will use, as Execute does.

func PlanNotReadyForExecution added in v0.5.0

func PlanNotReadyForExecution(ini domain.Initiative) string

PlanNotReadyForExecution returns why an initiative waiting on a human cannot have its tasks run yet, or "".

needs_human_judgment covers parks before the plan is approved (the PRD or the plan under review) as well as after (verification). Execution was allowed from all of them, so from a plan-review park it ran tasks from an unapproved plan -- and left the initiative where approve-plan and revise-plan were both refused. The Build page then offered that one click away.

func ValidNodeType added in v0.4.0

func ValidNodeType(typ string) bool

ValidNodeType reports whether typ names a node the graph can hold.

Nothing validated it, so `idea why requirements REQ-1` -- a plural typo -- answered "No provenance edges found." and exited 0. A bad *id* was caught and a bad *type* was not, which turns a provenance question into a confident false negative on the product's headline claim.

Types

type Coverage

type Coverage struct {
	Code        string `json:"code"`
	Pass        int    `json:"pass"`
	Total       int    `json:"total"`
	NeedsManual int    `json:"needs_manual"`
	Status      string `json:"status"`
}

Coverage is a per-requirement verification-coverage summary (§70).

type DiffDecision

type DiffDecision struct {
	Code       string `json:"code"`
	Question   string `json:"question"`
	Resolution string `json:"resolution,omitempty"`
}

DiffDecision is one decision in the semantic diff.

type DiffRequirement

type DiffRequirement struct {
	Code      string `json:"code"`
	Statement string `json:"statement"`
	Priority  string `json:"priority"`
}

DiffRequirement is one requirement in the semantic diff.

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

Engine drives the M1 workflow.

func New

func New(db *store.DB, blobs *blob.Store, registry *model.Registry, cfg config.HarnessConfig, log *slog.Logger) *Engine

New builds an engine.

func (*Engine) Advance

func (e *Engine) Advance(ctx context.Context, initiativeID string) (domain.InitiativeStatus, error)

func (*Engine) ApplyChangeSet

func (e *Engine) ApplyChangeSet(ctx context.Context, initiativeID, changeSetID string) error

ApplyChangeSet applies an approved change set: approved→applying→applied. It writes the orchestrator-computed diff into the canonical workspace via atomic per-file temp+rename, capturing the pre-image into the journal so revert can restore it byte-for-byte (§39, review B1).

func (*Engine) Approve

func (e *Engine) Approve(ctx context.Context, initiativeID string) error

Approve records explicit human approval of the initiative (§11): the reviewed PRD is accepted as it stands, findings and all, and the initiative moves on to design.

Compare-and-swap, not a read-then-write. This was an unconditional SetInitiativeStatus with no check whatsoever, so it overwrote whatever the initiative was doing -- including releasing the claim a running `advance` was holding, after which a second advance was accepted and two ran concurrently on one initiative. Reading the status first would have narrowed that window without closing it, which is the same check-then-act ClaimInitiativeRunning exists to avoid.

`approved` is a legal source so a repeated approve is a no-op rather than an error. Every other status is refused: `running` because work is in flight, `plan_approved` and `complete` because approving there walks the state machine backwards, and `failed` because the recovery for that is `idea retry`.

func (*Engine) ApprovePlan

func (e *Engine) ApprovePlan(ctx context.Context, initiativeID string) (domain.InitiativeStatus, error)

ApprovePlan accepts a plan whose review raised findings: it records the human's acceptance of them and moves the initiative to plan_approved. It does not regenerate tasks, and it is terminal -- there is no re-evaluation and no path back to needs_human_judgment, which is what makes it an accept rather than a retry.

Gated on the reason, exactly as Approve is, and for the same defect. All four JudgmentReasons share one status, so a status-only gate let this accept a plan parked on `plan_dependencies` -- where the undisposed `plan_dependency` finding IS the guard that keeps a dependency graph known to be incomplete out of `complete`, something advance.go relies on in three places and the CHANGELOG states outright. Approving there shipped the incomplete graph.

The change-set guard matches RevisePlan and ReopenPhase. Without it, an initiative already building could have its change set's findings swept by a plan-level command -- and a blocking change-set finding is the one this repository repeatedly calls unclearable by any CLI command.

The disposition lives here and not in runExecutionPlanReview, which Advance, RevisePlan and ReopenPhase also call: on those paths the plan was regenerated and nobody accepted anything, so attributing an acceptance to a human would be a lie. accepted_risk by HumanActor, the same pair Approve records, because that is what happened -- nothing was fixed.

func (*Engine) ConvergeDecisions

func (e *Engine) ConvergeDecisions(ctx context.Context, initiativeID string) error

ConvergeDecisions runs the orchestrator synthesis across every open decision that has preserved dissents (§M2 tail). For each such decision the product orchestrator reconciles the dissenting positions into a single synthesized recommendation, which is stored back on the decision (and surfaced as its synthesis in the projection). Dissents themselves are never erased (§8).

func (*Engine) Coverage

func (e *Engine) Coverage(ctx context.Context, initiativeID string) ([]Coverage, error)

Coverage computes the verification coverage for each requirement of an initiative (pass criteria / total criteria, plus how many still need a human). The requirement's status is surfaced so consumers can distinguish waived and failed (neither of which is "needs manual sign-off") from genuinely pending.

func (*Engine) DescribeImages

func (e *Engine) DescribeImages(ctx context.Context, initiativeID string) error

DescribeImages describes every image context doc that lacks a description, using a vision-capable model. Each description is stored (redacted) and its digest recorded so contextDocs can inject it. Failures are logged per-doc and do not block the remaining docs.

func (*Engine) DiscussDecision

func (e *Engine) DiscussDecision(ctx context.Context, decisionID, message string) (string, error)

DiscussDecision runs one human→AI discussion turn on a decision (§8): the human asks for elaboration or proposes an alternative, and the product manager replies. Both messages are persisted to the decision's thread.

func (*Engine) Execute

func (e *Engine) Execute(ctx context.Context, initiativeID string) (domain.ChangeSet, error)

Execute runs the multi-role pipeline for the next ready task — planner (engineering_lead brief) → implementer (executor writes files) → deterministic checks → review_required/rejected. The adversarial reviewer runs at review time (§50).

func (*Engine) Impact

func (e *Engine) Impact(ctx context.Context, initiativeID, nodeType, nodeID string) ([]ImpactItem, error)

Impact returns the dependents of a node: it follows incoming edges (from nodes that point to this node) with a staleness classification.

func (*Engine) ImpactCounts

func (e *Engine) ImpactCounts(ctx context.Context, initiativeID string, nodes []NodeRef) (map[string]int, error)

ImpactCounts returns, for each node, the number of unique transitive dependents (nodes that directly or indirectly depend on it). Used to render "blocks N" without an Impact call per node.

Unlike Impact — which returns one item per edge and can repeat a node that is reachable via multiple paths — these counts are DEDUPED by node, so a count is the number of distinct blocked nodes, not the number of edges. In a cycle the queried node itself may appear among its dependents (mirroring Impact's frontier semantics).

func (*Engine) NextAction

func (e *Engine) NextAction(ctx context.Context, initiativeID string) (string, error)

NextAction returns the deterministic next step for an initiative (§52, Track C). It stops at human judgment points (review / apply / resolve / done) and otherwise names the next automatable step (advance / execute / verify). `failed` and `wait` are terminal-for-now answers rather than steps: the first is an error the caller must surface, the second means an operation is in flight.

func (*Engine) NextReadyTask added in v0.5.0

func (e *Engine) NextReadyTask(ctx context.Context, initiativeID string) (*NextTask, error)

NextReadyTask reports the task Execute would run next for initiativeID, or nil when there is none.

Deliberately lock-free, unlike Execute itself: a poll-driven UI (the Build page) calling this on every refresh must not block for the whole duration of an in-flight Execute, which holds e.mu for as long as the agent container runs. A slightly stale answer is an acceptable cost for a read-only hint; Execute's own claim is still what actually enforces correctness when the button is clicked.

func (*Engine) PromoteDocComment

func (e *Engine) PromoteDocComment(ctx context.Context, commentID string) (*domain.Question, error)

PromoteDocComment turns a document comment into an open Question for the initiative's judgment flow, and links the comment to the new question (so it is not promotable twice). The section, when present, is prefixed to the question so the question names where in the document it came from.

func (*Engine) RecordHumanEvidence

func (e *Engine) RecordHumanEvidence(ctx context.Context, initiativeID, requirementRef string, status domain.VerificationStatus, note, actor string) error

RecordHumanEvidence records a human judgment (pass/fail/waived) for every acceptance criterion of a requirement (§70, review B10), then applies the requirement-level disposition: pass leaves the status for VerifyInitiative to mark verified; fail marks it failed; waived marks it waived. This is the human sign-off path — UX/security criteria that the deterministic verifier marks needs_manual are cleared here by a human actor, never by a model.

func (*Engine) RecordHumanPass

func (e *Engine) RecordHumanPass(ctx context.Context, initiativeID, requirementRef, note, actor string) error

RecordHumanPass records a human "pass" evidence for every acceptance criterion of a requirement (§70, review B10).

func (*Engine) RejectConflicted

func (e *Engine) RejectConflicted(ctx context.Context, initiativeID, changeSetID string) error

RejectConflicted resolves a conflicted change set by rejecting it and re-opening its task (mirrors the existing rejected recovery path).

func (*Engine) Reload

func (e *Engine) Reload(cfg config.HarnessConfig, registry *model.Registry, redactor *security.Redactor, blobs *blob.Store, dotEnv map[string]string)

Reload swaps the config-derived components in place on the SAME engine, so the engine's mutex continues to serialize execute/apply/revert across a reload. It is guarded by e.mu, which ALL entry points now hold (see below), so no field read races the swap.

func (*Engine) RenderPatch

func (e *Engine) RenderPatch(cs *domain.ChangeSet) string

RenderPatch renders a change set's patch as a readable diff (path + content per file) for the adversarial reviewer and the diff endpoint. RenderPatch renders a change set's patch as a readable diff (path + content per file) for the adversarial reviewer and the diff endpoint. It is REDACTED at this display surface so raw file content never reaches a network-egress model (review SRE regression); the raw store stays redaction-free for byte-for-byte apply/revert.

func (*Engine) ReopenPhase

func (e *Engine) ReopenPhase(ctx context.Context, initiativeID, phase string) (domain.InitiativeStatus, error)

ReopenPhase re-runs the design pipeline from the given design stage through plan review (downstream cascade), regenerating artifacts as new versions and the plan from scratch. It is a pre-execution action: once any change set exists the reopen is refused, since re-planning would orphan applied work. phase must be one of architecture, product_design, verification_design.

func (*Engine) ResetConflictedForRetry

func (e *Engine) ResetConflictedForRetry(ctx context.Context, initiativeID, changeSetID string) error

ResetConflictedForRetry resets a conflicted change set back to approved so the existing apply path can be re-run unchanged (approved→applying→applied).

func (*Engine) RestoreWorkspace

func (e *Engine) RestoreWorkspace(ctx context.Context, manifestDigest string) error

RestoreWorkspace restores the canonical workspace from a persisted pre-image manifest digest. Used by startup reconciliation to unwind an interrupted apply.

func (*Engine) Resume

func (e *Engine) Resume(ctx context.Context, initiativeID string) (status domain.InitiativeStatus, err error)

Resume re-runs the review loop after a human has resolved decisions/findings in needs_human_judgment (§11).

The claim is what makes that comment true. Resume took no claim and checked no status, so it re-ran the review loop from any state and wrote the result over it: called on a `plan_approved` initiative it discarded the approved plan and left `approved`, silently undoing M2. Claiming from needs_human_judgment is both the guard and the exclusion -- runReviewLoop's terminal transition releases it.

func (*Engine) Retry

func (e *Engine) Retry(ctx context.Context, initiativeID string) (domain.InitiativeStatus, error)

Retry re-runs the full vertical slice from scratch under the currently-set per-initiative model override (retry-with-a-different-model). Prior requirements and assertions are superseded first so the re-run does not duplicate them; artifacts are immutable-versioned and decisions/questions are de-duplicated. The override is cleared when the run finishes.

func (*Engine) RevertChangeSet

func (e *Engine) RevertChangeSet(ctx context.Context, initiativeID, changeSetID string) error

RevertChangeSet rolls back an applied change set: it restores the pre-image snapshot recorded at apply time (byte-for-byte), then advances applied→reverted plus a rolled_back journal entry atomically (§39, review B1).

func (*Engine) ReviewChangeSet

func (e *Engine) ReviewChangeSet(ctx context.Context, initiativeID, changeSetID, verdict string) error

ReviewChangeSet with acceptFindings=true is the human accept: it signs off the reviewer's open findings on this change set and approves, without running a fresh review.

That last clause is the whole point, and it is the third time this project has needed it. `idea approve` had to stop re-running the PRD review; `idea approve-plan` had to stop re-running the plan review; and this had to stop re-running the change-set review. A model reviewer is not a fixed point, so "disposition, then review again" is a retry, not an accept -- and here it was worse than a coin flip: the first attempt persists its findings, and every later attempt fails denyReviewOpenBlocking on them before the review even runs. The keyed magic path hit this every run and had no way out.

func (*Engine) ReviewChangeSetAccepting added in v0.4.0

func (e *Engine) ReviewChangeSetAccepting(ctx context.Context, initiativeID, changeSetID, verdict string) error

ReviewChangeSetAccepting is ReviewChangeSet with the human accept.

func (*Engine) Revise

func (e *Engine) Revise(ctx context.Context, initiativeID string) (domain.InitiativeStatus, error)

Revise applies the human's decisions/answers by re-running product definition (with the resolved decisions + answered questions in context), then re-runs review. This is the "apply my judgment → updated PRD" loop (§8, §11).

func (*Engine) RevisePlan

func (e *Engine) RevisePlan(ctx context.Context, initiativeID string) (domain.InitiativeStatus, error)

RevisePlan regenerates the execution plan (and its review) in place after the human edited or rejected the prior plan. It deletes the prior tasks and their edges and disposes prior plan-review findings first, so no duplicate tasks or stale blocking findings survive the regeneration (full-platform review: plan revision must not leave orphans or wedge the verify gate).

func (*Engine) Run

func (e *Engine) Run(ctx context.Context, initiativeID, idea string) (domain.InitiativeStatus, error)

Run executes the full vertical slice for an initiative and returns the final initiative status.

func (*Engine) RunBlockedReason added in v0.5.0

func (e *Engine) RunBlockedReason(ctx context.Context, initiativeID string) (string, error)

RunBlockedReason reports why Execute would refuse to run right now for initiativeID, or "" when it would not (the Build contract's `run_blocked_reason`).

It mirrors Execute's own guards read-only and lock-free (see NextReadyTask) so the Build page can grey out "Run next task" and say why, instead of letting the click land on a 409/400 it has to parse. It does NOT check executor readiness (image/key) -- that lives in the daemon package, which alone knows about Docker and the project's .env; the caller composes both.

func (*Engine) SemanticDiff

func (e *Engine) SemanticDiff(ctx context.Context, initiativeID string) (*SemanticDiff, error)

SemanticDiff computes the structured diff for an initiative.

func (*Engine) SetDotEnv added in v0.5.0

func (e *Engine) SetDotEnv(dotEnv map[string]string)

SetDotEnv supplies the project's .env, which the daemon's model registry already falls back to for provider keys. The coding agent reads its key the same way; with only the process environment it launched keyless for anyone whose key lived in .env.

func (*Engine) SetModelOverride

func (e *Engine) SetModelOverride(initiativeID, spec string)

SetModelOverride forces every role to the given "provider/model" spec for the given initiative's next workflow run (retry-with-a-different-model). The engine clears it once that run finishes.

func (*Engine) SetRawBlobs

func (e *Engine) SetRawBlobs(b *blob.Store)

SetRawBlobs sets the redaction-free content store used by the diff/apply/revert path (review C1/C2). File content must round-trip byte-for-byte, so it is never redacted; the redacted `blobs` store is reserved for model artifacts.

func (*Engine) SetRedactor

func (e *Engine) SetRedactor(r *security.Redactor)

SetRedactor sets the redactor applied at the DISPLAY/model surface (the adversarial review context and the diff endpoint), so raw file content never reaches a network-egress model unredacted (review SRE regression).

func (*Engine) SetWorkRoot

func (e *Engine) SetWorkRoot(dir string)

SetWorkRoot sets the directory that Execute derives per-initiative isolated work roots from. The daemon points this at its per-project state directory so the executor's WorkRoot mirrors "<state-root>/work/<initiative>".

func (*Engine) SetWorkspaceRoot

func (e *Engine) SetWorkspaceRoot(dir string)

SetWorkspaceRoot sets the canonical workspace that ApplyChangeSet writes into and RevertChangeSet restores. The daemon points this at the project root.

func (*Engine) StructuredDiff

func (e *Engine) StructuredDiff(cs *domain.ChangeSet) []StructuredFile

StructuredDiff renders a change set as a per-file list (path + kind + redacted content). Deleted files carry no content. Content is omitted (Size 0) when a file's bytes were never persisted — e.g. a change set rejected by the secret sweep skips persistDiff, so its produced bytes are intentionally absent. A patch-manifest read/decode failure yields an empty (non-nil) list so the `files` wire field is always a JSON array; the read error is surfaced via RenderPatch's "(patch unreadable: …)" in the sibling `patch` field.

func (*Engine) SuggestAnswers

func (e *Engine) SuggestAnswers(ctx context.Context, initiativeID string, emit func([]domain.SuggestedAnswer)) error

SuggestAnswers asks the product manager to propose a concise answer for every open question, grounded in the project's intent and purpose. Questions are answered in bounded chunks, and each chunk's answers are emitted via `emit` as they complete (so callers can persist progress incrementally).

func (*Engine) VerifyInitiative

func (e *Engine) VerifyInitiative(ctx context.Context, initiativeID string) error

VerifyInitiative computes coverage across all approved requirements, marks a requirement verified when every mandatory criterion has a pass evidence, and completes the initiative when every requirement is verified and there are no open blocking findings (§70, review B4). It is idempotent and deterministic.

func (*Engine) Why

func (e *Engine) Why(ctx context.Context, initiativeID, nodeType, nodeID string) ([]TraceItem, error)

Why returns the provenance chain for a node: it follows outgoing edges (implements / derived_from / produced_by / depends_on) from the node to its sources, bounded.

type ImpactItem

type ImpactItem struct {
	TraceItem
	Staleness string `json:"staleness"`
}

ImpactItem is a TraceItem with a staleness classification.

type NextTask added in v0.5.0

type NextTask struct {
	ID      string `json:"id"`
	HumanID string `json:"human_id"`
	Title   string `json:"title"`
}

NextTask is the task Execute would run next, projected for an API response without exposing the full domain.Task shape (the Build contract's `next_task`).

type NodeRef

type NodeRef struct {
	Type string `json:"type"`
	ID   string `json:"id"`
}

NodeRef addresses a graph node by type + id.

type SemanticDiff

type SemanticDiff struct {
	Requirements struct {
		Added   []DiffRequirement `json:"added"`
		Removed []DiffRequirement `json:"removed"`
	} `json:"requirements"`
	Decisions struct {
		Open       []DiffDecision `json:"open"`
		Decided    []DiffDecision `json:"decided"`
		Superseded []DiffDecision `json:"superseded"`
	} `json:"decisions"`
}

SemanticDiff reports structured requirement/decision changes (added vs removed; open vs decided vs superseded) rather than raw markdown (§25).

type StructuredFile

type StructuredFile struct {
	Path       string `json:"path"`
	ChangeType string `json:"change_type"`
	Size       int    `json:"size"`
	Content    string `json:"content"`
	// Patch is a unified diff of the file against its base (B6): an added file
	// is all '+', a deleted file is all '-', a modified file is base vs new.
	// Omitted when there is nothing to diff (both sides empty). This is what
	// lets the diff view render a change instead of a full-file dump for a
	// whole-file rewrite of an existing file.
	Patch string `json:"patch,omitempty"`
	// PatchNote says why Patch is empty when there was a change to show: the
	// file is binary, too large to diff, its content was never kept, or its
	// base can no longer be recovered. The UI shows it and falls back to
	// Content.
	PatchNote string `json:"patch_note,omitempty"`
	// contains filtered or unexported fields
}

StructuredFile is one file of a change set for per-file display: its path, add/modify/delete kind, byte size, and REDACTED content. Content is redacted at this display surface exactly like RenderPatch, so raw bytes never reach a network-egress model (review SRE regression); the raw store stays redaction-free for byte-for-byte apply/revert. The post-image digest is deliberately NOT exposed here — a digest is not needed for display and would be pure hash-confirmation surface.

type TraceItem

type TraceItem struct {
	EdgeType  string `json:"edge_type"`
	FromType  string `json:"from_type"`
	FromID    string `json:"from_id"`
	FromLabel string `json:"from_label,omitempty"`
	ToType    string `json:"to_type"`
	ToID      string `json:"to_id"`
	ToLabel   string `json:"to_label,omitempty"`
}

TraceItem is one graph edge with resolved endpoint labels.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL