Skip to main content

Syntax

sudocode feedback show <feedback-id>

Description

The feedback show command displays comprehensive details about a feedback entry, including:
  • Feedback ID and type
  • Source issue and target spec
  • Dismissed status and agent
  • Creation and update timestamps
  • Full feedback content
  • Anchor location with status
  • Original location (if relocated or stale)
  • Context snippets
Use this to review feedback in detail before addressing it or to understand the context of a specific comment, suggestion, or request.
This command shows the complete feedback content, unlike feedback list which only shows a preview.

Arguments

feedback-id
string
required
The feedback ID to displayExample: FB-001The unique identifier for the feedback entry.

Examples

Show Basic Feedback

Display feedback details:
sudocode feedback show FB-001
FB-001 request
────────────────────────────────────────────────────────────
Issue: ISSUE-001
Spec: SPEC-001
Status: Active
Agent: alice
Created: 2025-10-29T10:15:00Z
Updated: 2025-10-29T10:15:00Z

Content:
Token expiration policy not specified. Should we use fixed or sliding window?
Consider adding explicit policy in the Authentication section with recommended
values for access tokens (15 minutes) and refresh tokens (7 days).

Anchor Location:
  Status: valid
  Section: Authentication Flow
  Line: 42
  Snippet: "Token expiration policy"

Show Feedback with Stale Anchor

View feedback with outdated anchor:
sudocode feedback show FB-004
FB-004 request
────────────────────────────────────────────────────────────
Issue: ISSUE-015
Spec: SPEC-001
Status: Active
Agent: bob
Created: 2025-10-28T14:30:00Z
Updated: 2025-10-29T09:00:00Z

Content:
Need clarification on error response format. Should we use RFC 7807
problem details format or custom error structure? This affects client
error handling implementation.

Anchor Location:
  Status: stale
  Section: Error Handling
  Line: 45
  Snippet: "Error response format"

Original Location:
  Line: 38
  Section: Error Handling
When anchor status is “stale” or “relocated”, the original location is shown for reference.

Show Relocated Feedback

View feedback that was moved:
sudocode feedback show FB-005
FB-005 suggestion
────────────────────────────────────────────────────────────
Issue: ISSUE-020
Spec: SPEC-003
Status: Active
Agent: carol
Created: 2025-10-27T11:00:00Z
Updated: 2025-10-29T10:45:00Z

Content:
Consider using enum type instead of string constants for user roles.
This provides better type safety and IDE autocomplete support.

Example:
enum UserRole {
  ADMIN = 'admin',
  USER = 'user',
  GUEST = 'guest'
}

Anchor Location:
  Status: relocated
  Section: Data Model
  Line: 92
  Snippet: "User role definitions"

Original Location:
  Line: 85
  Section: User Schema

Show Dismissed Feedback

View resolved feedback:
sudocode feedback show FB-003
FB-003 suggestion
────────────────────────────────────────────────────────────
Issue: ISSUE-010
Spec: SPEC-002
Status: Dismissed
Agent: alice
Created: 2025-10-26T09:00:00Z
Updated: 2025-10-28T16:30:00Z

Content:
Consider adding rate limiting to prevent abuse: 10 requests/minute per client.
Could use token bucket algorithm with Redis for distributed tracking.

Anchor Location:
  Status: valid
  Section: API Endpoints
  Line: 78
  Snippet: "Rate limiting policy"

Show Comment Feedback

View implementation notes:
sudocode feedback show FB-002
FB-002 comment
────────────────────────────────────────────────────────────
Issue: ISSUE-005
Spec: SPEC-001
Status: Active
Agent: bob
Created: 2025-10-29T11:00:00Z
Updated: 2025-10-29T11:00:00Z

Content:
OAuth flow implemented successfully with PKCE extension as specified.
Used authorization code flow with state parameter for CSRF protection.
Access token TTL set to 1 hour, refresh token to 30 days as per OAuth 2.0
best practices.

Anchor Location:
  Status: valid
  Section: OAuth 2.0 Flow
  Line: 30
  Snippet: "OAuth implementation details"

JSON Output

Get machine-readable output:
sudocode --json feedback show FB-001
{
  "id": "FB-001",
  "issue_id": "ISSUE-001",
  "spec_id": "SPEC-001",
  "feedback_type": "request",
  "content": "Token expiration policy not specified. Should we use fixed or sliding window? Consider adding explicit policy in the Authentication section with recommended values for access tokens (15 minutes) and refresh tokens (7 days).",
  "agent": "alice",
  "anchor": {
    "line_number": 42,
    "section_heading": "Authentication Flow",
    "text_snippet": "Token expiration policy",
    "anchor_status": "valid",
    "context_before": "## Authentication Flow\n\nThe system uses JWT tokens for authentication.",
    "context_after": "Tokens should be validated on each request.\n\n### Token Refresh"
  },
  "dismissed": false,
  "created_at": "2025-10-29T10:15:00Z",
  "updated_at": "2025-10-29T10:15:00Z"
}

Understanding Feedback Details

Feedback Types

comment

Informational notesDocuments implementation decisions, shares learnings, or provides status updates. No action required.

suggestion

Improvement proposalsProposes changes or enhancements to the spec based on implementation experience.

request

Clarification neededPoints out ambiguities or missing requirements discovered during implementation.

Anchor Status

The anchor status indicates whether the feedback location is still accurate:
1

valid (green)

Anchor is accurate - the line number and context match the current spec content.No action needed.
2

relocated (yellow)

Content moved but anchor was successfully updated to new location.Review to confirm accuracy, but usually fine.
3

stale (red)

Content changed significantly - anchor may be invalid or pointing to wrong location.Action required: Use feedback relocate to manually fix the anchor.

Original Location

When feedback has been relocated or become stale, the “Original Location” section shows:
  • The line number where the anchor was originally created
  • The section heading at that original location
This helps you understand where the feedback was initially anchored and track how the spec has evolved.

Common Workflows

Review Feedback Before Responding

1

Show feedback details

sudocode feedback show FB-001
2

View spec context

sudocode spec show SPEC-001
3

Update spec if needed

Edit the spec to address the feedback
4

Dismiss feedback

sudocode feedback dismiss FB-001

Investigate Stale Feedback

1

Find stale feedback

sudocode feedback stale
2

Show details

sudocode feedback show FB-004
3

View current spec

sudocode spec show SPEC-001
Look at the original line number to see what changed
4

Relocate or dismiss

# If still relevant, relocate
sudocode feedback relocate FB-004 --line 50

# If no longer relevant, dismiss
sudocode feedback dismiss FB-004

Audit Implementation Feedback

View all feedback from a completed issue:
1

List issue feedback

sudocode feedback list --issue ISSUE-005
2

Review each entry

sudocode feedback show FB-002
3

Extract learnings

Use feedback to improve future specs

Generate Feedback Report

Create a summary of feedback:
# Show all active requests
for fb_id in $(sudocode --json feedback list --type request --dismissed false | jq -r '.[] | .id'); do
  echo "=== $fb_id ==="
  sudocode feedback show "$fb_id"
  echo
done

Scripting Examples

Extract Feedback Content

# Get just the content text
sudocode --json feedback show FB-001 | jq -r '.content'

Check Anchor Status

# Get anchor status for a feedback
status=$(sudocode --json feedback show FB-001 | jq -r '.anchor.anchor_status')
echo "Anchor status: $status"

Find Feedback Location

# Get spec and line number
sudocode --json feedback show FB-001 | jq -r '"\(.spec_id):\(.anchor.line_number)"'
# Output: SPEC-001:42

Batch Review

# Review all feedback for a spec
for fb_id in $(sudocode --json feedback list --spec SPEC-001 | jq -r '.[] | .id'); do
  echo "Reviewing $fb_id..."
  sudocode feedback show "$fb_id"
  echo "Press enter for next..."
  read
done

Common Questions

Use spec show to view the spec with all its feedback:
sudocode spec show SPEC-001
This shows feedback anchored to specific locations in the spec content.
The snippet is a short excerpt from the spec at the anchor location. It helps confirm the feedback is pointing to the right content.
No, there’s no edit command. To modify feedback:
  1. Dismiss the old feedback
  2. Add new feedback with updated content
updated_at reflects when the feedback was last modified, including when it was dismissed. The dismiss action updates this timestamp.
These are lines surrounding the anchor point:
  • context_before - Text above the anchor location
  • context_after - Text below the anchor location
They help verify the anchor is still pointing to the correct location.
Not with a single command. Use shell scripting:
for id in FB-001 FB-002 FB-003; do
  sudocode feedback show "$id"
done

Troubleshooting

Cause: The feedback ID doesn’t existSolution: List all feedback to find the correct ID:
sudocode feedback list
Cause: Line numbers changed due to edits elsewhere in specSolution: If the location is still correct, update status to relocated:
sudocode feedback relocate FB-001 --line 42
Cause: Feedback has never been relocated (status is valid)Solution: Original location only appears when status is “relocated” or “stale”. Valid anchors don’t need it.
Cause: Content is likely complete, check if it’s a display issueSolution: Verify content length:
sudocode --json feedback show FB-001 | jq -r '.content | length'

Next Steps

1

List feedback

sudocode feedback list --dismissed false
2

Show details

sudocode feedback show FB-001
3

Review spec

sudocode spec show SPEC-001
4

Take action

Update spec, relocate anchor, or dismiss feedback

Feedback System Concept Guide

Learn more about the feedback system and bidirectional learning